New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update module github.com/nats-io/nats.go to v1.12.1 #38
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
renovate
bot
changed the title
Update module github.com/nats-io/nats.go to v1.12.0
Update module github.com/nats-io/nats.go to v1.12.0 - autoclosed
Aug 30, 2021
renovate
bot
changed the title
Update module github.com/nats-io/nats.go to v1.12.0 - autoclosed
Update module github.com/nats-io/nats.go to v1.12.0
Aug 30, 2021
renovate
bot
force-pushed
the
renovate/github.com-nats-io-nats.go-1.x
branch
from
August 30, 2021 12:21
af721dc
to
fcf9835
Compare
renovate
bot
changed the title
Update module github.com/nats-io/nats.go to v1.12.0
Update module github.com/nats-io/nats.go to v1.12.0 - autoclosed
Aug 30, 2021
renovate
bot
changed the title
Update module github.com/nats-io/nats.go to v1.12.0 - autoclosed
Update module github.com/nats-io/nats.go to v1.12.0
Aug 30, 2021
renovate
bot
force-pushed
the
renovate/github.com-nats-io-nats.go-1.x
branch
from
August 30, 2021 19:56
fcf9835
to
c293fcd
Compare
renovate
bot
changed the title
Update module github.com/nats-io/nats.go to v1.12.0
Update module github.com/nats-io/nats.go to v1.12.0 - autoclosed
Aug 30, 2021
renovate
bot
changed the title
Update module github.com/nats-io/nats.go to v1.12.0 - autoclosed
Update module github.com/nats-io/nats.go to v1.12.0
Aug 30, 2021
renovate
bot
force-pushed
the
renovate/github.com-nats-io-nats.go-1.x
branch
from
August 30, 2021 22:40
c293fcd
to
47fb5a2
Compare
renovate
bot
changed the title
Update module github.com/nats-io/nats.go to v1.12.0
Update module github.com/nats-io/nats.go to v1.12.0 - autoclosed
Aug 31, 2021
renovate
bot
changed the title
Update module github.com/nats-io/nats.go to v1.12.0 - autoclosed
Update module github.com/nats-io/nats.go to v1.12.0
Aug 31, 2021
renovate
bot
force-pushed
the
renovate/github.com-nats-io-nats.go-1.x
branch
from
August 31, 2021 01:51
47fb5a2
to
831e366
Compare
renovate
bot
changed the title
Update module github.com/nats-io/nats.go to v1.12.0
Update module github.com/nats-io/nats.go to v1.12.0 - autoclosed
Aug 31, 2021
renovate
bot
changed the title
Update module github.com/nats-io/nats.go to v1.12.0 - autoclosed
Update module github.com/nats-io/nats.go to v1.12.0
Aug 31, 2021
renovate
bot
force-pushed
the
renovate/github.com-nats-io-nats.go-1.x
branch
from
August 31, 2021 07:24
831e366
to
c728524
Compare
renovate
bot
changed the title
Update module github.com/nats-io/nats.go to v1.12.0
Update module github.com/nats-io/nats.go to v1.12.1
Sep 3, 2021
renovate
bot
force-pushed
the
renovate/github.com-nats-io-nats.go-1.x
branch
from
September 3, 2021 22:28
c728524
to
dfbe487
Compare
genkami
approved these changes
Sep 24, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This PR contains the following updates:
v1.11.0
->v1.12.1
Release Notes
nats-io/nats.go
v1.12.1
Compare Source
Changelog
JetStream users
Please review release notes from v1.12.0 regarding important changes if upgrading from an earlier release.
Added
Status()
. Thanks to @JosephWoodward for the contribution (#812)Fixed
Fetch()
could return immediately with a timeout error. Thanks to @izarraga for the report (#813)Complete Changes
v1.12.0
Compare Source
Changelog
Breaking Changes
This release has some important and breaking changes for the JetStream module. Previously, it was possible to create multiple instances of non queue subscriptions to the same JetStream consumer, which was wrong since each instance would get a copy of the same message and one instance acknowledging a message would mean that the other instance's message acknowledgement (or lack thereof) would be ignored. It was also possible to create queue groups against a JetStream consumer that was used by a non queue subscription.
This update requires the upcoming server version v2.4.0 to behave correctly, that is, the library will reject a "plain" subscription on a JetStream consumer that is already bound (that is, there is already an instance actively consuming from it), or on a consumer that was created for a queue group. It will also reject a queue subscription on a JetStream consumer that was not created for a queue group, or to a consumer that has been created for a different queue group. But it means that this update will not be able to create a queue subscription on a server pre v2.4.0 because those server do not have the concept of
DeliverGroup
in the consumer configuration.Look at the
Changed
section below for the list of those changes.The repository
master
branch has been renamedmain
. If you have a fork or a clone of the repository, you should run those git commands:Added
Bind()
andBindStream()
options to the subscribe calls (#740)ChanQueueSubscribe()
(#744)APIPrefix()
andDomain()
options to specify prefix or domain. Thanks to @Jarema for the contribution (#750, #753)ErrStreamNotFound
andErrConsumerNotFound
. Thanks to @actatum for the contribution (#760)MaxMsgsPerSubject
option in theStreamConfig
(#768)OrderedConsumer()
subscription option to create a FIFO ephemeral consumer for in order delivery of messages. There are no redelivered and no ACKs, and flow control and heartbeats will be added but be taken care of without additional user code (#789, #793)DeliverSubject()
option to configure the deliver subject of a JetStream consumer created by thejs.Subscribe()
call (and variants) (#794)DeliverGroup
inConsumerConfig
,PushBound
inConsumerInfo
. They help making prevent incorrect subscriptions to JetStream consumers (#794)Description
inStreamConfig
andConsumerConfig
(#795)ExpectLastSequencePerSubject()
publish option (#797)DeliverLastPerSubject()
subscribe option (#798)CustomInboxPrefix
connection option to set the custom prefix instead of_INBOX.
(#767)Changed
Conn.JetStream()
no longer looks up account information (#739)PullSubscription
, callingNextMsg()
orNextMsgWithContext()
will now returnErrTypeSubscription
. You must use theFetch()
API (#794)Unsubscribe()
or when theDrain()
completes (#794)DeliverGroup
, which is the queue group name they are created for. Only queue members from the same group can attach to this consumer, and a non queue subscription cannot attach to it. Note that this requires server v2.4.0 (#794)ConsumerInfo
's fieldsDelivered
andAckFloor
are nowSequenceInfo
objects that include the last activity (in UTC time) (#802)Improved
js.PullSubscribe()
implementation that reduces the number of internal subscriptions being created/auto-unsubscribed (#791)Fixed
Unsubscribe()
(#794)Complete Changes
Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.