What's new
- Brand new Antlers parser. #4257 by @JohnathonKoster
- Laravel 9 support. #5188 by @jesseleite
- Headless Live Preview. #5109 by @jasonvarga
- Frontend form field conditions. #4949 by @jesseleite
- Antlers wrapper for Blade. #5058 by @jesseleite
- Support Blade section yields in Antlers layouts. #5056 by @jasonvarga
- Added
Statamic::query()
aliases. #5285 by @jasonvarga - Augmentables (Entry, Term, etc) can retrieve their augmented values via property access. #5297 by @jasonvarga
- Augmentables can retrieve their augmented values via array access. #5327 by @jasonvarga
- Augmentables implement
Arrayable
, and will return all their augmented values via thetoArray
method. #5186 by @jasonvarga
What's fixed
- CP forms only submit visible fields, in order to fix sometimes/required_if/etc validation rules. #5101 by @jesseleite
What's changed
- PHP 7.2 and 7.3 are no longer supported.
- Laravel 6 and 7 are no longer supported.
- Entries fieldtypes augment to query builders instead of collections. #5238 by @jasonvarga
- The
page
and each global in the cascade are now instances of the page/global. #5334 by @jasonvarga - The
Augmented
interface'sget
method now has a return typehint ofValue
. #5302 by @jasonvarga $item->augmentedValue()
,toAugmentedCollection()
, andtoAugmentedArray()
will always returnValue
instances. #5302 by @jasonvarga- Form submission data will always be an unfiltered Collection. #5230 by @jasonvarga
- AssetContainer, Collection, Form, and Taxonomy's
toArray
methods return different data. #5186 by @jasonvarga