What's New in v10.0.0
This page only lists release update details specific to v10.0.0. Release update details for all releases are shown in the history page.
10.0.0 (2025-11-20)
⚠ BREAKING CHANGES
- In prior versions user provided generic types to the
MultiTenantIdentityDbContext family of classes were not mult-tenant by default. This was confusing and to simplify all are now multi-tenant by default.
- The
RouteStrategy will include the tenant in the ambient route values used for link generation, similar to Controller and Action. Can be disabled via the WithRouteStrategy overload taking a boolean for useTenantAmbientRouteValue set 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
ITenantInfo and TenantInfo should be used as the base for custom implementations. Note that EFCoreStore uses 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
IMultiTenantStore interface 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.
IMultiTenantContext and 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.Abstractions package and MultiTenantIdentityDbContext functionality is now in the Finbuckle.MultiTenant.Identity.EntityFrameworkCore package.
Features
- add
IsNotMultiTenant method 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
MultiTenantIdentityDbContext variants. (4e1bd9f)
- immutable IMultiTenantContext (#1018) (03ddeb0)
- improve folder structure (#1040) (d46ce8c)
- improved depedency structure with
Finbuckle.MultiTenant.Abstractions and Finbuckle.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
ITenantInfo is removed (#1029) (21559da)
- use named global query filters in EF Core (#1016) (c3ac833)
Bug Fixes