-
Notifications
You must be signed in to change notification settings - Fork 0
Update module github.com/nats-io/nats.go to v1.48.0 #24
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
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/github.com-nats-io-nats.go-1.x
base: main
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.
+16
−6
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
80ae127 to
9c91f2e
Compare
9c91f2e to
3c93314
Compare
3c93314 to
6be2fbb
Compare
6be2fbb to
343d749
Compare
343d749 to
df8dab8
Compare
dbc2893 to
a98d595
Compare
a98d595 to
a0a0fb7
Compare
a0a0fb7 to
2256c8e
Compare
2256c8e to
9278061
Compare
9278061 to
af032e1
Compare
af032e1 to
68a48c0
Compare
68a48c0 to
35a8713
Compare
35a8713 to
db412da
Compare
db412da to
0ea8b24
Compare
4c9b528 to
6009e7b
Compare
6009e7b to
bb85fcf
Compare
bb85fcf to
528d9bd
Compare
528d9bd to
d084b6e
Compare
d084b6e to
25d04be
Compare
25d04be to
85e1382
Compare
85e1382 to
70be46d
Compare
70be46d to
8c9034d
Compare
8c9034d to
850a437
Compare
850a437 to
f4e4ca4
Compare
f4e4ca4 to
cbf1510
Compare
cbf1510 to
f34ad8f
Compare
f34ad8f to
17288fa
Compare
17288fa to
1b538bd
Compare
Author
ℹ️ Artifact update noticeFile name: go.modIn order to perform the update(s) described in the table above, Renovate ran the
Details:
|
1b538bd to
6a8e5e8
Compare
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.27.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 [email protected].
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
v1.36.0Compare Source
Changelog
Fixed
OptStartSeqcorrectly inOrderedConsumerConfigand simplify ordered consumer creation (#1644, #1645)Messages()for ordered consumer (#1646)Changed
ConsumerInfo()calls inConsume()andMessages()after reconnect (#1643)Improved
Complete Changes
v1.35.0Compare Source
Changelog
Added
micro.Request. Thanks @mcosta74 for the contribution (#1589)ForceReconnectmethod on connection for manually triggering reconnect (#1624)Fixed
DiscardPolicybeing set when creating a new KeyValue store using thejetstreampackage. Previously created KV instances will be auto-repaired when callingCreateKeyValue(#1616, #1617)ConnectedCBnot being invoked when usingRetryOnFailedConnect: trueand the initialnats.Connectfails (#1619)Improved
readMIMEHeader(#1609)StreamConfigin jsm.go. Thanks @kazmerdome for the contribution (#1625)Complete Changes
v1.34.1Compare Source
Changelog
Fixed
FetchandFetchBatchwhen using heartbeats (#1601)Complete Changes
v1.34.0Compare Source
Changelog
Added
StatusChangedmethod for subscription event notifications (#1570)ClientTLSConfigoption for setting TLS config with callbacks inConnect(#1413)Fixed
Compressionstruct tag (#1559)FetchandFetchBatchwill no longer publish a pull request if the subscription is closed or draining (#1582)Improved
CONTRIBUTING.md. Thanks @yordis for the contribution (#1574)respTokenin muxer. Thanks for the report @chgz (#1575)Complete Changes
v1.33.1Compare Source
Changelog
Overview
This release fixes
v1.33.0release which was re-released with different tag, causing checksum mismatch when runninggo get github.com/nats-io/[email protected].Complete Changes
v1.33.0Compare Source
Changelog
Overview
This release introduces significant documentation improvements across
jetstreampackage components (JetStream, Object Store, and KeyValue).Added
TermWithReasonmethod on JetStream message (#1539)FetchHeartbeatoption forFetchandFetchBytes(#1548)UpdateObjectStoreandCreateOrUpdateObjectStoremethods (#1550)UpdateKeyValueandCreateOrUpdateKeyValuemethods (#1549)Fixed
Drain()infinite loop and add test for concurrentNext()calls. Thanks to @mdawar for the contribution (#1525)Improved
jetstreampackage (JetStream, KeyValue and ObjectStore) (#1532, #1537, #1551, #1553, #1555)nats.Secureconnect option. Thanks to @thorntonmc for the contribution (#1529)Complete Changes
v1.32.0Compare Source
Changelog
Added
jetstreampackage (#1450)Drainmethod forConsumeContextandMessagesContext. UnlikeStop(), in addition to unsubscribing and canceling the existing pull requests it will ensure that all messages already stored in client buffer will be available for processing (#1515)AccountInfo. NOTE: This is only available since nats-server@v2.10.8 (#1511)SubjectsonStream.Info()response whenWithSubjectFilter()option is used (#1517)Compressionoption onKeyValueConfig(#1451)ListKeysmethod for efficiently iterating over all keys in KV bucket (#1490)ResumeFromRevisionoption for KV watcher. Thanks to @shadow3x3x3 for the contribution (#1489)Fixed
WithRetryAttempts()andWithRetryWait()options were ignored inPublishAsync()(#1464)PullExpiryvalidation inConsumer.Messages()options (#1468)Stop()method forConsumeContextandMessagesContext. Thanks to@evanofslack for the contribution (#1454)
Next()method for ordered consumers (#1471, #1472)JetStream.Publish(). Thanks to @oderwat for the contribution (#1474)PublishAsync()(#1476)checkPendinglogic (#1516)KV_prefix when listing KeyValue store names (#1487)Improved
nkeysandcompressdependencies to latest versions (#1458, #1514)jetstream/README.md. Thanks to @sebbbastien for the contribution (#1448)Complete Changes
v1.31.0Compare Source
Changelog
Added
TLSHandshakeFirstoption to perform TLS handshake before receiving theINFOprotocol message. Note: This option is not yet available innats-server(#1433)CreateOrUpdateStreamhelper function to create a stream if it does not exist or update an existing stream. Thanks to @samanebi for the contribution (#1395)Fixed
go.modwhen usingnats.go. Thanks to @masumomo for the contribution (#1441)Consumer.Info()when empty response and errors are returned (#1426)ConsumeandMessages(#1428)ConsumerInfo()when empty response and errors are returned (#1426)Improved
jetstream/README.md. Thanks @cbrake for the contribution (#1436)Complete Changes
v1.30.2Compare Source
Changelog
Fixed
Complete Changes
v1.30.1Compare Source
Changelog
Fixed
nats.PullHeartbeat()causing pull heartbeat not being validated against deadline fromnats.Context()(#1414)Complete Changes
v1.30.0Compare Source
Changelog
Overview
This release focuses on adding features introduced in nats-server@v2.10.0. Among other things, this includes setting multiple filter subjects for a consumer, configuring stream subject transform, as well as setting stream and consumer metadata.
Added
SubjectTransformsupport on streams (#1200)SubjectTransformson mirrors and sources (#1359, #1404)Compressiontype onStreamConfig(#1405)FirstSeqonStreamConfig(#1405)ConsumerLimitsonStreamConfig(#1405)CreateConsumerandUpdateConsumermethods (#1379)micro):SubjectTransformsupport on streams (#1200)SubjectTransformson mirrors and sources (#1359)Compressiontype onStreamConfig(#1405)FirstSeqonStreamConfig(#1405)ConsumerLimitsonStreamConfig(#1405)Complete Changes
v1.29.0Compare Source
Changelog
Overview
With this release, Object Store is out of experimental preview. Additionally,
jetstreampackage now supports KeyValue stores. Object store will be added tojetstreamin future release.Added
jetstream(#1362)UpdatesOnlyoption for KV watchers (#1378)UpdatesOnlyoption for object store watchers (#1377)ErrorHandler()on preparing connection string when reconnecting (#1397)Improved
MaxReconnects. Thanks @mojixcoder for the contribution (#1394)Changed
experimentalnotice from object store (#1399)FlusherTimeoutinstead of 0 (#1398)Fixed
Complete Changes
v1.28.0Compare Source
Changelog
Overview
This release focuses on a set of changes and improvements in new JetStream API. With this release, JetStream API is out of preview.
Additionally, with this release support for go version < 1.18.0 is dropped, due to usage of
anytype in codebase.Added
HeadersOnlyfield onOrderedConsumerConfig(#1327)WithStreamListSubject()option to filter results ofListStreams()andStreamNames()by stream name (#1312)Improved
devandmainbranches ofnats-serverto tests in CI (#1336)parse_test.go. Thanks @YukiBobier for the contribution (#1334)jetstream/README.md(#1347, #1350)Changed
interface{}withanyacross the codebase (#1332)NakWithDelayto separate method, instead of it being an option onNak()(#1337)context.Background()orcontext.TODO()is used (#1348)Fixed
OrderedConsumer()(#1317)Next()blocking indefinitely after callingStop(). Thanks @mdawar for the contribution (#1344)Consume()(#1345)PublishAsync()blocking published due toPublishAsyncMaxPendingnot being reset on reconnect (#1346)PublishAsync()blocking published due toPublishAsyncMaxPendingnot being reset on reconnect (#1346)Complete Changes
v1.27.1Compare Source
Changelog
Improved
FetchBytes()injetstream/README.md. Thanks @fabiant7t for the contribution! (#1329)Fixed
nats.Connfor pull requests. Thanks @oderwat for the contribution! (#1322)nats.Contextis used. Thanks @anthonyjacques20 for the contribution! (#1314)Durablenot set on server versions prior to 2.9.0 (#1325)Complete Changes
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, 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.