Changelog
Go Version
- 1.15.6: Both release executables and Docker images are built with this Go release.
Added
replace_durable
configuration option. When this boolean is enabled, if a connection sends a subscription request for a durable subscription that is detected as a duplicate, the server will replace the old one with the new one. Thanks to @etrochim, @adklager and @yadvlz for the feedback (#1136)
Changed
- The cluster ID is now always used in the subject of the internal subscriptions. It was already the case in clustering mode, channel partitioning, but otherwise it was a generated NUID. For consistency and helps for users wanting to set NATS permissions, the cluster ID will now be used in all modes. However, existing deployment with persistent storage will maintain their existing subjects (#1128)
Improved
- SQLStore: if the configuration option
bulk_insert_limit
under thesql{}
block, is set to anything positive, the server will do bulk message inserts (if caching is enabled) instead of individual prepared statements under a transaction. Thanks to @carr123 for the recommendation (#1140, #1142)
Fixed
- Possible race causing acknowledged messages to be redelivered (#1138)
- Do not panic on protobuf's Unmarshal errors (#1141)