1.17.6: Both release executables and Docker images are built with this Go release.
Added
JetStream:
Ability to get per-subject details via StreamInfo responses. The request needs to include a subjects_filter:<subject> for the server to include the list. The StreamInfo structure now has NumSubjects that will always be set, but optionally Subjects which contains the list of distincts subjects present in the stream with the count of messages per subject (#2833)
Removed
Dynamic account behaviors. The server option AllowNewAccounts and function NewAccountsAllowed() have been removed. Note that the option could only be set for applications embedding the NATS Server since configuration parsing was not parsing this option (#2840)
Fixed
JetStream:
Adding streams may fail with "insufficient resources" in some cases (#2824)
Possible panic when attempting to update a push consumer by removing the deliver subject (#2829)
Consumer updates were not updated on disk and would be reverted after a server restart. Thanks to @oliverpool for the report (#2830)
Behavior of a stream when MaxMsgsPerSubject is set along with DiscardNew discard policy. Unless the stream is reaching a limit, old messages will be removed on a per-subject basis (#2831)
A pull request no_wait:true without expiration was not considering redeliveries (#2832)
BackOff redeliveries would always use the first delay from the list if the consumer's sequence was not matching the stream sequence (#2834)
Under certain scenarios, the number of pending messages (unprocessed messages reported by the NATS CLI) for a consumer could appear to get stuck at 0 (#2835)
When a consumer had no filtered subject and was attached to an interest policy retention stream, the server could incorrectly drop messages (#2838)
1.17.6: Both release executables and Docker images are built with this Go release.
Added
JetStream:
Support for a delay when Nak'ing a message (#2812)
Support for a backoff list of times in the consumer configuration (#2812)
Monitoring:
Replication lag metrics added to the jsz endpoint. Thanks to @mattstep for the contribution (#2791)
/healthz endpoint which will return 200 with {status: ok} if and only if all configured ports are opened and, if JetStream is configured, there is contact with the meta leader and is current and all streams are up to date, otherwise returns 503 with { "status": "unavailable", "error": "DESCRIPTION" } body (#2815)
Fixed
JetStream:
... (truncated)
Commits
135475b Merge pull request #2841 from nats-io/release_2_7_2
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)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/nats-io/nats-kafka/network/alerts).
Bumps github.com/nats-io/nats-server/v2 from 2.2.6 to 2.7.2.
Release notes
Sourced from github.com/nats-io/nats-server/v2's releases.
... (truncated)
Commits
135475b
Merge pull request #2841 from nats-io/release_2_7_26d92051
Release v2.7.2664e8b9
Merge pull request #2840 from nats-io/dyn_acca0a2e32
Remove dynamic account behaviors.d3f78de
Merge pull request #2833 from nats-io/si_subjects5da0453
Add in NumSubjects to StreamInfo6a3cf0f
Added in ability to get number of subjects from StreamInfo, and optionally de...2ed7a81
Merge pull request #2838 from nats-io/issue_283612f5ea3
When a consumer had not filtered subject and was attached to a interest polic...a55efc4
Merge pull request #2837 from nats-io/corrupt_flapperDependabot 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) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/nats-io/nats-kafka/network/alerts).