All notable changes to laravel-cross-eloquent-search
will be documented in this file
- Support for Full-Text Search.
- The
get
method has been renamed tosearch
. - The
addWhen
method has been removed in favor ofwhen
. - Support for custom type values when using the
includeModelType
method. - By default, the results are sorted by the updated column, which is the
updated_at
column 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
includeModelType
method (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
getUpdatedAtColumn
method to evaluate the updated column startWithWildcard
method has been renamed tobeginWithWildcard
allowEmptySearchQuery
method andEmptySearchQueryException
class removed
- Support for
addMany
andandWhen
methods.
- Support for simple pagination (credit to @mewejo).
- Added a
count
method.
- 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