All notable changes to laravel-cross-eloquent-search will be documented in this file
- Support for Full-Text Search.
- The
getmethod has been renamed tosearch. - The
addWhenmethod has been removed in favor ofwhen. - Support for custom type values when using the
includeModelTypemethod. - By default, the results are sorted by the updated column, which is the
updated_atcolumn in most cases. If you don't use timestamps, it will now use the primary key by default.
- Add Conditionable trait to Searcher (thanks @Daanra!)
- Support for Laravel 9
- Bugfix for excluding models when searching for relations without a search term (fixes #37).
- Added
includeModelTypemethod (thanks @mrkalmdn!)
- Support for PHP 8.1
- Dropped support for PHP 7.4
- Dropped support for Laravel 6 and 7
- Added support for searching through (nested) relationships
- Respect the existing orders when ordering by model type
- Added 'orderByModel' method
- Bugfix for Non-Latin languages
- Bugfix for JSON columns
- Support for ignore case
- Bugfix for empty search terms
- Bugfix for JSON columns
- Support for ordering by relevance
- Support for Table prefixes
- Fix phpdoc comment format (credit to @gazben)
- Bugfix for non-paginated queries.
- Support for the soundex algorithm
- Ability to disable wildcards
- Uses the
getUpdatedAtColumnmethod to evaluate the updated column startWithWildcardmethod has been renamed tobeginWithWildcardallowEmptySearchQuerymethod andEmptySearchQueryExceptionclass removed
- Support for
addManyandandWhenmethods.
- Support for simple pagination (credit to @mewejo).
- Added a
countmethod.
- Allow empty search terms without selecting columns
- Added support for PHP 8.0
- Allow empty search terms
- Added
new()method method
- Docs
- Support for Laravel 8.0
- Standalone search terms parser
- Option to disable the parsing of the search term
- Initial release