Releases: nats-io/nats.c
Releases · nats-io/nats.c
Release v3.9.1
v3.9.0
Added
js_PauseConsumer
support (also changed jsConsumerConfig, jsCo… by @levb in #726- Expose
MaxPendingBytes
on thenatsOptions
by @LaurensVergote in #700 kvStore_WatchMulti
,js_Subscribe[Sync]Multi
by @levb in #750natsConnection_Reconnect
by @levb in #757- Support %-encoded username/password in server URLs by @levb in #765
- Support linking with MinGW toolchains on Linux by @XJ-0461 in #763
- TLS:
natsOptions_TLSHandshakeFirst()
by @kozlovic in #780 - Adding SNI extension if available by @thierryba in #787
- Add filtering to KV method returning all keys by @saurabhojha in #797
js_PullSubscribeAsync
by @levb in #785- [BREAKING] Services: queue group now configurable and can be disabled by @levb in #800
nats_GetJWTOrSeed
to understand Windows \r\n lines by @levb in #801
Fixed
- Moved micro_args to examples by @levb in #731
- Modify JetStream examples (Add comments to SubjectsLen) by @pch-blog in #734
- Build: issue on Android with
NATS_EXTRA_LIB
by @kozlovic in #739 - GH-738, do not prefix endpoint name with the group prefix by @levb in #741
- GH-736: added extern to micro_Errors by @levb in #743
- Fix heap buffer overflow in _fetch by @tyler92 in #749
- Improve Windows build support by @mtmk in #760
- refactored nats.c, prep for
js_PullSubscribeAsync
by @levb in #778 - Fixing setting handshake_first without setting secure in the natsOptions by @thierryba in #789
Non-code changes
- [ADDED] GitHub action to update docs by @levb in #720
- [FIXED] doxygen GH action skip ci, include release_* by @levb in #725
- [FIXED] More fixes for doxygen autoupdate by @levb in #729
- [FIXED] flapping test: Test_KeyValueMirrorCrossDomains by @levb in #747
- [ADDED] Build with GitHub actions by @levb in #748
- [CI only]: Nightly test server main, latest release by @levb in #751
- [TEST only] increased Test_KeyValueMirrorCrossDomains timeout value by @levb in #753
- [CI only] Adjusted coverage targets/thresholds by @levb in #752
- [CI only] run tests once, not x3 except for main, release by @levb in #759
- [TEST ONLY] Fixed Test_JetStreamSubscribeIdleHeartbeat by @levb in #764
- [CI only] Skip codecov for forks until they resolve tokenless uploads… by @levb in #768
- [FIXED] cleaning up sanitize=thread found several races by @levb in #771
- benchmark for SubscribeAsync by @levb in #774
- Fixed test_JetStreamInfoAlternates flapper by @kozlovic in #775
- [CHANGED] sub benchmark tuned by @levb in #777
- Fixed flappers and test_SSLHandshakeFirst by skipping if server is < 2.10.0 by @kozlovic in #784
- Fixed test SSLVerifyHostName when build NATS_FORCE_HOST_VERIFICATION=OFF by @kozlovic in #788
- nats.c is available on conan.io/center by @mathi-m in #791
- [TEST ONLY] test fixes for 2.11 server changes by @levb in #798
New Contributors
- @github-actions made their first contribution in #732
- @pch-blog made their first contribution in #734
- @LaurensVergote made their first contribution in #700
- @mtmk made their first contribution in #760
- @XJ-0461 made their first contribution in #763
- @thierryba made their first contribution in #787
- @mathi-m made their first contribution in #791
- @saurabhojha made their first contribution in #797
Full Changelog: v3.8.0...v3.9.0
Release v3.8.3
Changes
- Fix heap buffer overflow in _fetch #749
- Changed "Ws2_32" to "ws2_32" for MinGW compatibility with no adverse e…#763
- Changed
nats_GetJWTOrSeed
to understand Windows \r\n lines #801
Test-only changes
- Fixed flapping test: Test_KeyValueMirrorCrossDomains #747
- Increased Test_KeyValueMirrorCrossDomains timeout value #753
- Fixed Test_JetStreamSubscribeIdleHeartbeat #764
- Test fixes for 2.11 server changes #798
Full Changelog: v3.8.2...v3.8.3
v3.8.2
Fixed
- Moved micro_args to examples by @levb in #731
- [FIXED] Build: issue on Android with NATS_EXTRA_LIB by @kozlovic in #739
- [FIXED] GH-786, do not prefix endpoint name with the group prefix by @levb in #741
- [FIXED] GH-736: added extern to micro_Errors by @levb in #743
Full Changelog: v3.8.0...v3.8.2
v3.8.0
Added
Fixed
- nuid: use unsigned intermediate to avoid left shift undefined behavior by @torque in #686
- Resolve a linking error related to outdated functions in the OpenSSL library by @davidhov in #681
- Fix link to Homebrew formula by @methvind in #703
- [FIXED] natsConnection_Connect can get stuck and consume all memory by @kozlovic in #707
- [FIXED] Random authentication error due to missing signature by @tyler92 in #705
- [FIXED] Build: Centos issue with pthread by @kozlovic in #710
- [FIXED] Missing NATS_EXTERN in nats.h for some functions. by @kozlovic in #715
Non-code changes
- [CHANGED] Updated dependencies.md by @levb in #685
- Simplify and relax issue forms further by @bruth in #688
- [CHANGED] Updated maintainers.md by @levb in #687
- Fix dependencies formatting by @Jarema in #689
- Disable a Travis-ci matrix run until Ubuntu bug resolved by @kozlovic in #708
- Fixed download of NATS Server for latest/main by @kozlovic in #711
New Contributors
- @torque made their first contribution in #686
- @davidhov made their first contribution in #681
- @biot2 made their first contribution in #694
- @Jarema made their first contribution in #689
- @methvind made their first contribution in #703
- @tyler92 made their first contribution in #705
Full Changelog: v3.7.0...v3.8.0
Release v3.7.0
Changelog
Added
- NATS Server V2.10 feature support #682, #679
- Added
Metadata
tojsStreamConfig
andjsConsumerConfig
- Added
Compression
,FirstSeq
,SubjectTransforms
,ConsumerLimits
tojsStreamConfig
- Added
SubjectTransforms
tojsStreamSourceInfo
- Added (multiple)
jsConsumerConfig.FilterSubjects
- Added
- NATS Microservice framework #640
Fixed
- Possible crash in async error handler if subscription was destroyed #659
- Missing connection status check causing unexpected delay during connection close #654 (thx @kolomenkin)
- nit: conn.c: _doReconnect: remove redundant assignment #651 (thx @kolomenkin)
- natsConnection_Buffered: fix returned value in case of error #650 (thx @kolomenkin)
- natsConnection_RequestMsg() incorrectly returns NATS_NO_SERVER_SUPPORT #645
- Test fixes #655, #643
Complete Changes
Release v3.6.1
Changelog
Fixed
- Bytes accounting while reading the INFO protocol. Thanks to @dmitrmax for the contribution (#632)
natsConnection_GetConnectedUrl()
not working during reconnect. Thanks to @Kazmirchuk for the report (#636)- Crash processing inbound message for destroyed subscription. Thanks to @fran6co for the report (#638)
- JetStream:
Complete Changes
Release v3.6.0
Changelog
Changed
- Build
- Deprecated
NATS_BUILD_TLS_USE_OPENSSL_1_1_API
CMake variable. From a fresh CMake build environment, the build will now assume building against OpenSSL 1.1+ (assuming building with TLS is not disabled). Thanks to @wolfkor for the feedback (#617) - Removed git submodule cmake-coveralls since it was causing Travis' "Log Scans" reports (#629)
- Deprecated
- Every connection will now have a default connection error handler (if none is set by the user) that prints the error on
stderr
(#625)
Added
natsOptions_SetUserCredentialsFromMemory
option to set the user JWT from memory instead of files. Thanks to @MichaelVoelkel for the contribution (#621)natsOptions_SetMessageBufferPadding
that adds padding when allocating buffer for incoming messages. Thanks to @dmitrmax for the contribution (#624)
Fixed
- Use
unsigned char
for<ctype.h>
functions where appropriate. Thanks to @sebhub for the contribution (#627)
Complete Changes
Release v3.5.0
Release v3.4.1
Changelog
Fixed
- JetStream:
- Removed unnecessary
ifdef
in_makeTLSConn
. Thanks to @npes87184 for the contribution (#597) - The library would reconnect to an implicit NATS Server (one that is discovered with gossip protocol) without using the user's provided username/password present in the server URL(s). The option
natsOptions_SetUserInfo()
was normally recommended for that case, but with the server ability to be configured with ano_auth_user
, the past behavior was leading to very hard issues to investigate. Thanks to @kino71 and @julio77it for the report (#603)