Fix an error with JSON output introduced in 2.7.5.
2.7.5 2023-03-28
Added
Add support for Fix Fks plugin. (thanks @olivierbon).
Fixed
Fixed a bug where Super Table field property type was incorrect.
2.7.4 2022-12-25
Changed
Block queries’ field params now support passing an array of verbb\supertable\fields\SuperTableField objects.
Fixed
Fix translation file.
Fix a bug where saving a field without any block types would result in no changes made to the previously-configured block types, rather than displaying a validation error.
Fix a bug where blocks could be deleted from newly-created multi-site entries, if the edit page was reloaded.
Fix collapsed matrix-style fields no longer have preview text.
2.7.3 2022-09-14
Fixed
Fix elements overflowing grid column bounds in Row Layout. (thanks @bencarr).
Removed
Remove “Column Width” for fields in Matrix layout.
2.7.2 2022-05-15
Fixed
Fix an incompatibility with Craft 3.7.11 or less.
Fix checking against a derivative block.
Fix in some cases not fetching the correct supported sites for a block.
Fixed a bug where fields weren’t getting reverted properly when reverting an entry’s content to a prior revision, if they were nested within a Neo or Matrix field.
Fixed a bug where blocks within drafts could lose track of their canonical blocks when they were updated upstream, resulting in duplicated blocks.
Fixed an error with GQL mutations.
Find and fix tables with missing indexes. (thanks @gbowne-quickbase).
Fixed field instructions showing raw HTML. (thanks @mmikkel).
2.7.0 2021-11-30
Added
Add SuperTable Block Type to superTableMatrix, superTableRow, tr.
Craft 3.7+ compatibility.
Blocks now have an id field to allow modifying existing Super Table blocks when using mutations with the GraphQL API.
Allow for widths in Matrix styled Super Tables.
Changed
Now requires Craft 3.7+.
Update GraphQL classes to Craft 3.7+.
Show .heading-text of nested SuperTables in SuperTableMatrix. And there is no element with .heading-text in SuperTableMatrix related templates.
Fixed
Fix a potential XSS vulnerability.
Fix elements overflowing grid column bounds in Row Layout.
Fix change status indicator alignment for blocks.
Fix a missing class include.
Fix new static-field row blocks not getting the static-field class.
Fix missing css class to fields container of Matrix styled SuperTable.
2.6.8 2021-05-19
Fixed
Fix delete row behaviour when an outer static Super Table field, Matrix and inner Super Table field.
Fix inconsistent project config warnings when using the content table fixer.
Fix for draft change merging bug. (thanks @brandonkelly).
2.6.7 2021-02-06
Fixed
Fix an issue with Gatsby Helper plugin and Super Table blocks.
2.6.6 2021-01-27
Fixed
Fix being unable to directly access the first block in a Super Table field, which would otherwise return null. Please see this issue(opens new window) in that if you're getting this error, you're likely using incorrect/unsupported template syntax. Using entry.superTableField.myField as a means for direct-access is reserved for static fields.
2.6.5 2020-12-16
Fixed
Fix an Undefined property fatal error when saving an element containing a Super Table field, on Craft 3.5.17.
2.6.4 2020-11-28
Changed
Sub-fields of Super Table fields now have “Use this field’s values as search keywords” unchecked for new fields. This is inline with Craft's native Matrix behaviour.
Fixed
Fix block type model getHandle() returning values included a hyphen, causing issues with GraphQL.
Fix typehint for getRelatedElementsQuery().
2.6.3 2020-09-28
Fixed
Fix InvalidArgumentException not found error. (thanks @smcyr).
Fix static matrix layout visual issue.
2.6.2 2020-08-21
Fixed
Fix duplicate instructions for blocks in Craft 3.5+.
Fix checkbox styling in Craft 3.5+.
2.6.1 2020-08-13
Fixed
Fix content table checking to cater for potentially problematic fields.
2.6.0.4 2020-08-11
Fixed
Fix layout issue with row layout fields, where any overflow was hidden.
2.6.0.3 2020-08-10
Fixed
Fix error when rebuilding project config.
2.6.0.2 2020-08-10
Fixed
Fix potential error during migration from Craft 2.
2.6.0.1 2020-08-10
Fixed
Fix GQL error.
Fix errors with block query.
2.6.0 2020-08-10
Added
Add Craft 3.5+ compatibility.
Now requires Craft 3.5+.
2.5.4 2020-07-30
Fixed
Fix an error when translating the description if the propagation method is set to PROPAGATION_METHOD_LANGUAGE. (thanks @andersaloof).
Fix JS error when adding new blocks.
2.5.3 2020-07-28
Fixed
Refactor nested Matrix handling. Removed bespoke Matrix code, thanks to core Craft changes. Addresses a few upcoming changes in Craft 3.5+ (but backward-compatible).
Now requires Craft 3.4.30+.
2.5.2 2020-07-28
Fixed
Fix Super Table field inside Matrix blocks not getting their content propagated. (thanks @brandonkelly).
Fix error when removing a row for Table layout.
Fix blocks not updating when nested in Matrix fields.
Fix row layout overflow in some field cases.
Improve handling of re-save field utility to handle parent Matrix fields.
2.5.1 2020-05-31
Changed
Requires Craft 3.4.23+.
Fixed
Fixed an error that could occur when rendering field type settings, if the field’s getSettingsHtml() method was expecting to be called from a Twig template.
Fixed a race condition that could result in lost content under very specific conditions. (#6154(opens new window))
2.5.0 2020-05-30
Changed
Requires Craft 3.4.22+.
Field settings are now lazy-loaded when the Field Type selection changes, improving the up-front load time of Edit Field pages.
2.4.9 2020-04-16
Fixed
Fix logging error Call to undefined method setFileLogging().
2.4.8 2020-04-15
Changed
File logging now checks if the overall Craft app uses file logging.
Log files now only include GET and POST additional variables.
Fixed
Fix Table field (and some other fields) not working correctly for Super Table field settings.
2.4.7 2020-04-02
Changed
Refactor row layout with CSS Grid (no style change).
Fixed
Additional checks for Webhooks compatibility. (thanks @johndwells).
Fix nested Matrix not focusing on Redactor fields.
Fix migration check for missing fieldLayoutId on blocktypes.
Fix content table fixer where the content database table doesn’t exist at all.
Fix lack of line-breaking for table layout column headings.
Fix row layout overflowing the page content in some cases.
2.4.6 2020-02-28
Fixed
Fix PHP error.
Fix number field alignment.
2.4.5 2020-02-24
Changed
Move getRelatedElements() to Service. (thanks @joshua-martin).
Now requires Craft ^3.4.8.
Fixed
Fixed a bug where querying for blocks on a newly-created element’s Super Table field value would yield no results..
Fix being unable to save Matrix-SuperTable-Matrix fields.
2.4.3 2020-02-02
Fixed
Fix issue with static blocks not appearing correctly.
2.4.2 2020-01-31
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.
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 2019-11-27
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 2019-09-11
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(opens new window))
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 2019-07-14
Fixed
Fix layout for static matrix field.
Fix incorrect SuperTableBlock references causing elements not to save correctly.
2.2.0 2019-07-14
Added
Add support for craft\base\BlockElementInterface.
Add support for setting the content of a Super Table field to be searchable.
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 and ownerSiteId block query params.
Improve content table checker to show field id for manual fixing.
2.1.18 2019-04-24
Fixed
Fix nested Matrix fields in Matrix layout not being properly instantiated.
2.1.17 2019-04-08
Added
Added support for the Project Config rebuild functionality.
Changed
Now requires Craft 3.1.20+.
Fixed
Fixed a bug where entry drafts weren’t showing previous changes to Super Table fields on the draft.
2.1.16 2019-03-09
Fixed
Fix layout issue in 3.1.16.
Fix fields nested in Matrix fields still being on fields for project config.
2.1.15 2019-03-01
Fixed
Fix project config changes when not allowed or already applied
2.1.14 2019-03-01
Added
Add re-save function for Super Table fields.
2.1.13.4 2019-03-01
Fixed
More migration fixes.
2.1.13.3 2019-02-27
Fixed
Fix potential migration issue.
2.1.13.2 2019-02-27
Fixed
Fix/improve project config migration.
2.1.13.1 2019-02-27
Fixed
Fix potential migration issue from 2.1.13 where some fields have no settings.
2.1.13 2019-02-27
Fixed
Added project config migration to help seed project config for Super Tables when migrating from Craft 3 and lower.
2.1.12 2019-02-25
Fixed
Fix content tables updating (and potentially removing data) when fields are missing in Craft.
Added maxPowerCaptain() to actionFixContentTables, allow fixing table contents to take a while.
2.1.11 2019-02-22
Fixed
Add more checks when fixing missing field columns during migration.
Fix project inconsistency migration check.
2.1.10 2019-02-22
Fixed
Add fix/checks for project config mismatches from Craft 3 > 3.1.
2.1.9 2019-02-21
Added
Use the new ProjectConfig::defer() from Craft to help with Matrix combinations and Project Config. (thanks @brandonkelly).
Add checks/fixes for content tables with incorrect field columns.
Add checker/fixer to plugin settings.
Changed
Super Table now requires Craft 3.1.13 or later.
Fixed
Fix issues with Project Config and Matrix.
2.1.8 2019-02-18
Fixed
Provide a fix for Matrix + Super Table project config issues.
Fix overflow for inner fields.
2.1.7 2019-02-10
Fixed
Fix migration issue with Matrix-nested content tables when upgrading from Craft 2 > 3.
Min rows description typo. (thanks @alexjcollins).
Fix sprout import incompatibility.
2.1.6 2019-01-31
Added
Added two events to let other js know when nested Matrix blocks are added. (thanks @joshangell).
Fixed
Improve checks around missing content tables during migration.
Fix migration causing missing fields to be saved as a missing field.
2.1.5.3 2019-01-22
Fixed
Fix existing table-checking in content table check
2.1.5.2 2019-01-22
Fixed
Fix table cleanup in migration when correct table already exists
2.1.5.1 2019-01-22
Fixed
Update migration checks when updating from older version of Super Table.
Check content tables clarity when all done/all okay.
2.1.5 2019-01-22
Fixed
Fix migration having to run twice to complete required steps in some cases.
Added controller action actions/super-table/plugin/fix-content-tables to aid in debugging content table issues.
Added controller action actions/super-table/plugin/check-content-tables to aid in debugging content table issues.
Add a bunch of debugging to assist with content table migrations.
2.1.4.4 2019-01-22
Fixed
Fix more migration issues...
2.1.4.3 2019-01-22
Fixed
Remove old content table migration potentially causing issues.
2.1.4.2 2019-01-21
Fixed
Fix content table migration to cater for Neo.
Fix inclusion of _cleanUpTable() in migration (not needed).
2.1.4.1 2019-01-20
Fixed
Fix migration issue in 2.1.4.
2.1.4 2019-01-20
Fixed
Fix any disconnected content tables for any Super Table field.
2.1.3 2019-01-19
Fixed
Prevent content field exception during migrations.
2.1.2 2019-01-19
Fixed
Ditch (incorrect) project config migration.
2.1.1 2019-01-19
Added
Added support for Craft 3.1 soft deletes.
Added support for Craft 3.1 project config.
Changed
Clarify width field setting label for new fields.
Tweak/improve minor field setting translations.
Fixed
Fixed a bug where a Super Table fields’ block types and content table could be deleted even if something set $isValid to false on the beforeDelete event.
Fixed issue with Matrix + Super Table field combinations losing their fields, or content tables (thanks @brandonkelly).
Fixed dragging issues with nested Matrix field when using Matrix Layout.
2.1.0 2019-01-16
Fixed
Fix for ST + Matrix field combination throwing errors during migration for Craft 3.1.x.
Fixed an error that could occur when duplicating an element with a Super Table field with “Manage blocks on a per-site basis” disabled.
Fixed an error that occurred when querying for Super Table blocks if both the with and indexBy parameters were set.
Fixed a bug where Super Table blocks wouldn’t retain their content translations when an entry was duplicated from the Edit Entry page.
Fix settings dropdown/table fields not working on some cases.
Remove plugin settings page (It's not supposed to be there).
2.0.14 2018-11-12
Fixed
Fix CP section turning up.
2.0.13 2018-11-11
Fixed
Fix lack of styles when editing an entry version.
2.0.12 2018-11-10
Changed
Update styles to be inline with Craft 3.
Use duplicateElement() to clone Super Table blocks after making them localized.
Fixed
Fix error when viewing previous versions of elements that contained a Super Table field.
2.0.11 2018-10-24
Fixed
Fixed Dashboard error (thanks @brandonkelly).
Fix error when throwing an error for field handles (ironic hey?).
Drop indexes before renaming instead of after. Otherwise this causes errors on mariadb. (thanks @born05).
2.0.10 2018-09-26
Fixed
Allow block element methods being called on static super tables.
Ensure setups with min/max limits can still reorder items.
Fix JS error when editing a Super Table field, but only when validation has failed..
2.0.9 2018-09-05
Changed
Updated min Craft version to 3.0.17.
Fixed
Fixed a SQL error that occurred when saving a Super Table field with new sub-fields on PostgreSQL (thanks @brandonkelly).
Fixed Twig error in Craft 3.0.23 (thanks @brandonkelly).
Fixed a typo: 'colapse' > 'collapse' (thanks @joshangell).
2.0.8 2018-08-18
Added
Add translation icon to fields that are set to be translatable.
Restore column with functionality for table layouts.
Allow fields to be translated for each site group.
Added support for optional ownerSite parameter in $params for getRelatedElements() to allow for querying relations stored in Super Table fields in entries in a different site to the current site. (thanks @steverowling).
Sprout import support (thanks @timkelty).
Changed
Refactor static table querying into actual query class. Fixed lots of cases related to static layouts.
Namespace alternate JS inner-matrix functions, just in case.
Improve validation on owner elements.
Remove default limits of queries.
Ensure field options are sorted by name.
Make use of anyStatus() query function.
Allow Field objects to be passed into SuperTableField::setBlockTypes (thanks @pinfirestudios)
Now sets $propagating to true when saving blocks, if the owner element is propagating.
Fixed
Fixed a bug where relational fields within Super Table fields wouldn’t save relations to elements that didn’t exist on all of the sites the owner element existed on. (#2683(opens new window))
Fix query issue when requesting from console (for static fields)
Fixed validation-handling when used in a Matrix field. Would allow saving invalid field handles in this context.
2.0.5 2018-04-05
Fixed
Updates to be inline with Craft 3.0.0 GA, now minimum requirement
Improve field validation
Fix post location path for inner fields
Fix some minor layout issues with Matrix combinations
Fix row layout (and a few other things) not using site as the translation key
Fix table fields rows now being able to be deleted
Fix Row layout not respecting minRows value
Field instructions should parse markdown
Fix namespacing for nested Matrix fields
Fix errors caused by SuperTableBlockElement.eagerLoadingMap()
2.0.4 2018-02-21
Added
Minimum requirement for Super Table is now ^3.0.0-RC10
Changed
Make use of FieldLayoutBehavior::getFields() and setFields()
No longer executes two queries per block type when preparing a Super Table block query.
Fixed
Fixed an issue caused when upgrading a multi-locale site from Craft 2 to Craft 3.
Fixed typo in Super Table's field context column
Fixed blocks not appearing during Live Preview
2.0.3 2018-02-12
Fixed
Ensure field names are required
Fix missing field validation
Fix plugin icon in some circumstances
2.0.2 2018-02-11
Added
Added migration to handle converting existing field and element types to new namespaced format
Add some field properties for backward-compatibility with Craft 2 upgrades
Fixed
Fix missing sortOrder column in install migration
2.0.1 2018-02-11
Fixed
Fix migration to not rely on service class. Fixes #122
Fix for leftover sortOrder for Block Types. Fixes #123