Type-safe realtime SDK for Drizzle — server runtime, HTTP client, React hook, and embedded client
by drizzle-teamTypeScript
Last 12 weeks · 155 commits
1 of 6 standards met
Moves the replication lifecycle out of this package and into the driver, then cleans up what that made dead. What changed Replication runs through from . The connection loop, backoff, retry budget, slot resolution, walsender eviction, transaction assembly, ack cadence, TOAST carry-forward and pk comparison are all driver concerns now. What stays here is what a backfill and a resume mean for the events tables, cursors and live collections. Slot recovery is the driver's. and an verdict replace the recovery branch, the drop-with-poll-retry and the recovery budget this package used to carry. Forced slot loss still heals, proven by the existing recovery suite plus a second forced-loss round. settles on the stream-open signal rather than inferring liveness from the warning channel, and stops the session before rethrowing so a failed start cannot leave one retrying against a closed store. Temporary slots carry the configured name as a prefix, so a row in says which process owns it. Rows recovered by a post-reconnect rebaseline now emit telemetry**, so sync latency has no gap across a reconnect. Counted once, not twice. Three behaviours the move introduced were kept rather than reverted, each with a test pinning it: the driver's derived status interval, the 60 second bound on the pre-stream window, and driver-side slot naming. Install caveat, please read The README now opens with it. Installing this package resolves its declared peer from the public registry, and that name belongs to an unrelated PostgreSQL binding whose install runs . It is not the driver this package uses. The peer declaration is left alone here deliberately; the fix is a rename to , matching what 's rc5 build already declares. The driver is pinned to a commit-addressed preview build while its own changes are in review. That is a stopgap, and preview builds expire, so it needs to become a published version before long. Also Every commit now publishes a preview build, so a consumer can install an exact commit without waiting for a release. Thirteen names in the docs and in source comments no longer existed in the source. They were found mechanically and swept. The unreferenced vendored driver tarball is gone. Verification 210 unit and 100 integration tests against real Postgres and WAL, four tsc projects, , Biome, and , all green on the final commit. Every commit is signed.
Repository: drizzle-team/drizzle-pulse. Description: Type-safe realtime SDK for Drizzle — server runtime, HTTP client, React hook, and embedded client Stars: 16, Forks: 1. Primary language: TypeScript. Languages: TypeScript (99.3%), JavaScript (0.6%), Dockerfile (0%). Homepage: https://www.npmjs.com/package/drizzle-pulse Open PRs: 0, open issues: 0. Last activity: 1mo ago. Community health: 25%. Top contributors: dankochetov.