Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 24, 2025

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

Release notes

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

Release v1.40.0

Changelog

Overview

This release focuses on adding support for new features from NATS Server v2.11.0. This includes:

  • Per message TTLs
  • Consumer pause and resume

Batch direct get will be released in orbit. Support for consumer priority groups will be added in the next minor release.

Added

  • JetStream:
    • Pause and resume JetStream consumer. Thanks @​yordis for the contribution (#1571)
    • Per message TTL option for JetStream publish (#1825)
    • Timeout option for async publish (#1819)
  • Service API
    • Support for disabling queue groups at service, group, and endpoint levels (#1797)
  • Core NATS:
    • ReconnectErrCB for handling failed reconnect attempts in a callback. Thanks @​sschleemilch for the contribution (#1804)

Fixed

  • JetStream
    • Invalid subscription on ordered consumer in leaderless cluster (#1808)
    • Ordered consumer not restarting on no responders (#1827)
    • Avoid ack id collision in PublishAsync (#1812)
    • Possible panic in Consumer.Fetch (#1828)
    • Use resp.Error to show NATS error in deleteMsg. Thanks @​imariman for the contribution (#1822)
  • KeyValue
    • Deadlock when fetching keys from KV while messages are deleted/purged (#1824)

Changed

  • Bump go version to 1.23 and update dependencies (#1821)

Complete Changes

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

Commits
  • 42828a0 Release v1.40.0 (#1833)
  • 6b0dbf0 Bump test server dependency to 2.11.0
  • 4ed447c [ADDED] Add per msg ttl on publish (#1825)
  • dd16477 [FIXED] Fix compiler errors after rebase
  • 99294b5 [ADDED] Pause and resume jetstream consumer (#1571)
  • aba2067 [ADDED] ReconnectErrCB and AuthErrCB + handler functions (#1804)
  • a892461 [ADDED] Timeout option for async publish (#1819)
  • 4d1a007 [ADDED] Support for disabling queue groups at service, group, and endpoint le...
  • ba95fce [FIXED] Deadlock when fetching keys from KV while messages are deleted/purged...
  • ca15abb [FIXED] Use resp.Error to show NATS error in deleteMsg (#1822)
  • 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)

@micbar
Copy link
Contributor

micbar commented Mar 25, 2025

@dependabot rebase

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

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/nats-io/nats.go-1.40.0 branch from 03e47fa to fae29f1 Compare March 25, 2025 05:58
@rhafer rhafer merged commit cb700ca into main Mar 25, 2025
51 checks passed
@rhafer rhafer deleted the dependabot/go_modules/github.com/nats-io/nats.go-1.40.0 branch March 25, 2025 07:10
@openclouders openclouders mentioned this pull request Mar 26, 2025
1 task
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.

3 participants