github spicywebau/craft-neo 3.0.0
Neo 3.0.0

latest releases: 5.2.15, 5.2.14, 4.2.19...
2 years ago

Added

  • Added Craft 4 compatibility
  • Added the ability to show or hide block type group dropdowns where the group only has one available block type
  • Added the defaultAlwaysShowGroupDropdowns plugin setting (defaults to true)
  • Added the alwaysShowDropdown column to the neoblocktypegroups table
  • Added benf\neo\models\BlockTypeGroup::$alwaysShowDropdown
  • Added benf\neo\assets\InputAsset
  • Added benf\neo\assets\SettingsAsset
  • Added benf\neo\controllers\Configurator
  • Added benf\neo\jobs\SaveBlockStructures

Changed

  • Existing Neo input field content is no longer rendered using JavaScript (other than new block buttons)
  • Whether a Neo block type's max blocks setting has been exceeded is now validated server-side when saving a Neo field's contents, rather than relying on it to be enforced by client-side JavaScript
  • The neoblockstructures table's ownerSiteId column has been renamed to siteId, and the benf\neo\models\BlockStructure class's $ownerSiteId property has been renamed to $siteId
  • The amount of animations and transitions Neo uses is now reduced if the user has requested reduced motion
  • When editing a Neo field's block types, creating a new block type will show the settings tab, if the field layout tab was previously showing
  • Visual improvements to the Neo block type settings
  • Updated JavaScript dependencies

Deprecated

  • Deprecated benf\neo\assets\FieldAsset; users of EVENT_FILTER_BLOCK_TYPES should use InputAsset instead
  • Deprecated benf\neo\tasks\DuplicateNeoStructureTask; use benf\neo\jobs\SaveBlockStructures instead

Removed

  • Removed Craft 3 compatibility
  • Removed the unused saveModifiedBlocksOnly setting
  • Removed the unused ownerSiteId column from the neoblocks table
  • Removed benf\neo\Field::$localizeBlocks; use $propagationMethod instead
  • Removed benf\neo\Field::$wasModified
  • Removed benf\neo\Plugin::$blockHasSortOrder
  • Removed benf\neo\integrations\fieldlabels\FieldLabels
  • Removed benf\neo\converters\Field (Neo Field Converter for Schematic)
  • Removed benf\neo\converters\models\BlockType (Neo BlockType Converter for Schematic)
  • Removed benf\neo\converters\models\BlockTypeGroup (Neo BlockTypeGroup Converter for Schematic)
  • Removed benf\neo\elements\Block::getModified(); use $dirty instead
  • Removed benf\neo\elements\Block::setModified(); use $dirty instead
  • Removed benf\neo\elements\Block::$ownerSiteId; use $siteId instead
  • Removed benf\neo\elements\db\BlockQuery::ownerLocale(); use site() or siteId() instead
  • Removed benf\neo\elements\db\BlockQuery::ownerSite(); use site() or siteId() instead
  • Removed benf\neo\elements\db\BlockQuery::ownerSiteId(); use site() or siteId() instead
  • Removed benf\neo\elements\db\BlockQuery::$ownerSiteId; use $siteId instead
  • Removed benf\neo\services\Blocks::getSearchKeywords()
  • Removed benf\neo\services\BlockTypes::renderTabs()
  • Removed benf\neo\services\Fields::getSupportedSiteIdsForField()

Fixed

  • Fixed a bug where it was possible to create a Neo field with no block types

Don't miss a new craft-neo release

NewReleases is sending notifications on new releases.