-
Notifications
You must be signed in to change notification settings - Fork 0
feat: update module github.com/nats-io/nats.go to v1.48.0 #68
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
base: main
Are you sure you want to change the base?
Conversation
0a841b0 to
c04bcb2
Compare
ℹ Artifact update noticeFile name: go.modIn order to perform the update(s) described in the table above, Renovate ran the
Details:
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #68 +/- ##
==========================================
+ Coverage 54.81% 55.06% +0.24%
==========================================
Files 25 25
Lines 1609 1609
==========================================
+ Hits 882 886 +4
+ Misses 630 627 -3
+ Partials 97 96 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
c04bcb2 to
8d84ef9
Compare
8d84ef9 to
222e832
Compare
222e832 to
7d60083
Compare
7d60083 to
b048640
Compare
b048640 to
24b44cb
Compare
24b44cb to
2cf176a
Compare
2cf176a to
09dde54
Compare
09dde54 to
1e9434c
Compare
346a395 to
61729f7
Compare
61729f7 to
2aeb466
Compare
2aeb466 to
01b9c9c
Compare
01b9c9c to
576bb88
Compare
576bb88 to
8110f92
Compare
8110f92 to
bc46819
Compare
bc46819 to
51e7a11
Compare
51e7a11 to
896a6b3
Compare
ℹ️ Artifact update noticeFile name: go.modIn order to perform the update(s) described in the table above, Renovate ran the
Details:
|
896a6b3 to
8c01432
Compare
This PR contains the following updates:
v1.36.0->v1.48.0Release Notes
nats-io/nats.go (github.com/nats-io/nats.go)
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
v1.37.0Compare Source
Changelog
Added
CleanupPublishermethod for removing internal JetStream subscription (#1690)ConsumeContext.Closed()method for waiting for consume to be closed/drained (#1691)Fixed
OrderedConsumer(#1686)Fetch()forOrderedConsumer(#1693)FetchandFetchBatchclient timeout to a higher value (#1689)Improved
Deprecated
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 was generated by Mend Renovate. View the repository job log.