Skip to content
This repository has been archived by the owner on Nov 21, 2023. It is now read-only.

Releases: mpyw/eloquent-has-by-non-dependent-subquery

v2.0.3

14 Jul 19:23
b367966
Compare
Choose a tag to compare
Support for Laravel 10 (#13)

v2.0.2

19 Nov 05:49
b190ada
Compare
Choose a tag to compare
feat: 🎸 Improve macro definition for PHPStan code analysis

v2.0.1

11 Oct 03:49
7345abd
Compare
Choose a tag to compare

v2.0.0

25 Jan 09:06
5b2861b
Compare
Choose a tag to compare

Drop support for stale versions (#6)

v1.1.0

27 Aug 15:18
5ef4679
Compare
Choose a tag to compare

We now accept a Builder argument to prevent common mistakes.

Comment::query()->hasByNonDependentSubquery(
    'post',
    function (Relation $query) {
        // $query is a Relation instance
        $query->onlyTrashed();
    }
)->withTrashed()
Comment::query()->hasByNonDependentSubquery(
    'post',
    function ($query) {
        // $query is a Relation instance
        $query->onlyTrashed();
    }
)->withTrashed()
Comment::query()->hasByNonDependentSubquery(
    'post',
    function (Builder $query) {
        // $query is a Builder instance! (Previously it triggered an error)
        $query->onlyTrashed();
    }
)->withTrashed()

v1.0.2

27 Aug 15:17
dd9c2f9
Compare
Choose a tag to compare

v1.0.1

29 Jun 03:11
b8dbc0d
Compare
Choose a tag to compare
Fix: Correct IDE helper return types

v1.0.0

28 Jun 21:24
60bbee0
Compare
Choose a tag to compare

Release 🎉