tenancy

Automatic multi-tenancy for Laravel. No code changes needed.

MIT License

Downloads
3M
Stars
3.5K
Committers
55

Bot releases are hidden (Show)

tenancy - v3.5.1

Published by stancl almost 3 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/archtechx/tenancy/compare/v3.5.0...v3.5.1

tenancy - v3.5.0

Published by stancl almost 3 years ago

Feature release.

Queue tenancy

This release should fix the issue outlined in our docs:

Note: You cannot inject model instances with the SerializesModels trait, because it tries to hydrate the models before the tenant connection is created. Inject model ids instead and use find() in the handle method.

I rewrote most of the logic of the QueueTenancyBootstrapper and added several new queue tenancy-related tests. The bootstrapper should now support injecting entire models in jobs. On top of that, queues should be easy to test (using calls like $this->artisan('queue:work')) since the bootstrapper has additional logic to improve testing DX.

Added

Fixed

New Contributors

Full Changelog: https://github.com/archtechx/tenancy/compare/v3.4.6...v3.5.0

tenancy - v3.4.6

Published by stancl almost 3 years ago

Patch release.

What's Changed

New Contributors

Full Changelog: https://github.com/archtechx/tenancy/compare/v3.4.5...v3.4.6

tenancy - v3.4.5

Published by stancl almost 3 years ago

Patch release.

Fixes

  • #745 Add missing import for Domain model in the service provider
tenancy - v3.4.4

Published by stancl over 3 years ago

Patch release.

Fixes

  • #633 broke postgres, so we added a method to get the key type when incrementing IDs are used

Added

  • #636 ability to disable route registration
tenancy - v3.4.3

Published by stancl over 3 years ago

Patch release.

Fixed

  • Cached lookup was not setting $currentDomain #633
tenancy - v3.4.2

Published by stancl over 3 years ago

Compatibility with new Laravel release

tenancy - v3.4.1

Published by stancl almost 4 years ago

Mini feature release.

Makes the universal middleware group name configurable #581

tenancy - v3.4.0

Published by stancl almost 4 years ago

Feature release.

Added

  • PHP 8 support #542
tenancy - v3.3.0

Published by stancl almost 4 years ago

Feature release.

Added

  • tenancy()->central() helper to execute a callback in the central context from anywhere #487
  • You may specify multiple JobPipelines to listen to a certain event, and terminate them halfway. #527

Fixed

  • tenants:list when not using domains #504
  • Inject the contract for Application instead of the concrete class
  • Databases don't get migrated if they aren't created. #514 #527
tenancy - v3.2.1

Published by stancl about 4 years ago

Patch release.

Fixes

  • Only bind UUID generator if one is specified in config #493
tenancy - v3.2.0

Published by stancl about 4 years ago

Feature release.

Adds

  • Laravel 8 support #491 (thanks @andresayej!)

Fixes

  • Initializing tenants using string #488
tenancy - v3.1.7

Published by stancl about 4 years ago

Patch release.

Fixes

  • Reverse middleware order before prepend #479
tenancy - v3.1.6

Published by stancl about 4 years ago

Patch release

  • Allows tenants to be initalized with their IDs #473 #474
tenancy - v3.1.5

Published by stancl about 4 years ago

Patch release.

Fixes

  • Subdomain identification middleware now works with universal routes
tenancy - v3.1.4

Published by stancl about 4 years ago

Patch release

tenancy - v2.3.12

Published by stancl over 4 years ago

Use correct branch.

tenancy - v2.3.11

Published by stancl over 4 years ago

Patch release.

Fixes

  • Cast $value to string before instantiating exception
tenancy - v2.3.10

Published by stancl over 4 years ago

Patch release.

Fixes

  • Set config() root too in FilesystemTenancyBootstrapper
tenancy - v3.1.0

Published by stancl over 4 years ago

Feature release.

Added