Skip to content

Releases: Finbuckle/Finbuckle.MultiTenant

v9.0.0

13 Nov 02:08
Compare
Choose a tag to compare

9.0.0 (2024-11-13)

Features

BREAKING CHANGES

  • OnTenantResolved and OnTenantNotResolved are no longer used. Use the OnStrategyResolveCompleted, OnStoreResolveCompleted, and OnTenantResolveCompleted events instead.
  • MultiTenantDbContext constructors accepting ITenantInfo removed, use MultiTenantDbContext.Create factory method
  • MultiTenantDbContext constructors accepting ITenantInfo removed, use MultiTenantDbContext .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

12 Oct 21:53
Compare
Choose a tag to compare

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

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

03 Aug 05:27
Compare
Choose a tag to compare

7.0.2 (2024-08-03)

Bug Fixes

  • Preserve annotations when adjusting index (#832) (e765340)
  • strategy wrapper no longer throws on a null context, instead passing it to the actual strategy (#863) (2b165c7)

v7.0.1

28 Apr 17:41
Compare
Choose a tag to compare

7.0.1 (2024-04-28)

Bug Fixes

  • only throw exception in EnforceMultiTenant for null tenant if there are entity changes. (#819) (ca9e9fd)

v7.0.0

21 Apr 20:28
Compare
Choose a tag to compare

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)

v6.13.1

24 Jan 04:12
Compare
Choose a tag to compare

6.13.1 (2024-01-24)

Bug Fixes

v6.13.0

21 Dec 04:01
Compare
Choose a tag to compare

6.13.0 (2023-12-21)

Features

Bug Fixes

v6.12.0

25 Aug 03:09
Compare
Choose a tag to compare

6.12.0 (2023-08-25)

Features

v6.11.1

06 Jul 02:27
Compare
Choose a tag to compare

6.11.1 (2023-07-06)

Bug Fixes

v6.11.0

01 Jul 03:28
Compare
Choose a tag to compare

6.11.0 (2023-07-01)

Features

  • add HasResolvedTenant to IMultiTenantContext (#650) (375add5)
  • perf improvements in BasePathStrategy and RemoteAuthenticationCallbackStrategy (#654) (ac1c58a)

Bug Fixes

  • internal refactoring and improved XML comments for intellisense (c42c53d)
  • xml docs corrections (#639) (265d26d)