chore(deps): update OData, Cosmos, MongoDB, Swashbuckle and AutoMapper
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 52/100
- Type d'issue
- Refactorisation
- Clarté
- Clairement spécifiée
- Activité
- Active
- Stack technique
- azure, csharp, github-actions, mongodb, postgresql
- Domaine
- backend, build-system, databases
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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
- 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.
dotnet restore && dotnet build && dotnet test(Docker running). Targeted first:dotnet test tests/CommunityToolkit.Datasync.Server.MongoDB.Testetc.dotnet list Datasync.Toolkit.sln package --vulnerable --include-transitivemust be empty; no NU190x warnings on restore.- Dispatch
build-library.ymlon 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.
- Langage dominant
- C#
- Étoiles
- 184
- Forks
- 48
- Merge moyen
- 21 min
- PR mergées (30 j)
- 7
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Aucun modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de CommunityToolkit/Datasync
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
CommunityToolkit/Datasync#600 · 1 commentaire ·
-
Blocked dependencies Server
Difficulté 4/5 3-5 jours Accessibilité débutants 25/100
CommunityToolkit/Datasync#594 ·
-
dependencies Examples
Difficulté 4/5 3-5 jours Accessibilité débutants 40/100
CommunityToolkit/Datasync#593 ·
-
dependencies Infrastructure
Difficulté 3/5 1-2 jours Accessibilité débutants 72/100
CommunityToolkit/Datasync#592 ·
-
dependencies Infrastructure
Difficulté 4/5 3-5 jours Accessibilité débutants 48/100
CommunityToolkit/Datasync#591 ·
Toutes les issues de CommunityToolkit/Datasync
Issues similaires
-
enhancement needs-triage
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
microsoft/microsoft-ui-reactor#1460 ·
Les mainteneurs répondent en général sous 1 jour
-
t/bug
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
dotnet/maui#39950 · 1 réaction ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
NimblePros/deviq-hugo#121 ·
Les mainteneurs répondent en général sous 1 jour
-
RANDOM_REPLACE does not keep the date format when the month abbreviation has a trailing periodOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
philterd/phileas-dotnet#188 ·
-
Update github actions workflowsOuverteenhancement triaged
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
nikneem/sessionize-api-client#55 · 3 commentaires ·