0.3.0
Added
- Atomic batch publishing —
allow_atomic/allow_batchedonStreamConfig,Nats-Batch-*header constants, andbatch_id/batch_sizeonPublishAck(ADR-50, #922) - Message schedules —
allow_msg_schedulesonStreamConfigandNats-Schedule-*header constants (ADR-51, #923) - Counter streams —
allow_msg_counteronStreamConfigandvalueonPublishAck(ADR-49, #926) - Stream sourcing with pre-created push-durable consumers —
StreamConsumerSourceonStreamSource(ADR-60, #921) Stream.reset_consumer()for the$JS.API.CONSUMER.RESETendpoint, plusConsumerResetandConsumerInvalidResetError(#920)persist_modeonStreamConfigfor R1 async persistence (ADR-56, #929)- Re-export of
newfromnats.jetstream(#880)
Fixed
Stream.get_message()now raisesMessageNotFoundErroron a 404 from the direct-get path instead of leaking the underlying status error (#881)