-
Notifications
You must be signed in to change notification settings - Fork 0
fix(deps): update module github.com/nats-io/nats.go to v1.46.1 #64
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: master
Are you sure you want to change the base?
Conversation
ℹ Artifact update noticeFile name: go.modIn order to perform the update(s) described in the table above, Renovate ran the
Details:
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Caution Review the following alerts detected in dependencies. According to your organization's Security Policy, you must resolve all "Block" alerts before proceeding. Learn more about Socket for GitHub.
|
712cdc1
to
6271863
Compare
6271863
to
c1d998b
Compare
c1d998b
to
d4dac35
Compare
d4dac35
to
0fbce40
Compare
0fbce40
to
f05dca2
Compare
f05dca2
to
2463916
Compare
This PR contains the following updates:
v1.15.0
->v1.46.1
Release Notes
nats-io/nats.go (github.com/nats-io/nats.go)
v1.46.1
Compare Source
Changelog
FIXED
Complete Changes
v1.46.0
Compare 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)AllowAtomicPublish
stream configuration option (#1940)PersistMode
stream config option for configurable stream persistence settings (#1943)AllowMsgSchedules
stream configuration option to enable message scheduling (#1942)Messages.Next()
plusFetch
context support (#1938)IMPROVED
Complete Changes
v1.45.0
Compare Source
Changelog
ADDED
WithExpectLastSequenceForSubject
publish option (#1920)FIXED
SubscriptionClosed
event to prevent race condition (#1914)ReconnectErrHandler
for initial connection failures withRetryOnFailedConnect
(#1915)CreateOrUpdateStream
preserves domain prefix during updates (#1917)IMPROVED
Complete Changes
v1.44.0
Compare Source
Changelog
Overview
This PR adds a
PushConsumer
implementation 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()
Conn
option (#1877)PushConsumer
implementation injetstream
packageClientTrace
inJetStreamOptions
(#1886)WithEndpointPendingLimits
option (#1899)Error()
method toKeyLister
andKeyWatcher
interfaces (#1889)FIXED
Consumer.Next()
hangs after connection is closed (#1883)JetStreamContext
if no deadline is set on ctx (#1909)Keys()
andListKeys()
returning duplicates (#1884)CHANGED
DefaultSubPendingMsgsLimit
(#998)Complete Changes
v1.43.0
Compare Source
Changelog
ADDED
nc.LocalAddr
, similar tonc.ConnectedAddr
(#1877)FIXED
fmt.Println
fromService.Stop()
(#1880)Complete Changes
v1.42.0
Compare Source
Changelog
Overview
This release adds per-key TTL functionality to key-value stores. It adds:
LimitMarkerTTL
config option to enable automatic tombstone deletion.KeyTTL
option tokv.Create()
PurgeTTL()
option tokv.Purge()
ADDED
Complete Changes
v1.41.2
Compare Source
Changelog
ADDED
nc.RemoveStatusListener()
method (#1856)FIXED
Fetch
andFetchBatch
memory leak (#1856)kv.PurgeDeletes()
(#1858)Complete Changes
v1.41.1
Compare Source
Changelog
FIXED
ObjectStore.Get
when no deadline is set on ctx (#1850)IMPROVED
golang.org/x/text
dependency (#1849)Complete Changes
v1.41.0
Compare 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
WithDefaultTimeout
option for JetStream API requests (#1843)Fixed
sub.StatusChanged
andnc.StatusChanged
(#1841)ForceReconnect
to avoid panic on subsequentForceReconnect
calls (#1842, #1846)Changed
Improved
Fetch
andFetchBatch
on reconnect (#1840)OrderedConsumerConfig.InactiveThreshold
(#1845)PurgeDeletes
(#1839)Complete Changes
v1.40.1
Compare Source
Changelog
Overview
This release fixes an issue in legacy JetStream
Subscribe
which did not respect user-set context when creating a consumer.FIXED
js.Subscribe
(#1835)Complete Changes
v1.40.0
Compare 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
ReconnectErrCB
for handling failed reconnect attempts in a callback. Thanks @sschleemilch for the contribution (#1804)Fixed
Consumer.Fetch
(#1828)resp.Error
to show NATS error indeleteMsg
. Thanks @imariman for the contribution (#1822)Changed
Complete Changes
v1.39.1
Compare Source
Changelog
Fixed
ListKeysFiltered
from returning deleted keys. Thanks @kruegernet for the contribution (#1803)Improved
Complete Changes
v1.39.0
Compare Source
Changelog
Overview
This release bumps the minimal go version in
go.mod
to1.22
.Added
PullMaxMessagesWithBytesLimit
option for Consume and Messages (#1789)Metadata
toOrderedConsumerConfig
. Thanks @mwain for the contribution (#1737)JetStream.Options()
andJetStream.Conn()
methods toJetStream
interface (#1792)ListKeysFiltered
for listing keys with multiple filters. Thanks @somratdutta for the contribution (#1711)Fixed
Consumer.Messages()
(#1786)DeleteObjectStore
(#1762)Changed
Improved
Consume
andMessages
options (#1770)Complete Changes
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 nats-server@v2.10.8 (#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 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
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
v1.28.0
Compare 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
any
type in codebase.Added
HeadersOnly
field onOrderedConsumerConfig
(#1327)WithStreamListSubject()
option to filter results ofListStreams()
andStreamNames()
by stream name (#1312)Improved
dev
andmain
branches ofnats-server
to tests in CI (#1336)parse_test.go
. Thanks @YukiBobier for the contribution (#1334)jetstream/README.md
(#1347, #1350)Changed
interface{}
withany
across the codebase (#1332)NakWithDelay
to 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 toPublishAsyncMaxPending
not being reset on reconnect (#1346)PublishAsync()
blocking published due toPublishAsyncMaxPending
not being reset on reconnect (#1346)Complete Changes
v1.27.1
Compare Source
Changelog
Improved
FetchBytes()
injetstream/README.md
. Thanks @fabiant7t for the contribution! (#1329)Fixed
nats.Conn
for pull requests. Thanks @oderwat for the contribution! (#1322)nats.Context
is used. Thanks @anthonyjacques20 for the contribution! (#1314)Durable
not set on server versions prior to 2.9.0 (#1325)Complete Changes
v1.27.0
Compare Source
Changelog
Overview
This release focuses on improvements to new JetStream API and Service API (
micro
) preview functionalities.Added
StreamNameBySubject()
method for stream discovery based on provided subject (#1292)Improved
Consume()
andMessages()
(#1303)Changed
AddConsumer
toCreateOrUpdateConsumer
. This change is introduced in anticipation for separation of create and update operations innats-server
(#1300)AckPolicy
toAckPolicyExplicit
(#1278)PullThresholdBytes
type name (#1300)ConsumerConfig
(#1300)context.Context
fromPublishAsync
andPublishMsgAsync
(#1300)micro
):INFO
schema (#1277)STATS
response toINFO
responseINFO
now returnsendpoints
object, containing subject, name and metatada. This replacessubject
field.Fixed
ErrNoHeartbeat
. Thanks @alexisvisco for the contibution! (#1291)jetstream/README.md
). Thanks @bojanz for the contribution! (#1295)Put()
andPutBytes()
(#1282)Complete Changes
v1.26.0
Compare Source
Changelog
Overview
This release adds beta functionality of JetStream simplified API. The goal of this API is to simplify and streamline stream and consumer management, as well as leverage pull consumers for continuous message retrieval. We encourage you to give it a try and post your feedback!
You can find more details on the new API here
Added
jetstream
directory (https://github.com/nats-io/nats.go/blob/main/jetstream/README.md) (#1273).ConsumerName()
subscribe option to setName
inConsumerConfig
when creating a consumer (#1263)SkipConsumerLookup()
subscribe option to bypass verifying if the consumer exists before consumer creation (#1265)Improved
micro
directory (#1271)micro
(#1240)Changed
Subscribe()
when name is not provided to leverage 2.9.0 consumer create server API (#1261, #1263)micro
):api_url
andSCHEMA
endpoint (#1270)Fixed
TestJetStreamConcurrentQueueDurablePushConsumers
test (#1267)Complete Changes
v1.25.0
Compare Source
Changelog
Added
micro
):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.