-
Notifications
You must be signed in to change notification settings - Fork 89
Release 2.7 #874
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Release 2.7 #874
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: James Thompson <[email protected]>
* #848 Tweak dependencies Signed-off-by: James Thompson <[email protected]> * Update NATS.Client.Core.csproj Signed-off-by: James Thompson <[email protected]> * Update NATS.Client.Core.csproj Signed-off-by: James Thompson <[email protected]> * Make STJ explicit dependency for JetStream Signed-off-by: James Thompson <[email protected]> * Update NATS.Client.JetStream.csproj Signed-off-by: James Thompson <[email protected]> * Force sdk to 8.0.0 Signed-off-by: James Thompson <[email protected]> * Add newer stj for net 6 Signed-off-by: James Thompson <[email protected]> --------- Signed-off-by: James Thompson <[email protected]>
) * Add support for `Filter` and `Enrich` for OpenTelemetry activities * Make `internal` methods in `internal Telemetry` `public` * Fix package versions and whatnot * Remove `TracerProviderBuilderExtensions` * Include `Deserialize` in the receive activity * Revert back accidental change * Add `ParentContext` to `NatsInstrumentationContext` * Make `GetActivityContext` public to provide the ability to get context activity context * Make preprocessor directive more accurate * Revert .csproj formatting * Move public artifacts out of the `Internal` namespace/folder * Fix build script --------- Co-authored-by: Ziya Suzen <[email protected]>
* Obsolete ReplyAsync method * Obsolete ReplyAsync method on interface
* Tweaks Signed-off-by: James Thompson <[email protected]> * Add missing dependencies Signed-off-by: James Thompson <[email protected]> * switch to system.memory Signed-off-by: James Thompson <[email protected]> * Added missing using Signed-off-by: James Thompson <[email protected]> * Reduce csproj file contents Signed-off-by: James Thompson <[email protected]> --------- Signed-off-by: James Thompson <[email protected]>
* initialize `NatsInstrumentationOptions.Default` once * `NatsInstrumentationContext.ActivityContext` doesn't need to be nullable * no need for `GetActivityContext` on NatsJSMsg
# Conflicts: # version.txt
* fix: `NatsInstrumentationOptions.Default` gets reset each time (#907) * Also, fixes from main
* Fix `NatsJSConsumer` never disposing receive activities * Use `ActivityEndingMsgReader` to `NatsJSFetch` and `NatsJSOrderedConsume` * Consolidate activity ending message readers into one class * Run `dotnet format`
* fix: `NatsJSConsumer` never disposing receive activities (#911) * Merge from main
* chore: rework NatsOpt.Default initialization * chore: removed unused using statement
KV TTL should only be allowed on Create and Purge
# Conflicts: # version.txt
Fixes merged from main
# Conflicts: # version.txt
Merge from main aligning with 2.6.8 release.
# Conflicts: # version.txt
Decision to retry jetstream publish requests should be letft to the application since it depends on the delivery and durability requirements of their solution.
# Conflicts: # version.txt
With 2.7.x we have made the default to not re-publish on failure.
* Fix JetStream publish retry defaults (#939) * Merge from main
Merged from main
* Handle 408 Requests Pending responses for fetch requests * Remove redundant `Console.WriteLine` that was put there for testing
# Conflicts: # version.txt
# Conflicts: # version.txt
* Fix connection state for consume * Enhance connection state handling with NatsConnectionFailedException * Improve error handling for connection failures and add support for configurable 503 error thresholds in JetStream consumers * Add tests for connection failure handling and configurable 503 error thresholds in JetStream consumers * Fix format * Fix test
# Conflicts: # tests/NATS.Client.JetStream.Tests/OrderedConsumerTest.cs
# Conflicts: # src/NATS.Client.JetStream/Internal/NatsJSConsume.cs # src/NATS.Client.JetStream/NatsJSConsumer.cs # src/NATS.Client.JetStream/NatsJSOpts.cs # version.txt
# Conflicts: # version.txt
Jarema
approved these changes
Dec 19, 2025
Member
Jarema
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
# Conflicts: # src/NATS.Client.Core/NATS.Client.Core.csproj
mtmk
added a commit
that referenced
this pull request
Dec 19, 2025
* Replace `OperationCanceledException` with `NatsTimeoutException` (#1022) * Replace deprecated IndexRange package with Microsoft.Bcl.Memory to solve possible dependency conflicts (for netFramework/netStandard2.0) (#1009) * PeerInfo.Lag is wrong type (#1021) * (Merge Branch) Release 2.7 (#874) * Update INatsJsConsumer to return INatsJsMsg (#1004) * Fix connection state for consume (#959) * Fix Ad-Hoc JSON Serializer to use Default Options (#984) * fix: handle 408 Requests Pending responses for fetch requests (#973) * Fix publish 503 test (#958) * Fix JetStream publish retry defaults (#939) * Fix kv ttl interface (#909) * chore: rework NatsOpt.Default initialization (#921) * fix: `NatsJSConsumer` never disposing receive activities (#911) * Fix build warnings (#912) * fix: `NatsInstrumentationOptions.Default` gets reset each time (#907) * #851 Move Serialization Interface into Abstractions (#858) * Obsolete ReplyAsync method for NatsJsMsg (#839) * Add support for `Filter` and `Enrich` for OpenTelemetry activities (#859) * #848 Tweak dependencies (#853) * #863 Fix naming of consumer group attribute (#870)
Merged
mtmk
added a commit
that referenced
this pull request
Dec 19, 2025
* Replace `OperationCanceledException` with `NatsTimeoutException` (#1022) * Replace deprecated IndexRange package with Microsoft.Bcl.Memory to solve possible dependency conflicts (for netFramework/netStandard2.0) (#1009) * PeerInfo.Lag is wrong type (#1021) * (Merge Branch) Release 2.7 (#874) * Update INatsJsConsumer to return INatsJsMsg (#1004) * Fix connection state for consume (#959) * Fix Ad-Hoc JSON Serializer to use Default Options (#984) * fix: handle 408 Requests Pending responses for fetch requests (#973) * Fix publish 503 test (#958) * Fix JetStream publish retry defaults (#939) * Fix kv ttl interface (#909) * chore: rework NatsOpt.Default initialization (#921) * fix: `NatsJSConsumer` never disposing receive activities (#911) * Fix build warnings (#912) * fix: `NatsInstrumentationOptions.Default` gets reset each time (#907) * #851 Move Serialization Interface into Abstractions (#858) * Obsolete ReplyAsync method for NatsJsMsg (#839) * Add support for `Filter` and `Enrich` for OpenTelemetry activities (#859) * #848 Tweak dependencies (#853) * #863 Fix naming of consumer group attribute (#870)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is the main PR for 2.7 release containing the PRs below. Most have them have 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.
0216643 Update INatsJsConsumer to return INatsJsMsg (#1004)
ac5fe82 Fix connection state for consume (#959)
67fdec0 Fix Ad-Hoc JSON Serializer to use Default Options (#984)
d313529 fix: handle 408 Requests Pending responses for fetch requests (#973)
1e658ab Fix publish 503 test (#958)
8f5c735 Fix JetStream publish retry defaults (#939)
887ccde Fix kv ttl interface (#909)
72a2e92 chore: rework NatsOpt.Default initialization (#921)
948af5c fix:
NatsJSConsumernever disposing receive activities (#911)bedafe0 Fix build warnings (#912)
5abeb7e fix:
NatsInstrumentationOptions.Defaultgets reset each time (#907)0bc89fd #851 Move Serialization Interface into Abstractions (#858)
5a23eb1 Obsolete ReplyAsync method for NatsJsMsg (#839)
7d9cb11 (thompson-tomo/release/2.7) Add support for
FilterandEnrichfor OpenTelemetry activities (#859)0f7166c (thompson-tomo/split-merge) #848 Tweak dependencies (#853)
b09e92c #863 Fix naming of consumer group attribute (#870)