Changelog
Overview
This release focuses on improvements in micro
package, most notably adding a possibility to create a service with multiple endpoints.
Added
- Service API (
micro
):
Changed
- JetStream:
- Optimize
AddConsumer()
performance by not sending JS request if consumer config has not changed (#1185)
- Optimize
- Service API (
micro
):
Improved
- Check whether credentials in
nats.Connect()
are missing before using them (#1181) - Reduce the size of the bufio.Reader for message header parsing. Thanks to @thomas-long-f3 for the contribution (#1187)
- Update go version in
go.mod
to 1.18 and update go version used by Travis (#1182) - Start adopting error wrapping syntax (
%w
) in various errors (#1182) - Added note on disabling reconnect buffer on
nats.ReconnectBufSize()
(#1169) - Fix typos in comments in
micro
package. Thanks to @chenjpu for the contribution (#1171)
Fixed
- JetStream
- Pass opts to
ConsumerInfo
call inAddConsumer()
(#1176) - Use custom inbox prefix in async reply. Thanks to @guyguy333 for the contribution (#1190)
- Pass opts to