Releases: spicywebau/craft-neo
Releases · spicywebau/craft-neo
Neo 4.2.3
Fixed
- Fixed an error that occurred when pasting a Neo block on a different site from where it was copied
- Fixed a bug where unedited Neo blocks would be deleted from an entry, after editing the entry and saving as a new entry
Neo 5.0.3
Fixed
- Fixed an error that could occur during Neo-to-Matrix conversion
Neo 5.0.2
Fixed
- Fixed an error that occurred when trying to create more than one Neo block on a new entry
Neo 4.2.2
Fixed
- Fixed an error that occurred when trying to create more than one Neo block on a new entry
Neo 5.0.1
Fixed
- Fixed an error that occurred when trying to create a Neo block when editing a global set
Neo 4.2.1
Fixed
- Fixed an error that occurred when trying to create a Neo block when editing a global set
Neo 5.0.0
Added
- Added Craft 5 compatibility
- Added
benf\neo\models\BlockType::$color
and theneoblocktypes.color
column - Added
benf\neo\services\Conversion::convertBlockToEntry()
- Added
benf\neo\services\Conversion::convertBlockTypeToEntryType()
- Added
benf\neo\services\Conversion::convertBlockTypesToEntryTypes()
- Added
benf\neo\web\assets\configurator\ConfiguratorAsset
- Added
benf\neo\web\assets\converter\ConverterAsset
- Added
benf\neo\web\assets\input\InputAsset
- Added
benf\neo\web\twig\Extension
(new provider of theneoblock
test) - Added
benf\neo\web\twig\Variable
(new provider of thecraft.neo
Twig variable)
Changed
- Block type action menus are now implemented as disclosure menus
- Neo input blocks will now show their icon on the top bar, if their block type has an icon set
benf\neo\models\BlockType
now implementscraft\base\Colorable
- Neo block validation on save no longer clears out errors added previously in the request, allowing other plugins or modules to set their own validation errors (thanks @JasonStainton)
Removed
- Removed Craft 4 compatibility
- Removed
benf\neo\assets\InputAsset
(benf\neo\web\assets\input\InputAsset
is used instead) - Removed
benf\neo\assets\SettingsAsset
(benf\neo\web\assets\configurator\ConfiguratorAsset
andbenf\neo\web\assets\converter\ConverterAsset
are used instead) - Removed
benf\neo\Field::PROPAGATION_METHOD_ALL
; usecraft\enums\PropagationMethod::All
instead - Removed
benf\neo\Field::PROPAGATION_METHOD_CUSTOM
; usecraft\enums\PropagationMethod::Custom
instead - Removed
benf\neo\Field::PROPAGATION_METHOD_LANGUAGE
; usecraft\enums\PropagationMethod::Language
instead - Removed
benf\neo\Field::PROPAGATION_METHOD_NONE
; usecraft\enums\PropagationMethod::None
instead - Removed
benf\neo\Field::PROPAGATION_METHOD_SITE_GROUP
; usecraft\enums\PropagationMethod::SiteGroup
instead - Removed
benf\neo\models\Settings::$enableLazyLoadingNewBlocks
- Removed
benf\neo\services\Blocks::renderTabs()
- Removed
benf\neo\services\Conversion::convertBlockToToMatrix()
- Removed
benf\neo\services\Conversion::convertBlockTypeToMatrix()
- Removed
benf\neo\services\Conversion::convertBlockTypesToMatrix()
- Removed
benf\neo\TwigExtension
(benf\neo\web\twig\Extension
now provides theneoblock
test) - Removed
benf\neo\Variable
(benf\neo\web\twig\Variable
now provides thecraft.neo
Twig variable) - Removed the
neoblocks_owners
table; the Craft 5elements_owners
table is used instead - Removed the
neoblocks.deletedWithOwner
column; the Craft 5elements.deletedWithOwner
column is used instead
Neo 5.0.0-RC.2
Added
- Added
benf\neo\web\twig\Extension
(new provider of theneoblock
test) - Added
benf\neo\web\twig\Variable
(new provider of thecraft.neo
Twig variable)
Removed
- Removed
benf\neo\TwigExtension
(benf\neo\web\twig\Extension
now provides theneoblock
test) - Removed
benf\neo\Variable
(benf\neo\web\twig\Variable
now provides thecraft.neo
Twig variable)
Neo 4.2.0
Changed
- New Neo input blocks are now always loaded from the server, regardless of the
enableLazyLoadingNewBlocks
plugin setting
Deprecated
- Deprecated
benf\neo\models\Settings::$enableLazyLoadingNewBlocks
- Deprecated
benf\neo\services\Blocks::renderTabs()
Fixed
- Fixed a bug where Neo would try to update an input block's visible field layout elements while dragging the block (thanks @myleshyson)
- Fixed an error that could occur when updating visible field layout elements after the first change to an entry
- Fixed a bug where condition rules for parent block field values were not always being applied
- Fixed a bug where deleting Neo block types would cause duplicate items in the Neo field's item order in the project config