What's Changed
In addition to fixes and general enhancements this release adds support for exciting nats-server 2.14 JetStream features.
[CORE]
- FIX: protocol integer parsing rejects non-sensical values (#373) by @aricart
- FEAT:
Symbol.asyncDisposeon connections/subscriptions —usingauto-closes on scope exit (#396) by @aricart - FIX: inboxes match go client
_INBOX.<nuid>.<token>(was_INBOX.<nuid>.<nuid>); nuids now base62 see nuid.js (#398) by @aricart - FEAT:
getServers()/setServers()— clients can list known servers and switch clusters (#400) by @aricart - FEAT:
reconnectToServerconnection option — pick next server and dial delay during reconnect (#403) by @aricart
[JETSTREAM]
- FEAT: message schedules — messages fire on cron — requires nats-server 2.14+ (#381) by @aricart
- FEAT:
resetConsumer()/reset()onJetStreamManager— reset durable consumer ack sequence; enables order consumers backed by durables — requires nats-server 2.14+ (#391) by @aricart - FIX: push consumers stuck on heartbeat (#375) by @aricart
- FEAT:
JetStreamAccountStats/JetStreamApiStats— addreserved_memory,reserved_storage,inflight;max_bytes_requiredis boolean; tiers use dynamic record (#376) by @aricart - FEAT: fast ingest — exposed via orbit fastingest — requires nats-server 2.14+ (#379) by @aricart
- FEAT: configure stream mirror/source consumers —
StreamSource.consumer,StreamConsumerSource,AckPolicy.FlowControl— requires nats-server 2.14+ (#399) by @aricart
[KV]
[OBJ]
- FEAT: faster entry add via fast ingest (requires nats-server 2.14+); native SHA-256 when available. Note that the fast ingest integration requires a hidden
allowBatched: trueto be specified as it is still experimental (#394, #397) by @aricart
[DOCS]
- FIX: esbuild build instructions (#378) by @AntoninPOLY
- Examples: websocket usage in modern frameworks (#392) by @aricart
New Contributors
- @Bre77 — first contribution in #367
- @Jarema — first contribution in #369
- @AntoninPOLY — first contribution in #378
Full Changelog: v3.3.1...v3.4.0