chore(deps): upgrade OData libraries to 9.0 (blocked on Microsoft.AspNetCore.OData 10)

オープン
#594 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
csharp
領域
api, backend

調査の方向性

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 の本文から書いたものです。

説明

Blocked dependencies Server

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.Spatial 8.4.3 (pinned separately); Microsoft.OData.Edm is transitive. Microsoft.AspNetCore.OData 9.4.1 (-> 9.5.0 via the minor-update issue).
  • Samples datasync-server and datasync-server-cosmosdb-singlecontainer pin Microsoft.OData.Core and Microsoft.OData.Edm 8.4.3 explicitly.
  • Latest: Microsoft.OData.Core/Edm/Spatial 9.0.0 GA (targets .NET 10; Edm.Date/Edm.TimeOfDay map to DateOnly/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)

  1. Bump Microsoft.AspNetCore.OData, <ODataVersion>, and Microsoft.Spatial together; update the two sample csproj pins.
  2. Review code in src/CommunityToolkit.Datasync.Server that uses Microsoft.OData.* / OData query options for API changes (DateOnly/TimeOnly mapping, URI/query parsing); check the Server and Abstractions tests and the DTO date handling.
  3. dotnet build && dotnet test; dispatch build-library.yml and build-samples.yml.
  4. 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分
マージ済み PR(30日)
7

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

CommunityToolkit/Datasync のほかの issue

CommunityToolkit/Datasync の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。