Skip to content

Releases: laravie/query-filter

v4.1.0

06 Mar 08:26
Compare
Choose a tag to compare

Added

  • Support for Laravel Framework 11.

v4.0.0

16 Mar 13:55
Compare
Choose a tag to compare

Changes

  • Laravel Framework updated require minimum 10.0 and above.
    • Support new Illuminate\Contracts\Database\Query\Expression
  • Remove Laravie\QueryFilter\Column::getOriginalValue(), use Laravie\QueryFilter\Column::getValue() insteads.
  • Laravie\QueryFilter\Field no longer implements Stringable.

v3.3.0

08 Mar 01:26
Compare
Choose a tag to compare

Changes

  • Added support for Laravel Framework 9.

v3.2.1

12 Dec 13:26
Compare
Choose a tag to compare

Changes

  • Improves generic types docblock.

v3.2.0

27 Oct 03:07
Compare
Choose a tag to compare

Added

  • Added support for PHP 8.1.

v3.1.0

18 Jun 00:12
Compare
Choose a tag to compare

Added

  • Added configurable wildcardSearchVariants().
$searchable = (new Searchable(
    'Administrator', ['name', 'roles.name']
))->wildcardSearchVariants(['%{keyword}%']); 

return $searchable->apply($query)->get(); 

v3.0.0

12 May 14:11
Compare
Choose a tag to compare

Added

  • Added Laravie\QueryFilter\Filters\PrimaryKeySearch and Laravie\QueryFilter\Filters\MorphRelationSearch.

Changes

  • Moved field, JSON and Relation search to classes:
    • Laravie\QueryFilter\Filters\FieldSearch
    • Laravie\QueryFilter\Filters\JsonFieldSearch
    • Laravie\QueryFilter\Filters\RelationSearch
  • Utilise JSON selector parser from illuminate/database.

Breaking Changes

  • Moved Laravie\QueryFilter\Value\Field to Laravie\QueryFilter\Field.
  • Moved Laravie\QueryFilter\Value\Keyword to Laravie\QueryFilter\Keyword.

v2.1.0

02 Mar 02:04
Compare
Choose a tag to compare

Added

  • Added ability to disable wildcard searching using noWildcardSearching() method (reverse of allowWildcardSearching()) from Searchable, Taxanomy and Field classes.
  • Added ability to set wildcard character to be replaced using wildcardCharacter(), this can be disabled by setting it to null.

v2.0.0

07 Sep 10:40
Compare
Choose a tag to compare

Changes

  • Laravel Framework updated require minimum 8.0 and above.

Deprecated

  • Remove deprecated Laravie\QueryFilter\Value\Keywords.

v1.8.0

01 Sep 04:33
Compare
Choose a tag to compare

Changes

  • Allow to get search keyword using Laravie\QueryFilter\Searchable::searchKeyword().