This is a minor bug fix and improvements of NATS .NET release v2.3.3. Please check the notes below about minor breaking changes.
What's Changed
- Use string.Create when building a new inbox string by @jasper-d in #551
- Add logging enhancements and improve error handling by @mtmk in #570
- KV never set duplicate window by @scottf in #577
- Obj store empty list fixed by @Ivandemidov00 in #578
- Fetch idle timeout default fix by @mtmk in #582
Breaking Changes
-
Base64 Encoding simplification + optimization by @to11mtm in #549:
JetStream modelNATS.Client.JetStream.Models.StoredMessage
class'Data
property type changed fromstring
toReadOnlyMemory<byte>
. This is a Base64 encoded field which now is taken case of bySystem.Text.Json
library to be serialized as binary data. KV and Object store implementations are updated to use this more efficient version of the property so if you're only using these high level APIs you won't need to do any changes. Otherwise you will have to update your code to use the new type and in most cases compiler should catch the code that needs updating. -
Resolved issue of ObjStore GetInfo MTime returning 0 by @darkwatchuk in #567:
Another change to the sameNATS.Client.JetStream.Models.StoredMessage
class.Time
property is changed fromstring
toDataTimeOffset
making it easier to deal with. Again, if you're not using the model directly you should not need any changes otherwise you'd need to update your code where compiler should catch the required change for you. -
Handle various protocol errors and socket exceptions by @mtmk in #584:
This is a log level change, so you might want to update your monitoring setup if you're watching this particular log entry forNATS.Client.Core.Commands.CommandWriter
logger. We demoted socket errors (which are expected during reconnect) to a warning and changed the message slightly. Please see #584 for the exact details.
New Contributors
- @ronnieoverby made their first contribution in #576
Full Changelog: v2.3.2...v2.3.3
Nuget Package
dotnet add package NATS.Net --version 2.3.3