From 6cf432bc428f98d6a7458dc7710984e66fa31d78 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 12 Jun 2026 19:48:03 +0000 Subject: [PATCH] Version Packages --- .changeset/ingest-quiet-stream-hang.md | 7 ------- .changeset/sinks-seam.md | 12 ----------- packages/contrail-appview/CHANGELOG.md | 23 ++++++++++++++++++++++ packages/contrail-appview/package.json | 2 +- packages/contrail-authority/CHANGELOG.md | 7 +++++++ packages/contrail-authority/package.json | 2 +- packages/contrail-base/CHANGELOG.md | 12 +++++++++++ packages/contrail-base/package.json | 2 +- packages/contrail-community/CHANGELOG.md | 8 ++++++++ packages/contrail-community/package.json | 2 +- packages/contrail-record-host/CHANGELOG.md | 7 +++++++ packages/contrail-record-host/package.json | 2 +- packages/contrail/CHANGELOG.md | 11 +++++++++++ packages/contrail/package.json | 2 +- packages/lexicons/CHANGELOG.md | 6 ++++++ packages/lexicons/package.json | 2 +- packages/sync/CHANGELOG.md | 2 ++ packages/sync/package.json | 2 +- 18 files changed, 84 insertions(+), 27 deletions(-) delete mode 100644 .changeset/ingest-quiet-stream-hang.md delete mode 100644 .changeset/sinks-seam.md diff --git a/.changeset/ingest-quiet-stream-hang.md b/.changeset/ingest-quiet-stream-hang.md deleted file mode 100644 index d8c3aee..0000000 --- a/.changeset/ingest-quiet-stream-hang.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@atmo-dev/contrail-appview": patch ---- - -fix(ingest): stop the ingest cycle hanging on a quiet or all-filtered Jetstream - -Race `iterator.next()` against the safety timeout and check the exit conditions before each event, so a low-traffic stream no longer blocks until the caller's hard timeout kills the cycle with the batch and cursor unwritten. diff --git a/.changeset/sinks-seam.md b/.changeset/sinks-seam.md deleted file mode 100644 index 4be8975..0000000 --- a/.changeset/sinks-seam.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -"@atmo-dev/contrail-base": minor -"@atmo-dev/contrail-appview": minor ---- - -Add a first-class `sinks` config option: write-only, post-commit observers of applied records. - -A `Sink` builds derived state (a search index, an audit log, a webhook fan-out) from every record contrail ingests. Each configured sink's `onRecords(events, { phase })` fires inside `applyEvents()` after the DB commit, on **both** the live and backfill paths, receiving one deduplicated `RecordEvent` per record. Failures are isolated — a throwing sink is logged via the configured logger and never blocks ingestion. - -Unlike `realtime.pubsub`, a sink is not a subscriber: it serves no reads, requires no ticket secret, and must see backfilled records (where realtime is intentionally silent). Public records only — space-scoped records publish via the publishing adapter and never reach the fan-out. - -Purely additive: `realtime` and all existing behavior are unchanged. Runs identically on D1 and Postgres (it is an in-process call after commit, not a database-log consumer). diff --git a/packages/contrail-appview/CHANGELOG.md b/packages/contrail-appview/CHANGELOG.md index d77f214..d1c6475 100644 --- a/packages/contrail-appview/CHANGELOG.md +++ b/packages/contrail-appview/CHANGELOG.md @@ -1,5 +1,28 @@ # @atmo-dev/contrail-appview +## 0.12.0 + +### Minor Changes + +- 6b34d87: Add a first-class `sinks` config option: write-only, post-commit observers of applied records. + + A `Sink` builds derived state (a search index, an audit log, a webhook fan-out) from every record contrail ingests. Each configured sink's `onRecords(events, { phase })` fires inside `applyEvents()` after the DB commit, on **both** the live and backfill paths, receiving one deduplicated `RecordEvent` per record. Failures are isolated — a throwing sink is logged via the configured logger and never blocks ingestion. + + Unlike `realtime.pubsub`, a sink is not a subscriber: it serves no reads, requires no ticket secret, and must see backfilled records (where realtime is intentionally silent). Public records only — space-scoped records publish via the publishing adapter and never reach the fan-out. + + Purely additive: `realtime` and all existing behavior are unchanged. Runs identically on D1 and Postgres (it is an in-process call after commit, not a database-log consumer). + +### Patch Changes + +- 91278c6: fix(ingest): stop the ingest cycle hanging on a quiet or all-filtered Jetstream + + Race `iterator.next()` against the safety timeout and check the exit conditions before each event, so a low-traffic stream no longer blocks until the caller's hard timeout kills the cycle with the batch and cursor unwritten. + +- Updated dependencies [6b34d87] + - @atmo-dev/contrail-base@0.12.0 + - @atmo-dev/contrail-authority@0.12.0 + - @atmo-dev/contrail-record-host@0.12.0 + ## 0.11.0 ### Minor Changes diff --git a/packages/contrail-appview/package.json b/packages/contrail-appview/package.json index e741fd1..905e442 100644 --- a/packages/contrail-appview/package.json +++ b/packages/contrail-appview/package.json @@ -1,6 +1,6 @@ { "name": "@atmo-dev/contrail-appview", - "version": "0.11.0", + "version": "0.12.0", "description": "Public-records appview for contrail — jetstream ingestion, backfill, query layer, feeds, labels, profiles, per-collection XRPC routes.", "type": "module", "sideEffects": false, diff --git a/packages/contrail-authority/CHANGELOG.md b/packages/contrail-authority/CHANGELOG.md index 1d40af7..472952d 100644 --- a/packages/contrail-authority/CHANGELOG.md +++ b/packages/contrail-authority/CHANGELOG.md @@ -1,5 +1,12 @@ # @atmo-dev/contrail-authority +## 0.12.0 + +### Patch Changes + +- Updated dependencies [6b34d87] + - @atmo-dev/contrail-base@0.12.0 + ## 0.11.0 ### Patch Changes diff --git a/packages/contrail-authority/package.json b/packages/contrail-authority/package.json index 909083a..32dee72 100644 --- a/packages/contrail-authority/package.json +++ b/packages/contrail-authority/package.json @@ -1,6 +1,6 @@ { "name": "@atmo-dev/contrail-authority", - "version": "0.11.0", + "version": "0.12.0", "description": "Default space-authority implementation for contrail — member list, invites, app policy, credential issuance. Contrail's binary-membership ACL flavor; for ladder-style access levels see @atmo-dev/contrail-community.", "type": "module", "sideEffects": false, diff --git a/packages/contrail-base/CHANGELOG.md b/packages/contrail-base/CHANGELOG.md index b95163a..b8c316e 100644 --- a/packages/contrail-base/CHANGELOG.md +++ b/packages/contrail-base/CHANGELOG.md @@ -1,5 +1,17 @@ # @atmo-dev/contrail-base +## 0.12.0 + +### Minor Changes + +- 6b34d87: Add a first-class `sinks` config option: write-only, post-commit observers of applied records. + + A `Sink` builds derived state (a search index, an audit log, a webhook fan-out) from every record contrail ingests. Each configured sink's `onRecords(events, { phase })` fires inside `applyEvents()` after the DB commit, on **both** the live and backfill paths, receiving one deduplicated `RecordEvent` per record. Failures are isolated — a throwing sink is logged via the configured logger and never blocks ingestion. + + Unlike `realtime.pubsub`, a sink is not a subscriber: it serves no reads, requires no ticket secret, and must see backfilled records (where realtime is intentionally silent). Public records only — space-scoped records publish via the publishing adapter and never reach the fan-out. + + Purely additive: `realtime` and all existing behavior are unchanged. Runs identically on D1 and Postgres (it is an in-process call after commit, not a database-log consumer). + ## 0.11.0 ## 0.10.0 diff --git a/packages/contrail-base/package.json b/packages/contrail-base/package.json index 1f3626f..c2ae463 100644 --- a/packages/contrail-base/package.json +++ b/packages/contrail-base/package.json @@ -1,6 +1,6 @@ { "name": "@atmo-dev/contrail-base", - "version": "0.11.0", + "version": "0.12.0", "description": "Shared infrastructure for the contrail family of packages — interfaces (SpaceAuthority, RecordHost, CommunityIntegration), credential primitives, binding resolvers, realtime infra, schema scaffolding. No routes, no tables of its own.", "type": "module", "sideEffects": false, diff --git a/packages/contrail-community/CHANGELOG.md b/packages/contrail-community/CHANGELOG.md index 9c36ac8..5134925 100644 --- a/packages/contrail-community/CHANGELOG.md +++ b/packages/contrail-community/CHANGELOG.md @@ -1,5 +1,13 @@ # @atmo-dev/contrail-community +## 0.12.0 + +### Patch Changes + +- Updated dependencies [6b34d87] + - @atmo-dev/contrail-base@0.12.0 + - @atmo-dev/contrail@0.12.0 + ## 0.11.0 ### Patch Changes diff --git a/packages/contrail-community/package.json b/packages/contrail-community/package.json index 071c89a..7a57fbb 100644 --- a/packages/contrail-community/package.json +++ b/packages/contrail-community/package.json @@ -1,6 +1,6 @@ { "name": "@atmo-dev/contrail-community", - "version": "0.11.0", + "version": "0.12.0", "description": "Community module for contrail — community-owned spaces with tiered access levels (member → moderator → admin), invite tokens, DID provisioning, and the access-level reconciler that keeps spaces_members in sync.", "type": "module", "sideEffects": false, diff --git a/packages/contrail-record-host/CHANGELOG.md b/packages/contrail-record-host/CHANGELOG.md index 9978458..1d439c6 100644 --- a/packages/contrail-record-host/CHANGELOG.md +++ b/packages/contrail-record-host/CHANGELOG.md @@ -1,5 +1,12 @@ # @atmo-dev/contrail-record-host +## 0.12.0 + +### Patch Changes + +- Updated dependencies [6b34d87] + - @atmo-dev/contrail-base@0.12.0 + ## 0.11.0 ### Patch Changes diff --git a/packages/contrail-record-host/package.json b/packages/contrail-record-host/package.json index 48c1fd0..db1bb77 100644 --- a/packages/contrail-record-host/package.json +++ b/packages/contrail-record-host/package.json @@ -1,6 +1,6 @@ { "name": "@atmo-dev/contrail-record-host", - "version": "0.11.0", + "version": "0.12.0", "description": "Default record-host implementation for contrail — stores records and blobs for permissioned spaces, enforces local enrollment as the host's consent layer.", "type": "module", "sideEffects": false, diff --git a/packages/contrail/CHANGELOG.md b/packages/contrail/CHANGELOG.md index 136e505..119c091 100644 --- a/packages/contrail/CHANGELOG.md +++ b/packages/contrail/CHANGELOG.md @@ -1,5 +1,16 @@ # @atmo-dev/contrail +## 0.12.0 + +### Patch Changes + +- Updated dependencies [91278c6] +- Updated dependencies [6b34d87] + - @atmo-dev/contrail-appview@0.12.0 + - @atmo-dev/contrail-base@0.12.0 + - @atmo-dev/contrail-authority@0.12.0 + - @atmo-dev/contrail-record-host@0.12.0 + ## 0.11.0 ### Patch Changes diff --git a/packages/contrail/package.json b/packages/contrail/package.json index 2aa5726..f7e9fcf 100644 --- a/packages/contrail/package.json +++ b/packages/contrail/package.json @@ -1,6 +1,6 @@ { "name": "@atmo-dev/contrail", - "version": "0.11.0", + "version": "0.12.0", "description": "Index AT Protocol records with typed XRPC endpoints. Cloudflare Workers + D1, SvelteKit, Node.js.", "type": "module", "sideEffects": false, diff --git a/packages/lexicons/CHANGELOG.md b/packages/lexicons/CHANGELOG.md index fc63a0e..58daf67 100644 --- a/packages/lexicons/CHANGELOG.md +++ b/packages/lexicons/CHANGELOG.md @@ -1,5 +1,11 @@ # @atmo-dev/contrail-lexicons +## 0.4.13 + +### Patch Changes + +- @atmo-dev/contrail@0.12.0 + ## 0.4.12 ### Patch Changes diff --git a/packages/lexicons/package.json b/packages/lexicons/package.json index a888ae0..a885acf 100644 --- a/packages/lexicons/package.json +++ b/packages/lexicons/package.json @@ -1,6 +1,6 @@ { "name": "@atmo-dev/contrail-lexicons", - "version": "0.4.12", + "version": "0.4.13", "description": "Generate atproto lexicon JSON (and optionally TypeScript types via @atcute/lex-cli) from a Contrail config.", "type": "module", "files": [ diff --git a/packages/sync/CHANGELOG.md b/packages/sync/CHANGELOG.md index 2c5277b..d7ac447 100644 --- a/packages/sync/CHANGELOG.md +++ b/packages/sync/CHANGELOG.md @@ -1,5 +1,7 @@ # @atmo-dev/contrail-sync +## 0.12.0 + ## 0.11.0 ## 0.10.0 diff --git a/packages/sync/package.json b/packages/sync/package.json index 4771742..fbcc729 100644 --- a/packages/sync/package.json +++ b/packages/sync/package.json @@ -1,6 +1,6 @@ { "name": "@atmo-dev/contrail-sync", - "version": "0.11.0", + "version": "0.12.0", "description": "Client-side reactive watch-store over contrail's watchRecords endpoints. SSE + WebSocket transports, optimistic updates, optional IndexedDB cache.", "type": "module", "sideEffects": false, -- 2.51.2