chore(deps): upgrade OData libraries to 9.0 (blocked on Microsoft.AspNetCore.OData 10)
还没有人认领这个 Issue。
评估
调研方向
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.
由索引模型根据 Issue 内容生成。
描述
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.
- 主要语言
- C#
- 星标
- 184
- 派生
- 48
- 平均合并
- 21 分钟
- 30 天内合并 PR
- 7
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
CommunityToolkit/Datasync 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
CommunityToolkit/Datasync#600 · 1 条评论 ·
-
dependencies Examples
难度 4/5 3-5 天 新手友好度 40/100
CommunityToolkit/Datasync#593 ·
-
dependencies Infrastructure
难度 3/5 1-2 天 新手友好度 72/100
CommunityToolkit/Datasync#592 ·
-
dependencies Infrastructure
难度 4/5 3-5 天 新手友好度 48/100
CommunityToolkit/Datasync#591 ·
-
dependencies Infrastructure
难度 2/5 1-3 小时 新手友好度 55/100
CommunityToolkit/Datasync#590 ·
查看 CommunityToolkit/Datasync 的全部 Issue
相似的 Issue
-
Playground selection bar: comes back after Apply or scrolling while focus is in the Markdown pane未关闭
难度 2/5 1-3 小时 新手友好度 82/100
sillsdev/SIL.TextEditing#175 ·
维护者通常 1 天内回复
-
needs attention untriaged
难度 2/5 1-3 小时 新手友好度 78/100
AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet#3666 ·
维护者通常 3 天内回复
-
难度 2/5 1-3 小时 新手友好度 73/100
MicrosoftLearning/eShopOnWeb#466 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
stryker-mutator/stryker-net#3974 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 73/100
维护者通常 1 天内回复