Skip to content

✨ feat!: migrate to eQuantic.Core.Data v5 - #1

Merged
edgarmesquita merged 1 commit into
mainfrom
feature/core-data-v5
Jul 21, 2026
Merged

edgarmesquita merged 1 commit into
mainfrom
feature/core-data-v5

Conversation

@edgarmesquita

Copy link
Copy Markdown
Contributor

What

Brings core-api onto the current data stack — it was the last consumer still on Core.Data v4.

Dependency From To
eQuantic.Core.Data 4.3.2 5.5.0
eQuantic.Core.Data.EntityFramework(.SqlServer/.PostgreSql/.MySql/.MongoDb) 8.1.2 / 10.0.2 (v4 lane) v5 lane (net8 8.2.0/8.3.0, net10 10.1.0/10.2.0)
eQuantic.Linq.Web 3.2.1 3.7.1
eQuantic.Linq.Web.Swashbuckle 3.1.0 3.7.1

Code impact — minimal

The v5 repository contracts drop the TUnitOfWork generic parameter (the engine is out of the generics), so IAsyncQueryableRepository<TEntity, TKey> and GetAsyncQueryableRepository<TEntity, TKey>() take two type arguments instead of three. core-api's own code was already v5-shaped (EntityDataBase<TKey> implements IEntity<TKey> with GetKey/SetKey); the only source change was the sample service, which consumed the old three-argument form.

Proof

Solution builds clean on net8 + net10. Full suite green on both frameworks: Domain (7), Persistence (5), Persistence.Relational (9), Persistence.PostgreSql (8), Api (4) — 33 tests × 2 TFMs, all via EF InMemory (no Docker needed).

The pre-existing NU1608 (Pomelo MySql 9 vs EF Relational 10) warning is unchanged upstream noise.

Notes

  • Breaking for consumers on the three-argument v4 repository form (drop the TUnitOfWork type argument) → semantic-release will cut a major.
  • Merging releases the new eQuantic.Core.Api version.

Brings core-api onto the current data stack: eQuantic.Core.Data 4.3.2 -> 5.5.0,
the EntityFramework providers to their v5 lane (net8 8.2.0/8.3.0, net10
10.1.0/10.2.0), and the eQuantic.Linq family (Web + Swashbuckle) to 3.7.1.

The v5 repository contracts drop the TUnitOfWork generic parameter — the engine
is out of the generics — so IAsyncQueryableRepository<TEntity, TKey> and
GetAsyncQueryableRepository<TEntity, TKey>() take two type arguments instead of
three. core-api's own code was already v5-shaped (EntityDataBase implements
IEntity<TKey>); only the sample service consumed the old three-argument form.

Build clean across net8/net10; the full suite (Domain, Persistence, Relational,
PostgreSql, Api) is green on both frameworks.

BREAKING CHANGE: repository resolution now uses the two-argument v5 contracts
(IAsyncQueryableRepository<TEntity, TKey>); consumers on the three-argument v4
form must drop the TUnitOfWork type argument.
@edgarmesquita
edgarmesquita merged commit 791f73b into main Jul 21, 2026
10 checks passed
@edgarmesquita
edgarmesquita deleted the feature/core-data-v5 branch July 21, 2026 16:39
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 3.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants