Finbuckle.MultiTenant Docs

What's New in v7.0.1

This page only lists release update details specific to v7.0.1. Release update details for all releases are shown in the history page.

7.0.0 (2024-04-21)

⚠ BREAKING CHANGES

  • Many namespaces have been updated for consistency. Most code will only need to reference the Finbuckle.MultiTenant namespace.
  • Connection string is removed because in many cases it is not needed. Closes #624
  • all unique indexes and the UserLogin primary key in the standard Identity models are adjusted to include the tenant id
  • (I)MultiTenantContext and (I)TenantInfo are no longer available via DI. Use IMultiTenantContextAccessor instead. Also IMultiTenantContext nullability reworked and should never be null.
  • WithPerTenantOptions replaced by ConfigurePerTenant service collection extensions methods.

Added support for OptionsBuilder API and more efficient per-tenant options overall.

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)