github spicywebau/craft-neo 3.0.0-beta.1
Neo 3.0.0-beta.1

latest releases: 4.2.20, 5.2.15, 5.2.14...
pre-release2 years ago

Added

  • Added Craft 4 compatibility (requires Craft 4.0.0-beta.4 or later)
  • 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
  • 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 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.