chore(deps): Update module github.com/nats-io/nats.go to v1.52.0 #142
Reference in New Issue
Block a user
Delete Branch "renovate/github.com-nats-io-nats.go-1.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
v1.37.0→v1.52.0Release Notes
nats-io/nats.go (github.com/nats-io/nats.go)
v1.52.0Compare Source
Changelog
This release focuses on 2.14 nats-server features support.
ADDED
StreamConfigwithConsumerfield and addedAckFlowControlPolicy(#2070)FIXED
IMPROVED
Complete Changes
v1.51.0Compare Source
Changelog
ADDED
IsSysAccountfromServerInfo(#2060)FIXED
Consume()when callingStop/DrainfromConsumeErrHandler(#2059)IMPROVED
Complete Changes
v1.50.0Compare Source
Changelog
FIXED
orderedSubscription.Drain()(#2030)OrderedConsumer.Consume()race in handler (#2043)IMPROVED
AccountLimitsfields injetstreampackage (#2041)CHANGED
Complete Changes
v1.49.0Compare Source
Changelog
ADDED
IgnoreDiscoveredServersoption for skipping advertised servers (#2022)Config()method forKeyValueStatus(#2014)FIXED
ConsumerInfo. Thanks @olde-ducke for the contribution (#1987)Putwhen context has no deadline (#2013)IMPROVED
Complete Changes
v1.48.0Compare Source
Changelog
ADDED
FIXED
js.apiRequestWithContext. Thanks @svenfoo for the contribution (#1957)IMPROVED
Complete Changes
v1.47.0Compare Source
Changelog
ADDED
FIXED
IMPROVED
MessagesContext.Next()doc (#1951)Complete Changes
v1.46.1Compare Source
Changelog
FIXED
Complete Changes
v1.46.0Compare Source
Changelog
Overview
This release enables features introduced in nats-server@v2.12.0.
Some features, while enabled in the client by adding relevant configuration, have APIs exposed in synadia-io/orbit.go, namely:
ADDED
ClusterInfo(#1935)AllowAtomicPublishstream configuration option (#1940)PersistModestream config option for configurable stream persistence settings (#1943)AllowMsgSchedulesstream configuration option to enable message scheduling (#1942)Messages.Next()plusFetchcontext support (#1938)IMPROVED
Complete Changes
v1.45.0Compare Source
Changelog
ADDED
WithExpectLastSequenceForSubjectpublish option (#1920)FIXED
SubscriptionClosedevent to prevent race condition (#1914)ReconnectErrHandlerfor initial connection failures withRetryOnFailedConnect(#1915)CreateOrUpdateStreampreserves domain prefix during updates (#1917)IMPROVED
Complete Changes
v1.44.0Compare Source
Changelog
Overview
This PR adds a
PushConsumerimplementation tojetstream, allowing easier migration to new API while maintaining usage of push consumers. For now it only supports the callback-basedConsume(), more consuming options will be added in future releases.ADDED
UserCredentialBytes()Connoption (#1877)PushConsumerimplementation injetstreampackageClientTraceinJetStreamOptions(#1886)WithEndpointPendingLimitsoption (#1899)Error()method toKeyListerandKeyWatcherinterfaces (#1889)FIXED
Consumer.Next()hangs after connection is closed (#1883)JetStreamContextif no deadline is set on ctx (#1909)Keys()andListKeys()returning duplicates (#1884)CHANGED
DefaultSubPendingMsgsLimit(#998)Complete Changes
v1.43.0Compare Source
Changelog
ADDED
nc.LocalAddr, similar tonc.ConnectedAddr(#1877)FIXED
fmt.PrintlnfromService.Stop()(#1880)Complete Changes
v1.42.0Compare Source
Changelog
Overview
This release adds per-key TTL functionality to key-value stores. It adds:
LimitMarkerTTLconfig option to enable automatic tombstone deletion.KeyTTLoption tokv.Create()PurgeTTL()option tokv.Purge()ADDED
Complete Changes
v1.41.2Compare Source
Changelog
ADDED
nc.RemoveStatusListener()method (#1856)FIXED
FetchandFetchBatchmemory leak (#1856)kv.PurgeDeletes()(#1858)Complete Changes
v1.41.1Compare Source
Changelog
FIXED
ObjectStore.Getwhen no deadline is set on ctx (#1850)IMPROVED
golang.org/x/textdependency (#1849)Complete Changes
v1.41.0Compare Source
Changelog
Overview
This release adds consumer priority groups to JetStream, exposing overflow and pinning policies. For more information on consumer priority groups, see ADR-42.
Added
WithDefaultTimeoutoption for JetStream API requests (#1843)Fixed
sub.StatusChangedandnc.StatusChanged(#1841)ForceReconnectto avoid panic on subsequentForceReconnectcalls (#1842, #1846)Changed
Improved
FetchandFetchBatchon reconnect (#1840)OrderedConsumerConfig.InactiveThreshold(#1845)PurgeDeletes(#1839)Complete Changes
v1.40.1Compare Source
Changelog
Overview
This release fixes an issue in legacy JetStream
Subscribewhich did not respect user-set context when creating a consumer.FIXED
js.Subscribe(#1835)Complete Changes
v1.40.0Compare Source
Changelog
Overview
This release focuses on adding support for new features from NATS Server v2.11.0. This includes:
Batch direct get will be released in orbit. Support for consumer priority groups will be added in the next minor release.
Added
ReconnectErrCBfor handling failed reconnect attempts in a callback. Thanks @sschleemilch for the contribution (#1804)Fixed
Consumer.Fetch(#1828)resp.Errorto show NATS error indeleteMsg. Thanks @imariman for the contribution (#1822)Changed
Complete Changes
v1.39.1Compare Source
Changelog
Fixed
ListKeysFilteredfrom returning deleted keys. Thanks @kruegernet for the contribution (#1803)Improved
Complete Changes
v1.39.0Compare Source
Changelog
Overview
This release bumps the minimal go version in
go.modto1.22.Added
PullMaxMessagesWithBytesLimitoption for Consume and Messages (#1789)MetadatatoOrderedConsumerConfig. Thanks @mwain for the contribution (#1737)JetStream.Options()andJetStream.Conn()methods toJetStreaminterface (#1792)ListKeysFilteredfor listing keys with multiple filters. Thanks @somratdutta for the contribution (#1711)Fixed
Consumer.Messages()(#1786)DeleteObjectStore(#1762)Changed
Improved
ConsumeandMessagesoptions (#1770)Complete Changes
v1.38.0Compare Source
Changelog
Added
UserInfoHandlerfor dynamically setting user/password (#1713)PermissionErrOnSubscribeoption, causingSubscribeSyncto returnnats.ErrPermissionViolationonNextMsg()if there was a permission error (#1728)Msgs()method onSubscription, returning an iterator (iter.Seq2[*nats.Msg, error]) for the subscription. This method is only available for go version >=1.23 (#1728)WatchFilteredmethod to watch for updates with multiple filters (#1739)Fixed
PublishAsyncnot closing done and stall channels after failed retries (#1719)Fetch()andNext()after timeout (#1705)MessageBatch(#1743)MessageBatch(#1743)Changed
Improved
kv.Updatemethod. Thanks @fmontorsi-equinix for the contribution (#1727)README.md(#1745)nkeysto v0.4.9 (#1750)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 has been generated by Mend Renovate.
ℹ️ Artifact update notice
File name: go.mod
In order to perform the update(s) described in the table above, Renovate ran the
go getcommand, which resulted in the following additional change(s):godirective was updated for compatibility reasonsDetails:
go1.23.0->1.25.0github.com/klauspost/compressv1.18.0->v1.18.5github.com/nats-io/nkeysv0.4.7->v0.4.15golang.org/x/cryptov0.18.0->v0.49.0golang.org/x/sysv0.35.0->v0.42.0View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.