Releases: kingwill101/stem
Releases · kingwill101/stem
package:stem_sqlite v0.1.0
- Added workflow run lease tracking and claim/renew support so workflows can be
distributed safely across workers. - Added DataSource-based factory helpers that run SQLite migrations for
brokers, result backends, and workflow stores. - Hardened SQLite connection initialization with file locking/retry to avoid
concurrent migration/WAL conflicts, and ensured lazy init before
transactions. - Migrated the SQLite adapter to Ormed and added a local seed runtime that
runs seeders without requiring ormed_cli. - Updated Ormed dependencies to 0.1.0.
- Added workflow run lease migrations, runnable discovery, and offset support
for workflow listings. - Migrated IDs to UUID v7, regenerated ORM models, and refreshed datasource
factories/tests. - Added workflow store contract tests plus docs/dependency updates.
package:stem_redis v0.1.0
- Added workflow run lease tracking and claim/renew helpers to distribute
workflow execution safely across workers. - Maintenance updates to adapter tooling and formatting (no runtime changes).
- Added Redis workflow store support with runnable discovery and metadata
paging improvements. - Migrated IDs to UUID v7 and updated datasource handling.
- Added workflow store contract tests and refreshed dependencies/docs.
package:stem_postgres v0.1.0
- Added workflow run lease tracking and claim/renew helpers to distribute
workflow execution safely across workers. - Fixed worker heartbeat lookups by restoring soft-deleted heartbeat rows on
upsert. - Added DataSource-based initialization that runs migrations before use, and
introduced asyncfromDataSourcehelpers across Postgres adapters (including
workflow stores). - Migrated the Postgres adapter to Ormed with generated registry/migrations for
schema management. - Added a local seed runtime to run Postgres seeders without requiring
ormed_cli. - Hardened lock-store timing/TTL evaluation for more reliable coordination.
- Updated Ormed dependencies to 0.1.0.
- Added workflow run lease migrations plus runnable discovery and metadata
paging updates in the workflow store. - Migrated IDs to UUID v7 and simplified datasource/connection handling.
- Added workflow store contract coverage and refreshed adapter docs/tests.
- Updated dependencies.
package:stem_cli v0.1.0
- Updated CLI adapter wiring and docker test stack to the Ormed-backed
integrations. - Added workflow agent help output to document required configuration.
- Added cloud configuration helpers and revoke-store factory wiring.
- Improved auth token handling in CLI utilities and expanded tests.
- Updated README/Justfile guidance and refreshed dependencies.
package:stem_builder v0.1.0
- Initial builder for annotated Stem workflow/task registries.
- Expanded the registry builder implementation and hardened generation output.
- Added build configuration, analysis options, and tests for registry builds.
- Updated dependencies.
package:stem_adapter_tests v0.1.0
- Added workflow store contract coverage for run leasing and runnable run
discovery. - Expanded contract coverage for typed result encoders and payload encoders
(including TaskResultEncoder) used by adapters. - Split lock/workflow store contract suites and expanded runnable discovery
coverage. - Updated dependencies and analysis options.
package:stem v0.1.0
- Added workflow run leasing APIs (
claimRun,renewRunLease,releaseRun,
listRunnableRuns) and runtime ownership tracking to safely spread workflows
across workers. - Added TaskRetryPolicy and TaskEnqueueOptions for per-enqueue overrides
(timing, retries, callbacks), plus TaskContext/TaskInvocationContext enqueue,
spawn, and retry helpers including isolate entrypoint support and a fluent
TaskEnqueueBuilder. - Added inline FunctionTaskHandler execution (runInIsolate toggle) to simplify
choosing between inline vs. isolate task execution. - Added workflow/task annotations and a registry builder to streamline
declarative workflow setup with existing Flow/WorkflowScript APIs. - Added StemClient as a single entrypoint for configuring workers and workflow
apps with shared broker/backend registries. - Added TaskContext demos and refreshed docs/snippets for enqueue options and
SQLite guidance. - Added typed workflow, task, and canvas result APIs with customizable encoders
(TaskResultEncoder and payload encoders). - Added new example suites (progress heartbeat, worker control lab, and the
feature-complete set) plus refreshed docs/Justfiles for running them. - Added signals registry/configuration for worker, task, scheduler, and
workflow lifecycle events. - Improved worker runtime (isolate pool, config, heartbeats/autoscaling) plus
scheduler behavior (timezone alias handling, in-memory schedule store). - Exposed lock ownership in interfaces and migrated IDs to UUID v7.
- Removed sqlite migrations from core and updated dependencies (collection,
contextual, crypto, cryptography, timezone, uuid). - Expanded internal docs and example suites, plus broader unit/property and
workflow store contract coverage.