Releases: AdvancedCustomFields/acf
Releases · AdvancedCustomFields/acf
Advanced Custom Fields v6.0.2
Release Date 29th September 2022
- Improvement - Field group and field rows no longer animate on hover to reveal the action links
- Fix - Field order is now saved correctly when fields are reordered
- Fix - WordPress notice styles outside of ACF's admin screens are no longer affected by the plugin's CSS
Advanced Custom Fields v6.0.1
Release Date 28th September 2022
- Improvement - ACF's header bar inside our admin pages is no longer sticky
- Improvement - ACF's admin pages no longer use a custom font
- Fix - Duplicating flexible content layouts now works correctly
- Fix - ACF CSS classes no longer target translated class names for sub pages, resolving issues when using ACF in a language other than English
- Fix - ACF no longer reactivates when using WPML with different domains per language
- Fix - i18n - Labels for some field settings no longer break onto multiple lines in languages other than English
- Fix - Radio field types no longer generate a warning in logs due to invalid parameter counts
- Fix - True/False field focus states no longer apply outside ACF admin screens
- Fix - Focus states for many field types no longer show when interacting with a mouse input
- Fix - ACF 6’s new Tab background colors no longer apply outside ACF admin screens, increasing readability
- Fix - User fields named “name” no longer have a different label presentation view
- Fix - Changing field types with subfields no longer removes those fields when switching field type and back
- Fix - Resolved a potential fatal error if a third party plugin sets the global
$post_type
something other than a string - Fix - Tooltip alignment is no longer incorrect inside subfields
- Fix - Resolved a potential JS error when third party plugins modify the metabox sort order
Advanced Custom Fields v6.0.0
Release Date 21st September 2022
- New - ACF now has a new refreshed UI with improved UX for editing field groups, including a new tabbed settings layout for fields. Third party ACF extension plugin developers can read more about the optional changes they can make to support the new tabs in our release announcement post
- New - Repeaters now have an optional "Pagination" setting which can be used to control the number of rows displayed at once. More details can be found on our Repeater field documentation
- New - ACF Blocks now have a versioning system allowing developers to opt in to new features
- New - ACF Blocks now support version 2, enabling block.json support, reduced wrapper markup and significant other new features. Full details and examples of this can be found in What's new with ACF Blocks in ACF 6
- New - ACF Blocks no longer use Block IDs saved in the block comment. See What's new with ACF Blocks in ACF 6 for more information.
- Enhancement - Bulk actions for field groups now include "Activate" and "Deactivate" options
- Fix - ACF will no longer perform a multisite database upgrade check on every admin load once each upgrade has been performed
- Fix - ACF Blocks preloading now works for blocks saved in edit mode
- Fix - ACF Blocks edit forms now behave correctly if they are not visible when loaded
- Fix - ACF Blocks now always fire
render_block_preview
events when a block preview is displayed or redisplayed - Fix - ACF Blocks with no fields now display advisory text and are selectable in the block editor. This message is filterable with the acf/blocks/no_fields_assigned_message filter, providing both the message to be displayed and the block name it's being displayed against
- Fix - Accordions inside ACF Blocks now match the current native block styling
- Fix - ACF Blocks which contain no fields now preload correctly
- Fix - Changes to an ACF Block's context now trigger a re-render
- Fix - A rare warning inside
wp_post_revision_field
will no longer be possible - Fix - The field “move” option now no longer displays for fields when only one field group exists
- Fix - Language for field group activation state now standardized to "active" and "inactive"
- Fix - SVGs containing
foreignObject
tags now correctly render in JSX rendered ACF Blocks - Fix - Server errors during ACF updates or version checks are now cached for 5 minutes rather than 24 hours
- Accessibility - The new ACF UI has significantly improved accessibility for screen readers and alternative input options
- i18n - All strings inside ACF are now translatable
- i18n - Accented term names in taxonomy fields are no longer corrupted at output
- i18n - ACF translations are now synced with contributions from translation.wordpress.org at each release, increasing ACF's supported languages and updating many other translations. PRO strings should still be submitted as pull requests on GitHub (Additional thanks to maximebj, emreerkan and Timothée Moulin for their contributions which are included here)
Advanced Custom Fields v6.0.0-RC3
Release Date 9th September 2022
- Fix - Blocks containing InnerBlocks are now correctly editable when preloaded. This fix required reverting the previous RC1 change which allowed block templates to render other blocks with InnerBlocks - we will re-enable that support in a subsequent release shortly
- Fix - block.json blocks now default to
apiVersion: 2
which solves issues with duplicated wrapper markup for blocks which didn’t manually define it - Fix - Repeaters no longer use pagination in front end forms
- Fix - Various refinements and fixes of the new UI
Advanced Custom Fields v6.0.0-RC2
Release Date 5th September 2022
- Fix - Improved performance of the new UI by significantly reducing CSS size
- Fix - Repeater Pagination will no longer allow “per page” values less than one
- Fix - ACF will no longer trigger warnings when third party plugins add sub pages to the ACF menu
- Fix - ACF Blocks now correctly have
$is_preview
set to true for preloaded blocks - Fix - Custom classes on
<InnerBlocks>
attributes now render correctly if that element also contains a template containing another class - Fix - New admin button group and select2 styles no longer leak out of the admin screens
Advanced Custom Fields v6.0.0-RC1
Release Date 24th August 2022
- New - ACF now has a new refreshed UI with improved UX for editing field groups, including a new tabbed settings layout for fields. Third party ACF extension plugin developers can read more about the optional changes they can make to support the new tabs in our RC1 announcement post
- New - Repeaters now have an optional "Pagination" setting which can be used to control the number of rows displayed at once. More details can be found on our RC1 announcement post
- New - ACF Blocks now have a versioning system allowing developers to opt in to new features
- New - ACF Blocks now support version 2, enabling block.json support, reduced wrapper markup and significant other new features. Full details and examples of this can be found on our RC1 announcement post
- New - ACF Blocks no longer use Block IDs saved in the block comment
- Enhancement - Bulk actions for field groups now include "Activate" and "Deactivate" options
- Fix - ACF will no longer perform a multisite database upgrade check on every admin load once each upgrade has been performed
- Fix - ACF Block templates which render other blocks will now have their InnerBlocks rendered correctly
- Fix - ACF Blocks preloading now works for blocks saved in edit mode
- Fix - ACF Blocks edit forms now behave correctly if they are not visible when loaded
- Fix - ACF Blocks now always fire
render_block_preview
events when a block preview is displayed or redisplayed - Fix - ACF Blocks with no fields now display advisory text and are selectable in the block editor. This message is filterable with the acf/blocks/no_fields_assigned_message filter, providing both the message to be displayed and the block name it's being displayed against
- Fix - Accordions inside ACF Blocks now match the current native block styling
- Fix - ACF Blocks which contain no fields now preload correctly
- Fix - Changes to an ACF Block's context now trigger a re-render
- Fix - A rare warning inside
wp_post_revision_field
will no longer be possible - Fix - The field “move” option now no longer displays for fields when only one field group exists
- Fix - Language for field group activation state now standardized to "active" and "inactive"
- Fix - SVGs containing
foreignObject
tags now correctly render in JSX rendered ACF Blocks - Fix - Server errors during ACF updates or version checks are now cached for 5 minutes rather than 24 hours
- Accessibility - The new ACF UI has significantly improved accessibility for screen readers and alternative input options
- i18n - All strings inside ACF are now translatable
- i18n - Accented term names in taxonomy fields are no longer corrupted at output
- i18n - ACF translations are now synced with contributions from translation.wordpress.org at each release, increasing ACF's supported languages and updating many other translations. PRO strings should still be submitted as pull requests on GitHub (Additional thanks to maximebj, emreerkan and Timothée Moulin for their contributions which are included here)
Advanced Custom Fields v5.12.3
Release Date 14th July 2022
- Security Fix - Inputs for basic file uploads are now nonced to prevent an issue which could allow arbitrary file uploads to forms with ACF fields (Thanks to James Golovich from Pritect, Inc.)
Advanced Custom Fields v5.12.2
Release Date 6th April 2022
- Fix - Cloned fields in custom named options pages now behave correctly
- Fix - Default values and the
acf/load_value
filter are now applied if a field value load fails security validation - Fix - The ACF field is no longer present in REST responses if the ACF REST API setting is disabled
- Fix - Duplicating a flexible content layout or repeater row now also replaces the field ID in
for
attributes
Advanced Custom Fields v5.12.1
Release Date 23rd March 2022
- New - REST API now supports the comment route for displaying ACF fields.
- Fix - ACF now validates access to option page field values when accessing via field keys the same way as field names. View More
- Fix - REST API now correctly validates fields for POST update requests
- Fix - Fixed an issue where invalid field types caused an error during REST API requests
- Fix - Fixed a PHP warning when duplicating an empty field group
- Fix - Fixed a bug preventing block duplication detection changing an ACF Block’s ID if it was nested deeper than one level inside another block
- Fix - Fixed a bug where the
acf-block-preview
wrapper might not appear around a block if it was saved in edit mode - i18n - Updated several translations from user contributions (Thanks to Dariusz Zielonka, Mikko Kekki and Alberto!)
Advanced Custom Fields v5.12
Release Date 23rd February 2022
- View Release Post
- New - ACF blocks now support the new Full Site Editor included in WordPress 5.9
- New - ACF blocks now support the WordPress Query Loop block
- New - Added block caching system to reduce the number of AJAX calls in the block editor
- Enhancement - Block preloading can now be disabled by using "acf_update_setting( 'preload_blocks', false );" in the "acf/init" action hook
- Enhancement - ACF and ACF PRO will now detect if each other are active and deactivate the other plugin on plugin activation
- Fix - Fixed an issue with the media library not working correctly in ACF Blocks in WordPress 5.9.1
- Fix - Fixed an issue where anchors weren't working correctly in WordPress 5.9
- Fix - Fixed an issue where the "unfiltered_html" capability wasn't being used by ACF blocks
- Fix - Fixed an issue where it was impossible to update an ACF block inside the widget block editor
- Fix - Fixed an issue where ACF fields might not appear in REST API calls made via internal WordPress functions
- Fix - Warnings and PHP 8.1 deprecation notices in REST API
- Fix - Better support for double byte characters in "acf_get_truncated()" (props @cabradb)
- i18n - Broken link in the Croatian translation
- i18n - Automated building of acf.pot for translators in each release