All notable changes to laravel-multitenancy
will be documented in this file
- NeedsTenant ability to return or redirect
- fix for BroadcastEvent (#142)
- add ability to dispatch events tenant aware
- add support for Laravel 8
- restored check isCurrent from makeCurrent
- 🐛 removed check isCurrent from makeCurrent
- forget current when making new tenant current
- removed $guarded from Tenant model
- TenantAware now uses the Tenant model from config
- TenantsArtisanCommand now uses TenantAware trait
- added
TenantAware
- 🐛 properly handle queued mailables and notification (#78)
- database switch fails with misconfigured tenant (#92)
- added
execute
for the landlord
- added
$tenant->execute($callable)
to execute isolated tenant code (#60)
tenant:artisan
search field customizable using config (#52)
- allow mass assignment when creating a new tenant by default (#57)
- improve error handling of tenant aware jobs
- always register the tenants artisan command, so it may be called from web requests as well.
- remove unused import from config (#20)
- use the configured tenant model in artisan command (#17)
- fix published migration name
- ask for artisan command if none is given
- initial release