- Fix #210 - check if viewing a shared draft so it can retrieve the correct data
- Fix #214 - added in type filtering function that was missing for live preview
- Fix #213 - get enabled blocks only instead of any status blocks for live preview
- Fix PostgreSQL error when saving new block types - thanks @ttempleton
- Fixed issue where groups were duplicated when changing min/max blocks
- Ensure field layout IDs are set when setting a field's block types - Thanks @ttempleton
- Project Config - typecast group sortOrder to int
- Disable saveModifiedBlocksOnly for now
- Added support for the project config rebuild functionality introduced in Craft 3.1.20
- Added the Max Top-Level Blocks field setting
- Added the
collapseAllBlocks
plugin setting, allowing all input blocks to display as collapsed by default - Restored the
saveModifiedBlocksOnly
plugin setting (New to Neo 2; previously added to Neo 1.4.1) - Restored support for the Field Labels plugin (New to Neo 2; previously added to Neo 0.5.0 under Field Labels' previous name, Relabel)
- Added
benf\neo\events\BlockTypeEvent
- Added
benf\neo\services\BlockTypes::EVENT_BEFORE_SAVE_BLOCK_TYPE
- Added
benf\neo\services\BlockTypes::EVENT_AFTER_SAVE_BLOCK_TYPE
- Added CKEditor field content to collapsed block summaries
- Neo now requires Craft 3.1.20 or later
- New icon
- By default, Neo will only save modified blocks when saving a Neo field's value (New to Neo 2; previously added to Neo 1.3.0)
- Fixed collapsed block summaries of colour fields on entry revisions
- Fixed issue where duplicate block type groups could be created (thanks @boboldehampsink)
- Fixed issue, when applying a project config to another environment or project, where a Neo field and block types could be synced before other fields they use, causing the block types not to have those fields in the target environment/project
- Neo now requires Craft 3.1.13 or later
- Fixed error when applying a project config to another project where a Neo field from the first project doesn't exist
- Fixed error in some cases when deleting a block type and that block type's blocks
- Fixed issue in Neo 2.2.4 with disabled blocks being deleted when saving a Neo field's contents
- Now supports filtering an entry draft's Neo field content with query parameters
- Fixed error when creating a new section
- Added support for the CP Field Inspect plugin
- Fixed issue with pasting or cloning blocks where number field values were not retained
- Fixed issue where block types would lose any blank tabs in Neo 2.2.0 and 2.2.1
- Fixed issue where Craft would try to run Neo's Craft 3 upgrade migration on updating to Neo 2.2.0 if Neo 2 was originally installed as a pre-release version
- Added Craft 3.1 project config support
- Added Craft 3.1 soft-deletes support
- Restored the ability to convert Neo fields to Matrix (New to Neo 2.x; previously added to Neo 1.4.0)
- Restored automatic Neo-to-Matrix conversion on uninstalling Neo (New to Neo 2.x; previously added to Neo 1.4.0)
- Neo now requires Craft 3.1.0 or newer
- Collapsed block summaries now also show content from child blocks
- Fixed issue where blocks would disappear if a Neo field's 'manage blocks on a per-site basis' setting was changed
- Fixed duplicated blocks when saving after setting an existing field to manage blocks on a per-site basis
- Fixed multi-site issue, when enabling a site for a section, where a Neo field set not to manage its blocks on a per-site basis would cause the resaving of the section's entries to fail
- Fixed issue where Neo blocks would not appear on duplicated entries
- Fixed error when pasting or cloning blocks on single-site Craft installations
- Fixed issue where structure IDs were not being set for block queries, causing duplicated blocks to appear in Craft 3.1.0 and newer
- Fixed issue on multi-site Craft installs where entry/category fields in new or pasted/cloned Neo blocks were always listing elements from the primary site
- Fixed error when duplicating an element with a Neo field set not to manage blocks on a per-site basis
- Added the ability to copy multiple selected blocks from different levels, which can be pasted at the same level
- Now always saves the block type field layout when saving a block type; fixes an issue with Schematic importing Neo before its field layout fields are imported (thanks @boboldehampsink)
- Fixed issue where Neo was sometimes causing Craft to fail to delete stale template caches
- Added the ability to copy multiple selected blocks at the same level
- Added Schematic support (thanks @boboldehampsink)
- Restored the Duplicate menu option on blocks -- now named Clone
- Fixed incorrect block levels on drafts of existing entries
- Fixed issues with blocks using memoized datasets for queries
- Fixed field eager loading on PostgreSQL (thanks @boboldehampsink)
- Fixed block previews of unfilled color fields
- Fixed issue where the handle of an existing block type was changing when editing the name
- Fixed 500 error accessing block relatives from relational fields in live preview
- Fixed incorrect block levels being set in drafts
- Set correct Craft minimum version requirement of 3.0.17
- Clean up block structures if duplicates exist, which would cause blocks to appear to duplicate
- Block structure-related fixes
- Restored ability to translate block type names
- Initial release for Craft 3