Releases: whitecube/nova-flexible-content
Releases · whitecube/nova-flexible-content
v1.0.1 - Adds dependsOn compatibility
New features:
- Added support for dependsOn on flexible fields - Thanks @mikaelpopowicz #347
- Automatically pin the dropdown menu to the top/bottom depending on available space in viewport - Thanks @harmenjanssen #313
- Added possibility to pass a preset instance to the field's preset method - Thanks @Saifallak #332
Bug fixes:
- Solved PHP 8 Warnings: JsonSerializable, ArrayAccess - Thanks @HenriqueSPin #371 #370
- Fixed fully qualified names in docblocks - Thanks @nrueckmann
v1.0.0 - Nova 4
This release introduces compatibility with Laravel Nova 4.
Nova 3 is not supported by any of the 1.x releases, and should remain on 0.x versions. We will accept PRs for critical fixes on the 0.x branch and do releases as needed, but our focus will mostly be on 1.x and later from now on.
If you find a bug, it would help us greatly if you could open a PR on the tests repo with a test that showcases the problem. Of course, a PR here with an actual fix for the bug is even more appreciated.
Thanks to @Jubeki for the Nova 4 PR and to our GitHub Sponsors for allowing us to put some time towards this:
Known issues
- Flexible fields are not currently compatible with Nova's new dependent field system. This includes setting the flexible as being dependent on another field, as well as using dependent fields within a flexible content. This may get fixed in the future, but we felt this was not necessary for a first release which aims to let everyone upgrade their projects to Nova 4 ASAP.
- Similarly, slug fields do not work in flexible fields.
v0.2.10 - Fixed limit method breaking the field
Laravel 9 + New features, bug fixes & improvements
Allows upgrades to Laravel 9. Thanks @ahinkle - #329
New features:
Bug fixes:
- Fixed help text not showing - #243
- Fixed limit allowing more layouts than it should in certain circumstances - #228
- Converting empty strings to null. Thanks @Broutard - #283
- Fix Flexible cast inside Tinker. Thanks @michaelbaril - #287
Improvements:
- Added PHPUnit workflow. Thanks @martijngastkemper and the @grrr-amsterdam folks - #263
- Added a global
Nova.$emit
event when adding new content group. Thanks @kayacekovic - #272
Bug fixes & improvements
Bug fixes :
- Preserve the previously set
$model
attribute when duplicating a layout - #262. Thanks @harmenjanssen ! - Improved attributes to array casting during flexible value transformation in
HasFlexible
trait - #261. Thanks @harmenjanssen, again.
Improvements :
Bug fixes
Bug fixes :
- Fixed null values in layout groups collections #259 - Thanks @harmenjanssen
Bug fixes
Fixes:
- Added Laravel Nova compatibility requirements to composer.json #239 - Thanks @vasishakd
- Fixed
Ebess/AdvancedNovaMediaLibrary
compatibility #248 - Thanks @riseno - Bump dependencies
Bug fixes & features
Fixes:
- Ensure flexible fields are casted in testing environment #203 - Thanks @gwleuverink
- The
removeCallback
now fires correctly when emptying a flexible field #216 - Thanks @NorthBlue333 - The
HasMediaLibrary
now handles nested fields correctly and handles theremoveCallback
correctly #217 - Thanks @NorthBlue333 - Validation messages are now displayed correctly when using the fullWidth property #220 - Thanks @danieleugoletti
- Help messages are now displayed correctly on the included layout fields #227 - Thanks @ahinkle
- Empty layouts (with no apparent attributes) are not removed from casted Flexible collections anymore #232 - Thanks @hivokas
Features:
- Laravel Dusk Compatibility #206 - Thanks @GarethSomers
Bug fixes
Bug fixes
- Fixed closure context binding bugs when cloning fields during layout duplication.