fix(deps): update module github.com/nats-io/nats.go to v1.38.0 #247
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.28.0
->v1.38.0
Release Notes
nats-io/nats.go (github.com/nats-io/nats.go)
v1.38.0
Compare Source
Changelog
Added
UserInfoHandler
for dynamically setting user/password (#1713)PermissionErrOnSubscribe
option, causingSubscribeSync
to returnnats.ErrPermissionViolation
onNextMsg()
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)WatchFiltered
method to watch for updates with multiple filters (#1739)Fixed
PublishAsync
not closing done and stall channels after failed retries (#1719)Fetch()
andNext()
after timeout (#1705)MessageBatch
(#1743)MessageBatch
(#1743)Changed
Improved
kv.Update
method. Thanks @fmontorsi-equinix for the contribution (#1727)README.md
(#1745)nkeys
to v0.4.9 (#1750)Complete Changes
v1.37.0
Compare Source
Changelog
Added
CleanupPublisher
method for removing internal JetStream subscription (#1690)ConsumeContext.Closed()
method for waiting for consume to be closed/drained (#1691)Fixed
OrderedConsumer
(#1686)Fetch()
forOrderedConsumer
(#1693)Fetch
andFetchBatch
client timeout to a higher value (#1689)Improved
Deprecated
Complete Changes
v1.36.0
Compare Source
Changelog
Fixed
OptStartSeq
correctly inOrderedConsumerConfig
and simplify ordered consumer creation (#1644, #1645)Messages()
for ordered consumer (#1646)Changed
ConsumerInfo()
calls inConsume()
andMessages()
after reconnect (#1643)Improved
Complete Changes
v1.35.0
Compare Source
Changelog
Added
micro.Request
. Thanks @mcosta74 for the contribution (#1589)ForceReconnect
method on connection for manually triggering reconnect (#1624)Fixed
DiscardPolicy
being set when creating a new KeyValue store using thejetstream
package. Previously created KV instances will be auto-repaired when callingCreateKeyValue
(#1616, #1617)ConnectedCB
not being invoked when usingRetryOnFailedConnect: true
and the initialnats.Connect
fails (#1619)Improved
readMIMEHeader
(#1609)StreamConfig
in jsm.go. Thanks @kazmerdome for the contribution (#1625)Complete Changes
v1.34.1
Compare Source
Changelog
Fixed
Fetch
andFetchBatch
when using heartbeats (#1601)Complete Changes
v1.34.0
Compare Source
Changelog
Added
StatusChanged
method for subscription event notifications (#1570)ClientTLSConfig
option for setting TLS config with callbacks inConnect
(#1413)Fixed
Compression
struct tag (#1559)Fetch
andFetchBatch
will no longer publish a pull request if the subscription is closed or draining (#1582)Improved
CONTRIBUTING.md
. Thanks @yordis for the contribution (#1574)respToken
in muxer. Thanks for the report @chgz (#1575)Complete Changes
v1.33.1
Compare Source
Changelog
Overview
This release fixes
v1.33.0
release which was re-released with different tag, causing checksum mismatch when runninggo get github.com/nats-io/[email protected]
.Complete Changes
v1.33.0
Compare Source
Changelog
Overview
This release introduces significant documentation improvements across
jetstream
package components (JetStream, Object Store, and KeyValue).Added
TermWithReason
method on JetStream message (#1539)FetchHeartbeat
option forFetch
andFetchBytes
(#1548)UpdateObjectStore
andCreateOrUpdateObjectStore
methods (#1550)UpdateKeyValue
andCreateOrUpdateKeyValue
methods (#1549)Fixed
Drain()
infinite loop and add test for concurrentNext()
calls. Thanks to @mdawar for the contribution (#1525)Improved
jetstream
package (JetStream, KeyValue and ObjectStore) (#1532, #1537, #1551, #1553, #1555)nats.Secure
connect option. Thanks to @thorntonmc for the contribution (#1529)Complete Changes
v1.32.0
Compare Source
Changelog
Added
jetstream
package (#1450)Drain
method forConsumeContext
andMessagesContext
. 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 [email protected] (#1511)Subjects
onStream.Info()
response whenWithSubjectFilter()
option is used (#1517)Compression
option onKeyValueConfig
(#1451)ListKeys
method for efficiently iterating over all keys in KV bucket (#1490)ResumeFromRevision
option for KV watcher. Thanks to @shadow3x3x3 for the contribution (#1489)Fixed
WithRetryAttempts()
andWithRetryWait()
options were ignored inPublishAsync()
(#1464)PullExpiry
validation inConsumer.Messages()
options (#1468)Stop()
method forConsumeContext
andMessagesContext
. 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)checkPending
logic (#1516)KV_
prefix when listing KeyValue store names (#1487)Improved
nkeys
andcompress
dependencies to latest versions (#1458, #1514)jetstream/README.md
. Thanks to @sebbbastien for the contribution (#1448)Complete Changes
v1.31.0
Compare Source
Changelog
Added
TLSHandshakeFirst
option to perform TLS handshake before receiving theINFO
protocol message. Note: This option is not yet available innats-server
(#1433)CreateOrUpdateStream
helper function to create a stream if it does not exist or update an existing stream. Thanks to @samanebi for the contribution (#1395)Fixed
go.mod
when usingnats.go
. Thanks to @masumomo for the contribution (#1441)Consumer.Info()
when empty response and errors are returned (#1426)Consume
andMessages
(#1428)ConsumerInfo()
when empty response and errors are returned (#1426)Improved
jetstream/README.md
. Thanks @cbrake for the contribution (#1436)Complete Changes
v1.30.2
Compare Source
Changelog
Fixed
Complete Changes
v1.30.1
Compare Source
Changelog
Fixed
nats.PullHeartbeat()
causing pull heartbeat not being validated against deadline fromnats.Context()
(#1414)Complete Changes
v1.30.0
Compare Source
Changelog
Overview
This release focuses on adding features introduced in [email protected]. 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
SubjectTransform
support on streams (#1200)SubjectTransforms
on mirrors and sources (#1359, #1404)Compression
type onStreamConfig
(#1405)FirstSeq
onStreamConfig
(#1405)ConsumerLimits
onStreamConfig
(#1405)CreateConsumer
andUpdateConsumer
methods (#1379)micro
):SubjectTransform
support on streams (#1200)SubjectTransforms
on mirrors and sources (#1359)Compression
type onStreamConfig
(#1405)FirstSeq
onStreamConfig
(#1405)ConsumerLimits
onStreamConfig
(#1405)Complete Changes
v1.29.0
Compare Source
Changelog
Overview
With this release, Object Store is out of experimental preview. Additionally,
jetstream
package now supports KeyValue stores. Object store will be added tojetstream
in future release.Added
jetstream
(#1362)UpdatesOnly
option for KV watchers (#1378)UpdatesOnly
option for object store watchers (#1377)ErrorHandler()
on preparing connection string when reconnecting (#1397)Improved
MaxReconnects
. Thanks @mojixcoder for the contribution (#1394)Changed
experimental
notice from object store (#1399)FlusherTimeout
instead of 0 (#1398)Fixed
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 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.