Repository navigation
Releases
v5.7
v5.6
Behavior Changes
This release changes how DBOS workflow management operations (cancel, resume, fork rewind) interact with queues. Previously, these operations would clear queue information, so the workflow was no longer associated with any queue. Now, these operations do not clear queue operations, so cancelling and resuming a workflow re-enqueues the workflow to its original queue, and rewinding or forking a workflow similarly re-enqueues it (a cancelled or otherwise terminated workflow still does not consume a queue slot until resumed and re-enqueued). You can override this behavior by passing a different queue into resume, rewind, or fork. We made this change because of consistent user feedback that the original behavior (clearing queue information) was unintuitive.
What's Changed
- Timestamp Workflows from Statement Time by @kraftp in #1443
- DBOS.recoverWorkflows by @kraftp in #1445
- Fix Setting Session Timeout by @kraftp in #1448
- fix fork workflow ID on replay by @maxdml in #1449
- Consistently Make DBOS Methods Durable Steps by @kraftp in #1450
- Preserve Queues in Workflow Management Operations by @kraftp in #1452
Full Changelog: v5.5...v5.6
v5.5
What's Changed
- Better Queue Locking by @kraftp in #1430
- Re-Introduce Initialize/Deactivate Event Receivers by @kraftp in #1429
- Suspend by @maxdml in #1431
- External Storage by @kraftp in #1433
- add missing db retries by @maxdml in #1434
- patch: handle gaps in checkpoints order by @maxdml in #1437
- More Scalable Scheduler by @kraftp in #1439
- fix(sysdb): verify workflow ownership before returning recorded recv outcome by @Tyagiquamar in #1442
- Fix Suspend Indexes by @kraftp in #1444
Full Changelog: v5.4...v5.5
v5.4
What's Changed
- Upgrade Dependencies by @kraftp in #1413
- fix: bound latest application-version lookup work by @axieax in #1410
- Support TypeORM 1.X by @kraftp in #1416
- fix: end the workflow span when a start does not run the workflow by @danizord in #1420
- fix(create): write GitHub template files as raw bytes by @RaphaelFakhri in #1418
- Auto upgrade by @maxdml in #1414
- fix(sysdb): saturate workflow deadline calculation to prevent bigint overflow by @Tyagiquamar in #1422
- Delete dashboard commands by @apoliakov in #1408
- fix: avoid pool deadlock in getStatus inside workflows by @jlalmes in #1424
- DBOS.reserveStep by @kraftp in #1426
- Sharding by @kraftp in #1425
New Contributors
- @axieax made their first contribution in #1410
- @danizord made their first contribution in #1420
- @RaphaelFakhri made their first contribution in #1418
Full Changelog: v5.3...v5.4
v5.3
Package Changes
This release moves the DBOS Conductor client to a separate Enterprise package. If you are using DBOS Conductor or Cloud, please install the Enterprise peer dependency when upgrading:
npm i @dbos-inc/dbos-enterprise
If you are only using the open source library, without Conductor or Cloud, you don't need to make any changes.
What's Changed
- Handle Database Connection Issues During Shutdown by @kraftp in #1390
- Allow workflows to be filtered by whether they are forks or not by @maxdml in #1391
- Better Release Infrastructure by @kraftp in #1392
- Scaffolding to Move Conductor Client by @kraftp in #1393
- Move Conductor Client by @kraftp in #1394
- Skip step output/error payload fetch when loadOutput is false by @Tyagiquamar in #1396
- fix(datasources): attach error listener to internal pg Pool by @ori-aiterra in #1397
- Use INT4 for transaction_completion.function_num, so it is 4 bytes on CockroachDB too by @marc-merino in #1403
- Record Internal Step Errors - #881 by @kraftp in #1402
- Non determinisn check for child workflows by @maxdml in #1406
- fix: skip executor self recovery when conductor is enabled by @Tyagiquamar in #1407
New Contributors
- @Tyagiquamar made their first contribution in #1396
- @ori-aiterra made their first contribution in #1397
- @marc-merino made their first contribution in #1403
Full Changelog: v5.2...v5.3
v5.2
What's Changed
- Re-Vendor node-cron by @kraftp in #1379
- Improve Workflow Conflict Resolution by @kraftp in #1381
- publish preview releases when merging to main by @maxdml in #1380
- Delete Datasource Checkpoints by @kraftp in #1382
- Improve System Database Error Matching by @kraftp in #1386
- Improve TS Logging by @kraftp in #1383
- Datasource Migrations by @kraftp in #1385
- Consistent Resume by @kraftp in #1388
Full Changelog: v5.1...v5.2
v5.1
What's Changed
- Allow deduplicationID on partitioned queues (queue-wide scope) by @jlalmes in #1351
- Improved Queue Index by @kraftp in #1367
- Set Conductor Metadata-Only Mode Locally by @kraftp in #1368
- Workflow ID Reuse Policies by @kraftp in #1372
- rewind by @maxdml in #1374
- Cooperative Step Preemption on Workflow Cancellation by @kraftp in #1373
- Improve Workflow Timeouts by @kraftp in #1376
Full Changelog: v5.0...v5.1
v5.0
Summary
This major version includes schema changes (namely, splitting workflow inputs and outputs into their own tables) that should substantially improve performance at scale, especially when workflow data volumes are large. It also includes large optimizations to workflow retention policies.
As a major version, this removes some deprecated or legacy interfaces. A full migration guide is available here: https://docs.dbos.dev/typescript/upgrading
What's Changed
- Batch Workflow Garbage Collection by @kraftp in #1343
- Statement Timeouts for Observability Queries by @kraftp in #1344
- raise app name limits to 256 by @maxdml in #1345
- Fix Drizzle DataSource Types Under ESM/NodeNext by @genkey6 in #1347
- Optimize Autovacuum & Retention by @kraftp in #1348
- Remove Deprecated Packages by @kraftp in #1352
- Remove Deprecated In-Memory Queues by @kraftp in #1354
- Remove Deprecated In-Memory Scheduler by @kraftp in #1355
- Destroy Should Not Reset Application Configuration by @kraftp in #1357
- Remove Legacy Partition Queue Interface by @kraftp in #1358
- Remove Temp Workflows by @kraftp in #1359
- Remove Admin Server & Clean Up MIgrations by @kraftp in #1362
- Major Version Cleanup by @kraftp in #1363
- vmid fix by @maxdml in #1365
New Contributors
Full Changelog: v4.27...v5.0
v4.27
v4.26
What's Changed
- Update workflow status with a final result only when status is PENDING by @maxdml in #1323
- Application Name by @kraftp in #1326
- Improve System Database Shutdown by @kraftp in #1328
- Simpler Database Connections by @kraftp in #1329
- Fix Datasource Transaction Conflicts by @kraftp in #1330
- Optimize Queue Dispatch by @kraftp in #1331
- Improve Python Parity by @kraftp in #1336
Full Changelog: v4.25...v4.26