2 Commits
Author SHA1 Message Date
Abdullah Atta 4480101be7 global: upgrade mongodb driver to 3.12
Identity already ran on driver 3.x through AspNetCore.Identity.Mongo 10.1.0 and Streetwriters.IdentityServer4.Contrib.MongoDB 5.0.0, while Streetwriters.Data and Streetwriters.Common were built against 2.30, so shared code could hit APIs removed in 3.0 at runtime in Identity only. Every project now uses 3.12.

- MongoDB.Driver.Core is part of MongoDB.Driver in 3.x
- AspNetCore.Identity.Mongo 10.1.0 in Common, matching Identity, which needs Microsoft.Extensions.DependencyInjection 9.0.2
- AspNetCore.HealthChecks.MongoDb 9.0.0, built against driver 3.x
- tests use EphemeralMongo 3.2, as EphemeralMongo8 2.0 is built against driver 2.x; it no longer stops mongod on exit, so the Identity tests now dispose their runner like the API tests do
2026-10-22 15:46:39 +05:00
Abdullah Atta 042636cd20 api: add tests for sync device ids and transactions
The tests start their own single-node MongoDB replica set (EphemeralMongo),
so they need no setup. They also run in CI on every push and pull request.
2026-10-22 13:13:09 +05:00