Bump github.com/nats-io/nats.go from 1.40.1 to 1.41.0 #1477

Merged
dependabot[bot] merged 1 commit from refs/pull/1477/head into main 2025-04-07 16:14:06 +00:00
dependabot[bot] commented 2025-04-07 02:16:56 +00:00 (Migrated from github.com)
Owner

Imported from GitHub pull request.

Original GitHub pull request: #561
Original author: @dependabot[bot]
Original URL: https://github.com/carverauto/serviceradar/pull/561
Original created: 2025-04-07T02:16:56Z
Original updated: 2025-04-07T16:14:14Z
Original head: carverauto/serviceradar:dependabot/go_modules/github.com/nats-io/nats.go-1.41.0
Original base: main
Original merged: 2025-04-07T16:14:06Z by @mfreeman451

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

https://github.com/nats-io/nats.go/compare/v1.40.1...v1.41.0

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)
Imported from GitHub pull request. Original GitHub pull request: #561 Original author: @dependabot[bot] Original URL: https://github.com/carverauto/serviceradar/pull/561 Original created: 2025-04-07T02:16:56Z Original updated: 2025-04-07T16:14:14Z Original head: carverauto/serviceradar:dependabot/go_modules/github.com/nats-io/nats.go-1.41.0 Original base: main Original merged: 2025-04-07T16:14:06Z by @mfreeman451 --- Bumps [github.com/nats-io/nats.go](https://github.com/nats-io/nats.go) from 1.40.1 to 1.41.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/nats-io/nats.go/releases">github.com/nats-io/nats.go's releases</a>.</em></p> <blockquote> <h2>Release v1.41.0</h2> <h2>Changelog</h2> <h3>Overview</h3> <p>This release adds consumer priority groups to JetStream, exposing overflow and pinning policies. For more information on consumer priority groups, see <a href="https://github.com/nats-io/nats-architecture-and-design/blob/main/adr/ADR-42.md">ADR-42</a>.</p> <h3>Added</h3> <ul> <li>JetStream: <ul> <li>Consumer priority groups with pinned and overflow policies (<a href="https://redirect.github.com/nats-io/nats.go/issues/1826">#1826</a>)</li> <li><code>WithDefaultTimeout</code> option for JetStream API requests (<a href="https://redirect.github.com/nats-io/nats.go/issues/1843">#1843</a>)</li> </ul> </li> </ul> <h3>Fixed</h3> <ul> <li>KeyValue: <ul> <li>Ensure timer is stopped when watcher is stopped (<a href="https://redirect.github.com/nats-io/nats.go/issues/1838">#1838</a>)</li> </ul> </li> <li>ObjectStore: <ul> <li>Ensure object watcher stop closes the updates channel (<a href="https://redirect.github.com/nats-io/nats.go/issues/1844">#1844</a>)</li> </ul> </li> <li>Core NATS: <ul> <li>Data race when reading current status in <code>sub.StatusChanged</code> and <code>nc.StatusChanged</code> (<a href="https://redirect.github.com/nats-io/nats.go/issues/1841">#1841</a>)</li> <li>Reset channel after closing in <code>ForceReconnect</code> to avoid panic on subsequent <code>ForceReconnect</code> calls (<a href="https://redirect.github.com/nats-io/nats.go/issues/1842">#1842</a>, <a href="https://redirect.github.com/nats-io/nats.go/issues/1846">#1846</a>)</li> </ul> </li> </ul> <h3>Changed</h3> <h3>Improved</h3> <ul> <li>Legacy JetStream: <ul> <li>Cancel <code>Fetch</code> and <code>FetchBatch</code> on reconnect (<a href="https://redirect.github.com/nats-io/nats.go/issues/1840">#1840</a>)</li> </ul> </li> <li>JetStream: <ul> <li>Invalid default in documentation for <code>OrderedConsumerConfig.InactiveThreshold</code> (<a href="https://redirect.github.com/nats-io/nats.go/issues/1845">#1845</a>)</li> </ul> </li> <li>KeyValue: <ul> <li>Stop the watcher before performing the purge operations for <code>PurgeDeletes</code> (<a href="https://redirect.github.com/nats-io/nats.go/issues/1839">#1839</a>)</li> </ul> </li> </ul> <h3>Complete Changes</h3> <p><a href="https://github.com/nats-io/nats.go/compare/v1.40.1...v1.41.0">https://github.com/nats-io/nats.go/compare/v1.40.1...v1.41.0</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/nats-io/nats.go/commit/e040f7139e0dc179f04fd61e1dd05c5c1fd07d60"><code>e040f71</code></a> Release v1.41.0 (<a href="https://redirect.github.com/nats-io/nats.go/issues/1847">#1847</a>)</li> <li><a href="https://github.com/nats-io/nats.go/commit/9d1be0347ae40120e498af51ced9a2c602747a03"><code>9d1be03</code></a> [FIXED] Ensure object watcher stop closes the updates channel (<a href="https://redirect.github.com/nats-io/nats.go/issues/1844">#1844</a>)</li> <li><a href="https://github.com/nats-io/nats.go/commit/93f7ce4c36b154718ed7f523b0e6abf1d078b43c"><code>93f7ce4</code></a> [ADDED] Consumer groups with Pinned and Overflow (<a href="https://redirect.github.com/nats-io/nats.go/issues/1826">#1826</a>)</li> <li><a href="https://github.com/nats-io/nats.go/commit/11ef8991f8cbf31dbc60944d66b81d90f0a9afbe"><code>11ef899</code></a> [FIXED] Invalid default in documentation for OrderedConsumerConfig.InactiveTh...</li> <li><a href="https://github.com/nats-io/nats.go/commit/495ec602cedac91ed27c9b1ef6b0b41974aa0dbd"><code>495ec60</code></a> [ADDED] DefaultTimeout option for JetStream API requests (<a href="https://redirect.github.com/nats-io/nats.go/issues/1843">#1843</a>)</li> <li><a href="https://github.com/nats-io/nats.go/commit/1b400306752167753c26b937b3165b2b890d6f74"><code>1b40030</code></a> [FIXED] Initialize rqch channel for immediate reconnection on ForceReconnect ...</li> <li><a href="https://github.com/nats-io/nats.go/commit/f73b0c639af7058158724d604f8001a4c5695834"><code>f73b0c6</code></a> [FIXED] Cancel Fetch and FetchBatch on reconnect (<a href="https://redirect.github.com/nats-io/nats.go/issues/1840">#1840</a>)</li> <li><a href="https://github.com/nats-io/nats.go/commit/77bc576c61e0f6ed21b20d30607ff12b8b8983d0"><code>77bc576</code></a> [FIXED] Reset channel after closing in ForceReconnect (<a href="https://redirect.github.com/nats-io/nats.go/issues/1842">#1842</a>)</li> <li><a href="https://github.com/nats-io/nats.go/commit/ea6006302a4888f6049cfa764e62631f3e998d63"><code>ea60063</code></a> [FIXED] Data race when reading current status in sub.StatusChanged and nc.Sta...</li> <li><a href="https://github.com/nats-io/nats.go/commit/6e95a6ad29a47e74fb4d5be102a9ee3ba1714ea9"><code>6e95a6a</code></a> Revert &quot;[ADDED] DefaultTimeout option for JetStream API requests&quot;</li> <li>Additional commits viewable in <a href="https://github.com/nats-io/nats.go/compare/v1.40.1...v1.41.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/nats-io/nats.go&package-manager=go_modules&previous-version=1.40.1&new-version=1.41.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) </details>
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
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
carverauto/serviceradar!1477
No description provided.