Skip to content
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
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 25, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/nats-io/nats.go v1.16.0 -> v1.34.1 age adoption passing confidence

Release Notes

nats-io/nats.go (github.com/nats-io/nats.go)

v1.34.1

Compare Source

Changelog

Fixed
  • JetStream:
    • Fixed async publish error handling on disconnect (#​1592)
    • Fixed race condition in Fetch and FetchBatch when using heartbeats (#​1601)
Complete Changes

v1.34.0

Compare Source

Changelog

Added
  • Core NATS:
    • StatusChanged method for subscription event notifications (#​1570)
    • ClientTLSConfig option for setting TLS config with callbacks in Connect (#​1413)
Fixed
  • Object Store:
    • Add missing Compression struct tag (#​1559)
  • Legacy JetStream:
    • Fetch and FetchBatch will no longer publish a pull request if the subscription is closed or draining (#​1582)
  • Service API:
Improved
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 running go 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
  • JetStream:
    • TermWithReason method on JetStream message (#​1539)
    • Timestamp fields on stream and consumer infos (#​1540)
    • FetchHeartbeat option for Fetch and FetchBytes (#​1548)
  • Object Store:
    • Compression option for object store. Thanks to @​johbar for the contribution (#​1544)
    • UpdateObjectStore and CreateOrUpdateObjectStore methods (#​1550)
  • KeyValue:
    • UpdateKeyValue and CreateOrUpdateKeyValue methods (#​1549)
Fixed
  • JetStream:
    • Fixed Drain() infinite loop and add test for concurrent Next() calls. Thanks to @​mdawar for the contribution (#​1525)
    • Fixed race condition when resetting ordered consumer (#​1526)
  • Object Store:
    • Fixed hardcoded read deadline when reading an object (#​1531)
Improved
Complete Changes

v1.32.0

Compare Source

Changelog

Added
  • JetStream:
    • ObjectStore is now available as part of jetstream package (#​1450)
    • Drain method for ConsumeContext and MessagesContext. Unlike Stop(), 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)
    • Return account reservations on AccountInfo. NOTE: This is only available since nats-server@v2.10.8 (#​1511)
    • Paging Subjects on Stream.Info() response when WithSubjectFilter() option is used (#​1517)
  • KeyValue:
    • Compression option on KeyValueConfig (#​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
  • Legacy JetStream:
    • Fixed and issue where ordered consumer was recreated with different name format than the original (#​1449)
  • JetStream:
    • Fixed an issue where WithRetryAttempts() and WithRetryWait() options were ignored in PublishAsync() (#​1464)
    • Fixed invalid PullExpiry validation in Consumer.Messages() options (#​1468)
    • Fixed race condition on Stop() method for ConsumeContext and MessagesContext . Thanks to
      @​evanofslack for the contribution (#​1454)
    • Fixed issues with Next() method for ordered consumers (#​1471, #​1472)
    • Fixed ignoring a private inbox prefix in JetStream.Publish(). Thanks to @​oderwat for the contribution (#​1474)
    • Fixed invalid PAF id for PublishAsync() (#​1476)
    • Fixed race condition when getting pull subscriptions in ordered consumer (#​1497)
    • Fixed several issues in checkPending logic (#​1516)
  • KeyValue:
    • Removed KV_ prefix when listing KeyValue store names (#​1487)
  • Service API:
    • Fixed race condition when adding endpoints concurrently. Thanks to @​actatum for the contribution (#​1484)
Improved
  • Bumped nkeys and compress dependencies to latest versions (#​1458, #​1514)
  • Fixed broken link in jetstream/README.md. Thanks to @​sebbbastien for the contribution (#​1448)
  • Improvements for code quality across the library. Thanks to @​sashamelentyev for the contribution (#​1498, #​1500)
  • Legacy JetStream:
    • Library now attempts to delete ordered consumer before creating new one to avoid piling up consumers on reset (#​1449)
  • Service API:
    • Added compatibility tests for Service API (#​1443)
Complete Changes

v1.31.0

Compare Source

Changelog

Added
  • Core NATS:
    • TLSHandshakeFirst option to perform TLS handshake before receiving the INFO protocol message. Note: This option is not yet available in nats-server (#​1433)
  • JetStream:
    • 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
  • Test (dev) dependencies are no longer added to go.mod when using nats.go. Thanks to @​masumomo for the contribution (#​1441)
  • JetStream:
    • Panic on Consumer.Info() when empty response and errors are returned (#​1426)
    • Invalid handling of heartbeats in Consume and Messages (#​1428)
    • Properly recreating ordered consumers on server restart (#​1425)
  • Legacy JetStream:
    • Panic on ConsumerInfo() when empty response and errors are returned (#​1426)
Improved
Complete Changes

v1.30.2

Compare Source

Changelog

Fixed
  • JetStream:
    • Fixed backwards compatibility issue when creating streams with sources on nats-server 2.9.x (#​1420)
Complete Changes

v1.30.1

Compare Source

Changelog

Fixed
  • JetStream:
    • Fixed validation on nats.PullHeartbeat() causing pull heartbeat not being validated against deadline from nats.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
  • JetStream:
    • SubjectTransform support on streams (#​1200)
    • SubjectTransforms on mirrors and sources (#​1359, #​1404)
    • Multiple subject filters on consumers (#​1214)
    • Setting Compression type on StreamConfig (#​1405)
    • Setting FirstSeq on StreamConfig (#​1405)
    • Setting ConsumerLimits on StreamConfig (#​1405)
    • CreateConsumer and UpdateConsumer methods (#​1379)
    • Support for stream and consumer metadata (#​1384)
  • ObjectStore:
    • Support for object store and object metadata (#​1385)
  • Service API (micro):
    • Customizing queue groups per service, group and endpoint (#​1401)
  • Legacy JetStream:
    • SubjectTransform support on streams (#​1200)
    • SubjectTransforms on mirrors and sources (#​1359)
    • Multiple subject filters on consumers (#​1214)
    • Setting Compression type on StreamConfig (#​1405)
    • Setting FirstSeq on StreamConfig (#​1405)
    • Setting ConsumerLimits on StreamConfig (#​1405)
    • Setting heartbeats in Fetch and FetchBatch in legacy API (#​1402)
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 to jetstream in future release.

Added
  • JetStream:
    • KeyValue is now available as part of jetstream (#​1362)
  • KeyValue:
    • UpdatesOnly option for KV watchers (#​1378)
  • ObjectStore:
    • UpdatesOnly option for object store watchers (#​1377)
  • Core NATS:
    • Invoke ErrorHandler() on preparing connection string when reconnecting (#​1397)
Improved
Changed
  • ObjectStore:
    • Remove experimental notice from object store (#​1399)
  • Core NATS:
    • Use default value for FlusherTimeout instead of 0 (#​1398)
Fixed
  • JetStream:
    • Fixed deadlock when acknowledging a message which was previously acknowledged. Thanks @​Zamony for the contribution (#​1364)
  • Service API (micro):
    • Fixed possible panic in custom error handlers (#​1371)
  • Legacy JetStream:
    • Fixed ordered consumer not being recreated after context timeout (#​1360)
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
  • JetStream:
    • HeadersOnly field on OrderedConsumerConfig (#​1327)
    • WithStreamListSubject() option to filter results of ListStreams() and StreamNames() by stream name (#​1312)
Improved
  • Added dev and main branches of nats-server to tests in CI (#​1336)
  • Core NATS:
  • JetStream:
    • Fix typos and doc comments in new JetStream API. Thanks @​mdawar for the contribution (#​1339)
    • Fixed and slightly enhanced the basic example in jetstream package. Thanks to @​pwntr for the contribution (#​1340)
    • Improvements in in jetstream/README.md (#​1347, #​1350)
Changed
  • Replace interface{} with any across the codebase (#​1332)
  • JetStream:
    • [BREAKING CHANGE] Move NakWithDelay to separate method, instead of it being an option on Nak() (#​1337)
    • [BREAKING CHANGE] Simplified API for listing streams and stream names (#​1312)
    • Add default timeout when context.Background() or context.TODO() is used (#​1348)
Fixed
  • JetStream:
    • Create consumer when calling OrderedConsumer() (#​1317)
    • Unset start time for ordered consumer on reset (#​1341)
    • Fixed Next() blocking indefinitely after calling Stop(). Thanks @​mdawar for the contribution (#​1344)
    • Invalid missing heartbeat errors in Consume() (#​1345)
    • Fixed PublishAsync() blocking published due to PublishAsyncMaxPending not being reset on reconnect (#​1346)
  • Legacy JetStream:
    • Fixed PublishAsync() blocking published due to PublishAsyncMaxPending not being reset on reconnect (#​1346)
Complete Changes

v1.27.1

Compare Source

Changelog

Improved
  • JetStream Simplified API:
    • Fixed unit from kB to B for FetchBytes() in jetstream/README.md. Thanks @​fabiant7t for the contribution! (#​1329)
    • Add param names in API interfaces to better document the code (#​1316)
Fixed
  • JetStream Simplified API:
    • Use custom inbox prefix set on nats.Conn for pull requests. Thanks @​oderwat for the contribution! (#​1322)
  • Object Store:
  • JetStream:
    • Fixed creating a consumer with 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
  • JetStream Simplified API:
    • StreamNameBySubject() method for stream discovery based on provided subject (#​1292)
Improved
  • JetStream Simplified API:
    • Simplified lock handling for Consume() and Messages() (#​1303)
Changed
  • JetStream Simplified API:
    • [BREAKING CHANGE] Renamed AddConsumer to CreateOrUpdateConsumer. This change is introduced in anticipation for separation of create and update operations in nats-server (#​1300)
    • [BREAKING CHANGE] Change default AckPolicy to AckPolicyExplicit (#​1278)
    • [BREAKING CHANGE] Fixed typo in PullThresholdBytes type name (#​1300)
    • [BREAKING CHANGE] Removed push consumer only fields from ConsumerConfig (#​1300)
    • [BREAKING CHANGE] Removed context.Context from PublishAsync and PublishMsgAsync (#​1300)
  • Service API (micro):
    • [BREAKING CHANGE] More verbose endpoint INFO schema (#​1277)
      • Endpoint metadata was moved from STATS response to INFO response
      • INFO now returns endpoints object, containing subject, name and metatada. This replaces subject field.
Fixed
  • JetStream Simplified API:
  • Object Store:
    • Fixed leaking goroutines after calling Put() and PutBytes() (#​1282)
  • Flaky tests picking the used port for cluster connections (#​1284, #​1298)
  • Division by zero fixes in bechmark tests. Thanks @​Zamony fot the contribution! (#​1293)
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 Simplified API:
  • JetStream:
    • ConsumerName() subscribe option to set Name in ConsumerConfig when creating a consumer (#​1263)
    • SkipConsumerLookup() subscribe option to bypass verifying if the consumer exists before consumer creation (#​1265)
Improved
Changed
  • JetStream:
    • Generate consumer name in Subscribe() when name is not provided to leverage 2.9.0 consumer create server API (#​1261, #​1263)
  • Service API (micro):
    • Removed api_urland SCHEMA endpoint (#​1270)
    • Avoid producing nil metadata (#​1242)
  • Changed compression library for websockets (#​1259)
  • Reload client TLS certificates and Root CAs on reconnect (#​1264)
Fixed
  • Object Store
    • Fixed Put purging partial object before acks for all sent chunks were received. This caused leftover chunks to be processed after purge (#​1260)
    • Fixed issue in Read where nil was returned instead of context error (#​1260)
  • JetStream:
    • Fixed flaky TestJetStreamConcurrentQueueDurablePushConsumers test (#​1267)
  • Fixed leaking goroutines in tests (#​1268)
Complete Changes

v1.25.0

Compare Source

Changelog

Added
  • Service API (micro):
    • Support metadata for services, endpoints and endpoint stats (#​1231, #​1233)
Improved
  • Fix TestJetStreamStreamInfoWithSubjectDetails test (#​1225)
  • Fix typo in JetStream Durable() option comment. Thanks @​jlvallelonga fot the contribution (#​1229)
  • Bump nkeys to latest version (#​1235)
Changed
  • JetStream:
    • Use wildcard subscription for pull subscription and separate inbox per Fetch()/FetchBatch(). Additionaly, FetchBatch() now
      verifies whether a request timeout was received for a current pull request (#​1237, #​1238)
Complete Changes

v1.24.0

Compare Source

Changelog

Added
  • Core:
  • JetStream
    • FetchChan method to utilize non-blocking pull subscription requests (#​1211)
  • Service API (micro):
    • ContextHandler helper function which implements micro.Handler and allows passing context.Context to request handler (#​1215)
Improved
  • Use go 1.19 in go.mod and skip using deprecated rand.Seed for go version +1.20 (#​1209)
Fixed
  • JetStream:
    • Retry recreating ordered consumer on insufficient resources error (#​1217)
    • Stream and consumer name validation now checks for space in name, preventing timeouts and returning valid error (#​1219)
  • Service API (micro):
    • Avoid panic on schema request when no schemas were given (#​1195)
  • KV:
    • Fix CreateKeyValue idempotency check on AllowDirect 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
  • Service API (micro):
    • Support for multi-endpoint services (#​1180)
    • type field in monitoring handlers responses (#​1173)
Changed
  • JetStream:
    • Optimize AddConsumer() performance by not sending JS request if consumer config has not changed (#​1185)
  • Service API (micro):
    • Use interface instead of struct for micro.Request (#​1174)
    • Use time.Time instead of string for Started field in STATS response (#​1175)
    • Service schemas are now defined per-endpoint.
Improved
  • Check whether credentials in nats.Connect() are missing before using them (#​1181)
  • Reduce the size of the bufio.Reader for message header parsing. Thanks to @​thomas-long-f3 for the contribution (#​1187)
  • Update go version in go.mod to 1.18 and update go version used by Travis (#​1182)
  • Start adopting error wrapping syntax (%w) in various errors (#​1182)
  • Added note on disabling reconnect buffer on nats.ReconnectBufSize() (#​1169)
  • Fix typos in comments in micro package. Thanks to @​chenjpu for the contribution (#​1171)
Fixed
  • JetStream
    • Pass opts to ConsumerInfo call in AddConsumer() (#​1176)
    • Use custom inbox prefix in async reply. Thanks to @​guyguy333 for the contribution (#​1190)
Complete Changes

v1.22.1

Compare Source

Changelog

Changed
  • Service API:
    • Monitoring subjects for a service are no longer uppercase (#​1166)
    • 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
  • Service API beta implementation (#​1160)
  • Getters for connection callbacks (#​1162)
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 with RetryOnFailedConnect (#​1133 )
  • IgnoreAuthErrorAbort connect option to prevent aborting reconnect attempts after receiving the same authentication error twice (#​1141)
  • SkipTLSHandshake option to CustomDialer. SkipTLSHandshake method can be implemented on a custom dialer to prevent TLS handshake if not needed (#​1147)
  • KV:
    • Return ErrKeyExists error when attempting to Create() a KV pair for an existing key (#​1135, #​1136)
  • JetStream:
    • Add ErrLeadershipChanged error, returned when consumer leadership has changed during a pull request on a consumer. Thanks to @​sata-form3 for the contribution (#​1151)
Improved
  • Remove deprecated usages of io/ioutil. Thanks to @​cesarvspr for the contribution (#​1150)
  • Remove experimental notice from KV implementation (#​1154)
Complete Changes

v1.20.0

Compare Source

Changelog

Changed
  • JetStream:
    • [BREAKING CHANGE] Extract nats: Consumer Deleted server error to ErrConsumerDeleted 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
  • JetStream:
    • Fix broken comments on ErrConsumerNameAlreadyInUse and StreamNameBySubject(). Thanks to @​subtle-byte for the contribution (#​1128)
  • Core NATS:
    • Improve comment on RetryOnFailedConnect connect option (#​1127)
Complete Changes

v1.19.1

Compare Source

Changelog

Added
  • JetStream:
    • Expose StreamNameBySubject method on JetStreamContext interface for looking up stream by subject (#​1114)
    • Return stream alternates when fetching stream info (#​1118)
Changed
  • KV:
    • Use BindStream for watcher so it works with mirrors (#​1116)
Fixed
  • KV:
    • Delete key not working correctly across mirrors (#​1115)
Complete Changes

v1.19.0

Compare Source

Changelog

Added
  • KV:
    • Support for KV mirrors and sources (#​1112)
Improved
  • JetStream:
    • Comment on InactiveThreshold to align with server version 2.9.0. Thanks to @​neilalexander for the contribution (#​1106)
Experimental
  • Added Service framework for microservice communication using core NATS. This is an experimental preview and may be changed in future releases (#​1111)
Complete Changes

v1.18.0

Compare Source

Changelog

Added
  • JetStream:
    • Support for DiscardNewPerSubject on stream configuration (#​1102)
  • KV:
    • KeyValueStores() and KeyValueStoreNames() methods for listing key value buckets (#​1088)
    • Bytes() method on KeyValueStatus returning size of the bucket (#​1092)
Improved
  • JetStream:
    • Comment on Subscribe() method in JetStream interface now has a better description of the behavior after unsubscribing from a durable consumer. Thanks to @​sylr for the contribution (#​1100)
Changed
  • JetStream:
    • Ordered consumer is now being recreated on missing heartbeat (#​1097)
    • AckNone policy can now be set for pull consumers (#​1090)
  • ObjectStore:
    • [BREAKING] ObjectStores() now returns channel of ObjectStoreStatus instead of ObjectStore interface (#​1099)
    • [BREAKING] Options on various ObjectStore methods now have individual types (GetObjectOpt, GetObjectInfoOpt and ListObjectsOpt). Only options applicable for a particular method can be used (#​1091)
    • [BREAKING] When listing/fetching object info, deleted objects are now hidden by default. New options are added to enable fetching deleted objects (GetObjectInfoShowDeleted(), GetObjectShowDeleted() and ListObjectsShowDeleted() (#​1091)
Fixed
  • JetStream:
    • Invalid JSON tag on Tiers field on AccountInfo 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 creating JetStreamContext.

Added
  • JetStream:

    • Support for enhanced stream purge. PurgeStream() now accepts StreamPurgeRequest as an option, allowing partial purge by subject sequence number or keeping selected number of messages (#​988)
    • Option to fetch DeletedDetails when fetching StreamInfo. StreamInfo() now accepts StreamInfoRequest allowing to pass DeletedDetails flag (#​990)
    • Option to report subjects on StreamInfo() request. StreamInfo() now accepts StreamInfoRequest allowing to pass SubjectsFilter value (#​1010)
    • Support AllowDirect in stream configuration, enabling faster access to individual messages on a stream (#​991)
    • Support for DirectGet API in GetMsg() through DirectGet() and DirectGetNext() options (#​1020, #​1030)
    • HeadersOnly option to RePublish field on stream configuration and change struct name to RePublish (#​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 single Fetch()can receive (#​1043)
    • Filter streams and stream names by subject in StreamsInfo() and StreamNames() using StreamListFilter() option (#​1062)
    • Accept AckAll for pull consumers. Thanks to @​neilalexander for the contribution (#​1063)
    • Support for setting consumer replicas through Subscribe() options. Thanks to @​goku321 for the contribution (#​1019)
    • Support for setting memory storage on consumer with ConsumerMemoryStorage() option in Subscribe(). Thanks to @​goku321 for the contribution (#​1078)
  • KV:

    • RePublish option on key value configuration (#​1031)
  • ObjectStore:

    • ObjectStores() and ObjectStoreNames() 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 using errors.Is() (#​1082)

Improved
  • JetStream

    • Add JetStreamError type for all JetStream related errors, containing error codes (for API errors). JetStreamError supports comparing and unwrapping errors using native errors package (#​1044, #​1047)
    • Force Subscribe() to use memory storage and no replicas when using OrderedConsumer() (#​989)
    • Consistent error value of context timeout when using Fetch() on pull subscription. Thanks to @​wdhongtw for the contribution (#​1011)
    • Add additional note to PullSubscribe() on durable semantics (#​994)
  • KV:

    • Utilize 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
  • JetStream:
    • DeleteMsg() now uses NoErase 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
  • JetStream:
    • [BREAKING] Use 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 creating JetStreamContext (#​1080)
    • Add missing fields to AccountInfo schema (#​1026)
    • Align StreamSourceInfo schema with server (#​1039)
  • Use nats-server 2.9.0 in tests (#​1073)
  • Add new test TLS certs and run tests for go 1.18 in CI (#​1023, #​1055)
Fixed
  • JetStream

    • Subscribe() automatically sending ACK when AckPolicyNone is set (#​987)
    • Return error when attempting to ACK a message on a AckNone consumer (#​1032)
    • Use native time.Time.Equal method for equality check when comparing consumer configs (#​993)
    • Ephemeral PullConsumer's Fetch() failing with "no responders" (#​1022)
    • ConsumerInfo nil pointer dereference when jsi is not initialized. Thanks to @​Sergey-Belyakov for the contribution (#​1024)
    • Paging in stream and consumer name listing (#​1060)
  • ObjectStore

    • Update object Put() to avoid loosing last chunk when Reader returns both value and EOF. Thanks to @​tinou98 for the contribution (#​995)
    • Invalid digest decoding on object Get(), not propagating errors from Get() to the user (#​1052)
    • Allow updating meta if new name exists but is deleted (#​1053)
    • Disallow adding links in 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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate 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 renovate bot force-pushed the renovate/github.com-nats-io-nats.go-1.x branch from d0b8fa7 to ae7a9cc Compare November 20, 2022 09:56
@renovate 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 renovate bot force-pushed the renovate/github.com-nats-io-nats.go-1.x branch from ae7a9cc to 329377f Compare March 17, 2023 04:08
@renovate 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 renovate bot force-pushed the renovate/github.com-nats-io-nats.go-1.x branch from 329377f to 89787e2 Compare March 24, 2023 19:12
@renovate renovate bot force-pushed the renovate/github.com-nats-io-nats.go-1.x branch from 89787e2 to 7ad1532 Compare May 28, 2023 09:32
@renovate 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 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 renovate bot force-pushed the renovate/github.com-nats-io-nats.go-1.x branch from 7ad1532 to a21c8dc Compare June 12, 2023 14:52
@renovate 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 renovate bot force-pushed the renovate/github.com-nats-io-nats.go-1.x branch from a21c8dc to 607f1d2 Compare June 22, 2023 15:49
@renovate renovate bot force-pushed the renovate/github.com-nats-io-nats.go-1.x branch from 607f1d2 to fa93ac1 Compare July 4, 2023 12:10
@renovate 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 renovate bot force-pushed the renovate/github.com-nats-io-nats.go-1.x branch from fa93ac1 to 794b648 Compare July 20, 2023 13:54
@renovate 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 renovate bot force-pushed the renovate/github.com-nats-io-nats.go-1.x branch from 794b648 to 61fb384 Compare September 13, 2023 11:35
@renovate 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 renovate bot force-pushed the renovate/github.com-nats-io-nats.go-1.x branch from 61fb384 to 8d6d534 Compare September 20, 2023 09:54
@renovate 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 renovate bot force-pushed the renovate/github.com-nats-io-nats.go-1.x branch from 8d6d534 to 6bbaaa0 Compare September 25, 2023 17:06
@renovate 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 renovate bot force-pushed the renovate/github.com-nats-io-nats.go-1.x branch from 6bbaaa0 to 775a199 Compare September 27, 2023 09:26
@renovate 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 renovate bot force-pushed the renovate/github.com-nats-io-nats.go-1.x branch from 775a199 to 68579f6 Compare October 15, 2023 23:01
@renovate renovate bot force-pushed the renovate/github.com-nats-io-nats.go-1.x branch from 68579f6 to 776e581 Compare January 12, 2024 14:23
@renovate 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 renovate bot force-pushed the renovate/github.com-nats-io-nats.go-1.x branch from 776e581 to 2764c17 Compare February 16, 2024 19:50
@renovate 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 renovate bot force-pushed the renovate/github.com-nats-io-nats.go-1.x branch from 2764c17 to 63d523d Compare March 20, 2024 22:12
@renovate 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 renovate bot force-pushed the renovate/github.com-nats-io-nats.go-1.x branch from 63d523d to 77970a1 Compare April 3, 2024 16:30
@renovate 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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants