Releases: nats-io/nats.c
Releases · nats-io/nats.c
Release v1.6.0
Changelog
Added
- Some changes to README including the link to the documentation at the top. Thanks to @qrpike (#60, #61)
- librt on Linux via
NATS_EXTRA_LIB
variable. Thanks to @film42 (#63) - natsOptions_SetDiscoveredServersCB() to set a connection handler invoked when a new server joins the NATS Cluster (#66)
- nats_ReleaseThreadMemory() to release thread local storage from user threads invoking NATS APIs. Thanks to @dmpriso (#70)
- Ability to selectively build examples and tests. Thanks to @pritambaral for reporting the issue (#75, #79)
Improved
- Improve performance and reduce risk of server disconnecting (as a slow consumer) a connection sending messages to itself (#65)
Changed
- Moved
adapters
directory tosrc
. Thanks @dmpriso (#67) - The install is now copying headers in
$CNAKE_INSTALL_PREFIX/include/nats
(nats subdirectory added). The nats.h header copied in original location issues a message informing you to the new location and includes the correct ones. Thanks to @pritambaral for reporting the issue (#76)
Removed
Fixed
- Permissions violation handling by reporting the error to the error handler (if one set) and no longer closing the connection (#71)
- Build of examples using libevent on Windows 64 bit. Thanks to @dmpriso (#74)
- Possible crash after the library successfully reconnects (#78)
Complete Changes
Release v1.5.0
Changelog
Added
- natsConnection_GetDiscoveredServers returns the list of servers discovered after a connection has been established (#44)
- natsOptions_SkipServerVerification allows skipping server certificate verification when desired. Thanks to @shanna for the suggestion (#48)
Changed
- natsConnection_GetServers no longer returns credentials when embedded in the URL (7df9afb)
Fixed
- If natsOptions_SetURL is used, try it first on initial connect (ffe0b08)
- Fix build issue with JRuby FFI. Thanks to @abrandoned for fixing this (#42)
- Don’t define
snprintf
as_snprintf
starting at MS Visual Studio 2015. Thanks to @dbskccc for reporting this (e5531cf) - Replace use of
__FUNCTION__
with__func__
for non Windows platforms. Thanks to @andrelucas for fixing this (#49) - Don’t shuffle the entire servers pool when adding URL from INFO protocol (#51)
- On Windows: crash on exit if linked to NATS DLL and no NATS call were made. Thanks to @rFronteddu report (#55)
- Crash in
nats_updateStack
when number of frames greater than MAX_FRAMES. Thanks to @mpodanow for fixing this (#56) - Error stack growth when
natsConnection_Flush()
ornatsConnection_FlushTimeout()
repeatedly fails (#58)
Complete changes
Release v1.4.4
Changelog
Added
- Ability to compile on ARM (thanks to Joachim Bauch)
- natsOptions_UseGlobalMessageDelivery and nats_SetMessageDeliveryPoolSize to use a library message delivery thread pool instead of a thread per subscription (thanks to Ishbir Singh feedback).
- natsConnection_SubscribeTimeout and natsConnection_QueueSubscribeTimeout to create asynchronous subscriptions that can timeout (thanks to Ishbir Singh feedback).
- Client now automatically updates the cluster servers URLs (with servers at version
0.9.2
and above). - natsConnection_GetServers to get the list of known servers.
- natsOptions_IPResolutionOrder to dictate the order in which host name are resolved during connect.
Changed
- The library previously favored IPv6 addresses doing a host name resolution during the connect process. The default is now to not use a specific order and rely on the DNS resolution. You can change the order and/or select which family you want with the natsOptions_IPResolutionOrder API.
Deprecated
- natsSubscription_NoDeliveryDelay has been deprecated. It will be removed in the future.
Fixed
- Thread local cleanup was missing in some cases
- Host name that contained
[]
(for IPv6 addresses) were not correctly stripped out of the square brackets before doing host name resolution, which would cause it to fail. - On Windows, non blocking connect that will fail is now faster.
- Several issues in the connect loop logic.
Complete changes
Release v1.3.6
-Adding support for external events loops.
-New APIs
-Fixed several defects
Complete details: v1.2.10...v1.3.6
Release v1.3.3-RC
-Adding support for external events loops.
-New APIs
-Fixed several defects
Release v1.2.10
-Add ability to build the library without TLS support
-Improve performance for large messages
-Add support for token authentication
-Add support for list of URLs in natsConnection_ConnectTo() call
-Fix several defects
Release v1.2.8
Bug fixes.
Add support for SSL/TLS connection
New natsOptions setters to configure TLS connection. New APIs to get thread local last known error and simple stack trace.
Release v1.1.0
Add versioning and integration with Travis-CI.
Release v1.0.1
Fixed bugs, optimized more and added documentation.