Releases: Finbuckle/Finbuckle.MultiTenant
Releases · Finbuckle/Finbuckle.MultiTenant
v9.0.0
9.0.0 (2024-11-13)
Features
- add multitenant db factory method (#896) (8728447)
- better tenant resolution events (#897) (956ca36)
- dotnet 9 support (#893) (4be1b88)
- make builds deterministic and set latest GH actions (#889) (d82f89d)
BREAKING CHANGES
OnTenantResolved
andOnTenantNotResolved
are no longer used. Use theOnStrategyResolveCompleted
,OnStoreResolveCompleted
, andOnTenantResolveCompleted
events instead.MultiTenantDbContext
constructors accepting ITenantInfo removed, useMultiTenantDbContext.Create
factory methodMultiTenantDbContext
constructors accepting ITenantInfo removed, useMultiTenantDbContext .Create
factory method instead- net6.0 and net7.0 are no longer supported targets.
- dotnet runtime specific dependencies now float to the latest patch version and are locked at release time with a NuGet lock file. This is a security mitigation and may break some builds not on the latest SDKs.
v8.0.0
8.0.0 (2024-10-12)
Bug Fixes
- BasePathStrategy no longer breaks the strategy chain (#884) (3263eff)
- prevent duplicate key annotation in AdjustKey() (#883) (f75ba2c)
- removed unused parameter from WithPerTenantRemoteAuthenticationConvention (#886) (dd17ab5)
Features
- add GetAllAsync() support for HttpRemoteStore (#848) (4208149)
- added the Echo Store. (#807) (a3e5eee)
- strategies return null on invalid context type (#885) (9834575)
- version policy update (#888) (487a3a6)
BREAKING CHANGES
- This commit brings the release into alignment with the new version policy. See #887 for details.
- Included strategies for ASP.NET Core would throw an exception if the passed context was not an
HttpContext
type. Now they will return null indicating no identifier was found.
v7.0.2
v7.0.1
v7.0.0
7.0.0 (2024-04-21)
⚠ BREAKING CHANGES
- (I)MultiTenantContext and (I)TenantInfo are no longer available via dependency injection. Use
IMultiTenantContextAccessor instead. MultiTenantDbContex and MultiTenantIdentityDbContext will require a new
constructor that injects IMultiTenantContextAccessor or IMultiTenantContext. - Many namespaces have been updated for consistency. Most code will only need to use the Finbuckle.MultiTenant or
Finbuckle.MultiTenant.Abstractions namespace. - Connection string is removed from ITenantInfo and the default TenantInfo implementation.
- Added support for OptionsBuilder API and more efficient per-tenant options overall.
- WithPerTenantOptions replaced by ConfigurePerTenant service collection extensions methods.
- Unique indexes and the UserLogin primary key in the standard Identity models adjusted to include tenant id.
- IMultiTenantContext nullability reworked and should never be null.
Features
- better options support (#681) (1859017)
- change default MultiTenantIdentityDbContext default index and key behavior (81f5612)
- MultiTenantDbContext and MultiTenantIdentityDbContext support for IMultiTenantContextAccessor DI (9015085)
- namespace cleaned up (b354838)
- refactor DI and improve nullability (eca24bf)
- remove ConnectionString from ITenantInfo and TenantInfo (f4e20db)
Bug Fixes
- AdjustKey correctly adding TenantId to primary and foreign keys (613b4a8)