chore(deps): update OData, Cosmos, MongoDB, Swashbuckle and AutoMapper

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
52/100
issue の種類
リファクタリング
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
azure, csharp, github-actions, mongodb, postgresql

調査の方向性

Start with the root Directory.Packages.props and verify the listed package versions on NuGet. Update the five scoped dependencies, then run targeted server, OData, Cosmos, MongoDB, Swashbuckle, and Automapper tests before the full restore, build, and test commands. Check vulnerable packages and NU190x warnings; the work is done when versions, tests, and CI meet the acceptance criteria.

索引モデルが issue の本文から書いたものです。

説明

dependencies Server

Part 3 of the outdated-package sweep (dotnet-outdated 4.8.1, 2026-11-05). Minor version updates for runtime/library dependencies of the shipped packages. Depends on nothing, but easiest after the "bump .NET, EF Core and library patch versions" PR lands (same file, avoids conflicts).

Scope (this PR only)

Root Directory.Packages.props:

Package Current Target Used by Risk / what to check
Microsoft.AspNetCore.OData 9.4.1 9.5.0 CommunityToolkit.Datasync.Server 9.5.0 still depends on OData.Core/Edm/Spatial [8.4.0, 9.0.0), so compatible with the 8.4.x pins. Run server + OData query tests.
Microsoft.Azure.Cosmos 3.61.0 3.63.3 Server.CosmosDb Run Cosmos tests (need COSMOS_CONNECTION_STRING; otherwise skipped, say so in the PR).
MongoDB.Driver 3.9.0 3.13.0 Server.MongoDB Four minor versions. Run the MongoDB suite (Testcontainers, Docker required). Skim release notes at https://github.com/mongodb/mongo-csharp-driver/releases for deprecations.
Swashbuckle.AspNetCore 10.2.1 10.3.1 Server.Swashbuckle + its tests Verify the explicit Microsoft.OpenApi 2.7.5 pin (see XML comment) still resolves and no NU1903 appears; if Swashbuckle now floats a patched OpenApi, the pin may be re-evaluated but leave it unless clearly obsolete.
AutoMapper 16.1.1 16.3.0 Server.Automapper Run the Automapper tests. Check licensing/notes of 16.3.0 on https://github.com/LuckyPennySoftware/AutoMapper/releases .

Verify versions on NuGet first (https://api.nuget.org/v3-flatcontainer/<lowercase-id>/index.json); use a newer patch of the same minor if it exists.

Out of scope: test tooling (separate issue), Microsoft.OData.*/Microsoft.Spatial (patch issue / blocked major issue), NSwag.AspNetCore, LiteDB, Azure.Identity (not outdated).

Steps

  1. Edit props. If a package forces code changes (API deprecations/obsoletions treated as errors), make the minimal fix and note it in the PR; if it needs substantive work, drop that package from this PR and file a follow-up.
  2. dotnet restore && dotnet build && dotnet test (Docker running). Targeted first: dotnet test tests/CommunityToolkit.Datasync.Server.MongoDB.Test etc.
  3. dotnet list Datasync.Toolkit.sln package --vulnerable --include-transitive must be empty; no NU190x warnings on restore.
  4. Dispatch build-library.yml on the fork with --ref <branch>.

Acceptance criteria

  • All five packages at target versions (or a documented, justified exception).
  • Local and CI build/test green.
  • PR title: chore(deps): update OData, Cosmos, MongoDB, Swashbuckle and AutoMapper.
主要言語
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 を短くまとめたダイジェスト。