Update orleans monorepo to 10.4.0 - autoclosed - #250
Closed
renovate[bot] wants to merge 1 commit into
Closed
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
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
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 PR contains the following updates:
10.3.1→10.4.010.3.1→10.4.010.3.1→10.4.010.3.1→10.4.010.3.1→10.4.010.3.1→10.4.010.3.1→10.4.010.3.1→10.4.010.3.1→10.4.010.3.1→10.4.0Release Notes
dotnet/orleans (Microsoft.Orleans.BroadcastChannel)
v10.4.0This release strengthens cluster membership consistency, extends cooperative cancellation across framework APIs, and gives streaming applications more control over subscription start positions and dequeue sizes. This release also fixes SQLite persistence under contention, modernizes request-latency metrics, improves serialization and source-generation efficiency, and expands the preview journaling and Durable Jobs capabilities.
Compatibility and upgrade notes
Histogram<double>namedorleans-app-requests-latency, measured in fractional milliseconds. It replaces the separateorleans-app-requests-latency-bucket,-count, and-suminstruments and theirdurationattribute. Configure histogram boundaries through an OpenTelemetry View and update dashboards, alerts, and recording rules for the exporter representation. Use matching boundaries across instances whose distributions are aggregated.orleans-grainsnow usesgrain_type, containing the canonicalGrainId.Typeidentity, in place oftype, which contained the CLR implementation name. Activation lifecycle metrics also gain this dimension. Update queries and label filters accordingly.[Id]attributes now control serialized argument IDs, and automatic IDs count serialized parameters. PlaceCancellationTokenlast. Existing contracts with parameter[Id]attributes or non-last cancellation tokens can change argument wire IDs relative to 10.3.1; coordinate their client/silo contract upgrade or introduce versioned contracts. Method-level[Id]attributes and ordinary unannotated, token-last contracts retain their existing identities and argument numbering.10.4.0-alpha.1. Custom integrations should adopt the updated durable-state/state-machine contracts and streamed catalog enumeration APIs. Named-provider migration is an opt-in capability for moving Durable Jobs between storage backends; existing default-provider convenience registrations remain available.Highlights
Runtime, clustering, and reminders
ClusterManifestOptions.EnableContentAddressedRetrievalselects the retrieval mode (#11239).Streaming
StreamSubscriptionStartPosition.LatestandEarliestAvailableprovide per-subscription control, with a provider default throughStreamPullingAgentOptions.InitialSubscriptionStartPosition.EarliestAvailablestarts at the oldest retained message for the stream in the local queue cache. An explicit sequence token takes precedence, andLatestremains the default. Enable the new controls after pulling-agent silos have been upgraded (#10936).MemoryStreamCacheOptions.MaxAddCountcontrols the maximum number of queue records requested per dequeue, allowing applications to balance response size and queue-call overhead. The default remains 100 (#11238).Persistence and transactions
Preview journaling and Durable Jobs
Microsoft.Orleans.Journaling.S3adds append-based write-ahead logs, conditional metadata/checkpoint publication, catalog discovery, and provider metrics. A conditional-rewrite mode supports S3-compatible development environments (#10161).Serialization, code generation, and deployment
UnsafeAccessormethods for private, readonly, and backing fields on supported targets. Grain activation constructors are preserved, non-generic grain references gain native construction, and serialization constructors can initialize existing objects under NativeAOT. Default serializer activation uses a shared construction path with consistent exception propagation (#11372, #11383, #11371, #11373, #11390).<OrleansHotReload>true</OrleansHotReload>to generate stable member/dependency identities and lazily initialize dependencies added to existing serializers and copiers. Supported updates add strongly typed serialized members to classes and records; restart to refresh manifests when adding new polymorphic or collection-element types (#10932).Observability and developer tooling
Microsoft.Orleans.Clustering.TestKitprovides framework-neutral membership-provider conformance scenarios and generated operation histories for validating custom providers (#11308).What's Changed
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.