Releases: ndiego/block-visibility
Releases · ndiego/block-visibility
Version 2.5.0
Upgrade Notice
Block Visibility now requires WordPress 6.0+ with version 2.5.0 and users of the Pro add-on will need to upgrade to Pro 1.6.0 to take advantage of these latest enhancements. There have also been updates to the way visibility defaults work. Check out the release article for more information.
Added
- [Screen Size] Added filter for specifying blocks that are incompatible with the control.
- Added loading indicator in Editor visibility panel while settings and variables are being fetched.
- Added support for uncategorized block types in the Block Manager.
- Added back the ability to enable or disable help notices and popovers in the Editor.
- Added subtle upsell messaging in the plugin settings dashboard.
- Added Pro compatibility warning notice for versions 1.5.3 and lower.
Changed
- Block Visibility now requires WordPress 6.0 or greater.
- [User Role] Fetch users directly rather than rely on the Block Visibility variables endpoint.
- Redesigned the Editor UI to match the WordPress 6.1 design system.
- Redesigned the Block Manager.
- Consolidated all external plugin links into a single directory.
- Optimized all custom SVG icons, including those used in contextual indicators. Indicator stylesheet is now 50% smaller.
Removed
- Removed visibility panel and toolbar controls on Custom HTML blocks in the block-based Widget Area due to incompatibility. Visibility controls are still available for the Custom HTML block in the post/page Editor as well as the Site Editor.
- Removed unnecessary custom icons.
- Removed support url from variables endpoint.
Fixed
- [Advanced Custom Fields] Fixed bug where numeric ACF fields were not being evaluated correctly. (#50)
- [Screen Size] Fixed bug where using the Screen Size control and the
meow-gallery/gallery
block. Added better error handling to avoid a similar issue in other third-party blocks. - Fixed bug where resetting settings on a specific tab would reset all plugin settings.
Version 2.4.6
Fixed
- Fixed bug where contextual indicator styles caused issues with Cover blocks when a custom indicator color was chosen in WordPress 6.1.
- Fixed bug where contextual indicator styles caused issues with hover states in the Site Editor when a custom indicator color was chosen in WordPress 6.1.
Version 2.4.5
Fixed
- Fixed bug where text blocks became nearly impossible to edit when visibility controls were applied in WordPress 6.1.
- Fixed bug where block contextual opacity was applied incorrectly to Cover blocks with overlay enabled.
Version 2.4.4
Changed
- Simplify REST API requests on the plugin settings page to increase performance and attempt to fix edge case fetch errors.
Version 2.4.3
Fixed
- Fixed incorrect filter attribute in WP Fusion visibility test. (#24)
Version 2.4.2
Fixed
- Fixed bug in classic themes that caused Screen Size inline styles to not load as expected.
Version 2.4.1
Changed
- The Screen Size CSS classes are now added via PHP allowing the control to be used in dynamic blocks.
Fixed
- Fixed bug where Screen Size inline styles would be printed multiple times.
Version 2.4.0
Added
- Added contextual block opacity settings.
- Added information icons to all visibility controls with links to Knowledge Base.
- Added cookie contextual indicator for Cookie control in Block Visibility Pro.
Changed
- Removed tip/information modals from Editor. Information icons now direct users to the corresponding Knowledge Base pages.
Fixed
- Fix indicator color styling in settings.
Version 2.3.1
Fixed
- Fixed issue with block-based widgets where widget markup would still be rendered even if the block content was not. (#26)
- Fixed React Select input styling.
- Fixed styles that were bleeding into the Editor.
- Fixed linting errors.
Version 2.3.0
Added
- Added advanced User Role controls (User Rule Sets).
- Allow Block Visibility Pro settings to disable local visibility controls.
Changed
- Moved the default visibility control settings from the "General Settings" tab to the "Visibility Controls" tab.
- The additional contextual indicator settings are now disabled when indicators are disabled.
- Rule sets now support a custom rule label.
- Temporarily remove the "Editor Notices" Block Editor setting since it's no longer relevant. This setting will be evaluated and potentially reintroduced in v2.4.
- Updated plugin compatibility to WordPress 5.9.
Fixed
- Fixed issue where Visibility Presets would appear in available control defaults with Block Visibility Pro is enabled.
- Fixed minor styling issues found in WordPress 5.9 testing.