Skip to content

Releases: gocodebox/lifterlms-blocks

Version 2.1.0

28 Jun 22:38
608fff2
Compare
Choose a tag to compare

v2.1.0 - 2021-06-28

Updates
  • Adjusted priority of block editor JS assets to load at priority 5 instead of 999. Resolves plugin conflicts encountered when using block-level visibility on blocks registered after visibility filters are applied.
  • Removed usage of react-sortable-hoc and replaced with dndkit for drag and drop UX within the editor.
  • Refactored the instructors sidebar (on courses and memberships) as well as the option shorting (for fields with options) to utilize dndkit.
Bugfixes
  • Fixed an issue encountered on password confirmation fields when adjusting the minimum password length option on the user password block.

Version 2.0.1

21 Jun 20:02
d674464
Compare
Choose a tag to compare

v2.0.1 - 2021-06-21

  • Use non-unique error notice IDs for reusable multiple error notice.

Version 2.0.0

21 Jun 18:17
08d99ad
Compare
Choose a tag to compare

v2.0.0 - 2021-06-21

Updates
  • Adds LifterLMS User Information form building via the block editor.
  • Initially compatibility for WordPress 5.8 (full site editing). Ensures core functionality but doesn't add any exciting features.
  • Improve the visual feedback inside the editor for a block with visibility restrictions.
  • Added reusable block support for form fields.
  • Adds a user information ([llms-user]) shortcode inserter to rich text block toolbars.
  • Use rich text allowedFormats in favor of deprecated formattingControls
  • Improved localization of Javascript files.
Bug Fixes
  • Fixed issue encountered when using lesson progression blocks outside of a lesson, thanks @reedhewitt!
  • Fixed fatal errors encountered if LifterLMS core isn't active when this plugin is activated.
  • Currently selected instructors are excluded from queries for instructor users.
  • Fixed issue encountered on courses and memberships when attempting to edit instructor information.
Backwards Incompatible Changes
  • Major refactor of all field-related blocks.
  • The names of many field blocks have changed.
  • Use getDisallowedBlocks() in favor of removed getBlacklist() in block-visibility/check.
  • Blocks restricted to specific posts have had the post object stored on the block attribute reduced to include only the minimum required properties.
  • The Search, SearchPost, and SearchUser components have had major changes to make them more extendable.
  • Don't render InspectorControls since the block doesn't have any actual settings.

Version 2.0.0-rc.2

18 Jun 21:44
226965e
Compare
Choose a tag to compare
Version 2.0.0-rc.2 Pre-release
Pre-release

v2.0.0-rc.2 - 2021-06-18

  • Only load the plugin if LifterLMS is loaded
  • Update version checking method.
  • Fixed typo causing errors on WP 5.6 and earlier.
  • Fix WP 5.7 compatibility issues
  • Fixed issue encountered when using lesson progression blocks outside of a lesson, thanks @reedhewitt!

Version 2.0.0-rc.1

15 Jun 22:54
99ed242
Compare
Choose a tag to compare
Version 2.0.0-rc.1 Pre-release
Pre-release

v2.0.0-rc.1 - 2021-06-15

  • Fixes issue encountered when adding a confirm group
  • Stop using merge codes in the password block
  • Improve block duplication handlers
  • Prevent confirm fields from being manually pasted outside of a confirm group
  • Adds the llms/user-information-fields redux store to allow for better field validation and handling
  • Improves and adds field attribute validation
  • Use rich text allowedFormats in favor of deprecated formattingControls
  • Remove the now unnecessary uuid field block attribute.
  • Adds WP core 5.8 compatibility on the widget and customizer screens.
  • Exclude LifterLMS field block reusables from the widgets reusable blocks screen.
  • Adds backwards compatibility for WordPress < 5.6

Version 2.0.0-beta.6

01 Jun 20:05
0a44005
Compare
Choose a tag to compare
Version 2.0.0-beta.6 Pre-release
Pre-release

v2.0.0-beta.6 - 2021-06-01

  • (Re-)introduces user information shortcode through a block editor rich text area format button.
  • Prevent usage the "User Login" block on account edit forms (usersnames cannot be edited in WordPress).
  • Only prevent form posts from being made "draft" status on the "core" forms.
  • Modifies field localization data strategy for field validation and others.

Version 2.0.0-beta.5

18 May 23:46
15bffa5
Compare
Choose a tag to compare
Version 2.0.0-beta.5 Pre-release
Pre-release

v2.0.0-beta.5 - 2021-05-18

  • Add WP core 5.8 compatibility for deprecated filter block_categories.
  • Fixed issue encountered on courses and memberships when attempting to edit instructor information.
  • Added validation to ensure all fields have unique HTML name attributes.
  • Simplified field data storage interface to enable saving only to the usermeta table.

Version 2.0.0-beta.4

07 May 20:04
8454c96
Compare
Choose a tag to compare
Version 2.0.0-beta.4 Pre-release
Pre-release

v2.0.0-beta.4 - 2021-05-07

  • Fixed error encountered when opening the block editor options menu on an llms_form post type.
  • Added UUID generation to all form field blocks.
  • Fixed visual issues encountered with form field blocks on wide screens in the block editor.
  • Fixed issue preventing column widths from being set after switching from a stacked layout to a columns layout for a field group.
  • Added CSS classes to various option elements in the block editor
  • Moved most inline css in the editor into a static file
  • Fixed issue encountered when reverting a form to it's default
  • Fixed dynamic block rendering errors encountered when the block is restricted to specific courses/memberships.
  • Added CSS to make input placeholder text look like a placeholder

Version 2.0.0-beta.3

26 Apr 18:38
8405b5c
Compare
Choose a tag to compare
Version 2.0.0-beta.3 Pre-release
Pre-release

v2.0.0-beta.3 - 2021-04-26

  • All form field blocks refactored and many were removed or renamed.
  • Added column support to form field blocks.
  • Added reusable block support to form field blocks.
  • Removed support for block visibility on required field blocks (email and password).
  • Added reusable block filtering to only show "supported" reusable blocks when editing a form.
  • Added utility function support for reusable blocks.
  • Fixed issues related to visual rendering of checkboxes / radio elements on custom fields.

Version 2.0.0-beta.2

23 Mar 19:48
605a681
Compare
Choose a tag to compare
Version 2.0.0-beta.2 Pre-release
Pre-release

v2.0.0-beta.2 - 2021-03-22

  • Fixed block editor visual issues encountered on certain blocks when block-level visibility restrictions are enabled.