From 26e589f2137b9ca2e48de4e891a67a91fbaa5b35 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 10 Dec 2025 12:27:17 +0000 Subject: [PATCH] Version Packages --- .changeset/auto-compile-on-startup.md | 7 ------- .changeset/structured-logging-dx.md | 12 ------------ .changeset/worker-management.md | 6 ------ pkgs/cli/CHANGELOG.md | 8 ++++++++ pkgs/cli/package.json | 2 +- pkgs/client/CHANGELOG.md | 9 +++++++++ pkgs/client/package.json | 2 +- pkgs/core/CHANGELOG.md | 12 ++++++++++++ pkgs/core/package.json | 2 +- pkgs/dsl/CHANGELOG.md | 6 ++++++ pkgs/dsl/package.json | 2 +- pkgs/edge-worker/CHANGELOG.md | 23 +++++++++++++++++++++++ pkgs/edge-worker/jsr.json | 6 +++--- pkgs/edge-worker/package.json | 2 +- pkgs/example-flows/CHANGELOG.md | 9 +++++++++ pkgs/example-flows/package.json | 2 +- 16 files changed, 76 insertions(+), 34 deletions(-) delete mode 100644 .changeset/auto-compile-on-startup.md delete mode 100644 .changeset/structured-logging-dx.md delete mode 100644 .changeset/worker-management.md diff --git a/.changeset/auto-compile-on-startup.md b/.changeset/auto-compile-on-startup.md deleted file mode 100644 index 942361f7d..000000000 --- a/.changeset/auto-compile-on-startup.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@pgflow/core': patch -'@pgflow/dsl': patch -'@pgflow/edge-worker': patch ---- - -Add automatic flow compilation at worker startup. Workers now call ensure_flow_compiled to verify flows are up-to-date. In development, mismatched flows are recompiled automatically. In production, mismatches cause errors. Use ensureCompiledOnStartup: false to opt-out. diff --git a/.changeset/structured-logging-dx.md b/.changeset/structured-logging-dx.md deleted file mode 100644 index eb0dd03c6..000000000 --- a/.changeset/structured-logging-dx.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -'@pgflow/edge-worker': patch ---- - -Major developer experience improvements with structured logging: - -- Add verbose log level between info and debug for task outcomes -- Auto-detect local vs hosted environment for log format and level defaults -- Fancy formatter for local dev with colored icons, worker-prefixed lines, and flow/step paths -- Simple formatter for production with structured key=value output for log aggregators -- Display task duration, retry information with exponential backoff delay calculation -- Support NO_COLOR standard and EDGE_WORKER_LOG_LEVEL/EDGE_WORKER_LOG_FORMAT env vars diff --git a/.changeset/worker-management.md b/.changeset/worker-management.md deleted file mode 100644 index e41502ca4..000000000 --- a/.changeset/worker-management.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@pgflow/core': minor -'@pgflow/edge-worker': minor ---- - -Add automatic worker restart via `ensure_workers()` cron job that keeps edge functions running. Add `worker_functions` table for tracking registered edge functions and their health status. Add `stopped_at` column to workers table for graceful shutdown detection. Integrate `trackWorkerFunction` and `markWorkerStopped` into edge worker lifecycle for automatic registration and shutdown signaling. diff --git a/pkgs/cli/CHANGELOG.md b/pkgs/cli/CHANGELOG.md index 33c33d4cf..22b95b177 100644 --- a/pkgs/cli/CHANGELOG.md +++ b/pkgs/cli/CHANGELOG.md @@ -1,5 +1,13 @@ # pgflow +## 0.10.0 + +### Patch Changes + +- Updated dependencies [0b84bb0] +- Updated dependencies [90276ce] + - @pgflow/core@0.10.0 + ## 0.9.1 ### Patch Changes diff --git a/pkgs/cli/package.json b/pkgs/cli/package.json index 2c1942787..7a575d6bf 100644 --- a/pkgs/cli/package.json +++ b/pkgs/cli/package.json @@ -1,6 +1,6 @@ { "name": "pgflow", - "version": "0.9.1", + "version": "0.10.0", "license": "Apache-2.0", "type": "module", "main": "./dist/index.js", diff --git a/pkgs/client/CHANGELOG.md b/pkgs/client/CHANGELOG.md index 7b56b1737..ca86fdc7a 100644 --- a/pkgs/client/CHANGELOG.md +++ b/pkgs/client/CHANGELOG.md @@ -1,5 +1,14 @@ # @pgflow/client +## 0.10.0 + +### Patch Changes + +- Updated dependencies [0b84bb0] +- Updated dependencies [90276ce] + - @pgflow/core@0.10.0 + - @pgflow/dsl@0.10.0 + ## 0.9.1 ### Patch Changes diff --git a/pkgs/client/package.json b/pkgs/client/package.json index 158d99e6c..5cb5a67b2 100644 --- a/pkgs/client/package.json +++ b/pkgs/client/package.json @@ -1,6 +1,6 @@ { "name": "@pgflow/client", - "version": "0.9.1", + "version": "0.10.0", "license": "Apache-2.0", "type": "module", "scripts": { diff --git a/pkgs/core/CHANGELOG.md b/pkgs/core/CHANGELOG.md index 6a2aa811f..a54f6f7bd 100644 --- a/pkgs/core/CHANGELOG.md +++ b/pkgs/core/CHANGELOG.md @@ -1,5 +1,17 @@ # @pgflow/core +## 0.10.0 + +### Minor Changes + +- 90276ce: Add automatic worker restart via `ensure_workers()` cron job that keeps edge functions running. Add `worker_functions` table for tracking registered edge functions and their health status. Add `stopped_at` column to workers table for graceful shutdown detection. Integrate `trackWorkerFunction` and `markWorkerStopped` into edge worker lifecycle for automatic registration and shutdown signaling. + +### Patch Changes + +- 0b84bb0: Add automatic flow compilation at worker startup. Workers now call ensure_flow_compiled to verify flows are up-to-date. In development, mismatched flows are recompiled automatically. In production, mismatches cause errors. Use ensureCompiledOnStartup: false to opt-out. +- Updated dependencies [0b84bb0] + - @pgflow/dsl@0.10.0 + ## 0.9.1 ### Patch Changes diff --git a/pkgs/core/package.json b/pkgs/core/package.json index d005d9ddf..1c9527341 100644 --- a/pkgs/core/package.json +++ b/pkgs/core/package.json @@ -1,6 +1,6 @@ { "name": "@pgflow/core", - "version": "0.9.1", + "version": "0.10.0", "license": "Apache-2.0", "type": "module", "main": "./dist/index.js", diff --git a/pkgs/dsl/CHANGELOG.md b/pkgs/dsl/CHANGELOG.md index dadfcc705..ff73abd68 100644 --- a/pkgs/dsl/CHANGELOG.md +++ b/pkgs/dsl/CHANGELOG.md @@ -1,5 +1,11 @@ # @pgflow/dsl +## 0.10.0 + +### Patch Changes + +- 0b84bb0: Add automatic flow compilation at worker startup. Workers now call ensure_flow_compiled to verify flows are up-to-date. In development, mismatched flows are recompiled automatically. In production, mismatches cause errors. Use ensureCompiledOnStartup: false to opt-out. + ## 0.9.1 ### Patch Changes diff --git a/pkgs/dsl/package.json b/pkgs/dsl/package.json index db4120175..4e0a26cee 100644 --- a/pkgs/dsl/package.json +++ b/pkgs/dsl/package.json @@ -1,6 +1,6 @@ { "name": "@pgflow/dsl", - "version": "0.9.1", + "version": "0.10.0", "license": "Apache-2.0", "type": "module", "main": "./dist/index.js", diff --git a/pkgs/edge-worker/CHANGELOG.md b/pkgs/edge-worker/CHANGELOG.md index 9c35480ef..dc3276ed1 100644 --- a/pkgs/edge-worker/CHANGELOG.md +++ b/pkgs/edge-worker/CHANGELOG.md @@ -1,5 +1,28 @@ # @pgflow/edge-worker +## 0.10.0 + +### Minor Changes + +- 90276ce: Add automatic worker restart via `ensure_workers()` cron job that keeps edge functions running. Add `worker_functions` table for tracking registered edge functions and their health status. Add `stopped_at` column to workers table for graceful shutdown detection. Integrate `trackWorkerFunction` and `markWorkerStopped` into edge worker lifecycle for automatic registration and shutdown signaling. + +### Patch Changes + +- 0b84bb0: Add automatic flow compilation at worker startup. Workers now call ensure_flow_compiled to verify flows are up-to-date. In development, mismatched flows are recompiled automatically. In production, mismatches cause errors. Use ensureCompiledOnStartup: false to opt-out. +- e368e08: Major developer experience improvements with structured logging: + + - Add verbose log level between info and debug for task outcomes + - Auto-detect local vs hosted environment for log format and level defaults + - Fancy formatter for local dev with colored icons, worker-prefixed lines, and flow/step paths + - Simple formatter for production with structured key=value output for log aggregators + - Display task duration, retry information with exponential backoff delay calculation + - Support NO_COLOR standard and EDGE_WORKER_LOG_LEVEL/EDGE_WORKER_LOG_FORMAT env vars + +- Updated dependencies [0b84bb0] +- Updated dependencies [90276ce] + - @pgflow/core@0.10.0 + - @pgflow/dsl@0.10.0 + ## 0.9.1 ### Patch Changes diff --git a/pkgs/edge-worker/jsr.json b/pkgs/edge-worker/jsr.json index 6a7fdb846..b98d39ca2 100644 --- a/pkgs/edge-worker/jsr.json +++ b/pkgs/edge-worker/jsr.json @@ -1,6 +1,6 @@ { "name": "@pgflow/edge-worker", - "version": "0.9.1", + "version": "0.10.0", "license": "Apache-2.0", "exports": { ".": "./src/index.ts", @@ -10,8 +10,8 @@ "@henrygd/queue": "jsr:@henrygd/queue@^1.0.7", "@std/crypto": "jsr:@std/crypto@^1.0.5", "postgres": "npm:postgres@3.4.5", - "@pgflow/core": "npm:@pgflow/core@0.9.1", - "@pgflow/dsl": "npm:@pgflow/dsl@0.9.1" + "@pgflow/core": "npm:@pgflow/core@0.10.0", + "@pgflow/dsl": "npm:@pgflow/dsl@0.10.0" }, "publish": { "include": [ diff --git a/pkgs/edge-worker/package.json b/pkgs/edge-worker/package.json index 4ae61f972..48b124381 100644 --- a/pkgs/edge-worker/package.json +++ b/pkgs/edge-worker/package.json @@ -1,6 +1,6 @@ { "name": "@pgflow/edge-worker", - "version": "0.9.1", + "version": "0.10.0", "license": "Apache-2.0", "type": "module", "main": "./dist/index.js", diff --git a/pkgs/example-flows/CHANGELOG.md b/pkgs/example-flows/CHANGELOG.md index 03dfd649b..704b0e0eb 100644 --- a/pkgs/example-flows/CHANGELOG.md +++ b/pkgs/example-flows/CHANGELOG.md @@ -1,5 +1,14 @@ # @pgflow/example-flows +## 0.10.0 + +### Patch Changes + +- Updated dependencies [0b84bb0] +- Updated dependencies [90276ce] + - @pgflow/core@0.10.0 + - @pgflow/dsl@0.10.0 + ## 0.9.1 ### Patch Changes diff --git a/pkgs/example-flows/package.json b/pkgs/example-flows/package.json index bf52b912f..f357b83cb 100644 --- a/pkgs/example-flows/package.json +++ b/pkgs/example-flows/package.json @@ -1,6 +1,6 @@ { "name": "@pgflow/example-flows", - "version": "0.9.1", + "version": "0.10.0", "license": "Apache-2.0", "dependencies": { "@pgflow/core": "workspace:*",