Releases: Finbuckle/Finbuckle.MultiTenant
Releases · Finbuckle/Finbuckle.MultiTenant
v10.0.1
v9.4.4
v10.0.0
10.0.0 (2025-11-20)
⚠ BREAKING CHANGES
- In prior versions user provided generic types to the
MultiTenantIdentityDbContextfamily of classes were not mult-tenant by default. This was confusing and to simplify all are now multi-tenant by default. - The
RouteStrategywill include the tenant in the ambient route values used for link generation, similar toControllerandAction. Can be disabled via theWithRouteStrategyoverload taking a boolean foruseTenantAmbientRouteValueset to false. - General improvements in folder structure to reduce overnesting has caused namespace changes for certain types. Namely some stores and options types.
- BasePathStrategy default behavior is changed to rebase the aspnetcore path base. This was opt in before. Can be set via
BasePathStrategyOptions. - This was opt in before. Can be set via
BasePathStrategyOptions. - Namespaces were standardized to match folder locations.
- Making TenantInfo a record reduces risk of unintended changes to the current tenant. This change also removes
ITenantInfoandTenantInfoshould be used as the base for custom implementations. Note thatEFCoreStoreuses this record as an entity but takes care not to rely on tracking. - prior extension namespaces were inconsistent, now they are all
{PackageName}.Extensions, e.g.Finbuckle.MultiTenant.Options.Extensions - Per-tenant options support was previously part of the Finbuckle.MultiTenant package. Projects will need to reference the Finbuckle.MultiTenant.Options package going forward.
- Minor changes to the
IMultiTenantStoreinterface signatures. - Removes the 64 character limit on Tenant ID. This also removes the max length constraint where Tenant ID is used in EF Core if applicable.
IMultiTenantContextand its implementations are now immutable. Changes will require assigning a new instance.- Prior to this change anonymous filters were used and required special consideration in advanced scenarios. The change to named filters removes these considerations, but named filters cannot be mixed with anonymous filters.
- net8 and net9 targets were removed
- This change better isolates dependencies. Basic interfaces and types are now in the
Finbuckle.MultiTenant.Abstractionspackage andMultiTenantIdentityDbContextfunctionality is now in theFinbuckle.MultiTenant.Identity.EntityFrameworkCorepackage.
Features
- add
IsNotMultiTenantmethod to exclude entities from multi-tenancy in EF Core per-tenant data functionality. (b160826) - add Identity passkey multi-tenant support (7f0bf73)
- add MultiTenantAmbientValueLinkGenerator to promote tenant route values (#1041) (259511c)
- all projects target net10 (#1007) (1f02e8f)
- BasePathStrategy will rebase the aspnetcore path base by default (bd7f0d0)
- BasePathStrategy will rebase the aspnetcore path base by default (d107d81)
- expose many internal types as public and adjust namespaces (#1030) (f680843)
- Identity entity types are all multi-tenant by default on
MultiTenantIdentityDbContextvariants. (4e1bd9f) - immutable IMultiTenantContext (#1018) (03ddeb0)
- improve folder structure (#1040) (d46ce8c)
- improved depedency structure with
Finbuckle.MultiTenant.AbstractionsandFinbuckle.MultiTenant.Identity.EntityFrameworkCore(#1006) (e191d83) - improved store interface (#1020) (c6a16c4)
- improved xml comments (#1038) (fdd59b9)
- improved xml comments (#1038) (8ee6597)
- namespaces for extension methods changed (#1026) (318fcec)
- refactors per-tenant options into Finbuckle.MultiTenant.Options package (#1024) (ca4877f)
- removed max char length on TenantInfo (#1019) (37bb15b)
- TenantInfo is now a record and
ITenantInfois removed (#1029) (21559da) - use named global query filters in EF Core (#1016) (c3ac833)
Bug Fixes
- update dependencies (#1023) (69ac561)
- update dependencies (#1027) (b185944)
- update dependencies (#1037) (b168900)