github nats-io/nats.net v3.0.0-preview.9
NATS .NET v3.0.0-preview.9

pre-releaseone day ago

NuGet

Ninth preview of NATS .NET 3.0. Request-reply now defaults to Direct mode, and subscriptions and consumers can be drained explicitly.

Heads-up: the default request-reply mode is now NatsRequestReplyMode.Direct (previously SharedInbox). Direct uses the same inbox prefix but skips per-reply muxer processing, making RequestAsync more resource-efficient. At the default it still throws NatsNoRespondersException on a no-responders reply, so existing RequestAsync behavior is preserved. If you already set RequestReplyMode explicitly to either mode, nothing changes for you. To keep the old default mechanism, set NatsOpts.RequestReplyMode = NatsRequestReplyMode.SharedInbox.

3.0-only changes:

  • Default request-reply to Direct mode (#1182)
  • Add explicit subscription and consumer drain (#1177)
  • Unify subscription channel overflow defaults (#1181)
  • Deprecate SkipSubjectValidation (#1180)
  • Fix OTel server.port tag type and source (#1175)

Also from the 2.x line:

  • Bump MessagePack 3.1.1 -> 3.1.7 (#1183)

Full Changelog: v3.0.0-preview.8...v3.0.0-preview.9

Don't miss a new nats.net release

NewReleases is sending notifications on new releases.