Repository navigation
fix(deps): update module github.com/nats-io/nats.go to v1.55.0 - #170
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
Contributor
Author
ℹ️ Artifact update noticeFile name: go.modIn order to perform the update(s) described in the table above, Renovate ran the
Due to Go's usage of Minimal Version Selection (MVS), these packages have been updated to the minimum version available, so will still abide by Details:
|
Generated by renovateBot
renovate
Bot
force-pushed
the
renovate/github.com-nats-io-nats.go-1.x
branch
from
November 9, 2026 02:48
59ee27d to
7d5990c
Compare
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
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.53.1→v1.55.0Release Notes
nats-io/nats.go (github.com/nats-io/nats.go)
v1.55.0Compare Source
Changelog
This is the biggest nats.go release in a long time: 47 changes with more than half of them coming from 18 external contributors - thank you all!
Most of this release is a robustness effort. Nearly 30 bug fixes address deadlocks, goroutine and timer leaks, data races and stalls in reconnect and drain handling, pull and ordered consumers, async publish and service API. It also adds the
FetchMaxBytes()option andConn.RemoteAccount().ADDED
Conn.RemoteAccount()andServerInfo.RemoteAccountexposing the account the client is bound to (#2156)FetchMaxBytes()option to limit both the number of messages and total bytes in a singleFetch()request. Thanks @manenim for the contribution (#2198)StreamInfo.Domain,StreamInfo.Alternates,StreamState.Lost,StreamSourceInfo.ExternalandStreamSourceInfo.Errorin stream info (#2168)ErrStreamMessageExceedsMaximumfor JetStream error code 10054, returned when a message exceeds the stream'sMaxMsgSize. Thanks @matehsan for the contribution (#2110)FIXED
ForceReconnect()called while already reconnecting disablingReconnectWaitand custom reconnect delays, so the client dialed in a tight loop. Thanks @Arsen302 for the contribution and @MokiMeow for the diagnosis and test (#2179)ErrConnectionClosedinstead ofErrDisconnected. Thanks @AshSgDe29071999 for the contribution (#2129)ws://host/nats. Thanks @dannyshafer for the contribution (#2177)Close()duringDrain()flipping the closed connection back toDRAINING_PUBSand flushing on it. Thanks @Kshot3000 for the contribution (#2163)Drain()waiting for the fullDrainTimeoutwhen the connection was closed mid-drain (#2171)IsSystemAccount()reset to false by async INFO updates, such as cluster topology changes or lame duck mode (#2156)Consume()andMessages()deadlocking onStop()orDrain()while buffered messages were still being delivered. Thanks @clwluvw for the contribution (#2165)Messages()iterator goroutines leaking after the connection is closed. Thanks @clwluvw for the contribution (#2166)Consume()ends because the connection was closed. Thanks @clwluvw for the contribution (#2164)Messages()iterator returningErrMsgIteratorClosedinstead of the remaining buffered messages whenNext()raced withDrain()(#2188)StopAfterstalling until the missed heartbeat check (30s by default) after a pull expired. Thanks @huynguyen7 for the contribution (#2208)StopAfterhanging onStop()/Drain(), delivering too many or too few messages, or panicking after a consumer reset. Thanks @clwluvw for the contribution (#2167)Fetch(),Next()andFetchBytes()blocking forever after returningErrOrderedConsumerConcurrentRequests, andFetchNoWait()restarting from the beginning of the stream (#2211)Consume()andMessages()using the 15s pull consumer heartbeat instead of the 5s ordered default, so a stalled consumer was reset after ~30s instead of ~10s. Thanks @arminazimi for the contribution (#2182)PublishAsync()exceedingWithPublishAsyncMaxPending()under concurrent calls. Thanks @ShravanthReddy for the contribution (#2126)Info()andCachedInfo()on streams and consumers. Thanks @vulragrag-star for the contribution (#2152)KeyValueConfig.Sourcesfor several KeyValue buckets carrying the first bucket's subject transform into the next ones, so their reads returnedErrKeyNotFound. Thanks @zhechen-cs for the contribution (#2190)GetFile()leaving trailing bytes of an existing destination file when downloading a shorter object. Thanks @zhechen-cs for the contribution (#2197)Create()andUpdate()on a cross-domain mirrored bucket failing withnats: no response from stream. Thanks @spicysharkco for the contribution (#2203)GetFile()leaving trailing bytes of an existing destination file when downloading a shorter object. Thanks @zhechen-cs for the contribution (#2197)AddService()on a closed connection (#2154)send on closed channelwhen callbacks were queued duringStop()(#2173)ErrorHandler, and only a closed connection stops the service (#2174)Reset()clearing the endpoint queue group reported in stats (#2195)IMPROVED
Maximum Control Line Exceededto the async error handler before closing the connection. Thanks @kave08 for the contribution (#2184)DecodeHeadersMsg. Thanks @0xAozora for the contribution (#2132)Msg.Size()without serializing headers. Thanks @0xAozora for the contribution (#2125)Subscriptionis safe for concurrent use and thatMsgis not reused after delivery. Thanks @kave08 for the contributions (#2183, #2204)Fetch(), ordered consumers and Object StoreWatch()(#2212)Watch()(#2212)MaxAckPendingfor subscriptions that create their own consumer (#2213)Complete Changes
v1.54.0Compare Source
Changelog
This release raises the minimum supported Go version to 1.26 and adds support for nats-server v2.15 stream and consumer info fields.
ADDED
nats.MultipathTCP()option to enable or disable MPTCP for outbound connections (#2145)Conn.ConnectedDomain()to read the JetStream domain advertised by the connected server (#2139)ClusterInfo.Desired,PeerInfo.Peer,PeerInfo.PendingandStreamSourceInfo.Seqin stream and consumer info, reported by nats-server v2.15 (#2144)Nats-Schedule-Rollupheader const andWithScheduleRollup()publish option (#2142)FIXED
DecodeHeadersMsgon inline status tokens shorter than 3 characters. Thanks @nikitha-m for the contribution (#2101)Subscription.sidbetweenapplyNewSIDandremoveSub(#2122)Messages()iterator going silent after a reconnect that completes betweenNext()calls. Thanks @1995parham for the contribution (#2135)IMPROVED
doErrclosure escaping to the heap in async publish reply handling. Thanks @0xAozora for the contribution (#2127)Publisherinterface methods comment. Thanks @sreeram77 for the contribution (#2120)klauspost/compressto v1.20.0 andnkeysto v0.4.16 (#2117, #2146)Complete Changes
Configuration
📅 Schedule: (UTC)
🚦 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 was generated by Mend Renovate. View the repository job log.