Migration Guides (v1 -> v2) — MultiTenancy
Upgrade checklist from published NuGet v1.0.0 → v2.0.0 (BC-001–BC-017).
Migrating v1.0.0 to v2.0.0 (BC-001–BC-017)
Section titled “Migrating v1.0.0 to v2.0.0 (BC-001–BC-017)”- Mandatory
DbTransactionon SQL Server (BC-003): UpdateSetTenantSessionContextAsynccalls to passDbTransactionas the second argument sosp_set_session_contextscopes cleanly to the transaction. - Authenticated principal claim validation:
ValidateAuthenticatedPrincipalTenantClaimdefaults totrue("tenant_id"). Ensure issued JWTs/cookies match the tenant strategy or configureTenantClaimTypeexplicitly. - EF Core already removed (
BC-106inv1.0.0): UsePostgreSql,Dapper, orSqliteadapters; EF Core integration was permanently removed prior to GA.
Note on Unreleased Local v3.0.0–v3.1.0 (BC-018–BC-020)
Section titled “Note on Unreleased Local v3.0.0–v3.1.0 (BC-018–BC-020)”Local workspace 3.1.0 (unpublished on NuGet) stages BC-018–BC-020 and the unpublished EricksonLopez.MultiTenancy.Caching satellite.