Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changelog
Overview
This release focuses on improvements to new JetStream API and Service API (
micro
) preview functionalities.Added
StreamNameBySubject()
method for stream discovery based on provided subject ([ADDED] Lookup stream name by subject #1292)Improved
Consume()
andMessages()
([IMPROVED] Lock handling for pull consumers #1303)Changed
AddConsumer
toCreateOrUpdateConsumer
. This change is introduced in anticipation for separation of create and update operations innats-server
([CHANGED] Simplified JetStream API changes and improvements #1300)AckPolicy
toAckPolicyExplicit
([CHANGED] Set default ack policy to explicit #1278)PullThresholdBytes
type name ([CHANGED] Simplified JetStream API changes and improvements #1300)ConsumerConfig
([CHANGED] Simplified JetStream API changes and improvements #1300)context.Context
fromPublishAsync
andPublishMsgAsync
([CHANGED] Simplified JetStream API changes and improvements #1300)micro
):INFO
schema ([CHANGED] More verbose endpoint info on INFO requests #1277)STATS
response toINFO
responseINFO
now returnsendpoints
object, containing subject, name and metatada. This replacessubject
field.Fixed
ErrNoHeartbeat
(jetstream: fix datarace when using consumer #1279 #1291)jetstream/README.md
) (Fix incorrect example in jetstream README #1295)Put()
andPutBytes()
([FIXED] Cleanup reply sub after putting object #1282)Complete Changes
v1.26.0...v1.27.0