@0dep/bpmn-extensions 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/CHANGELOG.md +55 -0
  2. package/package.json +6 -4
package/CHANGELOG.md ADDED
@@ -0,0 +1,55 @@
1
+ # Changelog
2
+
3
+ ## Unreleased
4
+
5
+ ## v0.1.1 - 2026-09-16
6
+
7
+ - set package homepage
8
+
9
+ ## v0.1.0 - 2026-09-13
10
+
11
+ - require bpmn-elements@>=18.0.25
12
+ - readme toc
13
+
14
+ ## v0.0.6 - 2026-08-30
15
+
16
+ ### Additions
17
+
18
+ - `TimerEventDefinition` — a bpmn-elements timer event definition that also parses a **cron** `timeCycle` (`0 0 * * *`, as Camunda 8 schedules timer start events) besides ISO 8601 intervals. Install it through the type resolver: `TypeResolver({ ...elements, TimerEventDefinition })`.
19
+ - `extendFn` lifts a timer start event's `timeCycle` onto the behaviour as `scheduledStart`; a process-level timer start event exposes it on its content, so a scheduler can find the flows to start without running them.
20
+ - New peer dependency [`croner`](https://www.npmjs.com/package/croner) (`>= 9`) for cron parsing; kept external in the CJS bundle.
21
+ - Dev: `zeebe-bpmn-moddle` bumped to v2.
22
+
23
+ ## v0.0.5 - 2026-08-24
24
+
25
+ ### Breaking
26
+
27
+ - stop publishing on activity format queue if there is nothing to format
28
+
29
+ ### Additions
30
+
31
+ - support task priority and task schedule, published on user task wait message as `priority`, `dueDate` and `followUpDate`
32
+
33
+ ## v0.0.4 - 2026-08-17
34
+
35
+ - Environment services are in FEEL scope under `services`, callable as functions in every expression (conditions, io mapping, scripts, correlation keys, ...) — e.g. `= services.isEligible(order)`. Unlike functions passed through variables, services survive `getState()`/`recover()`, so they are resume-safe. A variable named `services` shadows the overlay. New exported helper `getFeelScope(environment, localVariables)` builds the scope.
36
+ - `FeelScripts` `getScript` declares `Script | undefined` (bpmn-elements fixed the upstream type).
37
+
38
+ ## v0.0.3 - 2026-07-26
39
+
40
+ - Message `zeebe:subscription`: the correlation key is resolved on enter and exposed on the waiting element content as `subscription: { message, correlationKey }`, so the embedding application can route an incoming message to the right waiting activity.
41
+ - Fix: a FEEL unary test that is undecidable (evaluates to null) is now false — `evaluateFeelUnaryTest` returns strictly boolean.
42
+ - Types: `FeelExpressions()` declares `isExpression`/`hasExpression`; JSDoc polish in `FeelScripts`.
43
+ - Tests are type-checked against the published type surface (`tsc -p test/tsconfig.json`).
44
+ - Peer `bpmn-elements` floor raised to `>= 18.0.12` — earlier versions could stall or skip extension re-activation when resuming a stopped instance in place.
45
+
46
+ ## v0.0.2 - 2026-06-28
47
+
48
+ - FEEL (`= ...`) expressions and sequence-flow conditions (`FeelExpressions`); `zeebe:script` script tasks (`FeelScripts`).
49
+ - Service tasks (`zeebe:taskDefinition`) and business rule tasks (`zeebe:calledDecision`) with `resultVariable`.
50
+ - `zeebe:ioMapping` input/output, propagated across call activities and sub processes.
51
+ - Multi-instance `zeebe:loopCharacteristics`: collection, parallel/sequential, `outputCollection` aggregation.
52
+ - User tasks: `zeebe:assignmentDefinition`, `zeebe:formDefinition`; plus `zeebe:taskHeaders` and `zeebe:properties`.
53
+ - Blocking `zeebe:executionListeners`, called as `(elementApi, { retries, headers }, callback)`.
54
+ - Call activities (`zeebe:calledElement`); stop/recover/resume.
55
+ - Dual ESM/CJS build with generated types; peer `bpmn-elements >= 18.0.4`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@0dep/bpmn-extensions",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Flow extensions for bpmn-elements: FEEL expressions and the zeebe-namespace BPMN extension elements",
5
5
  "type": "module",
6
6
  "module": "src/index.js",
@@ -45,9 +45,10 @@
45
45
  "url": "git+https://github.com/zerodep/bpmn-extensions.git"
46
46
  },
47
47
  "author": {
48
- "name": "Pål Edman",
49
- "url": "https://github.com/paed01"
48
+ "name": "Zerodep AB",
49
+ "url": "https://0dep.se"
50
50
  },
51
+ "homepage": "https://0dep.se/run/",
51
52
  "license": "MIT",
52
53
  "publishConfig": {
53
54
  "access": "public"
@@ -93,7 +94,8 @@
93
94
  "files": [
94
95
  "src",
95
96
  "dist",
96
- "types"
97
+ "types",
98
+ "CHANGELOG.md"
97
99
  ],
98
100
  "c8": {
99
101
  "exclude": [