Skip to content

Bump github.com/nats-io/nats.go from 1.40.0 to 1.41.0 #2599

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

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 7, 2025

Bumps github.com/nats-io/nats.go from 1.40.0 to 1.41.0.

Release notes

Sourced from github.com/nats-io/nats.go's releases.

Release v1.41.0

Changelog

Overview

This release adds consumer priority groups to JetStream, exposing overflow and pinning policies. For more information on consumer priority groups, see ADR-42.

Added

  • JetStream:
    • Consumer priority groups with pinned and overflow policies (#1826)
    • WithDefaultTimeout option for JetStream API requests (#1843)

Fixed

  • KeyValue:
    • Ensure timer is stopped when watcher is stopped (#1838)
  • ObjectStore:
    • Ensure object watcher stop closes the updates channel (#1844)
  • Core NATS:
    • Data race when reading current status in sub.StatusChanged and nc.StatusChanged (#1841)
    • Reset channel after closing in ForceReconnect to avoid panic on subsequent ForceReconnect calls (#1842, #1846)

Changed

Improved

  • Legacy JetStream:
    • Cancel Fetch and FetchBatch on reconnect (#1840)
  • JetStream:
    • Invalid default in documentation for OrderedConsumerConfig.InactiveThreshold (#1845)
  • KeyValue:
    • Stop the watcher before performing the purge operations for PurgeDeletes (#1839)

Complete Changes

nats-io/nats.go@v1.40.1...v1.41.0

Release v1.40.1

Changelog

Overview

This release fixes an issue in legacy JetStream Subscribe which did not respect user-set context when creating a consumer.

FIXED

  • Legacy JetStream:
    • Set context from option when creating consumer in js.Subscribe (#1835)

Complete Changes

nats-io/nats.go@v1.40.0...v1.40.1

Commits
  • e040f71 Release v1.41.0 (#1847)
  • 9d1be03 [FIXED] Ensure object watcher stop closes the updates channel (#1844)
  • 93f7ce4 [ADDED] Consumer groups with Pinned and Overflow (#1826)
  • 11ef899 [FIXED] Invalid default in documentation for OrderedConsumerConfig.InactiveTh...
  • 495ec60 [ADDED] DefaultTimeout option for JetStream API requests (#1843)
  • 1b40030 [FIXED] Initialize rqch channel for immediate reconnection on ForceReconnect ...
  • f73b0c6 [FIXED] Cancel Fetch and FetchBatch on reconnect (#1840)
  • 77bc576 [FIXED] Reset channel after closing in ForceReconnect (#1842)
  • ea60063 [FIXED] Data race when reading current status in sub.StatusChanged and nc.Sta...
  • 6e95a6a Revert "[ADDED] DefaultTimeout option for JetStream API requests"
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Apr 7, 2025
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/nats-io/nats.go-1.41.0 branch from 2cc7a22 to 1cba0cc Compare April 8, 2025 15:43
@mihaimaruseac
Copy link
Collaborator

@dependabot rebase

Bumps [github.com/nats-io/nats.go](https://github.com/nats-io/nats.go) from 1.40.0 to 1.41.0.
- [Release notes](https://github.com/nats-io/nats.go/releases)
- [Commits](nats-io/nats.go@v1.40.0...v1.41.0)

---
updated-dependencies:
- dependency-name: github.com/nats-io/nats.go
  dependency-version: 1.41.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/nats-io/nats.go-1.41.0 branch from 1cba0cc to 9df89a9 Compare April 9, 2025 17:54
@kodiakhq kodiakhq bot merged commit a584d7b into main Apr 9, 2025
9 checks passed
@kodiakhq kodiakhq bot deleted the dependabot/go_modules/github.com/nats-io/nats.go-1.41.0 branch April 9, 2025 22:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file go Pull requests that update Go code size/XS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant