github nats-io/nats.net v2.0.2-preview.2
NATS.Net v2.0.2-preview.2

latest releases: v2.5.5, v2.5.4, v2.5.3...
pre-release13 months ago

This is a preview release of a few small features and bug fixes.

  • Support for slow consumer events
  • Improvements to TLS certificate options
  • Support for unit testing improvements with the introduction of optional INatsMsg<T> and INatsJSMsg<T> interfaces.

What's Changed

Full Changelog: v2.0.2-preview.1...v2.0.2-preview.2

Big thanks to our contributors @stebet, @paulomf and @to11mtm. You all rock! 🥇

Breaking changes

  • Renamed INatsObjContext CreateObjectStore() method to CreateObjectStoreAsync()
  • Slow consumers now will drop messages and raises an event when that happens. You can handle these events or if you need the old behaviour you can set SubPendingChannelFullMode to BoundedChannelFullMode.Wait in NatsOpts.

Give us a shout if you have any questions either on slack.nats.io dotnet channel or here on GitHub!

Don't forget to check out the documentation for guides and examples.

Happy coding! ❤️

Nuget Packages

NATS.Net

This is the main meta package containing all other packages except serialization.

dotnet add package NATS.Net --version 2.0.2-preview.2

If you are not deploying Native AOT you can also use ad-hoc JSON serialization:

dotnet add package NATS.Client.Serializers.Json --version 2.0.2-preview.2

Individual Packages

dotnet add package NATS.Client.Core --version 2.0.2-preview.2
dotnet add package NATS.Client.Hosting --version 2.0.2-preview.2
dotnet add package NATS.Client.JetStream --version 2.0.2-preview.2
dotnet add package NATS.Client.KeyValueStore --version 2.0.2-preview.2
dotnet add package NATS.Client.ObjectStore --version 2.0.2-preview.2
dotnet add package NATS.Client.Services --version 2.0.2-preview.2
dotnet add package NATS.Client.Serializers.Json --version 2.0.2-preview.2

Don't miss a new nats.net release

NewReleases is sending notifications on new releases.