Changelog

3.0.16 2025-07-18

Changed

  • Fix garbage collection.

3.0.15 2024-09-13

Fixed

  • Fix an error when duplicating Super Table blocks.

3.0.14 2024-04-29

Changed

  • Update English translations.
  • Update validateBlocks() to deal with eager-loaded and cached blocks.

3.0.13 2024-04-10

Added

  • Add prune orphaned blocks utils command.
  • Add beforeElementDeleteForSite to block element.
  • Add --field, --owner-id, and --type resave options.

Fixed

  • Fix an error when running content table migrations.

3.0.12 2023-10-05

Fixed

  • Fix an error rendering fields.

3.0.11 2023-10-05

Fixed

  • Fix an error with static fields not having their blocks created for new elements.

3.0.10 2023-10-03

Added

  • Add uid handling for blocks when converting from serialized blocks.
  • Add content table index fixer console command.
  • Add events to input JS.

Fixed

  • Fix the height of collapsed matrix-style rows. (thanks @evanwarner).
  • Fix collapsed block preview text to handle Dropdown fields.
  • Fix a bug where blocks that were initially created for a newly-added site within a draft could be lost when applying the draft.
  • Fix minor styling issue with field settings.
  • Fix a bug where Super Table fields with custom propagation methods were being marked as translatable if the rendered translation key was blank.
  • Fix a bug where it wasn’t possible to update a Super Table block on a revision without a new block ID being assigned.
  • Fix an error that could occur if null was passed to SuperTableBlockElement::setOwner().
  • Fix field not using setInitialDeltaValue() for static fields. (thanks @internetztube).

3.0.9 2023-05-24

Added

  • Add normalizeValueFromRequest() calls to sub-fields. (thanks @brandonkelly).

Changed

  • Maintain ownerId from getLocalized(). (thanks @brandonkelly).
  • Hide row settings if the Super Table field is static. (thanks @ttempleton).

Fixed

  • Fix a couple Matrix/ST/Neo propagation + shared custody bugs. (thanks @brandonkelly).
  • Fix static block with Min Rows set to 1 shows an error when all fields are empty. (thanks @ttempleton).

3.0.8.1 2023-02-28

Fixed

  • Fix an error with JSON output introduced in 3.0.8.

3.0.8 2023-02-28

Added

  • Add support for Fix Fks plugin. (thanks @olivierbon).

Changed

  • Only admins are now allowed to access plugin settings.

Fixed

  • Fixed a bug where Super Table field property type was incorrect.
  • Fixed an error that could occur when saving an element with an eager-loaded Super Table field.
  • Fixed a bug where Super Table blocks weren’t getting duplicated to other sites when first editing an unpublished draft.
  • Fix custom field comparison checks for content table checker.

3.0.7 2022-12-10

Fixed

  • Fix return type for getRelatedElementsQuery.

3.0.6 2022-12-06

Fixed

  • Fix a migration error for Postgres. (thanks @ul8).

3.0.5 2022-11-01

Fixed

  • Fix an error introduced in 3.0.4 when saving owner elements.

3.0.4 2022-11-01

Changed

  • Block queries’ field params now support passing an array of verbb\supertable\fields\SuperTableField objects.

Fixed

  • 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.
  • Fix a Craft 3 to 4 migration issue.

3.0.3 2022-10-18

Fixed

  • Fix collapsed matrix-style fields no longer have preview text. (thanks @stevecomrie).

3.0.2 2022-10-09

Fixed

  • Fix Matrix > Super Table > Matrix field settings not saving correctly, due to lack of project config change detection.
  • Fixed a SQL error that could occur on MySQL 5.
  • Fixed an error that could occur when saving fields with either Min Rows or Max Rows configured, but not both, if the Intl extension wasn’t installed.
  • Fixed an error that could occur when saving an entry with Super Table blocks, if the entry had been deleted for a site. (thanks @brandonkelly).

3.0.1 2022-09-14

Fixed

  • Fix an error running resave console commands.
  • Fixed a bug where block types’ layout elements were getting new UUIDs assigned each time the field was edited.

3.0.0 2022-07-27

Added

  • Add missing English Translations.
  • Add resave console command for elements.
  • Add checks for registering events for performance.
  • Add archiveTableIfExists() to install migration.

Changed

  • Now requires PHP ^8.0.2.
  • Now requires Craft ^4.0.0.
  • Super Table database tables and content is now permanently deleted when uninstalling the plugin.
  • Rename model classes.
  • Rename record classes.
  • Rename service classes.
  • Rename base plugin methods.

Fixed

  • Fixed a bug where fields were assuming their values hadn’t been eager-loaded on element save.
  • Fixed block ordering issues, and ensure sort order is updated when block ownership is duplicated. (thanks @mmikkel).
  • Fixed a bug where changes to existing blocks weren’t saving for element types that supported drafts but not change tracking.
  • Fix Matrix > Super Table fields not saving new fields when editing the field
  • Fix move/delete button sizing for table layout.
  • Fix a JS error when viewing a static field, in Matrix layout.
  • Fix JS not initialising when selecting new fields in settings (footHtml to bodyHtml).
  • Fix an error when running the “check content tables” helper.
  • Fix an error with new static fields not having any field content output in the control panel.
  • Fix an error where return type of prepareQuery was incorrect. (thanks @davidwebca).
  • Fix potential error in migration.

Removed

  • Remove deprecated Craft and Super Table functions.