Releases: tylernathanreed/laravel-relation-joins
v6.0.1
v6.0.0
Laravel 9 reached its end of life earlier this year. I have dropped support for L9, and added official support for Laravel 11.
With this comes dropping PHP 8.0, with the new minimum of PHP 8.1.
v5.0.0
Laravel 8 reached its end of life earlier this year. I have dropped support for L8, and added future compatibility for the upcoming Laravel 11.
With this comes dropping PHP 7.3, with the new minimum of PHP 8.0.
PHP 8 offers better type-hinting, and overall works better with static analysis tooling. I have incorporated PHP Stan into the pipeline builds moving forward to offer better quality code for everyone.
v4.0.2
v4.0.1
Fixed aliasing error with morphOne relationship
Laravel 10.x Support
Added Laravel 10.x support.
Dropped Laravel 7.x support.
Fixed strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated
Laravel 9.x Support
Added Laravel 9 support.
Dropped Laravel 6.x support.
Fixed code coverage
v2.4.2 ~ Explain things and fix code coverage
Added support for mixed join types in array-syntax
Example:
User::query()->joinRelation('posts.comments', [
'comments' => function ($join) { $join->type = 'left'; }
});
Added Array-Syntax support for multiple join constraints
Example:
User::query()->joinRelation('posts.comments', [
function ($join) { $join->where('is_active', '=', 1); },
function ($join) { $join->where('comments.title', 'like', '%looking for something%'); }
});
See more in the readme.