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
7 changes: 0 additions & 7 deletions .changeset/deferred-delivery.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fix-cjs-require-types.md

This file was deleted.

12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# txob

## 0.6.0

### Minor Changes

- [#94](https://github.com/osbytes/txob/pull/94) [`ffb6a51`](https://github.com/osbytes/txob/commit/ffb6a5160cd78821648a38014cc17e90a8965ea5) Thanks [@dillonstreator](https://github.com/dillonstreator)! - Deferred delivery: `defer: { delayMs } | { until }` on handler definitions sets when deliveries become claimable, and `publish(..., { defer })` overrides it per event. The publish-time defer is resolved into `event.defer_until` when published; handler defers are resolved at fan-out. Either way the result lands in the delivery's `run_after`, and `delayMs` counts from the event's `created_at`.

**Breaking for Postgres and custom stores:** `txob_events` gains a `defer_until TIMESTAMPTZ` column (`ALTER TABLE txob_events ADD COLUMN IF NOT EXISTS defer_until TIMESTAMPTZ` on existing installs), `TxOBEvent` gains `defer_until`, and `TxOBNewDelivery` gains `run_after`. See MIGRATING.md.

### Patch Changes

- [#96](https://github.com/osbytes/txob/pull/96) [`1bd84f8`](https://github.com/osbytes/txob/commit/1bd84f8dee4808cadc42edc280591afe4d14ae80) Thanks [@dillonstreator](https://github.com/dillonstreator)! - Fix CommonJS consumers: each export now gives `require` its own CommonJS type declarations, the build no longer copies a `"type": "module"` package.json into `dist/`, and `engines.node` is now `^20.19.0 || >=22.12.0` (the versions that can `require()` the ESM-only `p-limit` and `p-queue`).

## 0.5.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"type": "git",
"url": "git://github.com/osbytes/txob.git"
},
"version": "0.5.0",
"version": "0.6.0",
"type": "module",
"license": "MIT",
"files": [
Expand Down
Loading