Skip to content

Commit

Permalink
Merge pull request activepieces#3626 from activepieces/feat/release0.17
Browse files Browse the repository at this point in the history
feat: release 0.17.0
  • Loading branch information
abuaboud authored Jan 14, 2024
2 parents 2393c11 + c64993e commit c457dc8
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 9 deletions.
1 change: 1 addition & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ ENV LC_ALL en_US.UTF-8
COPY default.cf /usr/local/etc/isolate

RUN npm i -g [email protected]
RUN npm i -g [email protected]

RUN pnpm store add \
@tsconfig/[email protected] \
Expand Down
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ FROM activepieces/ap-base:7 AS run
ARG AP_CACHE_PATH=/usr/src/cache
ARG AP_PACKAGE_ARCHIVE_PATH=/usr/src/packages

RUN npm i -g [email protected]

# Set up backend
WORKDIR /usr/src/app
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3.0'
services:
activepieces:
image: activepieces/activepieces:0.16.0
image: activepieces/activepieces:0.17.0
container_name: activepieces
restart: unless-stopped
## Enable the following line if you already use AP_EXECUTION_MODE with SANDBOXED or old activepieces, checking the breaking change documentation for more info.
Expand Down
5 changes: 5 additions & 0 deletions docs/install/configurations/environment-variables.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ To configure activepieces, you will need to set some environment variables, Ther
| `AP_RESIS_DB` | The Redis database index to use | `0` | |
| `AP_REDIS_USE_SSL` | Connect to Redis with SSL | `false` | |
| `AP_NOTIFICATION_URL` | The notification URL is triggered whenever a run fails. | `false` | [https://cloud.activepieces.com/flows/WEBHOOK\_TRIGGER\_FLOW\_ID](https://cloud.activepieces.com/flows/WEBHOOK_TRIGGER_FLOW_ID) |
| `AP_OPENAI_API_KEY` | This is required only if you want to enable code copilot | `None` | |
| `AP_SIGN_UP_ENABLED` | Enable the Sign up, It requires sandboxing to be on | `false` | |
| `AP_TELEMETRY_ENABLED` | Collect telemetry information | `true` | |
| `AP_TEMPLATES_SOURCE_URL` | This is the endpoint we query for templates, remove it and templates will be removed from UI | `https://cloud.activepieces.com/api/v1/flow-templates` | |
Expand All @@ -64,6 +65,10 @@ To enable the sign-up feature, you need to ensure the code runs safely on the ma
2. Change the execution mode to sandboxing: Modify the `AP_EXECUTION_MODE` setting to `SANDBOXED`. This ensures the code runs within a secure environment, isolated from the rest of the system.
3. Modify the `AP_SIGN_UP_ENABLED` to true , the environment variable.

### Enable Code Generator

To enable the code generator button, please provide a value for the `AP_OPENAI_API_KEY` environment variable.

### Setting Webhook (Frontend URL):

The default URL is set to the machine's IP address. To ensure proper operation, ensure that this address is accessible or specify an `AP_FRONTEND_URL` environment variable.
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"name": "activepieces",
"version": "0.16.0",
"rcVersion": "0.17.0-rc.1",
"version": "0.17.0",
"rcVersion": "0.18.0-rc.0",
"scripts": {
"prepare": "husky install",
"serve:frontend": "nx serve ui-core",
"serve:backend": "nx serve backend",
"serve:engine": "nx serve engine",
"serve:pieces": "turbowatch turbowatch.ts",
"dev": "cross-env FORCE_COLOR=true && concurrently -n \"GUI,API,ENG,PCS\" -c \"bgBlue.bold,bgGreen.bold,bgRed.bold,bgYellow.bold\" \"npm:serve:frontend\" \"npm:serve:backend\" \"npm:serve:engine\" \"npm:serve:pieces\"",
"dev:backend": "cross-env FORCE_COLOR=true && concurrently -n \"API,ENG\" -c \"bgGreen.bold,bgRed.bold\" \"npm:serve:backend\" \"npm:serve:engine\"",
"dev:frontend": "cross-env FORCE_COLOR=true && concurrently -n \"GUI,API,ENG\" -c \"bgBlue.bold,bgGreen.bold,bgRed.bold\" \"npm:serve:frontend\" \"npm:serve:backend\" \"npm:serve:engine\"",
"dev": "cross-env-shell FORCE_COLOR=true concurrently -n \"GUI,API,ENG,PCS\" -c \"bgBlue.bold,bgGreen.bold,bgRed.bold,bgYellow.bold\" \"npm:serve:frontend\" \"npm:serve:backend\" \"npm:serve:engine\" \"npm:serve:pieces\"",
"dev:backend": "cross-env-shell FORCE_COLOR=true concurrently -n \"API,ENG\" -c \"bgGreen.bold,bgRed.bold\" \"npm:serve:backend\" \"npm:serve:engine\"",
"dev:frontend": "cross-env-shell FORCE_COLOR=true concurrently -n \"GUI,API,ENG\" -c \"bgBlue.bold,bgGreen.bold,bgRed.bold\" \"npm:serve:frontend\" \"npm:serve:backend\" \"npm:serve:engine\"",
"start": "npm i && npm run dev",
"publish-piece": "npx ts-node tools/scripts/utils/publish-piece.ts",
"create-piece": "npx ts-node tools/scripts/generate-new-piece.ts"
Expand Down
3 changes: 1 addition & 2 deletions packages/backend/src/app/workers/sandbox/file-sandbox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ export class FileSandbox extends AbstractSandbox {
const command = [
`cd ${this.getSandboxFolderPath()}`,
'&&',
`cross-env AP_PIECES_SOURCE=${pieceSources} NODE_OPTIONS=--enable-source-maps`,
'&&',
`cross-env-shell AP_PIECES_SOURCE=${pieceSources} NODE_OPTIONS=--enable-source-maps`,
`"${AbstractSandbox.nodeExecutablePath}"`,
'main.js',
operation,
Expand Down

0 comments on commit c457dc8

Please sign in to comment.