nats-io/nats-server (github.com/nats-io/nats-server/v2)
### [`v2.10.7`](https://togithub.com/nats-io/nats-server/releases/tag/v2.10.7)
[Compare Source](https://togithub.com/nats-io/nats-server/compare/v2.10.6...v2.10.7)
#### Changelog
Refer to the [2.10 Upgrade Guide](https://docs.nats.io/release-notes/whats_new/whats_new\_210) for backwards compatibility notes with 2.9.x.
##### Go Version
- 1.21.5
##### Dependencies
- github.com/klauspost/compress v1.17.4
- golang.org/x/crypto v0.16.0
- golang.org/x/sys v0.15.0
- golang.org/x/time v0.5.0
##### Improved
JetStream
- Increase minimum interval for full index.db state writes to reduce contention for high-speed ingest in large streams ([#4858](https://togithub.com/nats-io/nats-server/issues/4858))
##### Fixed
JetStream
- Corruption of per-subject tracking on recover of bad or missing index.db ([#4851](https://togithub.com/nats-io/nats-server/issues/4851)) Thanks to [@oscarwcl](https://togithub.com/oscarwcl) for the report!
- Prevent GetSeqFromTime panic in memstore if the last sequence was deleted ([#4853](https://togithub.com/nats-io/nats-server/issues/4853)) Thanks to [@andreib1](https://togithub.com/andreib1) for the report!
- Protect against bad consumer state and high-memory usage during rollback ([#4857](https://togithub.com/nats-io/nats-server/issues/4857))
##### Complete Changes
### [`v2.10.6`](https://togithub.com/nats-io/nats-server/releases/tag/v2.10.6)
[Compare Source](https://togithub.com/nats-io/nats-server/compare/v2.10.5...v2.10.6)
#### Changelog
Refer to the [2.10 Upgrade Guide](https://docs.nats.io/release-notes/whats_new/whats_new\_210) for backwards compatibility notes with 2.9.x.
##### Go Version
- 1.21.4
##### Dependencies
- github.com/klauspost/compress v1.17.3
##### Improved
JetStream
- Added in internal filestore state checks on write and recover ([#4804](https://togithub.com/nats-io/nats-server/issues/4804))
- Reduce memory usage for streams with a large subject space ([#4806](https://togithub.com/nats-io/nats-server/issues/4806))
- Only gather subject filters if we need them ([#4820](https://togithub.com/nats-io/nats-server/issues/4820)) Thanks to [@svenfoo](https://togithub.com/svenfoo) for the contribution!
- Add pre-check when expected-last-subject-sequence header is present ([#4827](https://togithub.com/nats-io/nats-server/issues/4827))
- Avoid resetting WAL in RAFT layer if we already processed the message ([#4830](https://togithub.com/nats-io/nats-server/issues/4830))
Monitoring
- Remove `ocsp_peer_cache` from `varz` response when not applicable ([#4829](https://togithub.com/nats-io/nats-server/issues/4829))
##### Fixed
JetStream
- Only drop firstSeq under DiscardOld policy ([#4802](https://togithub.com/nats-io/nats-server/issues/4802)) Thanks to [@davidmcote](https://togithub.com/davidmcote) for the report and contribution!
- Do not allow consumers to be updated if they have been deleted ([#4818](https://togithub.com/nats-io/nats-server/issues/4818)) Thanks to [@matevzmihalic](https://togithub.com/matevzmihalic) for the report!
- Fix potential race when starting the consumer monitor ([#4828](https://togithub.com/nats-io/nats-server/issues/4828))
- Fix race condition in debug print ([#4833](https://togithub.com/nats-io/nats-server/issues/4833))
MQTT
- Fix typo in README ([#4791](https://togithub.com/nats-io/nats-server/issues/4791)) Thanks to [@testwill](https://togithub.com/testwill) for the contribution!
- Improved large number of MQTT clients on reconnect with retain messages and larger scoped subscriptions ([#4810](https://togithub.com/nats-io/nats-server/issues/4810))
WebSockets
- Fix potential data race in overlapping re-use of buffers ([#4811](https://togithub.com/nats-io/nats-server/issues/4811)) Thanks to [@oscarwcl](https://togithub.com/oscarwcl) for the report!
##### Complete Changes
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
v2.10.5
->v2.10.7
Release Notes
nats-io/nats-server (github.com/nats-io/nats-server/v2)
### [`v2.10.7`](https://togithub.com/nats-io/nats-server/releases/tag/v2.10.7) [Compare Source](https://togithub.com/nats-io/nats-server/compare/v2.10.6...v2.10.7) #### Changelog Refer to the [2.10 Upgrade Guide](https://docs.nats.io/release-notes/whats_new/whats_new\_210) for backwards compatibility notes with 2.9.x. ##### Go Version - 1.21.5 ##### Dependencies - github.com/klauspost/compress v1.17.4 - golang.org/x/crypto v0.16.0 - golang.org/x/sys v0.15.0 - golang.org/x/time v0.5.0 ##### Improved JetStream - Increase minimum interval for full index.db state writes to reduce contention for high-speed ingest in large streams ([#4858](https://togithub.com/nats-io/nats-server/issues/4858)) ##### Fixed JetStream - Corruption of per-subject tracking on recover of bad or missing index.db ([#4851](https://togithub.com/nats-io/nats-server/issues/4851)) Thanks to [@oscarwcl](https://togithub.com/oscarwcl) for the report! - Prevent GetSeqFromTime panic in memstore if the last sequence was deleted ([#4853](https://togithub.com/nats-io/nats-server/issues/4853)) Thanks to [@andreib1](https://togithub.com/andreib1) for the report! - Protect against bad consumer state and high-memory usage during rollback ([#4857](https://togithub.com/nats-io/nats-server/issues/4857)) ##### Complete Changes ### [`v2.10.6`](https://togithub.com/nats-io/nats-server/releases/tag/v2.10.6) [Compare Source](https://togithub.com/nats-io/nats-server/compare/v2.10.5...v2.10.6) #### Changelog Refer to the [2.10 Upgrade Guide](https://docs.nats.io/release-notes/whats_new/whats_new\_210) for backwards compatibility notes with 2.9.x. ##### Go Version - 1.21.4 ##### Dependencies - github.com/klauspost/compress v1.17.3 ##### Improved JetStream - Added in internal filestore state checks on write and recover ([#4804](https://togithub.com/nats-io/nats-server/issues/4804)) - Reduce memory usage for streams with a large subject space ([#4806](https://togithub.com/nats-io/nats-server/issues/4806)) - Only gather subject filters if we need them ([#4820](https://togithub.com/nats-io/nats-server/issues/4820)) Thanks to [@svenfoo](https://togithub.com/svenfoo) for the contribution! - Add pre-check when expected-last-subject-sequence header is present ([#4827](https://togithub.com/nats-io/nats-server/issues/4827)) - Avoid resetting WAL in RAFT layer if we already processed the message ([#4830](https://togithub.com/nats-io/nats-server/issues/4830)) Monitoring - Remove `ocsp_peer_cache` from `varz` response when not applicable ([#4829](https://togithub.com/nats-io/nats-server/issues/4829)) ##### Fixed JetStream - Only drop firstSeq under DiscardOld policy ([#4802](https://togithub.com/nats-io/nats-server/issues/4802)) Thanks to [@davidmcote](https://togithub.com/davidmcote) for the report and contribution! - Do not allow consumers to be updated if they have been deleted ([#4818](https://togithub.com/nats-io/nats-server/issues/4818)) Thanks to [@matevzmihalic](https://togithub.com/matevzmihalic) for the report! - Fix potential race when starting the consumer monitor ([#4828](https://togithub.com/nats-io/nats-server/issues/4828)) - Fix race condition in debug print ([#4833](https://togithub.com/nats-io/nats-server/issues/4833)) MQTT - Fix typo in README ([#4791](https://togithub.com/nats-io/nats-server/issues/4791)) Thanks to [@testwill](https://togithub.com/testwill) for the contribution! - Improved large number of MQTT clients on reconnect with retain messages and larger scoped subscriptions ([#4810](https://togithub.com/nats-io/nats-server/issues/4810)) WebSockets - Fix potential data race in overlapping re-use of buffers ([#4811](https://togithub.com/nats-io/nats-server/issues/4811)) Thanks to [@oscarwcl](https://togithub.com/oscarwcl) for the report! ##### Complete ChangesConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.