Update all dependencies #29

Merged
kjuulh merged 1 commits from renovate/all into main 2023-06-20 18:13:22 +02:00
Owner

This PR contains the following updates:

Package Type Update Change
github.com/nats-io/nats-server/v2 require patch v2.9.17 -> v2.9.19
github.com/nats-io/nats.go require minor v1.25.0 -> v1.27.0
github.com/stretchr/testify require patch v1.8.3 -> v1.8.4

Release Notes

nats-io/nats-server

v2.9.19

Compare Source

Changelog

Go Version
  • 1.19.10
Improved

JetStream

  • Improve resource utilization when creating mirrors on very high-sequence streams (#​4249)
Fixed

WebSocket

  • Ensure INFO properties are populated based on the WebSocket listener when enabled (#​4255) Thanks to @​Envek for reporting the issue!
Complete Changes

v2.9.18

Compare Source

Changelog

Go Version
  • 1.19.10
Dependency Updates
  • golang.org/x/crypto v0.9.0 (#​4236)
  • golang.org/x/sys v0.8.0 (#​4236)
  • github.com/nats-io/nats.go v1.27.0 (#​4239)
Improved

Monitoring

  • Optimize /statsz locking and sending in standalone mode (#​4235)

JetStream

  • Apply ack floor check only for interest-based streams (#​4206)
  • Improved efficiency and reduced CPU usage of the consumer ack floor check, particularly when the stream first sequence is a large number (#​4226)
  • Improve clean-up phase of R1 consumers on server restart for name reuse (#​4216)
  • Optimize “last message lookups” by subject (KV get operations) for small messages (#​4232) Thanks to @​jjthiessen for reporting the issue!
  • Only enable JetStream account updates in clustered mode (#​4233) Thanks to @​tpihl for reporting the issue!
Fixed

General

Leadnode

  • Daisy chained leafnodes could have unreliable interest propagation (#​4207)
  • Properly distribute requests to queue groups across leafnodes (#​4231)

JetStream

Complete Changes
nats-io/nats.go

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](https://github.com/nats-io/nats.go/issues/1300))
      
    • BREAKING CHANGE] Change default `AckPolicy` to `AckPolicyExplicit` ([#​1278](https://github.com/nats-io/nats.go/issues/1278))
      
    • BREAKING CHANGE] Fixed typo in `PullThresholdBytes` type name ([#​1300](https://github.com/nats-io/nats.go/issues/1300))
      
    • BREAKING CHANGE] Removed push consumer only fields from `ConsumerConfig` ([#​1300](https://github.com/nats-io/nats.go/issues/1300))
      
    • BREAKING CHANGE] Removed `context.Context` from `PublishAsync` and `PublishMsgAsync` ([#​1300](https://github.com/nats-io/nats.go/issues/1300))
      
  • Service API (micro):
    • BREAKING CHANGE] More verbose endpoint `INFO` schema ([#​1277](https://github.com/nats-io/nats.go/issues/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
stretchr/testify

v1.8.4

Compare Source


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


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

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/nats-io/nats-server/v2](https://github.com/nats-io/nats-server) | require | patch | `v2.9.17` -> `v2.9.19` | | [github.com/nats-io/nats.go](https://github.com/nats-io/nats.go) | require | minor | `v1.25.0` -> `v1.27.0` | | [github.com/stretchr/testify](https://github.com/stretchr/testify) | require | patch | `v1.8.3` -> `v1.8.4` | --- ### Release Notes <details> <summary>nats-io/nats-server</summary> ### [`v2.9.19`](https://github.com/nats-io/nats-server/releases/tag/v2.9.19) [Compare Source](https://github.com/nats-io/nats-server/compare/v2.9.18...v2.9.19) #### Changelog ##### Go Version - 1.19.10 ##### Improved JetStream - Improve resource utilization when creating mirrors on very high-sequence streams ([#&#8203;4249](https://github.com/nats-io/nats-server/issues/4249)) ##### Fixed WebSocket - Ensure INFO properties are populated based on the WebSocket listener when enabled ([#&#8203;4255](https://github.com/nats-io/nats-server/issues/4255)) Thanks to [@&#8203;Envek](https://github.com/Envek) for reporting the issue! ##### Complete Changes ### [`v2.9.18`](https://github.com/nats-io/nats-server/releases/tag/v2.9.18) [Compare Source](https://github.com/nats-io/nats-server/compare/v2.9.17...v2.9.18) #### Changelog ##### Go Version - 1.19.10 ##### Dependency Updates - golang.org/x/crypto v0.9.0 ([#&#8203;4236](https://github.com/nats-io/nats-server/issues/4236)) - golang.org/x/sys v0.8.0 ([#&#8203;4236](https://github.com/nats-io/nats-server/issues/4236)) - github.com/nats-io/nats.go v1.27.0 ([#&#8203;4239](https://github.com/nats-io/nats-server/issues/4239)) ##### Improved Monitoring - Optimize /statsz locking and sending in standalone mode ([#&#8203;4235](https://github.com/nats-io/nats-server/issues/4235)) JetStream - Apply ack floor check only for interest-based streams ([#&#8203;4206](https://github.com/nats-io/nats-server/issues/4206)) - Improved efficiency and reduced CPU usage of the consumer ack floor check, particularly when the stream first sequence is a large number ([#&#8203;4226](https://github.com/nats-io/nats-server/issues/4226)) - Improve clean-up phase of R1 consumers on server restart for name reuse ([#&#8203;4216](https://github.com/nats-io/nats-server/issues/4216)) - Optimize “last message lookups” by subject (KV get operations) for small messages ([#&#8203;4232](https://github.com/nats-io/nats-server/issues/4232)) Thanks to [@&#8203;jjthiessen](https://github.com/jjthiessen) for reporting the issue! - Only enable JetStream account updates in clustered mode ([#&#8203;4233](https://github.com/nats-io/nats-server/issues/4233)) Thanks to [@&#8203;tpihl](https://github.com/tpihl) for reporting the issue! ##### Fixed General - Fix a variety of potential panic scenarios ([#&#8203;4214](https://github.com/nats-io/nats-server/issues/4214)) Thanks to [@&#8203;Zamony](https://github.com/Zamony) and [@&#8203;artemseleznev](https://github.com/artemseleznev) for the contribution! Leadnode - Daisy chained leafnodes could have unreliable interest propagation ([#&#8203;4207](https://github.com/nats-io/nats-server/issues/4207)) - Properly distribute requests to queue groups across leafnodes ([#&#8203;4231](https://github.com/nats-io/nats-server/issues/4231)) JetStream - Killed server on restart could render encrypted stream unrecoverable ([#&#8203;4210](https://github.com/nats-io/nats-server/issues/4210)) Thanks to [@&#8203;BhatheyBalaji](https://github.com/BhatheyBalaji) for the report! - Fix a few data races detected internal testing ([#&#8203;4211](https://github.com/nats-io/nats-server/issues/4211)) - Process extended purge operations correctly when being replayed ([#&#8203;4212](https://github.com/nats-io/nats-server/issues/4212), [#&#8203;4213](https://github.com/nats-io/nats-server/issues/4213)) Thanks to [@&#8203;MauriceVanVeen](https://github.com/MauriceVanVeen) for the report and contribution! ##### Complete Changes </details> <details> <summary>nats-io/nats.go</summary> ### [`v1.27.0`](https://github.com/nats-io/nats.go/releases/tag/v1.27.0) [Compare Source](https://github.com/nats-io/nats.go/compare/v1.26.0...v1.27.0) #### 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 ([#&#8203;1292](https://github.com/nats-io/nats.go/issues/1292)) ##### Improved - JetStream Simplified API: - Simplified lock handling for `Consume()` and `Messages()` ([#&#8203;1303](https://github.com/nats-io/nats.go/issues/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` ([#&#8203;1300](https://github.com/nats-io/nats.go/issues/1300)) - \[BREAKING CHANGE] Change default `AckPolicy` to `AckPolicyExplicit` ([#&#8203;1278](https://github.com/nats-io/nats.go/issues/1278)) - \[BREAKING CHANGE] Fixed typo in `PullThresholdBytes` type name ([#&#8203;1300](https://github.com/nats-io/nats.go/issues/1300)) - \[BREAKING CHANGE] Removed push consumer only fields from `ConsumerConfig` ([#&#8203;1300](https://github.com/nats-io/nats.go/issues/1300)) - \[BREAKING CHANGE] Removed `context.Context` from `PublishAsync` and `PublishMsgAsync` ([#&#8203;1300](https://github.com/nats-io/nats.go/issues/1300)) - Service API (`micro`): - \[BREAKING CHANGE] More verbose endpoint `INFO` schema ([#&#8203;1277](https://github.com/nats-io/nats.go/issues/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: - Fixed data race on `ErrNoHeartbeat`. Thanks [@&#8203;alexisvisco](https://github.com/alexisvisco) for the contibution! ([#&#8203;1291](https://github.com/nats-io/nats.go/issues/1291)) - Fixed incorrect example in `jetstream/README.md`). Thanks [@&#8203;bojanz](https://github.com/bojanz) for the contribution! ([#&#8203;1295](https://github.com/nats-io/nats.go/issues/1295)) - Object Store: - Fixed leaking goroutines after calling `Put()` and `PutBytes()` ([#&#8203;1282](https://github.com/nats-io/nats.go/issues/1282)) - Flaky tests picking the used port for cluster connections ([#&#8203;1284](https://github.com/nats-io/nats.go/issues/1284), [#&#8203;1298](https://github.com/nats-io/nats.go/issues/1298)) - Division by zero fixes in bechmark tests. Thanks [@&#8203;Zamony](https://github.com/Zamony) fot the contribution! ([#&#8203;1293](https://github.com/nats-io/nats.go/issues/1293)) ##### Complete Changes ### [`v1.26.0`](https://github.com/nats-io/nats.go/releases/tag/v1.26.0) [Compare Source](https://github.com/nats-io/nats.go/compare/v1.25.0...v1.26.0) #### 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](https://github.com/nats-io/nats.go/blob/main/jetstream/README.md) ##### Added - JetStream Simplified API: - This new API overhauls whole nats.go JetStream API and will eventually deprecate the legacy JetStream client implementation. For details, visit README.md in `jetstream` directory (https://github.com/nats-io/nats.go/blob/main/jetstream/README.md) ([#&#8203;1273](https://github.com/nats-io/nats.go/issues/1273)). - JetStream: - `ConsumerName()` subscribe option to set `Name` in `ConsumerConfig` when creating a consumer ([#&#8203;1263](https://github.com/nats-io/nats.go/issues/1263)) - `SkipConsumerLookup()` subscribe option to bypass verifying if the consumer exists before consumer creation ([#&#8203;1265](https://github.com/nats-io/nats.go/issues/1265)) ##### Improved - Added [README.md](https://github.com/nats-io/nats.go/blob/main/micro/README.md) for `micro` directory ([#&#8203;1271](https://github.com/nats-io/nats.go/issues/1271)) - Refactored internal handler service monitoring setup in `micro` ([#&#8203;1240](https://github.com/nats-io/nats.go/issues/1240)) - Added [goleak](https://github.com/uber-go/goleak) to check for leaking goroutines in tests ([#&#8203;1268](https://github.com/nats-io/nats.go/issues/1268)) ##### Changed - JetStream: - Generate consumer name in `Subscribe()` when name is not provided to leverage 2.9.0 consumer create server API ([#&#8203;1261](https://github.com/nats-io/nats.go/issues/1261), [#&#8203;1263](https://github.com/nats-io/nats.go/issues/1263)) - Service API (`micro`): - Removed `api_url`and `SCHEMA` endpoint ([#&#8203;1270](https://github.com/nats-io/nats.go/issues/1270)) - Avoid producing nil metadata ([#&#8203;1242](https://github.com/nats-io/nats.go/issues/1242)) - Changed compression library for websockets ([#&#8203;1259](https://github.com/nats-io/nats.go/issues/1259)) - Reload client TLS certificates and Root CAs on reconnect ([#&#8203;1264](https://github.com/nats-io/nats.go/issues/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 ([#&#8203;1260](https://github.com/nats-io/nats.go/issues/1260)) - Fixed issue in Read where nil was returned instead of context error ([#&#8203;1260](https://github.com/nats-io/nats.go/issues/1260)) - JetStream: - Fixed flaky `TestJetStreamConcurrentQueueDurablePushConsumers` test ([#&#8203;1267](https://github.com/nats-io/nats.go/issues/1267)) - Fixed leaking goroutines in tests ([#&#8203;1268](https://github.com/nats-io/nats.go/issues/1268)) ##### Complete Changes </details> <details> <summary>stretchr/testify</summary> ### [`v1.8.4`](https://github.com/stretchr/testify/compare/v1.8.3...v1.8.4) [Compare Source](https://github.com/stretchr/testify/compare/v1.8.3...v1.8.4) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xNjAuMCIsInVwZGF0ZWRJblZlciI6IjM0LjE2MC4wIn0=-->
kjuulh force-pushed renovate/all from d4c8ec7466 to 328c379b88 2023-05-30 12:53:51 +02:00 Compare
kjuulh changed title from Update module github.com/nats-io/nats.go to v1.26.0 to Update all dependencies 2023-05-30 12:53:51 +02:00
kjuulh force-pushed renovate/all from 328c379b88 to 87e38a8989 2023-06-12 16:24:10 +02:00 Compare
kjuulh force-pushed renovate/all from 87e38a8989 to 9f965b739e 2023-06-13 21:49:35 +02:00 Compare
kjuulh force-pushed renovate/all from 9f965b739e to b23d70298d 2023-06-20 17:53:22 +02:00 Compare
kjuulh merged commit db890452d4 into main 2023-06-20 18:13:22 +02:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: kjuulh/ceen#29
No description provided.