Nova Flexible Content Versions Save

Flexible Content & Repeater Fields for Laravel Nova

v1.0.0

2 years ago

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:

  • @monaye
  • @bashgeek
  • @chrisvasey
  • @julianlaibach

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.9

2 years ago

Allows upgrades to Laravel 9. Thanks @ahinkle - #329

New features:

  • Added limits per layout. Thanks @niekbr - #292

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

v0.2.8

3 years ago

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 :

  • The resolver() method now accepts a pre-defined ResolverInterface instance - #265. Thanks @jfeid !

v0.2.7

3 years ago

Bug fixes :

  • Fixed null values in layout groups collections #259 - Thanks @harmenjanssen

0.2.7

3 years ago

Fixes:

  • Added Laravel Nova compatibility requirements to composer.json #239 - Thanks @vasishakd
  • Fixed Ebess/AdvancedNovaMediaLibrary compatibility #248 - Thanks @riseno
  • Bump dependencies

v0.2.6

3 years ago

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 the removeCallback 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

v0.2.5

3 years ago

Fixes:

  • Fix callback definition on layout duplication (fixed #196)
  • Fix group count limitation in Search Menu - #192 Thanks @ngiraud
  • Added translations for "Add layout" button - #198 Thanks @behrang1981

v0.2.4

3 years ago
  • Fixed closure context binding bugs when cloning fields during layout duplication.

v0.2.3

3 years ago

Fixes:

  • Fix bug on Currency field (fixed #166) - #177 Thanks @jeffreydevreede
  • Fix validation errors not showing - #162 Thanks @adriaanzon @mikaelpopowicz
  • Partial fix for conditional field displays - #167

Features:

  • Layouts now display their position number - #186 Thanks @mikaelpopowicz