Skip to content

Releases

@nestarc/inbox 0.2.0

Choose a tag to compare

@ksyq12 ksyq12 released this 28 Oct 13:31

Adds bounded application-testing helpers and repeatable operational recovery checks. Existing 0.1.0 installations retain SQL schema v2 and need no migration.

  • @nestarc/inbox/testing: drainInbox, waitForInboxRecord, and typed diagnostic errors, verified through real PostgreSQL and an independently installed tarball.
  • Operational checks for TCP disconnection/blackholes, pool pressure, real SIGTERM drain, physical PostgreSQL standby promotion, bounded tablespace ENOSPC, and RabbitMQ restart/retry/DLQ recovery.
  • Disk-backed concurrent-ingress benchmarks with pool pressure, hot/cold tenant latency, retry recovery, retention measurements, and raw results.
  • A release-blocking operational CI job and improved waiting for npm post-publication scanning.

Local validation: 105 unit tests, 46 release checks, three new PostgreSQL helper cases, five network/pool/shutdown cases, two database failure scenarios, and five RabbitMQ scenarios. The release workflow separately validates the tagged candidate on Node 22/24 and PostgreSQL 16/18 and checks all eight examples.

Operational evidence is deliberately scoped: standby replay is confirmed before promotion; ENOSPC affects a bounded business tablespace; load samples cover several minutes on a local Docker VM. Real-service adoption was excluded from this release's work.

See testing helpers, validation, and sustained measurements.

The main CI run passed all four Node/PostgreSQL combinations, all eight examples, and the operational recovery gate at commit ca73c142c3857967b9d30a6063736f5805331bb8.

v0.1.0

Choose a tag to compare

@ksyq12 ksyq12 released this 28 Oct 12:27

First public release of @nestarc/inbox, a PostgreSQL transactional Inbox for NestJS and Prisma.

  • Durable message acceptance and deduplication, fenced workers, retries, DEAD administration, and explicit completed-message replay.
  • Business writes, optional outbox writes, and Inbox completion share the handler transaction.
  • Optional tenancy integration and runnable webhook, outbox, RabbitMQ, Kafka, SQS-compatible, BullMQ, and HTTP idempotency examples.

Install with npm install @nestarc/inbox@0.1.0. Fresh installations use schema v2; installations from the local schema v1 development builds must apply the documented migration. APIs and schema may change before 1.0.

Setup and usage · Changes and migration

The exact npm tarball was validated in CI run 40686580892 at commit 15b01813f009bb012f88a081bdd4a7705befc90e, including Node 22/24 × PostgreSQL 16/18 and eight integration examples. This initial npm registration used an interactive 2FA-authenticated publication; it does not carry GitHub OIDC provenance. Subsequent releases use the configured Trusted Publishing workflow.