@openfn/ws-worker 1.14.4 → 1.15.0

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 +21 -0
  2. package/package.json +25 -25
package/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # ws-worker
2
2
 
3
+ ## 1.15.0
4
+
5
+ Move expression compilation down into the run thread, isolating its memory from the main worker thread. This should work around a memory leak in long-running workers and improve the robustness of the worker generally.
6
+
7
+ Note that workflows with large expressions and low run memory limits may be OOM killed as a result of these changes,
8
+
9
+ ### Patch Changes
10
+
11
+ - @openfn/engine-multi@1.6.10
12
+
13
+ ## 1.14.5
14
+
15
+ ### Patch Changes
16
+
17
+ - Update dependencies
18
+ - Updated dependencies
19
+ - @openfn/engine-multi@1.6.9
20
+ - @openfn/lexicon@1.2.3
21
+ - @openfn/runtime@1.7.2
22
+ - @openfn/logger@1.0.6
23
+
3
24
  ## 1.14.4
4
25
 
5
26
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfn/ws-worker",
3
- "version": "1.14.4",
3
+ "version": "1.15.0",
4
4
  "description": "A Websocket Worker to connect Lightning to a Runtime Engine",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -10,40 +10,40 @@
10
10
  "author": "Open Function Group <admin@openfn.org>",
11
11
  "license": "ISC",
12
12
  "dependencies": {
13
- "@koa/router": "^12.0.0",
14
- "@sentry/node": "^9.5.0",
15
- "@types/koa-logger": "^3.1.2",
16
- "@types/ws": "^8.5.6",
13
+ "@koa/router": "^12.0.2",
14
+ "@sentry/node": "^9.46.0",
15
+ "@types/koa-logger": "^3.1.5",
16
+ "@types/ws": "^8.18.1",
17
17
  "fast-safe-stringify": "^2.1.1",
18
18
  "figures": "^5.0.0",
19
- "human-id": "^4.1.0",
19
+ "human-id": "^4.1.1",
20
20
  "jose": "^4.15.9",
21
- "koa": "^2.13.4",
22
- "koa-bodyparser": "^4.4.0",
21
+ "koa": "^2.16.2",
22
+ "koa-bodyparser": "^4.4.1",
23
23
  "koa-logger": "^3.2.1",
24
24
  "phoenix": "1.7.10",
25
- "ws": "^8.18.0",
26
- "@openfn/engine-multi": "1.6.8",
27
- "@openfn/logger": "1.0.5",
28
- "@openfn/lexicon": "^1.2.2",
29
- "@openfn/runtime": "1.7.1"
25
+ "ws": "^8.18.3",
26
+ "@openfn/engine-multi": "1.6.10",
27
+ "@openfn/lexicon": "^1.2.3",
28
+ "@openfn/logger": "1.0.6",
29
+ "@openfn/runtime": "1.7.2"
30
30
  },
31
31
  "devDependencies": {
32
- "@types/koa": "^2.13.5",
33
- "@types/koa-bodyparser": "^4.3.10",
34
- "@types/koa__router": "^12.0.1",
35
- "@types/node": "^18.15.3",
32
+ "@types/koa": "^2.15.0",
33
+ "@types/koa-bodyparser": "^4.3.12",
34
+ "@types/koa__router": "^12.0.4",
35
+ "@types/node": "^18.19.127",
36
36
  "@types/nodemon": "1.19.3",
37
- "@types/phoenix": "^1.6.2",
38
- "@types/yargs": "^17.0.12",
37
+ "@types/phoenix": "^1.6.6",
38
+ "@types/yargs": "^17.0.33",
39
39
  "ava": "5.1.0",
40
40
  "nodemon": "3.0.1",
41
- "sentry-testkit": "^6.1.0",
42
- "tslib": "^2.4.0",
43
- "tsup": "^6.2.3",
44
- "typescript": "^4.6.4",
45
- "yargs": "^17.6.2",
46
- "@openfn/lightning-mock": "2.2.3"
41
+ "sentry-testkit": "^6.2.2",
42
+ "tslib": "^2.8.1",
43
+ "tsup": "^6.7.0",
44
+ "typescript": "^4.9.5",
45
+ "yargs": "^17.7.2",
46
+ "@openfn/lightning-mock": "2.2.5"
47
47
  },
48
48
  "files": [
49
49
  "dist",