Repository navigation
v2.1.1 — atomic-batch field fix + live verification
Verification pass for the 2.1.0 roadmap features against a live NATS 2.12.9 server, plus one bug fix.
🐛 Fixed
- Atomic batch publish (#8): the stream-config field is
allow_atomic— the server rejects the previously-documentedallow_atomic_publishwithunknown field. Corrected theJetStreamContext::batch()/BatchPublisherdocblocks and CHANGELOG. TheBatchPublishercode itself was already correct and is now verified end-to-end (a 3-message batch commits 3/3, with thebatch/countack parsed).
✅ Verified live (no code change)
- Batched / multi Direct Get (#13) —
directGetLastForSubjects()anddirectGetBatch()return all messages correctly against the live server.
✅ Added
- Live integration tests for atomic batch publish (#8) and batched/multi Direct Get (#13).
- A connection-level regression test for the fragmented-INFO handshake (#2) — the
trim($chunk)bug was fixed back in v1.0.1 but had no test guarding it.
Test status
PHPStan level 8 clean; 491 unit tests and the full 76-test integration suite pass against NATS 2.12.9 (including the auth/TLS/JWT/nkey servers).
Full changelog: https://github.com/ideaconnect/php-nats-jetstream-client/blob/main/CHANGELOG.md