Skip to content
Open
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
7 changes: 0 additions & 7 deletions .changeset/auto-compile-on-startup.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/worker-management.md

This file was deleted.

8 changes: 8 additions & 0 deletions pkgs/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion pkgs/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pgflow",
"version": "0.9.1",
"version": "0.10.0",
"license": "Apache-2.0",
"type": "module",
"main": "./dist/index.js",
Expand Down
9 changes: 9 additions & 0 deletions pkgs/client/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion pkgs/client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pgflow/client",
"version": "0.9.1",
"version": "0.10.0",
"license": "Apache-2.0",
"type": "module",
"scripts": {
Expand Down
12 changes: 12 additions & 0 deletions pkgs/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion pkgs/core/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
6 changes: 6 additions & 0 deletions pkgs/dsl/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion pkgs/dsl/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
14 changes: 14 additions & 0 deletions pkgs/edge-worker/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# @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.
- Updated dependencies [0b84bb0]
- Updated dependencies [90276ce]
- @pgflow/core@0.10.0
- @pgflow/dsl@0.10.0

## 0.9.1

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions pkgs/edge-worker/jsr.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pgflow/edge-worker",
"version": "0.9.1",
"version": "0.10.0",
"license": "Apache-2.0",
"exports": {
".": "./src/index.ts",
Expand All @@ -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": [
Expand Down
2 changes: 1 addition & 1 deletion pkgs/edge-worker/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
9 changes: 9 additions & 0 deletions pkgs/example-flows/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion pkgs/example-flows/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pgflow/example-flows",
"version": "0.9.1",
"version": "0.10.0",
"license": "Apache-2.0",
"dependencies": {
"@pgflow/core": "workspace:*",
Expand Down