Update module github.com/nats-io/nats.go to v1.18.0 - autoclosed #3
Reference in New Issue
Block a user
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.0Release Notes
nats-io/nats.go
v1.18.0Compare Source
Changelog
Added
DiscardNewPerSubjecton stream configuration (#1102)KeyValueStores()andKeyValueStoreNames()methods for listing key value buckets (#1088)Bytes()method onKeyValueStatusreturning size of the bucket (#1092)Improved
Subscribe()method inJetStreaminterface now has a better description of the behavior after unsubscribing from a durable consumer. Thanks to @sylr for the contribution (#1100)Changed
AckNonepolicy can now be set for pull consumers (#1090)ObjectStores()now returns channel ofObjectStoreStatusinstead ofObjectStoreinterface (#1099)ObjectStoremethods now have individual types (GetObjectOpt,GetObjectInfoOptandListObjectsOpt). Only options applicable for a particular method can be used (#1091)GetObjectInfoShowDeleted(),GetObjectShowDeleted()andListObjectsShowDeleted()(#1091)Fixed
Tiersfield onAccountInfostruct (#1095)Complete Changes
v1.17.0Compare 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 acceptsStreamPurgeRequestas an option, allowing partial purge by subject sequence number or keeping selected number of messages (#988)DeletedDetailswhen fetchingStreamInfo.StreamInfo()now acceptsStreamInfoRequestallowing to passDeletedDetailsflag (#990)StreamInfo()request.StreamInfo()now acceptsStreamInfoRequestallowing to passSubjectsFiltervalue (#1010)AllowDirectin stream configuration, enabling faster access to individual messages on a stream (#991)DirectGetAPI inGetMsg()throughDirectGet()andDirectGetNext()options (#1020, #1030)HeadersOnlyoption toRePublishfield 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)AckAllfor 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:
RePublishoption on key value configuration (#1031)ObjectStore:
ObjectStores()andObjectStoreNames()methods for listing object store buckets (#1074)TLSConnectionState()to expose TLS connection state (#996)UserJWTAndSeedhelper function accepting JWT and seed as parameters (#1046)natsProtoErrtype for proto error normalization and comparison usingerrors.Is()(#1082)Improved
JetStream
JetStreamErrortype for all JetStream related errors, containing error codes (for API errors).JetStreamErrorsupports comparing and unwrapping errors using nativeerrorspackage (#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
Optionsstruct documentation. Thanks to @costela for the contribution (#1013)Changed
DeleteMsg()now usesNoEraseoption 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)AccountInfoschema (#1026)StreamSourceInfoschema with server (#1039)Fixed
JetStream
Subscribe()automatically sending ACK whenAckPolicyNoneis set (#987)AckNoneconsumer (#1032)ConsumerInfonil pointer dereference whenjsiis not initialized. Thanks to @Sergey-Belyakov for the contribution (#1024)ObjectStore
Put()to avoid loosing last chunk whenReaderreturns 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