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
Update module github.com/nats-io/nats.go to v1.34.1 #55
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 }}
Could not load tags
Nothing to show
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.
Conversation
This file contains 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
renovate
bot
changed the title
Update module github.com/nats-io/nats.go to v1.17.0
Update module github.com/nats-io/nats.go to v1.20.0
Nov 20, 2022
renovate
bot
force-pushed
the
renovate/github.com-nats-io-nats.go-1.x
branch
from
November 20, 2022 09:56
d0b8fa7
to
ae7a9cc
Compare
renovate
bot
changed the title
Update module github.com/nats-io/nats.go to v1.20.0
Update module github.com/nats-io/nats.go to v1.24.0
Mar 17, 2023
renovate
bot
force-pushed
the
renovate/github.com-nats-io-nats.go-1.x
branch
from
March 17, 2023 04:08
ae7a9cc
to
329377f
Compare
renovate
bot
changed the title
Update module github.com/nats-io/nats.go to v1.24.0
Update module github.com/nats-io/nats.go to v1.25.0
Mar 24, 2023
renovate
bot
force-pushed
the
renovate/github.com-nats-io-nats.go-1.x
branch
from
March 24, 2023 19:12
329377f
to
89787e2
Compare
renovate
bot
force-pushed
the
renovate/github.com-nats-io-nats.go-1.x
branch
from
May 28, 2023 09:32
89787e2
to
7ad1532
Compare
renovate
bot
changed the title
Update module github.com/nats-io/nats.go to v1.25.0
Update module github.com/nats-io/nats.go to v1.26.0
May 28, 2023
renovate
bot
changed the title
Update module github.com/nats-io/nats.go to v1.26.0
Update module github.com/nats-io/nats.go to v1.27.0
Jun 12, 2023
renovate
bot
force-pushed
the
renovate/github.com-nats-io-nats.go-1.x
branch
from
June 12, 2023 14:52
7ad1532
to
a21c8dc
Compare
renovate
bot
changed the title
Update module github.com/nats-io/nats.go to v1.27.0
Update module github.com/nats-io/nats.go to v1.27.1
Jun 22, 2023
renovate
bot
force-pushed
the
renovate/github.com-nats-io-nats.go-1.x
branch
from
June 22, 2023 15:49
a21c8dc
to
607f1d2
Compare
renovate
bot
force-pushed
the
renovate/github.com-nats-io-nats.go-1.x
branch
from
July 4, 2023 12:10
607f1d2
to
fa93ac1
Compare
renovate
bot
changed the title
Update module github.com/nats-io/nats.go to v1.27.1
Update module github.com/nats-io/nats.go to v1.28.0
Jul 20, 2023
renovate
bot
force-pushed
the
renovate/github.com-nats-io-nats.go-1.x
branch
from
July 20, 2023 13:54
fa93ac1
to
794b648
Compare
renovate
bot
changed the title
Update module github.com/nats-io/nats.go to v1.28.0
Update module github.com/nats-io/nats.go to v1.29.0
Sep 13, 2023
renovate
bot
force-pushed
the
renovate/github.com-nats-io-nats.go-1.x
branch
from
September 13, 2023 11:35
794b648
to
61fb384
Compare
renovate
bot
changed the title
Update module github.com/nats-io/nats.go to v1.29.0
Update module github.com/nats-io/nats.go to v1.30.0
Sep 20, 2023
renovate
bot
force-pushed
the
renovate/github.com-nats-io-nats.go-1.x
branch
from
September 20, 2023 09:54
61fb384
to
8d6d534
Compare
renovate
bot
changed the title
Update module github.com/nats-io/nats.go to v1.30.0
Update module github.com/nats-io/nats.go to v1.30.1
Sep 25, 2023
renovate
bot
force-pushed
the
renovate/github.com-nats-io-nats.go-1.x
branch
from
September 25, 2023 17:06
8d6d534
to
6bbaaa0
Compare
renovate
bot
changed the title
Update module github.com/nats-io/nats.go to v1.30.1
Update module github.com/nats-io/nats.go to v1.30.2
Sep 27, 2023
renovate
bot
force-pushed
the
renovate/github.com-nats-io-nats.go-1.x
branch
from
September 27, 2023 09:26
6bbaaa0
to
775a199
Compare
renovate
bot
changed the title
Update module github.com/nats-io/nats.go to v1.30.2
Update module github.com/nats-io/nats.go to v1.31.0
Oct 15, 2023
renovate
bot
force-pushed
the
renovate/github.com-nats-io-nats.go-1.x
branch
from
October 15, 2023 23:01
775a199
to
68579f6
Compare
renovate
bot
force-pushed
the
renovate/github.com-nats-io-nats.go-1.x
branch
from
January 12, 2024 14:23
68579f6
to
776e581
Compare
renovate
bot
changed the title
Update module github.com/nats-io/nats.go to v1.31.0
Update module github.com/nats-io/nats.go to v1.32.0
Jan 12, 2024
renovate
bot
force-pushed
the
renovate/github.com-nats-io-nats.go-1.x
branch
from
February 16, 2024 19:50
776e581
to
2764c17
Compare
renovate
bot
changed the title
Update module github.com/nats-io/nats.go to v1.32.0
Update module github.com/nats-io/nats.go to v1.33.1
Feb 16, 2024
renovate
bot
force-pushed
the
renovate/github.com-nats-io-nats.go-1.x
branch
from
March 20, 2024 22:12
2764c17
to
63d523d
Compare
renovate
bot
changed the title
Update module github.com/nats-io/nats.go to v1.33.1
Update module github.com/nats-io/nats.go to v1.34.0
Mar 20, 2024
renovate
bot
force-pushed
the
renovate/github.com-nats-io-nats.go-1.x
branch
from
April 3, 2024 16:30
63d523d
to
77970a1
Compare
renovate
bot
changed the title
Update module github.com/nats-io/nats.go to v1.34.0
Update module github.com/nats-io/nats.go to v1.34.1
Apr 3, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
None yet
0 participants
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.16.0
->v1.34.1
Release Notes
nats-io/nats.go (github.com/nats-io/nats.go)
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/nats.go@v1.33.0
.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
):Improved
TestJetStreamStreamInfoWithSubjectDetails
test (#1225)Durable()
option comment. Thanks @jlvallelonga fot the contribution (#1229)Changed
Fetch()
/FetchBatch()
. Additionaly,FetchBatch()
nowverifies whether a request timeout was received for a current pull request (#1237, #1238)
Complete Changes
v1.24.0
Compare Source
Changelog
Added
FetchChan
method to utilize non-blocking pull subscription requests (#1211)micro
):ContextHandler
helper function which implementsmicro.Handler
and allows passingcontext.Context
to request handler (#1215)Improved
go.mod
and skip using deprecatedrand.Seed
for go version +1.20 (#1209)Fixed
micro
):CreateKeyValue
idempotency check onAllowDirect
when upgrading server version to > 2.9.0 Thanks to @dbason for the contribution (#1213)Complete Changes
v1.23.0
Compare Source
Changelog
Overview
This release focuses on improvements in
micro
package, most notably adding a possibility to create a service with multiple endpoints.Added
micro
):type
field in monitoring handlers responses (#1173)Changed
AddConsumer()
performance by not sending JS request if consumer config has not changed (#1185)micro
):micro.Request
(#1174)time.Time
instead ofstring
forStarted
field inSTATS
response (#1175)Improved
nats.Connect()
are missing before using them (#1181)go.mod
to 1.18 and update go version used by Travis (#1182)%w
) in various errors (#1182)nats.ReconnectBufSize()
(#1169)micro
package. Thanks to @chenjpu for the contribution (#1171)Fixed
ConsumerInfo
call inAddConsumer()
(#1176)Complete Changes
v1.22.1
Compare Source
Changelog
Changed
RequestHandler
signature to no longer return an error (#1166)Complete Changes
v1.22.0
Compare Source
Changelog
Overview
This release adds a beta implementation of
micro
package, which provides API for creating and monitoring microservices on top of NATS connection.Added
Complete Changes
v1.21.0
Compare Source
Changelog
Added
ConnectHandler
connect option to detect that initial connection was established. This is especially useful when combined withRetryOnFailedConnect
(#1133 )IgnoreAuthErrorAbort
connect option to prevent aborting reconnect attempts after receiving the same authentication error twice (#1141)SkipTLSHandshake
option toCustomDialer
.SkipTLSHandshake
method can be implemented on a custom dialer to prevent TLS handshake if not needed (#1147)ErrKeyExists
error when attempting toCreate()
a KV pair for an existing key (#1135, #1136)ErrLeadershipChanged
error, returned when consumer leadership has changed during a pull request on a consumer. Thanks to @sata-form3 for the contribution (#1151)Improved
io/ioutil
. Thanks to @cesarvspr for the contribution (#1150)Complete Changes
v1.20.0
Compare Source
Changelog
Changed
nats: Consumer Deleted
server error toErrConsumerDeleted
variable. This error is returned when consumer is deleted while waiting on pull request and was introduced in nats-server v2.9.6 (#1125)Improved
ErrConsumerNameAlreadyInUse
andStreamNameBySubject()
. Thanks to @subtle-byte for the contribution (#1128)RetryOnFailedConnect
connect option (#1127)Complete Changes
v1.19.1
Compare Source
Changelog
Added
StreamNameBySubject
method onJetStreamContext
interface for looking up stream by subject (#1114)Changed
Fixed
Complete Changes
v1.19.0
Compare Source
Changelog
Added
Improved
InactiveThreshold
to align with server version 2.9.0. Thanks to @neilalexander for the contribution (#1106)Experimental
Complete Changes
v1.18.0
Compare Source
Changelog
Added
DiscardNewPerSubject
on stream configuration (#1102)KeyValueStores()
andKeyValueStoreNames()
methods for listing key value buckets (#1088)Bytes()
method onKeyValueStatus
returning size of the bucket (#1092)Improved
Subscribe()
method inJetStream
interface now has a better description of the behavior after unsubscribing from a durable consumer. Thanks to @sylr for the contribution (#1100)Changed
AckNone
policy can now be set for pull consumers (#1090)ObjectStores()
now returns channel ofObjectStoreStatus
instead ofObjectStore
interface (#1099)ObjectStore
methods now have individual types (GetObjectOpt
,GetObjectInfoOpt
andListObjectsOpt
). Only options applicable for a particular method can be used (#1091)GetObjectInfoShowDeleted()
,GetObjectShowDeleted()
andListObjectsShowDeleted()
(#1091)Fixed
Tiers
field onAccountInfo
struct (#1095)Complete Changes
v1.17.0
Compare Source
Changelog
IMPORTANT
This release uses a new consumer create API when interacting with nats-server version 2.9.0 or higher. This changes the subjects used by the client to create consumers, which might in some cases require changes in access and import/export configuration. To opt out of this feature, use
UseLegacyDurableConsumers()
option when creatingJetStreamContext
.Added
JetStream:
PurgeStream()
now acceptsStreamPurgeRequest
as an option, allowing partial purge by subject sequence number or keeping selected number of messages (#988)DeletedDetails
when fetchingStreamInfo
.StreamInfo()
now acceptsStreamInfoRequest
allowing to passDeletedDetails
flag (#990)StreamInfo()
request.StreamInfo()
now acceptsStreamInfoRequest
allowing to passSubjectsFilter
value (#1010)AllowDirect
in stream configuration, enabling faster access to individual messages on a stream (#991)DirectGet
API inGetMsg()
throughDirectGet()
andDirectGetNext()
options (#1020, #1030)HeadersOnly
option toRePublish
field on stream configuration and change struct name toRePublish
(#991)SecureDeleteMsg()
method to securely delete and overwrite a message on a stream (#1025)MaxRequestMaxBytes()
PullConsumer()
option allowing setting the maximum number of bytes a singleFetch()
can receive (#1043)StreamsInfo()
andStreamNames()
usingStreamListFilter()
option (#1062)AckAll
for pull consumers. Thanks to @neilalexander for the contribution (#1063)Subscribe()
options. Thanks to @goku321 for the contribution (#1019)ConsumerMemoryStorage()
option inSubscribe()
. Thanks to @goku321 for the contribution (#1078)KV:
RePublish
option on key value configuration (#1031)ObjectStore:
ObjectStores()
andObjectStoreNames()
methods for listing object store buckets (#1074)TLSConnectionState()
to expose TLS connection state (#996)UserJWTAndSeed
helper function accepting JWT and seed as parameters (#1046)natsProtoErr
type for proto error normalization and comparison usingerrors.Is()
(#1082)Improved
JetStream
JetStreamError
type for all JetStream related errors, containing error codes (for API errors).JetStreamError
supports comparing and unwrapping errors using nativeerrors
package (#1044, #1047)Subscribe()
to use memory storage and no replicas when usingOrderedConsumer()
(#989)Fetch()
on pull subscription. Thanks to @wdhongtw for the contribution (#1011)PullSubscribe()
on durable semantics (#994)KV:
DirectGet()
in KV for improved performence (#1020)Add support for reporting flusher errors. THanks to @GeorgeEngland for the contribution (#1015)
Mention field defaults in
Options
struct documentation. Thanks to @costela for the contribution (#1013)Changed
DeleteMsg()
now usesNoErase
option by default, not overwriting the message on stream (only marking it as deleted) (#1025)StreamInfo()
will now return all subjects when requested (#1072)Updated
UseLegacyDurableConsumers()
option when creatingJetStreamContext
(#1080)AccountInfo
schema (#1026)StreamSourceInfo
schema with server (#1039)Fixed
JetStream
Subscribe()
automatically sending ACK whenAckPolicyNone
is set (#987)AckNone
consumer (#1032)ConsumerInfo
nil pointer dereference whenjsi
is not initialized. Thanks to @Sergey-Belyakov for the contribution (#1024)ObjectStore
Put()
to avoid loosing last chunk whenReader
returns both value andEOF
. Thanks to @tinou98 for the contribution (#995)Get()
, not propagating errors fromGet()
to the user (#1052)Put()
object meta (#1057)Typo in
CustomInboxPrefix()
error message. Thanks to @subtle-byte for the contribution (#1028)Ignore trailing comma at the end of URL lists (#1058)
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 has been generated by Mend Renovate. View repository job log here.