Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

7.22 release #495

Merged
merged 5 commits into from
Oct 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions get-started/content/apache-maven.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Most Camunda artifacts are pushed to [maven central](https://central.sonatype.co
<dependency>
<groupId>org.camunda.bpm</groupId>
<artifactId>camunda-bom</artifactId>
<version>7.21.0</version>
<version>7.22.0</version>
<scope>import</scope>
<type>pom</type>
</dependency>
Expand All @@ -44,7 +44,7 @@ To use the Enterprise Edition dependencies, you have to add the [Enterprise Edit
<dependency>
<groupId>org.camunda.bpm</groupId>
<artifactId>camunda-bom</artifactId>
<version>7.21.0-ee</version>
<version>7.22.0-ee</version>
<scope>import</scope>
<type>pom</type>
</dependency>
Expand Down Expand Up @@ -104,7 +104,7 @@ This BOM allows to use the DMN engine standalone without the BPMN engine and the
<dependency>
<groupId>org.camunda.bpm.dmn</groupId>
<artifactId>camunda-engine-dmn-bom</artifactId>
<version>7.21.0</version>
<version>7.22.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down Expand Up @@ -207,7 +207,7 @@ The files are hosted in AWS S3, therefore, Artifactory rewrites the requests to

Example:
```
curl -LO https://artifacts.camunda.com/artifactory/camunda-bpm/org/camunda/bpm/camunda-engine-rest/7.21.0/camunda-engine-rest-7.21.0.war
curl -LO https://artifacts.camunda.com/artifactory/camunda-bpm/org/camunda/bpm/camunda-engine-rest/7.22.0/camunda-engine-rest-7.22.0.war
```

# Other Camunda Modules:
Expand Down
2 changes: 1 addition & 1 deletion get-started/content/dmn/project-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ The next step consists of setting up the Maven dependencies for your new process
<packaging>war</packaging>

<properties>
<camunda.version>7.21.0</camunda.version>
<camunda.version>7.22.0</camunda.version>
<maven.compiler.release>11</maven.compiler.release>
</properties>

Expand Down
23 changes: 19 additions & 4 deletions get-started/content/quick-start/service-task.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ Your pom.xml file of your project should look like this:
<version>0.0.1-SNAPSHOT</version>

<properties>
<camunda.external-task-client.version>7.21.0</camunda.external-task-client.version>
<camunda.external-task-client.version>7.22.0</camunda.external-task-client.version>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
</properties>
Expand Down Expand Up @@ -222,7 +222,7 @@ In this section, you'll learn how to implement an external task worker in NodeJS

Make sure you have the following tools installed:

* NodeJS >= v10 ([Download available here](https://nodejs.org/en/download/))
* NodeJS >= v16 ([Download available here](https://nodejs.org/en/download/))
* Editor for JavaScript files (e.g. [Atom](https://atom.io/))

### Create a new NodeJS project
Expand All @@ -233,6 +233,21 @@ cd ./charge-card-worker
npm init -y
```

### Update package.json to enable ES modules
Add the following "type" field to your package.json file:

``` json
{
// ...
"main": "index.js",
"type": "module",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
// ...
}
```

### Add Camunda External Task Client JS library

```sh
Expand All @@ -250,8 +265,8 @@ We use [Long Polling](https://docs.camunda.org/manual/latest/user-guide/process-
Next, you need to create a new JavaScript file, e.g. `worker.js`, that looks like the following:

```javascript
const { Client, logger } = require('camunda-external-task-client-js');
const open = require('open');
import { Client, logger } from 'camunda-external-task-client-js';
import open from 'open';

// configuration for the Client:
// - 'baseUrl': url to the Process Engine
Expand Down
4 changes: 2 additions & 2 deletions get-started/content/spring-boot/project-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ We also use `spring-boot-maven-plugin`, which does all the magic for packaging S
<version>0.0.1-SNAPSHOT</version>

<properties>
<camunda.spring-boot.version>7.21.0</camunda.spring-boot.version>
<spring-boot.version>3.2.4</spring-boot.version>
<camunda.spring-boot.version>7.22.0</camunda.spring-boot.version>
<spring-boot.version>3.3.3</spring-boot.version>
<maven.compiler.release>17</maven.compiler.release>
</properties>

Expand Down