All notable changes to laravel-fulltext
will be documented in this file.
Updates should follow the Keep a CHANGELOG principles.
- Nothing.
- Added support for using dot notation to read nested values for index values, see #30.
- Dropped PHP <7.2 support.
- Dropped Laravel <6 support.
- Added support for Laravel 8.
New feature which you can enable in the config:
-
exclude_feature_enabled This feature excludes some rows from being returned. Enable this when you have a flag in your model which determines whether this record must be returned in search queries or not. By default this feature is disabled.
-
exclude_records_column_name The column name for that property (which acts as a flag). This must match the exact column name at the table.
- Added support for Laravel 7.
- Added support for Laravel 6.
- Database connection can now be set in the configuration (db_connection).
- Changed namespace from
Swis\LaravelFulltext
toSwis\Laravel\Fulltext
.
- Added support for Laravel 5.8.
- Dropped Laravel <5.5 support.
- Dropped PHP <7.1 support.
- Fixed rogue terms when parsing fulltext queries with leading operator (thanks @JaZo)
- Run tests on multiple PHP and Laravel versions.
- Restrict Laravel versions to
^5.1,<5.8
. - Rename tests namespace.
- Improve README and other documentation.
- Add missing dependency to composer.json.
- Code style checker/fixer.
- Add CHANGELOG.
- Drop PHP 5.6 support.
- Correctly retrieve relationship items when relationship is single item.
- Trim string so search strings ending in special characters don't break.
- Always remove operators from search query.
- Fixed bug in wildcard usage.
- Allow searching for empty string in
searchQuery
method so the package doesn't throw a query exception.
- Added basic
.gitignore
.
- Package discovery added.
- Set
enable_wildcards=true
as default