This repository was archived by the owner on Dec 2, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 518
fix(deps): update module github.com/nats-io/nats.go to v1.16.0 #581
Open
renovate
wants to merge
1
commit into
master
Choose a base branch
from
renovate/github.com-nats-io-nats.go-1.x
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or 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
b89206f to
21cb59a
Compare
21cb59a to
0a886a2
Compare
0a886a2 to
8b4e3ab
Compare
8b4e3ab to
2e23be5
Compare
2e23be5 to
5f8db52
Compare
5f8db52 to
b8658f2
Compare
b8658f2 to
5c3d1a1
Compare
5c3d1a1 to
bdb5b04
Compare
bdb5b04 to
e136f61
Compare
e136f61 to
ae51e1c
Compare
Generated by renovateBot
ae51e1c to
422fde0
Compare
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
None yet
0 participants
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.12.0->v1.16.0Release Notes
nats-io/nats.go
v1.16.0Compare Source
Changelog
Added
StreamConfig.RePublishconfiguration, which is aSubjectMapping(source/destination) which allows the republish of a message after being sequenced and stored (#980)ConsumerConfigfields:ReplicasandMemoryStoragewhich are generally inherited by parent stream, but can be configured directly (#980)ProxyPath()option to add a path to websocket connection URLs. Thanks to @ido-gold-apolicy for the contribution (#974)Complete Changes
v1.15.0Compare Source
Changelog
Experimental
The
ObjectStoreis still experimental and subject to change.Added
MaxBytesin theObjectStoreConfigstructure (#955)Improved
0tonats.ExpectLastSequence(0)andnats.ExpectLastSequencePerSubject(0)to thejs.Publish()call. Previously, the value0would be ignored and the header would not be set. Note that currently, the server only accepts0as a valid value fornats.ExpectLastSequencePerSubject(). Thanks to @bruth for the contribution (#958)Fixed
Complete Changes
v1.14.0Compare Source
Changelog
JetStream and KeyValue users
Please see the "Changed" section for important (possibly breaking) changes compared to the previous version.
Experimental
The
ObjectStoreis still experimental and subject to change.Added
ErrMsgAlreadyAckdfor a more detailed error when trying to acknowledge a message that already was. Thanks to @Berreek for the contribution (#862)js.Subscribe()calls context aware (#872)UpdateConsumer()and new consumer configuration options:MaxRequestBatch,MaxRequestExpiresandInactiveThreshold(#893)NakWithDelay()new acknowledgment call, andBackOfflist of duration in theConsumerConfigobject (#894)BackOff()subscription option. Thanks to @mfaizanse for the contribution (#933)StallWait()publish option. This is the wait time (default is 200ms) that the library will wait when reaching the maximum inflight number of asynchronous publish calls (#941)MetaOnly()watcher option (#854)GetRevision()to get the key at a specific revision, orErrKeyNotFoundif the key does not exist or not at the expected revision. Thanks to @boxboatmatt for the contribution (#903)Placementin theKeyValueConfigstructure (#929)nats.Context()option for thenats.KeyWatcherinterface. Thanks to @boxboatmatt for the contribution (#904)Placementin theObjectStoreConfigstructure (#929)ConnectedUrlRedacted()a redacted version ofConnectedUrl()(#923)Changed
MaxAckPendingwhen creating a JetStream consumer onSubscribe(). The selection of the value is left for the server to pick (#920)ErrNoResponderserror on aPublish()orStreamInfo()call. This is to overcome "blips" that may happen during leader changes. The action will be retried up to 2 times with a 250ms wait in between. These can be changed with the new publish optionsRetryWait()andRetryAttempts()(#930)PublishMsgAsync()will now be limited to4,000maximum asynchronous publish calls inflight, if no maximum has been specified withPublishAsyncMaxPending()option.Delete()andPurge()now accept optionalDeleteOptoptions. The option available isLastRevision()which allows the purge or delete to be conditional to the last revision be equal to the last revision value, otherwise the operation will fail. Thanks to @steveh for the contribution (#856)PurgeDeletes()will now keep markers that are less than 30 minutes by default. Also,PurgeDeletes()now accepts optionalPurgeOptvalues, notWatchOpt. The newDeleteMarkersOlderThan()option can be provided to change the default 30 minutes. A negative value will remove markers, regardless of their age (#906)v2.7.2+server, the stream for the KeyValue should be created withDiscardNewinstead ofDiscardOld. The library will now automatically update an existing stream for a KeyValue fromDiscardOldtoDiscardNew(#917)Improved
80or443as default ports, depending on the schemews://orwss://. Thanks to @cbrake for the suggestion (#879)Updated
Nats-echoservice example to simulate a status request (#950)Fixed
Bindgo documentation. Thanks to @caspervonb for the contribution (#860)SetClosedHandler. Thanks to @tormoder for the contribution (#877)Subscribemethod. Thanks to @ipromax for the contribution (#886).in their name. This resulted in situations where the API would timeout because the server did not have interest on the malformed subject. Thanks to @sata-form3 for the report (#947)ErrStreamNotFoundwhen callingAddConsumeragainst a missing stream (#881)StreamInfo()withnats:to matchConsumerInfo()(#928)Get()returns anilandErrKeyNotFoundas per specification (#844)APIPrefixto work correctly across accounts (#910)wss://and a host name that resolves to multiple IPs, or when trying to reconnect to discovered servers, the (re)connection would fail withwebsocket invalid connection(#915)Connect()hanging forever. Thanks to @wenerme for the report (#926)Complete Changes
v1.13.0Compare Source
Changelog
JetStream users
Please review release notes from v1.12.0 regarding important changes if upgrading from an earlier release.
Experimental
This release introduces KeyValue and ObjectStore as experimental features. Note that their APIs are subject to change based on community feedback. Also, some features will not work unless using NATS Server from the main branch, or the version following the latest public release v2.6.1.
Added
HeadersOnly()subscription option to only deliver headers but not the message payloads (#832)Sealed,DenyDelete,DenyPurgeandAllowRollupstream configuration options (#832)GetLastMsg()retrieves the last raw stream message stored in JetStream by subject (#832)ConnectedServerVersion()returns the server's version string, or empty if not currently connected to a server (#832)Fixed
Fetch()andAck(). Thanks to @andreib1 and @T-J-L for the reports (#838)PublishMsgAsyncwould fail if a message reply was already set (#832)Complete Changes
v1.12.3Compare Source
Changelog
JetStream users
Please review release notes from v1.12.0 regarding important changes if upgrading from an earlier release.
Fixed
Complete Changes
v1.12.2Compare Source
Changelog
JetStream users
Please review release notes from v1.12.0 regarding important changes if upgrading from an earlier release.
Updated
Improved
Fixed
Complete Changes
v1.12.1Compare 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
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - 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 Mend Renovate. View repository job log here.