Releases: ndiego/block-visibility
Releases · ndiego/block-visibility
Version 3.7.1
Version 3.7.0
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
Fixed
- [ACF] Fixed bug where ACF fields were not being displayed following the v3.6.0 update.
Version 3.6.0
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
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
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
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
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
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
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.