Repository navigation
v1.0.0
·
4 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
First stable release. From here on a breaking change means a new major.
Since 0.6.0:
containsusesplin-code/laravel-sql-dialect: case insensitive on PostgreSQL (ILIKE), driver specific escaping, wildcards in the term matched literally.- Four composite indexes on the typed value columns. A fresh install gets them from the create migration; an existing install publishes the migrations again (only the new file is copied) and migrates.
InvalidFilterValueException: a malformed filter value renders as a 400 with no app side mapping and is not reported. The 0.3.0 and 0.6.0 notes that called the old exception "a 400" were wrong; see the changelog corrections.CustomFieldandCustomFieldValuedeclare$fillable. A key outside it is discarded, or throws underModel::preventSilentlyDiscardingAttributes().whereCustomField()throws for an empty string and treatsnullas "no stored value".- An empty item inside a
containslist and anullelement inside any list are refused. Aselectoption keyed"0"works again. - The README leads with the problem and a quick start; the reference lives in
docs/. A drift test keeps README, docs and the Boost resources in line with the code.
Upgrading from 0.1.x or 0.2.x: read docs/upgrading.md first.
composer update plin-code/laravel-custom-fields
php artisan vendor:publish --tag="laravel-custom-fields-migrations"
php artisan migrateFull changes in #18, #19, #20, #21, #22, #23, #24, #25, #26 and #27.