Update module github.com/nats-io/nats.go to v1.18.0 - autoclosed #3
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "renovate/github.com-nats-io-nats.go-1.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
v1.16.0
->v1.18.0
Release Notes
nats-io/nats.go
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: At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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 Renovate Bot.
Update module github.com/nats-io/nats.go to v1.18.0to Update module github.com/nats-io/nats.go to v1.18.0 - autoclosedPull request closed