Bump github.com/nats-io/nats.go from 1.39.1 to 1.40.1
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
Subscribewhich 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:
- Service API
- Support for disabling queue groups at service, group, and endpoint levels (#1797)
- Core NATS:
ReconnectErrCBfor handling failed reconnect attempts in a callback. Thanks@sschleemilchfor 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.Errorto show NATS error indeleteMsg. Thanks@imarimanfor 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
5efde11Release v1.40.1 (#1836)c758f7a[FIXED] Set context from option when creating consumer in js.Subscribe (#1835)42828a0Release v1.40.0 (#1833)6b0dbf0Bump test server dependency to 2.11.04ed447c[ADDED] Add per msg ttl on publish (#1825)dd16477[FIXED] Fix compiler errors after rebase99294b5[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 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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)