Skip to content

Releases: hipsterjazzbo/Landlord

Support for Laravel 5.5

18 Sep 08:28
Compare
Choose a tag to compare
Updated compatibility to Laravel 5.5 (#72)

* Include composer compatibility with laravel 5.5

* Also updated the require-dev

* Added package Auto-Discovery.

* Fixed autodiscovery for Facade

Deferred Scoping (Beta)

06 Aug 22:17
Compare
Choose a tag to compare
Pre-release

This release attempts to solve scoping issues by deferring scopes when needed. Please add any issues to #50

🚀

Don't allow a NULL tenant id

25 May 23:50
Compare
Choose a tag to compare

Previously, if you passed NULL as a tenant ID, Landlord would accept it happily. This allowed for silent errors like this:

// A global middleware
class TenantScope
{
    public function handle($request, Closure $next)
    {
        // At this point in the request cycle, Auth::user() is NULL
        Landlord::addTenant('user_id', Auth::user());

        return $next($request);
    }
}

Now, Landlord will throw a TenantNullIdException, alerting you to the fact that you're not actually safely scoped.

Support Laravel 5.4

01 Feb 00:34
Compare
Choose a tag to compare
Merge pull request #59 from gustavobissolli/master

Update illuminate to work with Laravel 5.4.*

Fix

08 Nov 07:02
Compare
Choose a tag to compare
Fix
  • Fixed an issue with newQueryWithoutTenants

💥 Version 2 💥

30 Oct 23:17
Compare
Choose a tag to compare

See the readme for what's new!

2.0 Beta

27 Sep 09:49
Compare
Choose a tag to compare
2.0 Beta Pre-release
Pre-release

See the readme for what's new!

Support Laravel 5.3

08 Sep 22:44
Compare
Choose a tag to compare
v1.0.2

Support Laravel 5.3

Bug fixes

18 Jan 21:20
Compare
Choose a tag to compare
  • Fixed the BelongsToTenant trait not booting properly
  • Fixed a few docblocks and README errors

First Release

18 Jan 05:47
Compare
Choose a tag to compare

First release of package with new name and for Laravel 5.2