Skip to content
This repository has been archived by the owner on Dec 2, 2023. It is now read-only.

fix(deps): update module github.com/nats-io/nats.go to v1.16.0 #581

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 26, 2021

Mend Renovate

This PR contains the following updates:

Package Type Update Change
github.com/nats-io/nats.go require minor v1.12.0 -> v1.16.0

Release Notes

nats-io/nats.go

v1.16.0

Compare Source

Changelog

Added
  • JetStream:
    • Experimental: StreamConfig.RePublish configuration, which is a SubjectMapping (source/destination) which allows the republish of a message after being sequenced and stored (#​980)
    • Experimental: Two new ConsumerConfig fields: Replicas and MemoryStorage which are generally inherited by parent stream, but can be configured directly (#​980)
  • Websocket:
Complete Changes

v1.15.0

Compare Source

Changelog

Experimental

The ObjectStore is still experimental and subject to change.

Added
  • ObjectStore:
    • MaxBytes in the ObjectStoreConfig structure (#​955)
Improved
  • JetStream:
    • Ability pass 0 to nats.ExpectLastSequence(0) and nats.ExpectLastSequencePerSubject(0) to the js.Publish() call. Previously, the value 0 would be ignored and the header would not be set. Note that currently, the server only accepts 0 as a valid value for nats.ExpectLastSequencePerSubject(). Thanks to @​bruth for the contribution (#​958)
Fixed
  • JetStream:
    • A PullConsumer's Fetch() method with a batch greater than 1 and with other pull consumers running, may timeout although messages would have been available (#​967)
Complete Changes

v1.14.0

Compare Source

Changelog

JetStream and KeyValue users

Please see the "Changed" section for important (possibly breaking) changes compared to the previous version.

Experimental

The ObjectStore is still experimental and subject to change.

Added
  • JetStream:
    • Support for tracing API calls (#​849, #​911)
    • Error ErrMsgAlreadyAckd for a more detailed error when trying to acknowledge a message that already was. Thanks to @​Berreek for the contribution (#​862)
    • Made js.Subscribe() calls context aware (#​872)
    • UpdateConsumer() and new consumer configuration options: MaxRequestBatch, MaxRequestExpires and InactiveThreshold (#​893)
    • NakWithDelay() new acknowledgment call, and BackOff list of duration in the ConsumerConfig object (#​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)
  • KeyValue:
    • Status functionality (#​845)
    • MetaOnly() watcher option (#​854)
    • GetRevision() to get the key at a specific revision, or ErrKeyNotFound if the key does not exist or not at the expected revision. Thanks to @​boxboatmatt for the contribution (#​903)
    • Placement in the KeyValueConfig structure (#​929)
    • Expose nats.Context() option for the nats.KeyWatcher interface. Thanks to @​boxboatmatt for the contribution (#​904)
  • ObjectStore:
    • Status functionality (#​845)
    • Placement in the ObjectStoreConfig structure (#​929)
  • ConnectedUrlRedacted() a redacted version of ConnectedUrl() (#​923)
Changed
  • JetStream:
    • The library no longer sets a default MaxAckPending when creating a JetStream consumer on Subscribe(). The selection of the value is left for the server to pick (#​920)
    • The library will now try to resend a message when getting a ErrNoResponders error on a Publish() or StreamInfo() 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 options RetryWait() and RetryAttempts() (#​930)
    • PublishMsgAsync() will now be limited to 4,000 maximum asynchronous publish calls inflight, if no maximum has been specified with PublishAsyncMaxPending() option.
  • KeyValue:
    • Delete() and Purge() now accept optional DeleteOpt options. The option available is LastRevision() 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 optional PurgeOpt values, not WatchOpt. The new DeleteMarkersOlderThan() option can be provided to change the default 30 minutes. A negative value will remove markers, regardless of their age (#​906)
    • When connecting to a v2.7.2+ server, the stream for the KeyValue should be created with DiscardNew instead of DiscardOld. The library will now automatically update an existing stream for a KeyValue from DiscardOld to DiscardNew (#​917)
Improved
  • Websocket:
    • Use 80 or 443 as default ports, depending on the scheme ws:// or wss://. Thanks to @​cbrake for the suggestion (#​879)
  • The connect failure error message when given an invalid user credentials file (#​916)
  • The library will now auto-reconnect when the connection is closed on maximum connections reached from server, which could happen after a configuration reload. The library would previously have caused the connection to be permanently closed (#​935)
Updated
  • Examples:
    • The Nats-echo service example to simulate a status request (#​950)
    • Comment for the demo servers. Removed the TLS specific version since one can connect with TLS or not to the same port (#​952)
Fixed
  • Documentation:
    • Typo in Bind go documentation. Thanks to @​caspervonb for the contribution (#​860)
    • Typo in SetClosedHandler. Thanks to @​tormoder for the contribution (#​877)
    • Typo in example_test.go. Thanks to @​bvwells for the contribution (#​882)
    • Comment for Subscribe method. Thanks to @​ipromax for the contribution (#​886)
    • Many API calls where not checking that stream and consumer names were valid, that is, did not contain a . 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)
  • JetStream:
    • Ordered consumers handling of auto unsubscribe (#​847)
    • Activity check to handle cases when subscription was closed. Thanks to @​boxboatmatt for the contribution (#​873)
    • Return ErrStreamNotFound when calling AddConsumer against a missing stream (#​881)
    • Prefix the error returned by StreamInfo() with nats: to match ConsumerInfo() (#​928)
  • KeyValue:
    • Ensure Get() returns a nil and ErrKeyNotFound as per specification (#​844)
    • Various issues, such as cancel of the context would not all the range on w.Updates() to exit, flow control, etc.. (#​900, #​901)
    • Use of the APIPrefix to work correctly across accounts (#​910)
  • Websocket:
    • When using secure connection wss:// and a host name that resolves to multiple IPs, or when trying to reconnect to discovered servers, the (re)connection would fail with websocket invalid connection (#​915)
    • Deadlock on authentication failure that manifested by a Connect() hanging forever. Thanks to @​wenerme for the report (#​926)
Complete Changes

v1.13.0

Compare 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
  • JetStream:
    • HeadersOnly() subscription option to only deliver headers but not the message payloads (#​832)
    • Sealed, DenyDelete, DenyPurge and AllowRollup stream configuration options (#​832)
    • GetLastMsg() retrieves the last raw stream message stored in JetStream by subject (#​832)
  • KeyValue and ObjectStore (#​832)
  • ConnectedServerVersion() returns the server's version string, or empty if not currently connected to a server (#​832)
Fixed
  • JetStream:
    • Flow control may stall in some conditions (#​837)
    • Context usage for Fetch() and Ack(). Thanks to @​andreib1 and @​T-J-L for the reports (#​838)
    • Queue name cannot contain "." character when used as the durable name. Thanks to @​saschahagedorn-f3 for the report (#​841)
    • PublishMsgAsync would fail if a message reply was already set (#​832)
Complete Changes

v1.12.3

Compare Source

Changelog

JetStream users

Please review release notes from v1.12.0 regarding important changes if upgrading from an earlier release.

Fixed
  • JetStream:
    • Received message may have wrong subject. This is a regression due to an attempt to reduce subject string copy in v1.12.2 (#​827)
Complete Changes

v1.12.2

Compare Source

Changelog

JetStream users

Please review release notes from v1.12.0 regarding important changes if upgrading from an earlier release.

Updated
  • JetStream:
    • Go doc for subscription calls in the interface (#​818)
Improved
  • Reduce memory allocation for inbound messages. Thanks to @​moredure for the contribution (#​824)
Fixed
  • JetStream:
    • Unblock Pull Subscribe requests on a 408 with at least a message already fetched (#​823)
  • Websocket:
Complete Changes

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
Fixed
  • JetStream:
    • Fetch() could return immediately with a timeout error. Thanks to @​izarraga for the report (#​813)
  • Inboxes suffix would contain many zeros (#​808)
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.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot changed the title fix(deps): update module github.com/nats-io/nats.go to v1.12.0 fix(deps): update module github.com/nats-io/nats.go to v1.12.0 - autoclosed Aug 30, 2021
@renovate renovate bot closed this Aug 30, 2021
@renovate renovate bot deleted the renovate/github.com-nats-io-nats.go-1.x branch August 30, 2021 08:46
@renovate renovate bot changed the title fix(deps): update module github.com/nats-io/nats.go to v1.12.0 - autoclosed fix(deps): update module github.com/nats-io/nats.go to v1.12.0 Aug 30, 2021
@renovate renovate bot reopened this Aug 30, 2021
@renovate renovate bot restored the renovate/github.com-nats-io-nats.go-1.x branch August 30, 2021 10:29
@renovate renovate bot force-pushed the renovate/github.com-nats-io-nats.go-1.x branch from b89206f to 21cb59a Compare August 30, 2021 10:31
@renovate renovate bot changed the title fix(deps): update module github.com/nats-io/nats.go to v1.12.0 fix(deps): update module github.com/nats-io/nats.go to v1.12.0 - autoclosed Aug 30, 2021
@renovate renovate bot closed this Aug 30, 2021
@renovate renovate bot deleted the renovate/github.com-nats-io-nats.go-1.x branch August 30, 2021 13:04
@renovate renovate bot changed the title fix(deps): update module github.com/nats-io/nats.go to v1.12.0 - autoclosed fix(deps): update module github.com/nats-io/nats.go to v1.12.0 Aug 30, 2021
@renovate renovate bot reopened this Aug 30, 2021
@renovate renovate bot restored the renovate/github.com-nats-io-nats.go-1.x branch August 30, 2021 14:01
@renovate renovate bot changed the title fix(deps): update module github.com/nats-io/nats.go to v1.12.0 fix(deps): update module github.com/nats-io/nats.go to v1.12.0 - autoclosed Aug 30, 2021
@renovate renovate bot closed this Aug 30, 2021
@renovate renovate bot deleted the renovate/github.com-nats-io-nats.go-1.x branch August 30, 2021 15:02
@renovate renovate bot changed the title fix(deps): update module github.com/nats-io/nats.go to v1.12.0 - autoclosed fix(deps): update module github.com/nats-io/nats.go to v1.12.0 Aug 30, 2021
@renovate renovate bot reopened this Aug 30, 2021
@renovate renovate bot restored the renovate/github.com-nats-io-nats.go-1.x branch August 30, 2021 17:44
@renovate renovate bot changed the title fix(deps): update module github.com/nats-io/nats.go to v1.12.0 fix(deps): update module github.com/nats-io/nats.go to v1.12.0 - autoclosed Aug 31, 2021
@renovate renovate bot closed this Aug 31, 2021
@renovate renovate bot deleted the renovate/github.com-nats-io-nats.go-1.x branch August 31, 2021 00:28
@renovate renovate bot changed the title fix(deps): update module github.com/nats-io/nats.go to v1.12.0 - autoclosed fix(deps): update module github.com/nats-io/nats.go to v1.12.0 Aug 31, 2021
@renovate renovate bot reopened this Aug 31, 2021
@renovate renovate bot restored the renovate/github.com-nats-io-nats.go-1.x branch August 31, 2021 01:39
@renovate renovate bot force-pushed the renovate/github.com-nats-io-nats.go-1.x branch from 21cb59a to 0a886a2 Compare August 31, 2021 01:40
@renovate renovate bot changed the title fix(deps): update module github.com/nats-io/nats.go to v1.12.0 fix(deps): update module github.com/nats-io/nats.go to v1.12.0 - autoclosed Aug 31, 2021
@renovate renovate bot closed this Aug 31, 2021
@renovate renovate bot deleted the renovate/github.com-nats-io-nats.go-1.x branch August 31, 2021 04:26
@renovate renovate bot changed the title fix(deps): update module github.com/nats-io/nats.go to v1.12.0 - autoclosed fix(deps): update module github.com/nats-io/nats.go to v1.12.0 Aug 31, 2021
@renovate renovate bot reopened this Aug 31, 2021
@renovate renovate bot restored the renovate/github.com-nats-io-nats.go-1.x branch August 31, 2021 07:58
@renovate renovate bot changed the title fix(deps): update module github.com/nats-io/nats.go to v1.12.0 fix(deps): update module github.com/nats-io/nats.go to v1.12.1 Sep 3, 2021
@renovate renovate bot force-pushed the renovate/github.com-nats-io-nats.go-1.x branch from 0a886a2 to 8b4e3ab Compare September 3, 2021 23:49
@renovate renovate bot changed the title fix(deps): update module github.com/nats-io/nats.go to v1.12.1 fix(deps): update module github.com/nats-io/nats.go to v1.12.2 Sep 20, 2021
@renovate renovate bot force-pushed the renovate/github.com-nats-io-nats.go-1.x branch from 8b4e3ab to 2e23be5 Compare September 20, 2021 23:18
@renovate renovate bot changed the title fix(deps): update module github.com/nats-io/nats.go to v1.12.2 fix(deps): update module github.com/nats-io/nats.go to v1.12.3 Sep 21, 2021
@renovate renovate bot force-pushed the renovate/github.com-nats-io-nats.go-1.x branch from 2e23be5 to 5f8db52 Compare September 21, 2021 21:00
@renovate renovate bot changed the title fix(deps): update module github.com/nats-io/nats.go to v1.12.3 fix(deps): update module github.com/nats-io/nats.go to v1.13.0 Oct 7, 2021
@renovate renovate bot force-pushed the renovate/github.com-nats-io-nats.go-1.x branch from 5f8db52 to b8658f2 Compare October 7, 2021 23:38
@renovate renovate bot force-pushed the renovate/github.com-nats-io-nats.go-1.x branch from b8658f2 to 5c3d1a1 Compare November 3, 2021 06:44
@renovate renovate bot force-pushed the renovate/github.com-nats-io-nats.go-1.x branch from 5c3d1a1 to bdb5b04 Compare November 9, 2021 03:18
@renovate renovate bot changed the title fix(deps): update module github.com/nats-io/nats.go to v1.13.0 fix(deps): update module github.com/nats-io/nats.go to v1.14.0 Apr 8, 2022
@renovate renovate bot force-pushed the renovate/github.com-nats-io-nats.go-1.x branch from bdb5b04 to e136f61 Compare April 8, 2022 20:54
@renovate renovate bot force-pushed the renovate/github.com-nats-io-nats.go-1.x branch from e136f61 to ae51e1c Compare May 15, 2022 19:20
@renovate renovate bot changed the title fix(deps): update module github.com/nats-io/nats.go to v1.14.0 fix(deps): update module github.com/nats-io/nats.go to v1.15.0 May 15, 2022
@renovate renovate bot force-pushed the renovate/github.com-nats-io-nats.go-1.x branch from ae51e1c to 422fde0 Compare June 18, 2022 16:38
@renovate renovate bot changed the title fix(deps): update module github.com/nats-io/nats.go to v1.15.0 fix(deps): update module github.com/nats-io/nats.go to v1.16.0 Jun 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants