Changelog
Go Version
- 1.16.6: Both release executables and Docker images are built with this Go release.
Added
ReloadOptions
API to support configuration reload without use of configuration file for embedded cases. Thanks to @taigrr for the contribution (#2341)Kind
andClientType
to account CONNECT/DISCONNECT events. Thanks to @mullerch for the report (#2351)- JetStream:
Changed
- Default account fetch timeout to be smaller than client timeout to increase probability of getting the
Authorization Violation
error instead of ai/o timeout
error when credentials of an account has not yet been pushed to the account server (#2365) - Executable symbol table no longer stripped. Thanks to @yzhao1012 and @justicezyx for the contribution (#2383)
Improved
- TLS timeout in configuration file parsing now accept units, such as "2s" for 2 seconds (#2364)
- JetStream:
- Server restart time with many expired messages (#2387)
Fixed
- JetStream:
- A data race on JetStream shutdown (#2353)
- In clustered mode, the maximum consumers limit was not always applied for ephemeral consumers (#2354)
- Consumer's
NumPending
may be stuck at 1 (#2357) - Removed a stack print that may appear in some cases since v2.3.1 (#2362)
- Possible subscription leak when processing service imports and processing of pull subscribers (#2373)
- Unique server name requirement across domains (#2378)
- A clustered consumer on an interest retention policy could cause the server to panic when the consumer was being deleted (#2382)
- Allow non-JS leafnode(s) to access a HUB transparently (#2393)
- A stream with un-acknowledged messages would not redeliver new un-acknowledged messages following a purge. Thanks to @sloveridge for the report (#2394)
- Subscription on a subject that is not a subset of a wildcard import. Thanks to @DamianoChini for the report (#2369)
- OCSP issue in embedded cases when the TLS configuration did not set the certificate Leaf (#2376)