Changelog
Added
- JetStream:
- ObjectStore is now available as part of
jetstream
package (#1450) Drain
method forConsumeContext
andMessagesContext
. UnlikeStop()
, in addition to unsubscribing and canceling the existing pull requests it will ensure that all messages already stored in client buffer will be available for processing (#1515)- Return account reservations on
AccountInfo
. NOTE: This is only available since nats-server@v2.10.8 (#1511) - Paging
Subjects
onStream.Info()
response whenWithSubjectFilter()
option is used (#1517)
- ObjectStore is now available as part of
- KeyValue:
Compression
option onKeyValueConfig
(#1451)ListKeys
method for efficiently iterating over all keys in KV bucket (#1490)ResumeFromRevision
option for KV watcher. Thanks to @shadow3x3x3 for the contribution (#1489)
Fixed
- Legacy JetStream:
- Fixed and issue where ordered consumer was recreated with different name format than the original (#1449)
- JetStream:
- Fixed an issue where
WithRetryAttempts()
andWithRetryWait()
options were ignored inPublishAsync()
(#1464) - Fixed invalid
PullExpiry
validation inConsumer.Messages()
options (#1468) - Fixed race condition on
Stop()
method forConsumeContext
andMessagesContext
. Thanks to
@evanofslack for the contribution (#1454) - Fixed issues with
Next()
method for ordered consumers (#1471, #1472) - Fixed ignoring a private inbox prefix in
JetStream.Publish()
. Thanks to @oderwat for the contribution (#1474) - Fixed invalid PAF id for
PublishAsync()
(#1476) - Fixed race condition when getting pull subscriptions in ordered consumer (#1497)
- Fixed several issues in
checkPending
logic (#1516)
- Fixed an issue where
- KeyValue:
- Removed
KV_
prefix when listing KeyValue store names (#1487)
- Removed
- Service API:
Improved
- Bumped
nkeys
andcompress
dependencies to latest versions (#1458, #1514) - Fixed broken link in
jetstream/README.md
. Thanks to @sebbbastien for the contribution (#1448) - Improvements for code quality across the library. Thanks to @sashamelentyev for the contribution (#1498, #1500)
- Legacy JetStream:
- Library now attempts to delete ordered consumer before creating new one to avoid piling up consumers on reset (#1449)
- Service API:
- Added compatibility tests for Service API (#1443)