- Fixed issue with field labels where removing relabeled field doesn't actually remove them.
- Removed ignoring revision and draft blocks by default in beforePrepare() as it was causing issues with graphql live preview and previewing drafts.
- reflect changes that was made in https://github.com/craftcms/cms/commit/80192a55f8f89b129abff2b43d4a0c7d66d60f45
- update format document spacing
- Fix issue #270
- Stop the blocktype always recreating a fieldlayout.uid - thanks @samuelbirch
- Fix #250. When rebuilding the project.yaml file, the fieldLayouts will now correctly be included
- Fix #263 - correctly get the children blocks (GraphQL)
- Add in a check to make sure we're getting the next level blocks only. (GraphQL)
- GraphQL implementation
- Add GraphQL how to doc
- Fix #232 - make sure to clear the uid when cloning the field so the original doesn't get overwritten when converting.
- Update tar
- Update js-yaml
- Fix #249
- Fix #255, removed 0 index with Field Labels Integration as it causes
Undefined offset: 0
- Field Labels compatibility update
- Fix #243. Revert handleDeletedBlockType changes as it causes some issues when deleting the block types in the neo field.
- fix multi-site issue where on draft creation the contents of the draft is copied over to the other site drafts. #246
- Fixed issue with saving a new entry and the alert that appears (the "Do you want to leave" msg on save).
- Fixed issue with field deletion when there's multi level nested blocks #249
- require the siteId for neo structures for eager loading
- fix getSupportedSiteIdsForField language comparison
- Removed the queue job after changing the propagation method for the neo field as it was causing
Attempting to save an element in an unsupported site.
. Propagation changes will be applied once the entry containing the field is saved.
-
added beforeSave function to properly update the neo field propagation method by setting and checking the oldPropagationMethod variable.
-
if PROPAGATION_METHOD_NONE is NOT set for the neo field, make sure to duplicate the block and structures for the other sites using the primary content.
-
Fix indentation of code
- Fix - Need to set the new key for neo structures since the ownerSiteId is now set
- Fixed issue #239
- Fixed indentation, swapped to tabs.
- Cleaned up the Field Service
- update composer
- fix multisite site id block save issue
- fix duplicateBlocks so it creates the neo structure for duplicated blocks
- changes for blockstructure and duplicateBlocks
- remove deletion of blocks from duplicateBlocks function
- FIX: Include 'ownerSiteId' when querying neo structure data.
- fix type error when updating search indexes
- fixes to neo structures for multisite
- deprecate ownerSiteId and additional changes to compensate.
- making neo more inline with craft
- Fix #227 - fixed issue where Neo fields could lose their content when updating to Craft 3.2. - thanks @brandonkelly
- implement BlockElementInterface
- update getOwner and correctly return ElementInterface
- update afterSave
- Fix craft constraint to allow update to 3.2
- Fix #227 - fixed issue where Neo fields could lose their content when updating to Craft 3.2
- Update craft version constraints
- 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