Releases: verbb/super-table
Releases · verbb/super-table
2.4.3
Fixed
- Fix issue with static blocks not appearing correctly.
2.4.2
Fixed
- Fix more Craft 3.4 issues.
- Fixed a bug where fields weren’t always showing validation errors.
- Fixed a bug where unsaved blocks could be lost if an entry was saved with validation errors, and any unsaved blocks weren’t modified before reattempting to save the entry.
- Fixed a bug where it wasn’t possible to eager-load blocks on a draft.
2.4.1
Fixed
- Fix Craft 3.4 issues.
2.4.0
Added
- Craft 3.4 compatibility.
2.3.3
Fixed
- Fix webhooks incompatibility.
- Remove
SuperTableBlockNotFoundException
class.
2.3.2
Added
- Added
verbb\supertable\queue\jobs\ApplySuperTablePropagationMethod
. - Added
verbb\supertable\services\SuperTableService::getSupportedSiteIds()
.
Changed
- When a Super Table field’s Propagation Method setting changes, the field’s blocks are now duplicated into any sites where their content would have otherwise been deleted.
Deprecated
- Deprecated
verbb\supertable\services\SuperTableService::getSupportedSiteIdsForField()
.getSupportedSiteIds()
should be used instead.
Fixed
- Fixed an error that could occur when syncing the project config, that could occur if a Super Table block had been changed to something else.
- Fixed a bug where importing project config changes would break if they contained a changed global set and orphaned Super Table block types.
- Fixed an error that could occur when saving a Super Table field.
2.3.1
Fixed
- Fix matrix layout in some instances.
- Ensure search keywords is checked by default.
- Fix being unable to query ST fields directly.
- Fix up GraphQL.
- Fix width settings not saving correctly for project config.
- Fix template mode for checker/fixers, producing 404 errors on direct-access.
2.3.0
Added
- Add GraphQL support.
- Add data loss warnings for Propagation Method settings.
Changed
- Now requires Craft ^3.3.1.2.
Fixed
- Fixed bug where disabled Matrix blocks would be missing from Super Table inputs, then deleted. (#288)
- Add back site FK checks in migration.
- Fix where it wasn’t possible to delete blocks if Min and Max rows were set to the same value, and an element already had more than that many blocks.
- Block queries no longer include blocks owned by drafts or revisions by default.
- Fix blocks not getting duplicated to newly-enabled sites for elements if the field’s Propagation Method setting wasn’t set to “Save blocks to all sites the owner element is saved in”.
- Fix where default field values weren’t being applied to blocks that were autocreated per the Min Row setting.
- Fix not allowing block fields to be saved when set to “Translate for each site”.
2.2.1
Fixed
- Fix layout for static matrix field.
- Fix incorrect
SuperTableBlock
references causing elements not to save correctly.
2.2.0
Added
- Add support for
craft\base\BlockElementInterface
. - Add support for setting the content of a Super Table field to be searchable.
- Add
verbb\supertable\services\SuperTableService::getSupportedSiteIdsForField()
.
Changed
- Super Table now requires Craft 3.2+.
- Super Table fields now have a “Propagation Method” setting, enabling blocks to only be propagated to other sites in the same site group, or with the same language.
verbb\supertable\services\SuperTableService::saveField()
now has a$checkOtherSites
argument.- Improve block duplication.
- Improve element saving performance.
Fixed
- Fix search index updating when upgrading to Craft 3.2+.
Deprecated
- Deprecated the
ownerSite
andownerSiteId
block query params. - Deprecated
verbb\supertable\elements\SuperTableBlockElement::$ownerSiteId
.