Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 22, 2025

Updated NATS.Net from 2.6.11 to 2.7.0.

Release notes

Sourced from NATS.Net's releases.

2.7.0

We are excited to announce a minor release of NATS .NET version 2.7.0 with a lot of fixes and improvements making NATS .NET client easier to use, testing friendly and more robust:

  • Improved OpenTelemetry support: Added filtering and enrichment for activities (#​859)
  • JetStream publish improvements: Better retry defaults and consistent error handling
  • Dependency upgrades: All Microsoft.Extensions packages updated to .NET 8 (improves compatibility, security, and performance)
  • Abstractions package: Moved serialization interface into abstractions (#​858) for better modularity/ We will move other interfaces to Abstractions gradually.

Important: Please note, there are also minor breaking changes which might affect dependent applications and sometimes transient dependencies. Application developers should recompile and test their application more rigorously in a non-production environment before deploying to production.

Breaking Changes

  • Timeout exceptions: Replaced OperationCanceledException with NatsTimeoutException for timeouts (previously surfaced as cancellations). Update any code catching OperationCanceledException for timeouts.

  • ReplyAsync on NatsJsMsg: Now marked [Obsolete]. Use the alternative method instead.

  • Serialization interface moved into abstractions: Via PR #​858 ("Move Serialization Interface into Abstractions").

    • This is a structural refactor that relocates the serialization-related interface to a dedicated abstractions layer in the codebase.
    • Why it matters: It improves modularity, maintainability, and separation of concerns (e.g., making it easier to swap or extend serialization without touching core implementation).
    • Impact: This is not a breaking change for end-users (no API surface change is mentioned), but it could affect anyone building extensions or custom serializers that directly reference the old location.
    • Linked issue: #​851
  • Fixed KV TTL interface handling (#​854): This brings KV API inline with the design documents. It removed TTL parameters from update calls, which are problematic with buckets with history enabled.

New Features

  • OpenTelemetry activity filtering & enrichment
  • Improved JetStream publish retry behavior

Bug Fixes

  • Fixed KV TTL interface handling (#​854)
  • Fixed connection state issues for consume, request, and reply (#​856–858)
  • Improved timeout exception handling across client, JetStream, and consumer scenarios

What's Changed - Full List

2.7.0-preview.8

This is a bug fix and main merge release.

What's Changed

Full Changelog: nats-io/nats.net@v2.7.0-preview.7...v2.7.0-preview.8

Download from NuGet at https://www.nuget.org/packages/NATS.Net/2.7.0-preview.8

2.7.0-preview.7

This release aligns with the stable 2.6.10 release supporting new NATS Server version 2.12 features.

What's Changed

Full Changelog: nats-io/nats.net@v2.7.0-preview.6...v2.7.0-preview.7

Download from NuGet https://www.nuget.org/packages/NATS.Net/2.7.0-preview.7

2.7.0-preview.5

This release brings 2.7.x branch inline with main. There are important bug fixes. See release notes for 2.6.8 for details.

What's Changed

New Contributors

Full Changelog: nats-io/nats.net@v2.7.0-preview.4...v2.7.0-preview.5

Packages can be downloaded from NuGet: https://www.nuget.org/packages/NATS.Net/2.7.0-preview.5

2.7.0-preview.4

This is a patch preview release of NAT .NET client fixing a dispose and a consumer bug as well as providing corrections and improvements to interfaces.

What's Changed

New Contributors

Full Changelog: nats-io/nats.net@v2.7.0-preview.3...v2.7.0-preview.4

2.7.0-preview.3

Bug fix release and merges from main.

What's Changed

Full Changelog: nats-io/nats.net@v2.7.0-preview.2...v2.7.0-preview.3

2.7.0-preview.1

This is a new preview release with new features like the new Abstractions package.

What's Changed

New Contributors

Full Changelog: nats-io/nats.net@v2.6.4...v2.7.0-preview.1

2.6.14

This is a bugfix release with a small but important Subject Validation feature. Subject validation is turned of by default and can be enabled in NatsOpts. It will be enabled by default in a couple of releases down the line, so if you can, please enable it as soon as possible to make sure your applications are not affected. Subject validation makes sure subjects does not have whitespace characters as to not break the wire protocol. Placing spaces in subjects is not valid and well known. We do not expect the new subject validation feature to break any applications. Only being careful here. See #​1017 for more details.

What's Changed

Full Changelog: nats-io/nats.net@v2.6.12...v2.6.14

Packages can be downloaded from NuGet as usual: https://www.nuget.org/packages/NATS.Net/2.6.14

2.6.12

Happy to announce we have a new release of NATS .NET client library version 2.6.12. With this version we are providing several minor bug fixes and improvements as well as a couple of new features we missed out in our previous release supporting NATS Server 2.12: Support for Nats-Expected-Last-Subject-Sequence-Subject header #​1007 and prioritized mode #​1011.

Big thank you to our community for helping us with this release and to our contributors taking time to improve NATS .NET for everyone ❤️

What's Changed

New Contributors

Full Changelog: nats-io/nats.net@v2.6.11...v2.6.12

You can download the packages from NuGet: https://www.nuget.org/packages/NATS.Net/2.6.12

Commits viewable in compare view.

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

---
updated-dependencies:
- dependency-name: NATS.Net
  dependency-version: 2.7.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: NATS.Net
  dependency-version: 2.7.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Dec 22, 2025

Labels

The following labels could not be found: nuget. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@github-actions
Copy link

✅ This is a version-update:semver-minor update. Auto-merge has been enabled after CI passes.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 12, 2026

Superseded by #86.

@dependabot dependabot bot closed this Jan 12, 2026
@dependabot dependabot bot deleted the dependabot/nuget/src/multi-0090cc8cd5 branch January 12, 2026 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant