Skip to content
This repository has been archived by the owner on Nov 6, 2022. It is now read-only.

Releases: getblocklab/block-lab

Block Lab v1.5.6

13 Aug 21:32
e937710
Compare
Choose a tag to compare

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

Block Lab v1.5.5

23 Apr 02:59
9da3ef8
Compare
Choose a tag to compare

Removed upgrade screen, dependency updates

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

Block Lab v1.5.4

30 Mar 02:14
8192f11
Compare
Choose a tag to compare

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.

Block Lab v1.5.3

04 Feb 03:02
b8011cc
Compare
Choose a tag to compare

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

Block Lab v1.5.2

02 Dec 03:06
e4f5b80
Compare
Choose a tag to compare

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

Block Lab v1.5.1

11 Nov 04:16
9ebc880
Compare
Choose a tag to compare

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

Block Lab v1.5.0

29 Oct 23:54
4b1dd7f
Compare
Choose a tag to compare

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

Block Lab v1.4.1

11 Sep 02:25
41fd392
Compare
Choose a tag to compare

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

Block Lab v1.4.0

04 Sep 02:28
60e63eb
Compare
Choose a tag to compare

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