chore(deps): upgrade OData libraries to 9.0 (blocked on Microsoft.AspNetCore.OData 10)
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
Research direction
This tracking issue is blocked until Microsoft.AspNetCore.OData 10.x is stable; do not start implementation before then. When unblocked, update package versions in the root Directory.Packages.props and the two sample csproj files, then review Microsoft.OData usage in src/CommunityToolkit.Datasync.Server and the Server and Abstractions tests. Run the build and tests, dispatch build-library.yml and build-samples.yml, and document consumer breaking changes in docs/in-depth/server.
Written by the indexing model from the issue text.
Description
Part 8 of the outdated-package sweep (dotnet-outdated 4.8.1, 2026-11-05). Blocked / tracking issue for the OData .NET 9 major upgrade. Do not start implementation until the blocker clears.
Current state
- Root
Directory.Packages.props:<ODataVersion>8.4.3 (Microsoft.OData.Core),Microsoft.Spatial8.4.3 (pinned separately);Microsoft.OData.Edmis transitive.Microsoft.AspNetCore.OData9.4.1 (-> 9.5.0 via the minor-update issue). - Samples
datasync-serveranddatasync-server-cosmosdb-singlecontainerpinMicrosoft.OData.CoreandMicrosoft.OData.Edm8.4.3 explicitly. - Latest:
Microsoft.OData.Core/Edm/Spatial9.0.0 GA (targets .NET 10;Edm.Date/Edm.TimeOfDaymap toDateOnly/TimeOnly; merged async message interfaces; other API changes). Release notes: https://github.com/OData/odata.net/releases/tag/9.0.0
Blocker
Microsoft.AspNetCore.OData 9.x declares dependencies Microsoft.OData.Core/Edm/Spatial [8.4.0, 9.0.0). A move to ODL 9.0.0 requires a Microsoft.AspNetCore.OData release that supports it (10.0.0, currently preview only; see https://github.com/OData/AspNetCoreOData/releases). Because CentralPackageTransitivePinningEnabled is on, forcing 9.0.0 would produce NU1608/NU1109 conflicts or runtime breakage.
The tool's "Major" flag for these three packages is therefore not actionable today; the patch bump to 8.4.4 is handled in the "bump .NET, EF Core and library patch versions" issue.
When unblocked (Microsoft.AspNetCore.OData 10.x stable)
- Bump
Microsoft.AspNetCore.OData,<ODataVersion>, andMicrosoft.Spatialtogether; update the two sample csproj pins. - Review code in
src/CommunityToolkit.Datasync.Serverthat usesMicrosoft.OData.*/ OData query options for API changes (DateOnly/TimeOnly mapping, URI/query parsing); check the Server and Abstractions tests and the DTO date handling. dotnet build && dotnet test; dispatchbuild-library.ymlandbuild-samples.yml.- Document any breaking change for consumers in the docs (
docs/in-depth/server).
Revisit this issue when Microsoft.AspNetCore.OData 10.x reaches GA.
- Dominant language
- C#
- Stars
- 184
- Forks
- 48
- Avg merge
- 21m
- Merged PRs (30d)
- 7
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from CommunityToolkit/Datasync
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
CommunityToolkit/Datasync#600 · 1 comment ·
-
dependencies Examples
Difficulty 4/5 3-5 days Newbie friendliness 40/100
CommunityToolkit/Datasync#593 ·
-
dependencies Infrastructure
Difficulty 3/5 1-2 days Newbie friendliness 72/100
CommunityToolkit/Datasync#592 ·
-
dependencies Infrastructure
Difficulty 4/5 3-5 days Newbie friendliness 48/100
CommunityToolkit/Datasync#591 ·
-
dependencies Infrastructure
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
CommunityToolkit/Datasync#590 ·
All issues in CommunityToolkit/Datasync
Similar issues
-
enhancement needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
microsoft/microsoft-ui-reactor#1460 ·
Maintainers usually reply within 1 day
-
t/bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
dotnet/maui#39950 · 1 reaction ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
NimblePros/deviq-hugo#121 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
philterd/phileas-dotnet#188 ·
-
enhancement triaged
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
nikneem/sessionize-api-client#55 · 3 comments ·