Bump the dotnet group with 6 updates
Updated Microsoft.Extensions.Http from 10.0.10 to 10.0.12.
Release notes
Sourced from Microsoft.Extensions.Http's releases.
No release notes found for this version range.
Commits viewable in compare view.
Updated Microsoft.Extensions.Logging.Abstractions from 10.0.10 to 10.0.12.
Release notes
Sourced from Microsoft.Extensions.Logging.Abstractions's releases.
No release notes found for this version range.
Commits viewable in compare view.
Updated Microsoft.Orleans.BroadcastChannel from 10.2.2 to 10.3.1.
Release notes
Sourced from Microsoft.Orleans.BroadcastChannel's releases.
10.3.1
The most significant change in this release over 10.3.0 is the format used by the version contract compatibility analyzers. The other changes are test and docs fixes.
What's Changed
- Enable DefaultDeny network isolation for CI by @ReubenBond in https://github.com/dotnet/orleans/pull/10850
- docs: add placement hint guidance by @ReubenBond in https://github.com/dotnet/orleans/pull/10844
- fix(test): propagate xUnit cancellation by @ReubenBond in https://github.com/dotnet/orleans/pull/10845
- fix(codegen): suppress warnings in generated source by @ReubenBond in https://github.com/dotnet/orleans/pull/10854
- test(codegen): pass cancellation token to diagnostics by @ReubenBond in https://github.com/dotnet/orleans/pull/10878
- ci: add trusted coverage report validation by @ReubenBond in https://github.com/dotnet/orleans/pull/10882
- fix(test): remove activation-local reminder waits by @ReubenBond in https://github.com/dotnet/orleans/pull/10855
- test(dashboard): cover hosting and routing behavior by @ReubenBond in https://github.com/dotnet/orleans/pull/10885
- test(streaming): cover JSON converter read contracts by @ReubenBond in https://github.com/dotnet/orleans/pull/10884
- test(testing): cover TestingHost failure diagnostics by @ReubenBond in https://github.com/dotnet/orleans/pull/10883
- test(analyzers): raise compiler tooling coverage by @ReubenBond in https://github.com/dotnet/orleans/pull/10894
- test(azure): cover queue JSON validation by @ReubenBond in https://github.com/dotnet/orleans/pull/10876
- refactor(codegen): remove unused method signature comparer by @ReubenBond in https://github.com/dotnet/orleans/pull/10874
- test(runtime): cover ring range collection invariants by @ReubenBond in https://github.com/dotnet/orleans/pull/10879
- test(serialization): cover multidimensional array copying by @ReubenBond in https://github.com/dotnet/orleans/pull/10880
- test(transactions): verify consistency histories by @ReubenBond in https://github.com/dotnet/orleans/pull/10875
- test(adonet): raise relational provider coverage above 90% by @ReubenBond in https://github.com/dotnet/orleans/pull/10892
- test(reminders): harden lifecycle synchronization by @ReubenBond in https://github.com/dotnet/orleans/pull/10891
- fix(test): remove placement timeout race by @ReubenBond in https://github.com/dotnet/orleans/pull/10898
- fix(testing): isolate reminder event continuations by @ReubenBond in https://github.com/dotnet/orleans/pull/10899
- test(reminders): add lifecycle conformance scenarios by @ReubenBond in https://github.com/dotnet/orleans/pull/10896
- fix(test): keep observer cancellation targets alive by @ReubenBond in https://github.com/dotnet/orleans/pull/10897
- fix(test): retry SQL Server deadlock victims by @ReubenBond in https://github.com/dotnet/orleans/pull/10901
- test(reminders): enable provider failover coverage by @ReubenBond in https://github.com/dotnet/orleans/pull/10895
- feat(analyzers): regenerate Orleans contracts project-wide by @ReubenBond in https://github.com/dotnet/orleans/pull/10869
- fix(analyzers): clarify Orleans contract identities by @ReubenBond in https://github.com/dotnet/orleans/pull/10910
Full Changelog: https://github.com/dotnet/orleans/compare/v10.3.0...v10.3.1
10.3.0
Orleans 10.3.0
Orleans 10.3.0 expands the platform across clustering, streaming, persistence, integrations, serialization, and developer tooling while delivering a broad reliability and performance pass. Major outcomes include stronger distributed-directory and membership behavior, new streaming and storage providers, hardened transactions and durable jobs, incremental source generation, safer JSON storage deserialization, and new application templates. Alongside these features and fixes, the release optimizes key runtime paths, comprehensively refreshes the docs, strengthens testing and CI, and updates dependencies and repository maintenance.
Compatibility notes
[!IMPORTANT]
Review these changes before upgrading. This release contains three intentionally behavior-changing updates.
- Default JSON storage serializer type allow-list (#10268). The default Newtonsoft.Json-based Orleans storage serializer now resolves
$typemetadata only for types permitted by Orleans' configured type filters and manifest. Existing wire data remains readable when its types are allowed;[GenerateSerializer]types and standard permitted BCL types continue to work without changes. If persisted, streamed, or transactional JSON contains other types, reads now fail with an actionableJsonSerializationException. Prefer registering those types throughTypeManifestOptions.AllowedTypes,[GenerateSerializer],ITypeNameFilter, orITypeFilter;OrleansJsonSerializerOptions.AllowAllTypes = truerestores the former permissive JSON behavior when a narrowly scoped allow-list is not practical. - Updated RPC semantic convention keys (#10354). Orleans activities now emit the current OpenTelemetry RPC key
rpc.system.name; Orleans-specific service, target, and source metadata move toorleans.rpc.service,orleans.rpc.target_id, andorleans.rpc.source_id. The runtime-siderpc.methodvalue is now qualified as<interface>/<method>, and affectedActivitySourceversions are incremented. Update dashboards, alerts, collectors, and queries which depend on the legacyrpc.system,rpc.service,rpc.orleans.target_id, orrpc.orleans.source_idkeys or the previous method value. - Grain context configured before construction (#10565). Orleans now deterministically applies
IConfigureGrainContextactions before grain construction, so constructors can observe fully configured context state. CustomIGrainContextActivatorimplementations must migrate fromCreateContext(GrainAddress)toCreateContext(GrainAddress, IConfigureGrainContext[])and apply the supplied configurators before constructing the grain. Stateless-worker configurators continue to apply to the outer stateless-worker context.
Highlights
Runtime, clustering & resilience
- Distributed-directory rolling upgrades now have durable handoffs, cancellation-aware operations, stronger single-activation guarantees, and improved recovery and startup behavior (#10309, #10323, #10339, #9958, #10500, #10533, #10613, #10625).
- Membership fault detection gains connection liveness checks, adaptive probe timeouts, retained local health history, and local-stall detection (#9978, #10510, #10502, #9979).
- Reminder delivery, reconciliation, rebalancing, shutdown state, placement compatibility caching, and resilience policies received substantial correctness and efficiency improvements (#10296, #10430, #10612, #10819, #10838, #10311, #10313, #10614, #10573, #10596, #10314, #10597, #10599, #9819).
Streaming
- New AWS Kinesis support, SQS data adapters with FIFO support, Event Hubs Aspire integration, grain-backed checkpointing, and generalized Azure Table checkpointing broaden deployment choices (#8967, #8723, #9328, #10345, #10355).
- Persistent streams now flow cancellation; stateless workers can consume streams; Azure Queue migration supports compact JSON; and stream telemetry includes richer tags (#10383, #10657, #10507, #8631).
- Redis implicit subscriptions, SQL Server queue commits, ADO.NET handoffs, batched acknowledgements, implicit rewind handling, and memory/Event Hubs hot paths were hardened or optimized (#10423, #10572, #10536, #10574, #10655, #10662, #10550, #10767).
Storage, persistence, journaling, durable jobs & transactions
- New Azure Table and Redis journal providers, DynamoDB transactional storage, file-based grain storage, and a System.Text.Json grain storage serializer expand persistence options (#10254, #9823, #9616, #9537, #10806, #9505).
- Transactions receive extensive conflict, recovery, retry, isolation, cancellation, and diagnostics hardening across providers (#10372, #10376, #10382, #10375, #10374, #10385, #10545, #10743).
- Persistent state is now concurrency-safe and cancellation-aware, while journaling snapshot operations and durable-job retry/rescheduling semantics are more robust (#10255, #10641, #10800, #10681, #10349, #10547, #10716, #10679).
Providers & integrations
- Google Cloud Firestore providers, Cosmos DB custom document IDs and partition keys, ADO.NET
DbDataSourcesupport, and improved Azure, ZooKeeper, Redis, NATS, and relational-provider behavior extend and stabilize integrations (#8462, #8699, #10326, #10429, #10381, #10437, #10835, #10422, #10505, #10276). - SQL Server, PostgreSQL, and MySQL clustering add the missing defunct-silo cleanup query (#8811, #9125, #8896).
Serialization, code generation & analyzers
- The source generator is now incremental, generates provider metadata at build time, avoids runtime provider scanning, and supports record-parameter field IDs and custom grain-call return types (#10035, #10493, #10566, #10495, #10682).
- Serialization reduces codec and buffer allocations, adds type/assembly allow-list helpers, and clarifies type-trust configuration (#10301, #10340, #10668, #10228, #10424).
- Analyzers detect RPC contract changes and provide improved diagnostic guidance (#10337, #10832).
Developer experience, templates, samples & docs
- New Orleans application templates and a basic clustering sample make it easier to start and validate applications (#10646, #10690, #10622).
- Connection middleware abstractions and framing helpers provide new transport extension points (#10136, #10433).
- The docs were comprehensively reorganized and modernized across onboarding, architecture, grains, hosting, operations, security, observability, persistence, streaming, testing, deployment, migration, and production guidance (#10331, #10332, #10334, #10335, #10327, #10328, #10333, #10330, #10336, #10329, #10675, #10746).
- Test infrastructure moved to xUnit v3 and Microsoft.Testing.Platform, with provider conformance kits, published test results, coverage reporting, and extensive reliability improvements (#10722, #10726, #10490, #10785, #10730, #10733, #10842, #10438, #10738).
... (truncated)
10.3.0-rc.1
What's Changed
- ci: enable GitHub autobaseline for nightly-main pipeline by @ReubenBond in https://github.com/dotnet/orleans/pull/10297
- fix(reminders): prevent ticks after unregister by @ReubenBond in https://github.com/dotnet/orleans/pull/10296
- feat(streaming): make SequentialItem serializable by @ReubenBond in https://github.com/dotnet/orleans/pull/10302
- Add Azure Table journal storage provider by @danielmeza in https://github.com/dotnet/orleans/pull/10254
- fix(serialization): defer interface collection codec dependencies by @ReubenBond in https://github.com/dotnet/orleans/pull/10301
- perf(codegen): migrate to incremental source generator by @ReubenBond in https://github.com/dotnet/orleans/pull/10035
- test: use InProcessTestClusterBuilder in Azure stream reliability tests by @ReubenBond in https://github.com/dotnet/orleans/pull/10222
- chore(deps): bump dompurify from 3.4.11 to 3.4.12 in /src/Dashboard/Orleans.Dashboard.App by @dependabot[bot] in https://github.com/dotnet/orleans/pull/10303
- test: observe grain directory convergence in liveness tests by @ReubenBond in https://github.com/dotnet/orleans/pull/10299
- docs: require conventional commit format for PR titles by @ReubenBond in https://github.com/dotnet/orleans/pull/10310
- fix(serialization)!: enforce type allow-list in default JSON storage serializer by @ReubenBond in https://github.com/dotnet/orleans/pull/10268
- feat(serialization): add type and assembly allow-list helpers by @ReubenBond in https://github.com/dotnet/orleans/pull/10228
- fix(testing): track reminder schedules per owner by @ReubenBond in https://github.com/dotnet/orleans/pull/10312
- refactor: enable nullable reference types across Orleans by @ReubenBond in https://github.com/dotnet/orleans/pull/10291
- fix: eliminate rebalancer waiter timeout race by @ReubenBond in https://github.com/dotnet/orleans/pull/10311
- fix(directory): support rolling upgrades to distributed directory by @ReubenBond in https://github.com/dotnet/orleans/pull/10309
- test: fix grain directory nullability diagnostics by @ReubenBond in https://github.com/dotnet/orleans/pull/10315
- fix: clean up rebalancer diagnostic waiters by @ReubenBond in https://github.com/dotnet/orleans/pull/10313
- perf(reminders): drop reminders that are not due soon by @ReubenBond in https://github.com/dotnet/orleans/pull/10259
- perf: cache compatible placement silos by @ReubenBond in https://github.com/dotnet/orleans/pull/10314
- fix(directory): cancel snapshot pulls from departed silos by @ReubenBond in https://github.com/dotnet/orleans/pull/10318
- feat(streaming): add telemetry tags to stream metrics by @oising in https://github.com/dotnet/orleans/pull/8631
- test: wait for grain call before checking cancellation by @ReubenBond in https://github.com/dotnet/orleans/pull/10319
- test(streaming): cover eventhub checkpoint flush on shutdown by @ReubenBond in https://github.com/dotnet/orleans/pull/10321
- feat(cosmos): support custom document IDs and partition keys by @ReubenBond in https://github.com/dotnet/orleans/pull/8699
- fix(directory): make rolling upgrade handoffs durable by @ReubenBond in https://github.com/dotnet/orleans/pull/10323
- fix: scope reminder test clock to reminder service by @ReubenBond in https://github.com/dotnet/orleans/pull/10317
- feat(cosmos): add configuration support for grain storage by @ReubenBond in https://github.com/dotnet/orleans/pull/10326
- feat(directory): add cancellation-aware operations by @ReubenBond in https://github.com/dotnet/orleans/pull/10339
- fix(directory): stabilize rolling upgrade handoff test by @ReubenBond in https://github.com/dotnet/orleans/pull/10341
- fix(serialization): cap codec allocations by @ReubenBond in https://github.com/dotnet/orleans/pull/10340
- perf(runtime): reduce activation collection sorting allocations by @ReubenBond in https://github.com/dotnet/orleans/pull/10342
- fix(directory): strengthen single-activation guarantees by @ledjon-behluli in https://github.com/dotnet/orleans/pull/9958
- chore(deps): bump postcss from 8.5.15 to 8.5.25 in /src/Dashboard/Orleans.Dashboard.App by @dependabot[bot] in https://github.com/dotnet/orleans/pull/10305
- docs: add Orleans 10 migration guides by @ReubenBond in https://github.com/dotnet/orleans/pull/10329
- docs: modernize deployment and operations guidance by @ReubenBond in https://github.com/dotnet/orleans/pull/10327
- docs: modernize grain programming guidance by @ReubenBond in https://github.com/dotnet/orleans/pull/10334
- fix(docs): correct timer migration link by @ReubenBond in https://github.com/dotnet/orleans/pull/10347
- fix(testing): wait for async cleanup timer rearm by @ReubenBond in https://github.com/dotnet/orleans/pull/10348
- chore(deps-dev): bump fast-uri from 3.1.4 to 3.1.5 in /docs/site by @dependabot[bot] in https://github.com/dotnet/orleans/pull/10343
- fix(durablejobs): preserve job state across retries by @ReubenBond in https://github.com/dotnet/orleans/pull/10349
- feat: add connection middleware abstractions and framing helpers by @wenwangcode in https://github.com/dotnet/orleans/pull/10136
- docs: modernize security and observability guidance by @ReubenBond in https://github.com/dotnet/orleans/pull/10328
- docs: restore migration reference links by @ReubenBond in https://github.com/dotnet/orleans/pull/10352
- docs: restore authoritative grain references by @ReubenBond in https://github.com/dotnet/orleans/pull/10353
- docs: modernize hosting and configuration guidance by @ReubenBond in https://github.com/dotnet/orleans/pull/10335
- docs: expand Orleans architecture documentation by @ReubenBond in https://github.com/dotnet/orleans/pull/10332
- refactor(streaming): remove unused implicit subscriber grain factory by @ReubenBond in https://github.com/dotnet/orleans/pull/10322
- docs: modernize Orleans onboarding by @ReubenBond in https://github.com/dotnet/orleans/pull/10331
... (truncated)
Commits viewable in compare view.
Updated Microsoft.Orleans.Sdk from 10.2.2 to 10.3.1.
Release notes
Sourced from Microsoft.Orleans.Sdk's releases.
10.3.1
The most significant change in this release over 10.3.0 is the format used by the version contract compatibility analyzers. The other changes are test and docs fixes.
What's Changed
- Enable DefaultDeny network isolation for CI by @ReubenBond in https://github.com/dotnet/orleans/pull/10850
- docs: add placement hint guidance by @ReubenBond in https://github.com/dotnet/orleans/pull/10844
- fix(test): propagate xUnit cancellation by @ReubenBond in https://github.com/dotnet/orleans/pull/10845
- fix(codegen): suppress warnings in generated source by @ReubenBond in https://github.com/dotnet/orleans/pull/10854
- test(codegen): pass cancellation token to diagnostics by @ReubenBond in https://github.com/dotnet/orleans/pull/10878
- ci: add trusted coverage report validation by @ReubenBond in https://github.com/dotnet/orleans/pull/10882
- fix(test): remove activation-local reminder waits by @ReubenBond in https://github.com/dotnet/orleans/pull/10855
- test(dashboard): cover hosting and routing behavior by @ReubenBond in https://github.com/dotnet/orleans/pull/10885
- test(streaming): cover JSON converter read contracts by @ReubenBond in https://github.com/dotnet/orleans/pull/10884
- test(testing): cover TestingHost failure diagnostics by @ReubenBond in https://github.com/dotnet/orleans/pull/10883
- test(analyzers): raise compiler tooling coverage by @ReubenBond in https://github.com/dotnet/orleans/pull/10894
- test(azure): cover queue JSON validation by @ReubenBond in https://github.com/dotnet/orleans/pull/10876
- refactor(codegen): remove unused method signature comparer by @ReubenBond in https://github.com/dotnet/orleans/pull/10874
- test(runtime): cover ring range collection invariants by @ReubenBond in https://github.com/dotnet/orleans/pull/10879
- test(serialization): cover multidimensional array copying by @ReubenBond in https://github.com/dotnet/orleans/pull/10880
- test(transactions): verify consistency histories by @ReubenBond in https://github.com/dotnet/orleans/pull/10875
- test(adonet): raise relational provider coverage above 90% by @ReubenBond in https://github.com/dotnet/orleans/pull/10892
- test(reminders): harden lifecycle synchronization by @ReubenBond in https://github.com/dotnet/orleans/pull/10891
- fix(test): remove placement timeout race by @ReubenBond in https://github.com/dotnet/orleans/pull/10898
- fix(testing): isolate reminder event continuations by @ReubenBond in https://github.com/dotnet/orleans/pull/10899
- test(reminders): add lifecycle conformance scenarios by @ReubenBond in https://github.com/dotnet/orleans/pull/10896
- fix(test): keep observer cancellation targets alive by @ReubenBond in https://github.com/dotnet/orleans/pull/10897
- fix(test): retry SQL Server deadlock victims by @ReubenBond in https://github.com/dotnet/orleans/pull/10901
- test(reminders): enable provider failover coverage by @ReubenBond in https://github.com/dotnet/orleans/pull/10895
- feat(analyzers): regenerate Orleans contracts project-wide by @ReubenBond in https://github.com/dotnet/orleans/pull/10869
- fix(analyzers): clarify Orleans contract identities by @ReubenBond in https://github.com/dotnet/orleans/pull/10910
Full Changelog: https://github.com/dotnet/orleans/compare/v10.3.0...v10.3.1
10.3.0
Orleans 10.3.0
Orleans 10.3.0 expands the platform across clustering, streaming, persistence, integrations, serialization, and developer tooling while delivering a broad reliability and performance pass. Major outcomes include stronger distributed-directory and membership behavior, new streaming and storage providers, hardened transactions and durable jobs, incremental source generation, safer JSON storage deserialization, and new application templates. Alongside these features and fixes, the release optimizes key runtime paths, comprehensively refreshes the docs, strengthens testing and CI, and updates dependencies and repository maintenance.
Compatibility notes
[!IMPORTANT]
Review these changes before upgrading. This release contains three intentionally behavior-changing updates.
- Default JSON storage serializer type allow-list (#10268). The default Newtonsoft.Json-based Orleans storage serializer now resolves
$typemetadata only for types permitted by Orleans' configured type filters and manifest. Existing wire data remains readable when its types are allowed;[GenerateSerializer]types and standard permitted BCL types continue to work without changes. If persisted, streamed, or transactional JSON contains other types, reads now fail with an actionableJsonSerializationException. Prefer registering those types throughTypeManifestOptions.AllowedTypes,[GenerateSerializer],ITypeNameFilter, orITypeFilter;OrleansJsonSerializerOptions.AllowAllTypes = truerestores the former permissive JSON behavior when a narrowly scoped allow-list is not practical. - Updated RPC semantic convention keys (#10354). Orleans activities now emit the current OpenTelemetry RPC key
rpc.system.name; Orleans-specific service, target, and source metadata move toorleans.rpc.service,orleans.rpc.target_id, andorleans.rpc.source_id. The runtime-siderpc.methodvalue is now qualified as<interface>/<method>, and affectedActivitySourceversions are incremented. Update dashboards, alerts, collectors, and queries which depend on the legacyrpc.system,rpc.service,rpc.orleans.target_id, orrpc.orleans.source_idkeys or the previous method value. - Grain context configured before construction (#10565). Orleans now deterministically applies
IConfigureGrainContextactions before grain construction, so constructors can observe fully configured context state. CustomIGrainContextActivatorimplementations must migrate fromCreateContext(GrainAddress)toCreateContext(GrainAddress, IConfigureGrainContext[])and apply the supplied configurators before constructing the grain. Stateless-worker configurators continue to apply to the outer stateless-worker context.
Highlights
Runtime, clustering & resilience
- Distributed-directory rolling upgrades now have durable handoffs, cancellation-aware operations, stronger single-activation guarantees, and improved recovery and startup behavior (#10309, #10323, #10339, #9958, #10500, #10533, #10613, #10625).
- Membership fault detection gains connection liveness checks, adaptive probe timeouts, retained local health history, and local-stall detection (#9978, #10510, #10502, #9979).
- Reminder delivery, reconciliation, rebalancing, shutdown state, placement compatibility caching, and resilience policies received substantial correctness and efficiency improvements (#10296, #10430, #10612, #10819, #10838, #10311, #10313, #10614, #10573, #10596, #10314, #10597, #10599, #9819).
Streaming
- New AWS Kinesis support, SQS data adapters with FIFO support, Event Hubs Aspire integration, grain-backed checkpointing, and generalized Azure Table checkpointing broaden deployment choices (#8967, #8723, #9328, #10345, #10355).
- Persistent streams now flow cancellation; stateless workers can consume streams; Azure Queue migration supports compact JSON; and stream telemetry includes richer tags (#10383, #10657, #10507, #8631).
- Redis implicit subscriptions, SQL Server queue commits, ADO.NET handoffs, batched acknowledgements, implicit rewind handling, and memory/Event Hubs hot paths were hardened or optimized (#10423, #10572, #10536, #10574, #10655, #10662, #10550, #10767).
Storage, persistence, journaling, durable jobs & transactions
- New Azure Table and Redis journal providers, DynamoDB transactional storage, file-based grain storage, and a System.Text.Json grain storage serializer expand persistence options (#10254, #9823, #9616, #9537, #10806, #9505).
- Transactions receive extensive conflict, recovery, retry, isolation, cancellation, and diagnostics hardening across providers (#10372, #10376, #10382, #10375, #10374, #10385, #10545, #10743).
- Persistent state is now concurrency-safe and cancellation-aware, while journaling snapshot operations and durable-job retry/rescheduling semantics are more robust (#10255, #10641, #10800, #10681, #10349, #10547, #10716, #10679).
Providers & integrations
- Google Cloud Firestore providers, Cosmos DB custom document IDs and partition keys, ADO.NET
DbDataSourcesupport, and improved Azure, ZooKeeper, Redis, NATS, and relational-provider behavior extend and stabilize integrations (#8462, #8699, #10326, #10429, #10381, #10437, #10835, #10422, #10505, #10276). - SQL Server, PostgreSQL, and MySQL clustering add the missing defunct-silo cleanup query (#8811, #9125, #8896).
Serialization, code generation & analyzers
- The source generator is now incremental, generates provider metadata at build time, avoids runtime provider scanning, and supports record-parameter field IDs and custom grain-call return types (#10035, #10493, #10566, #10495, #10682).
- Serialization reduces codec and buffer allocations, adds type/assembly allow-list helpers, and clarifies type-trust configuration (#10301, #10340, #10668, #10228, #10424).
- Analyzers detect RPC contract changes and provide improved diagnostic guidance (#10337, #10832).
Developer experience, templates, samples & docs
- New Orleans application templates and a basic clustering sample make it easier to start and validate applications (#10646, #10690, #10622).
- Connection middleware abstractions and framing helpers provide new transport extension points (#10136, #10433).
- The docs were comprehensively reorganized and modernized across onboarding, architecture, grains, hosting, operations, security, observability, persistence, streaming, testing, deployment, migration, and production guidance (#10331, #10332, #10334, #10335, #10327, #10328, #10333, #10330, #10336, #10329, #10675, #10746).
- Test infrastructure moved to xUnit v3 and Microsoft.Testing.Platform, with provider conformance kits, published test results, coverage reporting, and extensive reliability improvements (#10722, #10726, #10490, #10785, #10730, #10733, #10842, #10438, #10738).
... (truncated)
10.3.0-rc.1
What's Changed
- ci: enable GitHub autobaseline for nightly-main pipeline by @ReubenBond in https://github.com/dotnet/orleans/pull/10297
- fix(reminders): prevent ticks after unregister by @ReubenBond in https://github.com/dotnet/orleans/pull/10296
- feat(streaming): make SequentialItem serializable by @ReubenBond in https://github.com/dotnet/orleans/pull/10302
- Add Azure Table journal storage provider by @danielmeza in https://github.com/dotnet/orleans/pull/10254
- fix(serialization): defer interface collection codec dependencies by @ReubenBond in https://github.com/dotnet/orleans/pull/10301
- perf(codegen): migrate to incremental source generator by @ReubenBond in https://github.com/dotnet/orleans/pull/10035
- test: use InProcessTestClusterBuilder in Azure stream reliability tests by @ReubenBond in https://github.com/dotnet/orleans/pull/10222
- chore(deps): bump dompurify from 3.4.11 to 3.4.12 in /src/Dashboard/Orleans.Dashboard.App by @dependabot[bot] in https://github.com/dotnet/orleans/pull/10303
- test: observe grain directory convergence in liveness tests by @ReubenBond in https://github.com/dotnet/orleans/pull/10299
- docs: require conventional commit format for PR titles by @ReubenBond in https://github.com/dotnet/orleans/pull/10310
- fix(serialization)!: enforce type allow-list in default JSON storage serializer by @ReubenBond in https://github.com/dotnet/orleans/pull/10268
- feat(serialization): add type and assembly allow-list helpers by @ReubenBond in https://github.com/dotnet/orleans/pull/10228
- fix(testing): track reminder schedules per owner by @ReubenBond in https://github.com/dotnet/orleans/pull/10312
- refactor: enable nullable reference types across Orleans by @ReubenBond in https://github.com/dotnet/orleans/pull/10291
- fix: eliminate rebalancer waiter timeout race by @ReubenBond in https://github.com/dotnet/orleans/pull/10311
- fix(directory): support rolling upgrades to distributed directory by @ReubenBond in https://github.com/dotnet/orleans/pull/10309
- test: fix grain directory nullability diagnostics by @ReubenBond in https://github.com/dotnet/orleans/pull/10315
- fix: clean up rebalancer diagnostic waiters by @ReubenBond in https://github.com/dotnet/orleans/pull/10313
- perf(reminders): drop reminders that are not due soon by @ReubenBond in https://github.com/dotnet/orleans/pull/10259
- perf: cache compatible placement silos by @ReubenBond in https://github.com/dotnet/orleans/pull/10314
- fix(directory): cancel snapshot pulls from departed silos by @ReubenBond in https://github.com/dotnet/orleans/pull/10318
- feat(streaming): add telemetry tags to stream metrics by @oising in https://github.com/dotnet/orleans/pull/8631
- test: wait for grain call before checking cancellation by @ReubenBond in https://github.com/dotnet/orleans/pull/10319
- test(streaming): cover eventhub checkpoint flush on shutdown by @ReubenBond in https://github.com/dotnet/orleans/pull/10321
- feat(cosmos): support custom document IDs and partition keys by @ReubenBond in https://github.com/dotnet/orleans/pull/8699
- fix(directory): make rolling upgrade handoffs durable by @ReubenBond in https://github.com/dotnet/orleans/pull/10323
- fix: scope reminder test clock to reminder service by @ReubenBond in https://github.com/dotnet/orleans/pull/10317
- feat(cosmos): add configuration support for grain storage by @ReubenBond in https://github.com/dotnet/orleans/pull/10326
- feat(directory): add cancellation-aware operations by @ReubenBond in https://github.com/dotnet/orleans/pull/10339
- fix(directory): stabilize rolling upgrade handoff test by @ReubenBond in https://github.com/dotnet/orleans/pull/10341
- fix(serialization): cap codec allocations by @ReubenBond in https://github.com/dotnet/orleans/pull/10340
- perf(runtime): reduce activation collection sorting allocations by @ReubenBond in https://github.com/dotnet/orleans/pull/10342
- fix(directory): strengthen single-activation guarantees by @ledjon-behluli in https://github.com/dotnet/orleans/pull/9958
- chore(deps): bump postcss from 8.5.15 to 8.5.25 in /src/Dashboard/Orleans.Dashboard.App by @dependabot[bot] in https://github.com/dotnet/orleans/pull/10305
- docs: add Orleans 10 migration guides by @ReubenBond in https://github.com/dotnet/orleans/pull/10329
- docs: modernize deployment and operations guidance by @ReubenBond in https://github.com/dotnet/orleans/pull/10327
- docs: modernize grain programming guidance by @ReubenBond in https://github.com/dotnet/orleans/pull/10334
- fix(docs): correct timer migration link by @ReubenBond in https://github.com/dotnet/orleans/pull/10347
- fix(testing): wait for async cleanup timer rearm by @ReubenBond in https://github.com/dotnet/orleans/pull/10348
- chore(deps-dev): bump fast-uri from 3.1.4 to 3.1.5 in /docs/site by @dependabot[bot] in https://github.com/dotnet/orleans/pull/10343
- fix(durablejobs): preserve job state across retries by @ReubenBond in https://github.com/dotnet/orleans/pull/10349
- feat: add connection middleware abstractions and framing helpers by @wenwangcode in https://github.com/dotnet/orleans/pull/10136
- docs: modernize security and observability guidance by @ReubenBond in https://github.com/dotnet/orleans/pull/10328
- docs: restore migration reference links by @ReubenBond in https://github.com/dotnet/orleans/pull/10352
- docs: restore authoritative grain references by @ReubenBond in https://github.com/dotnet/orleans/pull/10353
- docs: modernize hosting and configuration guidance by @ReubenBond in https://github.com/dotnet/orleans/pull/10335
- docs: expand Orleans architecture documentation by @ReubenBond in https://github.com/dotnet/orleans/pull/10332
- refactor(streaming): remove unused implicit subscriber grain factory by @ReubenBond in https://github.com/dotnet/orleans/pull/10322
- docs: modernize Orleans onboarding by @ReubenBond in https://github.com/dotnet/orleans/pull/10331
... (truncated)
Commits viewable in compare view.
Updated Microsoft.Orleans.Serialization.SystemTextJson from 10.2.2 to 10.3.1.
Release notes
Sourced from Microsoft.Orleans.Serialization.SystemTextJson's releases.
10.3.1
The most significant change in this release over 10.3.0 is the format used by the version contract compatibility analyzers. The other changes are test and docs fixes.
What's Changed
- Enable DefaultDeny network isolation for CI by @ReubenBond in https://github.com/dotnet/orleans/pull/10850
- docs: add placement hint guidance by @ReubenBond in https://github.com/dotnet/orleans/pull/10844
- fix(test): propagate xUnit cancellation by @ReubenBond in https://github.com/dotnet/orleans/pull/10845
- fix(codegen): suppress warnings in generated source by @ReubenBond in https://github.com/dotnet/orleans/pull/10854
- test(codegen): pass cancellation token to diagnostics by @ReubenBond in https://github.com/dotnet/orleans/pull/10878
- ci: add trusted coverage report validation by @ReubenBond in https://github.com/dotnet/orleans/pull/10882
- fix(test): remove activation-local reminder waits by @ReubenBond in https://github.com/dotnet/orleans/pull/10855
- test(dashboard): cover hosting and routing behavior by @ReubenBond in https://github.com/dotnet/orleans/pull/10885
- test(streaming): cover JSON converter read contracts by @ReubenBond in https://github.com/dotnet/orleans/pull/10884
- test(testing): cover TestingHost failure diagnostics by @ReubenBond in https://github.com/dotnet/orleans/pull/10883
- test(analyzers): raise compiler tooling coverage by @ReubenBond in https://github.com/dotnet/orleans/pull/10894
- test(azure): cover queue JSON validation by @ReubenBond in https://github.com/dotnet/orleans/pull/10876
- refactor(codegen): remove unused method signature comparer by @ReubenBond in https://github.com/dotnet/orleans/pull/10874
- test(runtime): cover ring range collection invariants by @ReubenBond in https://github.com/dotnet/orleans/pull/10879
- test(serialization): cover multidimensional array copying by @ReubenBond in https://github.com/dotnet/orleans/pull/10880
- test(transactions): verify consistency histories by @ReubenBond in https://github.com/dotnet/orleans/pull/10875
- test(adonet): raise relational provider coverage above 90% by @ReubenBond in https://github.com/dotnet/orleans/pull/10892
- test(reminders): harden lifecycle synchronization by @ReubenBond in https://github.com/dotnet/orleans/pull/10891
- fix(test): remove placement timeout race by @ReubenBond in https://github.com/dotnet/orleans/pull/10898
- fix(testing): isolate reminder event continuations by @ReubenBond in https://github.com/dotnet/orleans/pull/10899
- test(reminders): add lifecycle conformance scenarios by @ReubenBond in https://github.com/dotnet/orleans/pull/10896
- fix(test): keep observer cancellation targets alive by @ReubenBond in https://github.com/dotnet/orleans/pull/10897
- fix(test): retry SQL Server deadlock victims by @ReubenBond in https://github.com/dotnet/orleans/pull/10901
- test(reminders): enable provider failover coverage by @ReubenBond in https://github.com/dotnet/orleans/pull/10895
- feat(analyzers): regenerate Orleans contracts project-wide by @ReubenBond in https://github.com/dotnet/orleans/pull/10869
- fix(analyzers): clarify Orleans contract identities by @ReubenBond in https://github.com/dotnet/orleans/pull/10910
Full Changelog: https://github.com/dotnet/orleans/compare/v10.3.0...v10.3.1
10.3.0
Orleans 10.3.0
Orleans 10.3.0 expands the platform across clustering, streaming, persistence, integrations, serialization, and developer tooling while delivering a broad reliability and performance pass. Major outcomes include stronger distributed-directory and membership behavior, new streaming and storage providers, hardened transactions and durable jobs, incremental source generation, safer JSON storage deserialization, and new application templates. Alongside these features and fixes, the release optimizes key runtime paths, comprehensively refreshes the docs, strengthens testing and CI, and updates dependencies and repository maintenance.
Compatibility notes
[!IMPORTANT]
Review these changes before upgrading. This release contains three intentionally behavior-changing updates.
- Default JSON storage serializer type allow-list (#10268). The default Newtonsoft.Json-based Orleans storage serializer now resolves
$typemetadata only for types permitted by Orleans' configured type filters and manifest. Existing wire data remains readable when its types are allowed;[GenerateSerializer]types and standard permitted BCL types continue to work without changes. If persisted, streamed, or transactional JSON contains other types, reads now fail with an actionableJsonSerializationException. Prefer registering those types throughTypeManifestOptions.AllowedTypes,[GenerateSerializer],ITypeNameFilter, orITypeFilter;OrleansJsonSerializerOptions.AllowAllTypes = truerestores the former permissive JSON behavior when a narrowly scoped allow-list is not practical. - Updated RPC semantic convention keys (#10354). Orleans activities now emit the current OpenTelemetry RPC key
rpc.system.name; Orleans-specific service, target, and source metadata move toorleans.rpc.service,orleans.rpc.target_id, andorleans.rpc.source_id. The runtime-siderpc.methodvalue is now qualified as<interface>/<method>, and affectedActivitySourceversions are incremented. Update dashboards, alerts, collectors, and queries which depend on the legacyrpc.system,rpc.service,rpc.orleans.target_id, orrpc.orleans.source_idkeys or the previous method value. - Grain context configured before construction (#10565). Orleans now deterministically applies
IConfigureGrainContextactions before grain construction, so constructors can observe fully configured context state. CustomIGrainContextActivatorimplementations must migrate fromCreateContext(GrainAddress)toCreateContext(GrainAddress, IConfigureGrainContext[])and apply the supplied configurators before constructing the grain. Stateless-worker configurators continue to apply to the outer stateless-worker context.
Highlights
Runtime, clustering & resilience
- Distributed-directory rolling upgrades now have durable handoffs, cancellation-aware operations, stronger single-activation guarantees, and improved recovery and startup behavior (#10309, #10323, #10339, #9958, #10500, #10533, #10613, #10625).
- Membership fault detection gains connection liveness checks, adaptive probe timeouts, retained local health history, and local-stall detection (#9978, #10510, #10502, #9979).
- Reminder delivery, reconciliation, rebalancing, shutdown state, placement compatibility caching, and resilience policies received substantial correctness and efficiency improvements (#10296, #10430, #10612, #10819, #10838, #10311, #10313, #10614, #10573, #10596, #10314, #10597, #10599, #9819).
Streaming
- New AWS Kinesis support, SQS data adapters with FIFO support, Event Hubs Aspire integration, grain-backed checkpointing, and generalized Azure Table checkpointing broaden deployment choices (#8967, #8723, #9328, #10345, #10355).
- Persistent streams now flow cancellation; stateless workers can consume streams; Azure Queue migration supports compact JSON; and stream telemetry includes richer tags (#10383, #10657, #10507, #8631).
- Redis implicit subscriptions, SQL Server queue commits, ADO.NET handoffs, batched acknowledgements, implicit rewind handling, and memory/Event Hubs hot paths were hardened or optimized (#10423, #10572, #10536, #10574, #10655, #10662, #10550, #10767).
Storage, persistence, journaling, durable jobs & transactions
- New Azure Table and Redis journal providers, DynamoDB transactional storage, file-based grain storage, and a System.Text.Json grain storage serializer expand persistence options (#10254, #9823, #9616, #9537, #10806, #9505).
- Transactions receive extensive conflict, recovery, retry, isolation, cancellation, and diagnostics hardening across providers (#10372, #10376, #10382, #10375, #10374, #10385, #10545, #10743).
- Persistent state is now concurrency-safe and cancellation-aware, while journaling snapshot operations and durable-job retry/rescheduling semantics are more robust (#10255, #10641, #10800, #10681, #10349, #10547, #10716, #10679).
Providers & integrations
- Google Cloud Firestore providers, Cosmos DB custom document IDs and partition keys, ADO.NET
DbDataSourcesupport, and improved Azure, ZooKeeper, Redis, NATS, and relational-provider behavior extend and stabilize integrations (#8462, #8699, #10326, #10429, #10381, #10437, #10835, #10422, #10505, #10276). - SQL Server, PostgreSQL, and MySQL clustering add the missing defunct-silo cleanup query (#8811, #9125, #8896).
Serialization, code generation & analyzers
- The source generator is now incremental, generates provider metadata at build time, avoids runtime provider scanning, and supports record-parameter field IDs and custom grain-call return types (#10035, #10493, #10566, #10495, #10682).
- Serialization reduces codec and buffer allocations, adds type/assembly allow-list helpers, and clarifies type-trust configuration (#10301, #10340, #10668, #10228, #10424).
- Analyzers detect RPC contract changes and provide improved diagnostic guidance (#10337, #10832).
Developer experience, templates, samples & docs
- New Orleans application templates and a basic clustering sample make it easier to start and validate applications (#10646, #10690, #10622).
- Connection middleware abstractions and framing helpers provide new transport extension points (#10136, #10433).
- The docs were comprehensively reorganized and modernized across onboarding, architecture, grains, hosting, operations, security, observability, persistence, streaming, testing, deployment, migration, and production guidance (#10331, #10332, #10334, #10335, #10327, #10328, #10333, #10330, #10336, #10329, #10675, #10746).
- Test infrastructure moved to xUnit v3 and Microsoft.Testing.Platform, with provider conformance kits, published test results, coverage reporting, and extensive reliability improvements (#10722, #10726, #10490, #10785, #10730, #10733, #10842, #10438, #10738).
... (truncated)
10.3.0-rc.1
What's Changed
- ci: enable GitHub autobaseline for nightly-main pipeline by @ReubenBond in https://github.com/dotnet/orleans/pull/10297
- fix(reminders): prevent ticks after unregister by @ReubenBond in https://github.com/dotnet/orleans/pull/10296
- feat(streaming): make SequentialItem serializable by @ReubenBond in https://github.com/dotnet/orleans/pull/10302
- Add Azure Table journal storage provider by @danielmeza in https://github.com/dotnet/orleans/pull/10254
- fix(serialization): defer interface collection codec dependencies by @ReubenBond in https://github.com/dotnet/orleans/pull/10301
- perf(codegen): migrate to incremental source generator by @ReubenBond in https://github.com/dotnet/orleans/pull/10035
- test: use InProcessTestClusterBuilder in Azure stream reliability tests by @ReubenBond in https://github.com/dotnet/orleans/pull/10222
- chore(deps): bump dompurify from 3.4.11 to 3.4.12 in /src/Dashboard/Orleans.Dashboard.App by @dependabot[bot] in https://github.com/dotnet/orleans/pull/10303
- test: observe grain directory convergence in liveness tests by @ReubenBond in https://github.com/dotnet/orleans/pull/10299
- docs: require conventional commit format for PR titles by @ReubenBond in https://github.com/dotnet/orleans/pull/10310
- fix(serialization)!: enforce type allow-list in default JSON storage serializer by @ReubenBond in https://github.com/dotnet/orleans/pull/10268
- feat(serialization): add type and assembly allow-list helpers by @ReubenBond in https://github.com/dotnet/orleans/pull/10228
- fix(testing): track reminder schedules per owner by @ReubenBond in https://github.com/dotnet/orleans/pull/10312
- refactor: enable nullable reference types across Orleans by @ReubenBond in https://github.com/dotnet/orleans/pull/10291
- fix: eliminate rebalancer waiter timeout race by @ReubenBond in https://github.com/dotnet/orleans/pull/10311
- fix(directory): support rolling upgrades to distributed directory by @ReubenBond in https://github.com/dotnet/orleans/pull/10309
- test: fix grain directory nullability diagnostics by @ReubenBond in https://github.com/dotnet/orleans/pull/10315
- fix: clean up rebalancer diagnostic waiters by @ReubenBond in https://github.com/dotnet/orleans/pull/10313
- perf(reminders): drop reminders that are not due soon by @ReubenBond in https://github.com/dotnet/orleans/pull/10259
- perf: cache compatible placement silos by @ReubenBond in https://github.com/dotnet/orleans/pull/10314
- fix(directory): cancel snapshot pulls from departed silos by @ReubenBond in https://github.com/dotnet/orleans/pull/10318
- feat(streaming): add telemetry tags to stream metrics by @oising in https://github.com/dotnet/orleans/pull/8631
- test: wait for grain call before checking cancellation by @ReubenBond in https://github.com/dotnet/orleans/pull/10319
- test(streaming): cover eventhub checkpoint flush on shutdown by @ReubenBond in https://github.com/dotnet/orleans/pull/10321
- feat(cosmos): support custom document IDs and partition keys by @ReubenBond in https://github.com/dotnet/orleans/pull/8699
- fix(directory): make rolling upgrade handoffs durable by @ReubenBond in https://github.com/dotnet/orleans/pull/10323
- fix: scope reminder test clock to reminder service by @ReubenBond in https://github.com/dotnet/orleans/pull/10317
- feat(cosmos): add configuration support for grain storage by @ReubenBond in https://github.com/dotnet/orleans/pull/10326
- feat(directory): add cancellation-aware operations by @ReubenBond in https://github.com/dotnet/orleans/pull/10339
- fix(directory): stabilize rolling upgrade handoff test by @ReubenBond in https://github.com/dotnet/orleans/pull/10341
- fix(serialization): cap codec allocations by @ReubenBond in https://githu...
Description has been truncated
Summary by cubic
Bumps the .NET packages used by the Orleans docs: the Microsoft.Extensions.* packages to 10.0.12 and the Orleans packages to 10.3.1.
Notes
- Orleans 10.3.0 restricts the default JSON storage serializer to a type allow-list; allow needed types or set
OrleansJsonSerializerOptions.AllowAllTypes = trueto keep the old behavior. - OpenTelemetry RPC key names changed; update dashboards and alerts that rely on the legacy
rpc.system,rpc.service,rpc.orleans.target_id, orrpc.orleans.source_idkeys. - Custom
IGrainContextActivatorimplementations must switch to the newCreateContext(GrainAddress, IConfigureGrainContext[])overload.