diff --git a/.changeset/bright-clocks-bet.md b/.changeset/bright-clocks-bet.md deleted file mode 100644 index b8598b44b..000000000 --- a/.changeset/bright-clocks-bet.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -'@pgflow/edge-worker': patch ---- - -Add workerConfig to handler execution context - -Handlers can now access worker configuration through `context.workerConfig` to make intelligent decisions based on retry limits, concurrency settings, and other worker parameters. The config is deeply frozen to prevent accidental modifications while remaining mutable by the worker itself for future features. - -Key improvements: -- Added `workerConfig` to MessageExecution and StepTaskExecution contexts -- Config is cached and frozen once at startup for optimal performance -- Reorganized configuration handling with cleaner factory methods -- Simplified EdgeWorker API by removing unnecessary union types -- Environment variables always sourced from platform (users cannot override) diff --git a/.changeset/gentle-badgers-matter.md b/.changeset/gentle-badgers-matter.md deleted file mode 100644 index bbf64b32b..000000000 --- a/.changeset/gentle-badgers-matter.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@pgflow/edge-worker': patch ---- - -Fix retry config validation to only enforce limit <= 50 for exponential strategy, allowing higher limits for fixed strategy diff --git a/pkgs/cli/CHANGELOG.md b/pkgs/cli/CHANGELOG.md index bacbe2bff..e6bd2cfda 100644 --- a/pkgs/cli/CHANGELOG.md +++ b/pkgs/cli/CHANGELOG.md @@ -1,5 +1,11 @@ # pgflow +## 0.6.1 + +### Patch Changes + +- @pgflow/core@0.6.1 + ## 0.6.0 ### Patch Changes diff --git a/pkgs/cli/package.json b/pkgs/cli/package.json index b101e8480..b42f107ed 100644 --- a/pkgs/cli/package.json +++ b/pkgs/cli/package.json @@ -1,6 +1,6 @@ { "name": "pgflow", - "version": "0.6.0", + "version": "0.6.1", "type": "module", "main": "./dist/index.js", "typings": "./dist/index.d.ts", diff --git a/pkgs/client/CHANGELOG.md b/pkgs/client/CHANGELOG.md index 0f1980edf..01432a121 100644 --- a/pkgs/client/CHANGELOG.md +++ b/pkgs/client/CHANGELOG.md @@ -1,5 +1,12 @@ # @pgflow/client +## 0.6.1 + +### Patch Changes + +- @pgflow/core@0.6.1 +- @pgflow/dsl@0.6.1 + ## 0.6.0 ### Patch Changes diff --git a/pkgs/client/package.json b/pkgs/client/package.json index b62ccf0ca..73e7852c0 100644 --- a/pkgs/client/package.json +++ b/pkgs/client/package.json @@ -1,6 +1,6 @@ { "name": "@pgflow/client", - "version": "0.6.0", + "version": "0.6.1", "type": "module", "scripts": { "verify-exports": "node scripts/verify-exports.js" diff --git a/pkgs/core/CHANGELOG.md b/pkgs/core/CHANGELOG.md index 35c0ba78d..1816be67f 100644 --- a/pkgs/core/CHANGELOG.md +++ b/pkgs/core/CHANGELOG.md @@ -1,5 +1,11 @@ # @pgflow/core +## 0.6.1 + +### Patch Changes + +- @pgflow/dsl@0.6.1 + ## 0.6.0 ### Patch Changes diff --git a/pkgs/core/package.json b/pkgs/core/package.json index 4247aaacb..e3086c9b6 100644 --- a/pkgs/core/package.json +++ b/pkgs/core/package.json @@ -1,6 +1,6 @@ { "name": "@pgflow/core", - "version": "0.6.0", + "version": "0.6.1", "license": "AGPL-3.0", "type": "module", "main": "./dist/index.js", diff --git a/pkgs/dsl/CHANGELOG.md b/pkgs/dsl/CHANGELOG.md index 9a21c2d5a..50b74b98d 100644 --- a/pkgs/dsl/CHANGELOG.md +++ b/pkgs/dsl/CHANGELOG.md @@ -1,5 +1,7 @@ # @pgflow/dsl +## 0.6.1 + ## 0.6.0 ### Minor Changes diff --git a/pkgs/dsl/package.json b/pkgs/dsl/package.json index 2c644da2e..c8e5b32a3 100644 --- a/pkgs/dsl/package.json +++ b/pkgs/dsl/package.json @@ -1,6 +1,6 @@ { "name": "@pgflow/dsl", - "version": "0.6.0", + "version": "0.6.1", "type": "module", "main": "./dist/index.js", "module": "./dist/index.js", diff --git a/pkgs/edge-worker/CHANGELOG.md b/pkgs/edge-worker/CHANGELOG.md index 18e09c915..7d182f158 100644 --- a/pkgs/edge-worker/CHANGELOG.md +++ b/pkgs/edge-worker/CHANGELOG.md @@ -1,5 +1,25 @@ # @pgflow/edge-worker +## 0.6.1 + +### Patch Changes + +- ac8a858: Add workerConfig to handler execution context + + Handlers can now access worker configuration through `context.workerConfig` to make intelligent decisions based on retry limits, concurrency settings, and other worker parameters. The config is deeply frozen to prevent accidental modifications while remaining mutable by the worker itself for future features. + + Key improvements: + + - Added `workerConfig` to MessageExecution and StepTaskExecution contexts + - Config is cached and frozen once at startup for optimal performance + - Reorganized configuration handling with cleaner factory methods + - Simplified EdgeWorker API by removing unnecessary union types + - Environment variables always sourced from platform (users cannot override) + +- 51b41f2: Fix retry config validation to only enforce limit <= 50 for exponential strategy, allowing higher limits for fixed strategy + - @pgflow/core@0.6.1 + - @pgflow/dsl@0.6.1 + ## 0.6.0 ### Minor Changes diff --git a/pkgs/edge-worker/jsr.json b/pkgs/edge-worker/jsr.json index 7647cf372..961505960 100644 --- a/pkgs/edge-worker/jsr.json +++ b/pkgs/edge-worker/jsr.json @@ -1,6 +1,6 @@ { "name": "@pgflow/edge-worker", - "version": "0.6.0", + "version": "0.6.1", "license": "AGPL-3.0", "exports": { ".": "./src/index.ts", @@ -9,8 +9,8 @@ "imports": { "@henrygd/queue": "jsr:@henrygd/queue@^1.0.7", "postgres": "npm:postgres@3.4.5", - "@pgflow/core": "npm:@pgflow/core@0.6.0", - "@pgflow/dsl": "npm:@pgflow/dsl@0.6.0" + "@pgflow/core": "npm:@pgflow/core@0.6.1", + "@pgflow/dsl": "npm:@pgflow/dsl@0.6.1" }, "publish": { "include": [ diff --git a/pkgs/edge-worker/package.json b/pkgs/edge-worker/package.json index ac039f1b4..a3b074853 100644 --- a/pkgs/edge-worker/package.json +++ b/pkgs/edge-worker/package.json @@ -1,6 +1,6 @@ { "name": "@pgflow/edge-worker", - "version": "0.6.0", + "version": "0.6.1", "license": "AGPL-3.0", "type": "module", "main": "./dist/index.js", diff --git a/pkgs/example-flows/CHANGELOG.md b/pkgs/example-flows/CHANGELOG.md index 3e68745ac..3e441721a 100644 --- a/pkgs/example-flows/CHANGELOG.md +++ b/pkgs/example-flows/CHANGELOG.md @@ -1,5 +1,12 @@ # @pgflow/example-flows +## 0.6.1 + +### Patch Changes + +- @pgflow/core@0.6.1 +- @pgflow/dsl@0.6.1 + ## 0.6.0 ### Patch Changes diff --git a/pkgs/example-flows/package.json b/pkgs/example-flows/package.json index 24ed0cd74..208788355 100644 --- a/pkgs/example-flows/package.json +++ b/pkgs/example-flows/package.json @@ -1,6 +1,6 @@ { "name": "@pgflow/example-flows", - "version": "0.6.0", + "version": "0.6.1", "dependencies": { "@pgflow/core": "workspace:*", "@pgflow/dsl": "workspace:*" diff --git a/pkgs/website/CHANGELOG.md b/pkgs/website/CHANGELOG.md index 9c7df0250..8e7734f96 100644 --- a/pkgs/website/CHANGELOG.md +++ b/pkgs/website/CHANGELOG.md @@ -1,5 +1,7 @@ # @pgflow/website +## 0.6.1 + ## 0.6.0 ## 0.5.4 diff --git a/pkgs/website/package.json b/pkgs/website/package.json index 161baad68..925c8187c 100644 --- a/pkgs/website/package.json +++ b/pkgs/website/package.json @@ -1,7 +1,7 @@ { "name": "@pgflow/website", "type": "module", - "version": "0.6.0", + "version": "0.6.1", "main": "./dist/index.js", "module": "./dist/index.js", "types": "./dist/index.d.ts",