Added API to read reply subject from micro.Request. Thanks @mcosta74 for the contribution (#1589)
Core NATS:
Added ForceReconnect method on connection for manually triggering reconnect (#1624)
Fixed
KeyValue:
Fixed invalid DiscardPolicy being set when creating a new KeyValue store using the jetstream package. Previously created KV instances will be auto-repaired when calling CreateKeyValue (#1616, #1617)
JetStream:
Fixed validation for streams, consumers and KV buckets to avoid protocol errors (#1613)
Core NATS:
Fixed ConnectedCB not being invoked when using RetryOnFailedConnect: true and the initial nats.Connect fails (#1619)
Improved
Core NATS:
Remove unnecessary allocations from readMIMEHeader (#1609)
KeyValue:
Added json tags to KeyValueConfig struct. Thanks @pricelessrabbit for the contribution (#1630)
Legacy JetStream:
Added documentation for StreamConfig in jsm.go. Thanks @kazmerdome for the contribution (#1625)
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 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)
Bumps github.com/nats-io/nats.go from 1.34.1 to 1.35.0.
Release notes
Sourced from github.com/nats-io/nats.go's releases.
Commits
1ffb3ac
Release v1.35.0 (#1632)364bbef
[ADDED] Force reconnect (#1624)833574b
[IMPROVED] Added documentation for StreamConfig in jsm.go (#1625)ff188f2
[UPDATED] Added json tags to KeyValueConfig struct to behave consistently wit...8894a27
[FIXED] Call ConnectedCB with RetryOnFailedConnect when initial conn failed (...74ba523
[IMPROVED] Example code in jetstream/README.md (#1595)7bdb629
[FIXED] Validation in jetstream and KV (#1613)9d4b227
[FIXED] Add discard policy repair logic in CreateKeyValue (#1617)fa996fc
[FIXED] KV discard policy in jetstream pkg (#1616)cdc50de
Remove unnecessary allocations fromreadMIMEHeader
(#1609)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