Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps github.com/nats-io/nats.go from 1.39.1 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

... (truncated)

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)

Bumps [github.com/nats-io/nats.go](https://github.com/nats-io/nats.go) from 1.39.1 to 1.41.0.
- [Release notes](https://github.com/nats-io/nats.go/releases)
- [Commits](nats-io/nats.go@v1.39.1...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] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Apr 5, 2025
@dependabot dependabot bot requested a review from whynowy as a code owner April 5, 2025 12:26
@github-actions github-actions bot enabled auto-merge (squash) April 5, 2025 12:26
@github-actions github-actions bot merged commit cab302e into master Apr 5, 2025
7 checks passed
@github-actions github-actions bot deleted the dependabot/go_modules/github.com/nats-io/nats.go-1.41.0 branch April 5, 2025 12:45
whynowy pushed a commit that referenced this pull request Apr 6, 2025
…3547)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants