Sourced from github.com/nats-io/nats.go's releases.
v1.38.0
Changelog
Added
- Core NATS:
- Added
UserInfoHandler
for dynamically setting user/password (#1713)- Added
PermissionErrOnSubscribe
option, causingSubscribeSync
to returnnats.ErrPermissionViolation
onNextMsg()
if there was a permission error (#1728)- Added
Msgs()
method onSubscription
, returning an iterator (iter.Seq2[*nats.Msg, error]
) for the subscription. This method is only available for go version >=1.23 (#1728)- KeyValue:
- Added
WatchFiltered
method to watch for updates with multiple filters (#1739)Fixed
- Core NATS:
- Fixed closing connections on max subscriptions exceeded (#1709)
- Removed redundant nil checks. Thanks
@ramonberrutti
for the contribution (#1751)- Add missing nats prefix to error (#1753)
- JetStream:
- Legacy JetStream:
- Fixed race condition in
MessageBatch
(#1743)Changed
- Legacy Jetstream:
- Added client retry for jetstream async publish old API. Thanks
@pranavmehta94
for the contribution (#1695)Improved
- Moved CI to github actions (#1623, #1716)
- Use errors.New instead of fmt.Errorf to improve efficiency. Thanks
@canack
for the contribution (#1707)- Fixed invalid schemas in Service API documentation (#1720)
- Added mention of TTL reset in
kv.Update
method. Thanks@fmontorsi-equinix
for the contribution (#1727)- Updated installation commands in
README.md
(#1745)- Bump
nkeys
to v0.4.9 (#1750)Complete Changes
https://github.com/nats-io/nats.go/compare/v1.37.0...v1.38.0
48391f1
Release v1.38.0 (#1754)6f4e85a
[FIXED] Add missing nats prefix to error (#1753)074c819
[FIXED] twice respMap nil check (#1751)d6eaa84
[ADDED] Creating iterators for sync subscriptions (#1728)6bc4159
[FIXED] Race in MessageBatch (#1743)d05f24a
Bump nkeys to 0.4.7 (#1750)01fafde
[IMPROVED] Update installation commands (#1745)f563c66
[FIXED] Do not overwrite ordered consumer deliver policy if start time
is set...e963b77
[ADDED] WatchFiltered method on KV (#1739)4530ef6
[FIXED] Invalid fetch sequence in ordered consumer Fetch and Next after
timeo...Sourced from github.com/onsi/ginkgo/v2's releases.
v2.22.1
2.22.1
Fixes
Fix CSV encoding
- Update tests [aab3da6]
- Properly encode CSV rows [c09df39]
- Add test case for proper csv escaping [96a80fc]
- Add meta-test [43dad69]
Maintenance
- ensure *.test files are gitignored so we don't accidentally commit compiled tests again [c88c634]
- remove golang.org/x/net/context in favour of stdlib context [4df44bf]
Sourced from github.com/onsi/ginkgo/v2's changelog.
2.22.1
Fixes
Fix CSV encoding
- Update tests [aab3da6]
- Properly encode CSV rows [c09df39]
- Add test case for proper csv escaping [96a80fc]
- Add meta-test [43dad69]
Maintenance
- ensure *.test files are gitignored so we don't accidentally commit compiled tests again [c88c634]
- remove golang.org/x/net/context in favour of stdlib context [4df44bf]
a0190b7
v2.22.14df44bf
remove golang.org/x/net/context in favour of stdlib contextc88c634
ensure *.test files are gitignored so we don't accidentally commit
compiled t...aab3da6
Update testsc09df39
Properly encode CSV rows96a80fc
Add test case for proper csv escaping43dad69
Add meta-test