flyctl icon indicating copy to clipboard operation
flyctl copied to clipboard

Bump github.com/nats-io/nats.go from 1.39.1 to 1.40.1

Open dependabot[bot] opened this issue 9 months ago • 0 comments

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

Release notes

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

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

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

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

... (truncated)

Commits
  • 5efde11 Release v1.40.1 (#1836)
  • c758f7a [FIXED] Set context from option when creating consumer in js.Subscribe (#1835)
  • 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...
  • 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[bot] avatar Mar 27 '25 09:03 dependabot[bot]