This release focuses on improvements to new JetStream API and Service API (micro) preview functionalities.
Added
JetStream Simplified API:
StreamNameBySubject() method for stream discovery based on provided subject (#1292)
Improved
JetStream Simplified API:
Simplified lock handling for Consume() and Messages() (#1303)
Changed
JetStream Simplified API:
[BREAKING CHANGE] Renamed AddConsumer to CreateOrUpdateConsumer. This change is introduced in anticipation for separation of create and update operations in nats-server (#1300)
[BREAKING CHANGE] Change default AckPolicy to AckPolicyExplicit (#1278)
[BREAKING CHANGE] Fixed typo in PullThresholdBytes type name (#1300)
[BREAKING CHANGE] Removed push consumer only fields from ConsumerConfig (#1300)
[BREAKING CHANGE] Removed context.Context from PublishAsync and PublishMsgAsync (#1300)
Service API (micro):
[BREAKING CHANGE] More verbose endpoint INFO schema (#1277)
Endpoint metadata was moved from STATS response to INFO response
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 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 from 1.10.0 to 1.27.1.
Release notes
Sourced from github.com/nats-io/nats.go's releases.
... (truncated)
Commits
e867644
Release v1.27.1 (#1331)1bb385f
Revert "[IMPROVED] Replace empty interface with any" (#1330)576c3b7
[IMPROVED] New JetStream client docs: Fixed unit from kB to B in documentatio...429273a
[FIXED] Creating ephemeral consumers on server < 2.9.0 (#1325)9c97784
[IMPROVED] Add note about required server version for FilterSubjects in Consu...6daa77e
[FIXED] Use custom inbox prefix on pull consumers (#1322)61b0ce9
[IMPROVED] Replace empty interface with any (#1315)24086d0
[IMPROVED] Add param names in JetStream API interfaces (#1316)ad14f4d
Merge pull request #1314 from anthonyjacques20/main00df958
[FIXED] Fix race condition in object store get with nats contextDependabot 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 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)