Skip to content

Releases: ndiego/block-visibility

Version 3.7.0

08 Nov 18:55
Compare
Choose a tag to compare

Changed

  • Updated "Tested up to" to WordPress 6.7.
  • Updated "Requires at least" to WordPress 6.5.
  • Removed typographic widows from descriptions.

Version 3.6.1

06 Sep 14:02
Compare
Choose a tag to compare

Fixed

  • [ACF] Fixed bug where ACF fields were not being displayed following the v3.6.0 update.

Version 3.6.0

05 Sep 12:29
Compare
Choose a tag to compare

Added

  • [Location] Added ability to show/hide blocks in archive templates based on taxonomy attributes (Hierarchy, Relative Hierarchy, and Supports).
  • [Location] Added ability to show/hide blocks if the current post has an excerpt.

Changed

  • Front-end classes are now implemented using the HTML API.
  • Updated the render_block callback function to only fetch plugin settings if a block has visibility conditions set.
  • Updated deprecated Button component variant and size properties.
  • Updated popover placement and offsets.
  • Updated general component styling to match Core.
  • Updated React Select component to match Select controls in Core.
  • Refactored the main plugin class.
  • Refactored the setting tabs.
  • Refactored the link utility and updated all plugin links.
  • Removed control filters deprecated in v2.5.1.
  • Removed all usage of get_file_data().

Fixed

  • Fixed backward compatibility error due to the unified extensibility APIs in WordPress 6.6.
  • Fixed Widget Editor notice in WordPress 6.6+.
  • Fixed spacing in the Day of Week control.
  • Fixed Firefox content overflow issue with the React Select component.

Version 3.5.0

20 Jul 22:26
Compare
Choose a tag to compare

Changed

  • Update "Tested up to" to WordPress 6.6.
  • Update "Requires at least" to WordPress 6.4.
  • Update the PluginMoreMenuItem slot usage to support unified slots in 6.6 and ensure backward compatibility.

Fixed

  • [Date & Time] Fix style bug in the day-of-week controls.
  • Fix the useCommand import now that 6.4 is the minimum version.

Version 3.4.0

01 Apr 11:59
Compare
Choose a tag to compare

Added

  • [Date & Time] Add the ability to set seasonal (year-agnostic) schedules.

Changed

  • Update Playground blueprint with improved demo content.
  • Update "Tested up to" to WordPress 6.5.
  • Update "Requires at least" to WordPress 6.3.
  • To use conditional opacity, you now must also have conditional indicators active.
  • Set rewrites to false for the visibility_preset post type.
  • Update the deprecated __experimentalGetSettings function with the stable __getSettings version.
  • [WooCommerce] When retrieving orders, both processing and completed orders are now included.

Fixed

  • Fix enqueue styles console errors by enqueuing the conditional indicator stylesheet using enqueue_block_assets.

Version 3.3.0

19 Jan 03:16
Compare
Choose a tag to compare

Added

  • [ACF] Added the ability to conditionally display blocks based on fields in options pages.
  • Added support for help descriptions and labels in rule fields.

Changed

  • [Screen Size] Breakpoint defaults are now displayed as placeholders in the plugin settings.
  • Improve the placement of dropdown menus in the Visibility panel to match Core.

Removed

  • [ACF] Removed deprecated rule handling that was introduced in v1.8.0 (2021)

Fixed

  • [ACF] Fixed the broken rule set UI when cleared.
  • [Screen Size] Fixed fatal error caused by deleting a breakpoint and saving an empty value.

Version 3.2.0

03 Jan 12:41
Compare
Choose a tag to compare

Added

  • [Location] Added ability to show/hide a block if the current user is the author of the current post or page.

Changed

  • Bumped the "Tested up to" version to WordPress 6.4.

Version 3.1.2

14 Oct 20:43
Compare
Choose a tag to compare

Fixed

  • Fixed issue where the Visibility panel would display when data fetching was still in process, causing other errors.
  • Fixed issue where the Visibility panel would not display if the User Permissions setting was enabled and the user was an Admin.
  • Fixed incorrect error handling when data cannot be fetched.

Version 3.1.1

21 Sep 12:04
Compare
Choose a tag to compare

This release is exactly the same as version 3.1.0, but was required to stay in line with the WordPress.org repo. Two folders were missing when the plugin was synced to the plugin repo. To fix the issue, the version had to be bumped to 3.1.1.

Fixed

  • Fixed missing folders when the plugin was synced to WordPress.org.

Version 3.1.0

21 Sep 11:26
Compare
Choose a tag to compare

Added

  • [WooCommerce] Added the WooCommerce control. (#83)
  • [Easy Digital Downloads] Added the Easy Digital Downloads control. (#87)
  • Added a Command Palette command for "Manage Visibility Presets". Requires WordPress 6.3+ or the latest version of Gutenberg. (#84)
  • Added a Block Visibility Pro deprecation notice when Pro is installed and active.

Changed

  • Increased the minimum WordPress version to 6.2 and the minimum version of PHP to 7.0.
  • Moved all Block Visibility Pro features to the base plugin.
  • Refactored away from getEntityRecord (#77).
  • [Metadata] Improved support for metadata in array or object format. (#86)

Fixed

  • Fixed typo on hide_on_restricted_users variable (#64).