Skip to content
Merged
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
25 changes: 0 additions & 25 deletions .changeset/conditional-step-execution.md

This file was deleted.

7 changes: 7 additions & 0 deletions pkgs/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# pgflow

## 0.14.0

### Patch Changes

- Updated dependencies [320a106]
- @pgflow/core@0.14.0

## 0.13.3

### 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.13.3",
"version": "0.14.0",
"license": "Apache-2.0",
"repository": {
"type": "git",
Expand Down
8 changes: 8 additions & 0 deletions pkgs/client/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @pgflow/client

## 0.14.0

### Patch Changes

- Updated dependencies [320a106]
- @pgflow/core@0.14.0
- @pgflow/dsl@0.14.0

## 0.13.3

### 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.13.3",
"version": "0.14.0",
"license": "Apache-2.0",
"repository": {
"type": "git",
Expand Down
30 changes: 30 additions & 0 deletions pkgs/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,35 @@
# @pgflow/core

## 0.14.0

### Minor Changes

- 320a106: Add conditional step execution with skip infrastructure

**New DSL Options:**

- `if` - Run step only when input contains specified pattern
- `ifNot` - Run step only when input does NOT contain pattern
- `whenUnmet` - Control behavior when condition not met (fail/skip/skip-cascade)
- `retriesExhausted` - Control behavior after all retries fail (fail/skip/skip-cascade)

**New Types:**

- `ContainmentPattern<T>` - Type-safe JSON containment patterns for conditions
- `StepMeta` - Track skippable dependencies for proper type inference

**Schema Changes:**

- New columns: required_input_pattern, forbidden_input_pattern, when_unmet, when_exhausted, skip_reason, skipped_at
- New step status: 'skipped'
- New function: cascade_skip_steps() for skip propagation
- FlowShape condition fields for auto-compilation drift detection

### Patch Changes

- Updated dependencies [320a106]
- @pgflow/dsl@0.14.0

## 0.13.3

### 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.13.3",
"version": "0.14.0",
"license": "Apache-2.0",
"repository": {
"type": "git",
Expand Down
25 changes: 25 additions & 0 deletions pkgs/dsl/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,30 @@
# @pgflow/dsl

## 0.14.0

### Minor Changes

- 320a106: Add conditional step execution with skip infrastructure

**New DSL Options:**

- `if` - Run step only when input contains specified pattern
- `ifNot` - Run step only when input does NOT contain pattern
- `whenUnmet` - Control behavior when condition not met (fail/skip/skip-cascade)
- `retriesExhausted` - Control behavior after all retries fail (fail/skip/skip-cascade)

**New Types:**

- `ContainmentPattern<T>` - Type-safe JSON containment patterns for conditions
- `StepMeta` - Track skippable dependencies for proper type inference

**Schema Changes:**

- New columns: required_input_pattern, forbidden_input_pattern, when_unmet, when_exhausted, skip_reason, skipped_at
- New step status: 'skipped'
- New function: cascade_skip_steps() for skip propagation
- FlowShape condition fields for auto-compilation drift detection

## 0.13.3

## 0.13.2
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.13.3",
"version": "0.14.0",
"license": "Apache-2.0",
"repository": {
"type": "git",
Expand Down
8 changes: 8 additions & 0 deletions pkgs/edge-worker/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @pgflow/edge-worker

## 0.14.0

### Patch Changes

- Updated dependencies [320a106]
- @pgflow/core@0.14.0
- @pgflow/dsl@0.14.0

## 0.13.3

### 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.13.3",
"version": "0.14.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": "jsr:@oscar6echo/postgres@3.4.5-d",
"@pgflow/core": "npm:@pgflow/core@0.13.3",
"@pgflow/dsl": "npm:@pgflow/dsl@0.13.3"
"@pgflow/core": "npm:@pgflow/core@0.14.0",
"@pgflow/dsl": "npm:@pgflow/dsl@0.14.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.13.3",
"version": "0.14.0",
"license": "Apache-2.0",
"repository": {
"type": "git",
Expand Down
Loading