packagist spicyweb/craft-neo 3.3.0
Neo 3.3.0

latest releases: 4.x-dev, dev-dependabot/npm_and_yarn/webpack-5.94.0, 5.x-dev...
2 years ago

Added

  • Added the Min Levels field setting (added benf\neo\Field::$minLevels)
  • Added the Min Top-Level Blocks field setting (added benf\neo\Field::$minTopBlocks)
  • Added the Enabled block type setting (added benf\neo\models\BlockType::$enabled and added the enabled column to the neoblocktypes table)
  • Added the Min Blocks block type setting (added benf\neo\models\BlockType::$minBlocks and added the minBlocks column to the neoblocktypes table)
  • Added the Min Sibling Blocks of This Type block type setting (added benf\neo\models\BlockType::$minSiblingBlocks and added the minSiblingBlocks column to the neoblocktypes table)
  • Added the Min Child Blocks block type setting (added benf\neo\models\BlockType::$minChildBlocks and added the minChildBlocks column to the neoblocktypes table)
  • Added benf\neo\console\controllers\BlockTypesController::$setEnabled (added the --set-enabled option to the php craft neo/block-types/edit console command)
  • Added benf\neo\console\controllers\BlockTypesController::$unsetEnabled (added the --unset-enabled option to the php craft neo/block-types/edit console command)
  • Added benf\neo\console\controllers\BlockTypesController::$setMinBlocks (added the --set-min-blocks option to the php craft neo/block-types/edit console command)
  • Added benf\neo\console\controllers\BlockTypesController::$setMinSiblingBlocks (added the --set-min-sibling-blocks option to the php craft neo/block-types/edit console command)
  • Added benf\neo\console\controllers\BlockTypesController::$setMinChildBlocks (added the --set-min-child-blocks option to the php craft neo/block-types/edit console command)

Changed

  • Restored the ability to show Linkit field content in collapsed block previews

Fixed

  • Fixed a bug when saving an element, where Neo fields weren't being validated on block types' Max Blocks settings, unless at least one of the Neo field's Max Top-Level Blocks and Max Levels settings were set
  • Fixed a bug where copying and pasting a block type would not copy the old block type's description to the new block type
  • Fixed a bug where collapsed block previews were still displaying after expanding a block
  • Fixed a bug where collapsed block previews were not displaying the content of multi-line plain text fields
  • Fixed a bug on multi-site Craft installs, where a provisional draft being created with an unedited Neo field could cause the Neo field's block structure not to be created for the provisional draft, if the Neo field's propagation method was set to "Only save blocks to the site they were created in"
  • Fixed a bug where disabled Neo input blocks could appear to be enabled, and selecting the disable action on these blocks would have no effect
  • Fixed a bug where disabled Neo input blocks could sometimes not appear, if there were validation errors when saving an element

Don't miss a new craft-neo release

NewReleases is sending notifications on new releases.