Block Lab Versions Save

A WordPress Admin interface and a simple templating system for building custom Gutenberg blocks.

v1.5.6

3 years ago

Small bugfixes, improved testing

  • Fix: Prevent a console warning for a prop in WP 5.5
  • New: More JS component tests, and an e2e test

v1.5.5

4 years ago

Removed upgrade screen, dependency updates

  • Tweak: By default, the upgrade screen is hidden
  • Tweak: Minor package.json dependency updates for security and reliability

v1.5.4

4 years ago

Improved stability, small bugfixes.

  • Fix: Now block_field() returns null if the second argument is true, preventing confusion.
  • New: JavaScript component tests, improving reliability.
  • New: Linting for accessibility issues.

v1.5.3

4 years ago

Some UI improvements, bugfixes, and improved stability.

  • Fix: Improved import error feedback, and cleaner methods
  • Fix: Editor bug from @wordpress/nux package being deprecated
  • New: Improved stability, including JS tests and query limit
  • New: Pre-commit hook to lint only staged files

v1.5.2

4 years ago

Some small tweaks to the Block Importer and onboarding dialogs.

  • New: Selective import now allows you to choose which of the blocks contained in your export file you'd like to import
  • Fix: Onboarding notices are fixed so that they show in the right places, and at the right times

v1.5.1

4 years ago

This is a bugfix release, focused mostly on compatibility with WordPress 5.3.

  • Fix: Themes can now hook into the block_lab_add_blocks action from the functions.php file
  • Fix: Classic Text fields now function as expected when inside a repeater
  • Fix: Rare instances of a NaN error when duplicating fields
  • Fix: Style fixes for the Block Editor in WordPress 5.3

v1.5.0

4 years ago

Ready for a big release? We're really happy to be introducing quite a number of highly requested features, including a PHP API for registering blocks with code, a new text field with lists and headings, and some neat workflow efficiencies when building your block.

  • New: There's now a PHP API for registering blocks using code (instead of the WP Admin UI). Documentation is here for now, but more on its way soon
  • New: Classic Text control (for Block Lab Pro users)! This field is similar to Rich Text, but has a few extra options for things like lists and headings
  • New: Duplicate fields – building your block is now so much easier, with the ability to duplicate rows
  • New: Repeater Row Count function – a helper function that returns the total amount of rows in a given repeater. Documentation here
  • New: Repeater Row Index function – a helper function that returns the current row, while looping through a repeater. Documentation here
  • Tweak: We've removed our dependency on global variables. This is mostly a best practice thing, not user facing. More details here.
  • Tweak: We've refactored quite a lot about our block Loader class, to make it more robust, secure, and maintainable
  • Tweak: Loads of new unit and integration tests - these help prevent us from introducing bugs or regressions in the future
  • Fix: Bug which affected sites which had removed or renamed the admin user role
  • Fix: Empty Rich Text fields now no longer output a single </p> tag

v1.4.1

4 years ago

You can now add a Minimum and Maximum Rows setting to repeaters, allowing you to specify a lower and upper limit on how many repeater rows can be added.

  • New: The repeater field now includes a minimum and maximum row setting
  • Fix: Location and Width settings are now visible again when adding a new field
  • Fix: Using block_sub_field() with an image now correctly outputs the image URL instead of the ID

v1.4.0

4 years ago

This release applies some finishing touches to the repeater field. It also introduces a new "Field Width" feature, which lets you choose the width of the fields as seen in the Editor.

  • New: Function to reset repeater rows: reset_block_rows()
  • New: Add a "Field Width" control to blocks
  • Fix: Empty repeater rows now save and can be moved properly
  • Fix: An issue which occasionally prevented repeater rows from being deleted
  • Fix: Prevent repeated requests to validate a Pro license
  • Tweaks: Add a different admin notice for when a license validation request fails
  • Tweaks: Many new and shiny unit and integration tests, making Block Lab more solid than ever