- Updated Field Labels' Craft version requirements to allow installation on Craft 3.6, 3.7 and future Craft 3 releases
- Fixed an error that could occur during the Craft 3.5 migration, if there were any field labels that belonged to deleted field layouts (thanks @iainsaxon)
{warning} This update rewrites the previous 1.3 migrations to avoid a project config rebuild, and instead attempts to update the project config directly where possible. If some labels couldn't be written to the project config for some reason (e.g. if some field layouts in the project config haven't yet been updated to the new format), those labels will be updated in the database, and a warning will be logged advising that a project config rebuild will need to be run manually.
- Rewrote the 1.3.0/1.3.1 migrations to update the project config where possible, without a rebuild that could cause conflicts in some cases
{warning} This update will execute a project config rebuild, to ensure all field layout changes are saved to the project config, due to issues with the 1.3.0 migration saving field label data to the database but not the project config. Please ensure you have backed up your Craft install's
config/project
directory before proceeding with this update.
- Added a migration to set field label overrides to
__blank__
ifHide Name
was set - The migration also executes a project config rebuild to make sure the updated field layouts are saved to the project config
{warning} This release migrates field label/instruction overrides from the Field Labels format to the Craft 3.5 format. After updating, please check to confirm your relabelled data has successfully been migrated to the Craft 3.5 format, then uninstall Field Labels. While all control panel functionality of Field Labels has been permanently disabled, Field Labels data and all other functionality will remain available while the plugin is still installed, in case it's still required for any other plugin or module.
- Added a migration of field label/instruction overrides from the Field Labels format to the Craft CMS 3.5 format
- All front-end relabelling functionality has been disabled, to prevent Field Labels from attempting to relabel fields that had more recently been relabelled within Craft 3.5
- Fixed a bug where labels would not apply to new quick post widgets, if no quick post widgets already existed on the dashboard
- Fixed a bug with quick post widgets where translatable field icons would be lost when applying labels
{warning} With this release, Field Labels is prevented from applying its functionality to the Craft 3.5 beta. Field Labels will not be compatible with Craft 3.5, due to Craft 3.5's new field layout designer including the ability to override field labels and instructions. A future Craft 3.5-exclusive Field Labels update will migrate Field Labels data to the new format.
- Fixed an issue when saving a Neo block type, where Field Labels would delete existing labels before Neo would recreate them, instead of just having Neo update the existing labels
- Fixed a JavaScript error that could occur when trying to override labels on field inputs
- Fixed issue where labels were not displaying on entry drafts if the user did not have permission to publish the draft (thanks @leevigraham)
- Fixed issue with the Craft 3.5 beta, where labels were not displaying on drafts (thanks @leevigraham)
- Added support for Verbb Wishlist
- Changed how Field Labels saves labels from field layout designer pages, with better handling of FLD pages with multiple field layouts (e.g. Commerce products/variants, Wishlist lists/items)
- Fixed relabelled fields showing
null
as the updated name in the field layout editor if the name wasn't overridden
- add handling for localized create buttons. thanks @swey
- Update context for Craft 3.4+. #47
- Fix #45 - field labels reference will now be removed when deleting a field/layout
- Relabeled Fields will now show the updated label with the original e.g
textContent. #41
- Fix #42
- Add Verbb Gift Voucher support. Thanks @ttempleton
- Fix issue with Events labels not showing. Thanks @ttempleton
- Fix for labels not being applied in Craft 3.2
- Ensure $label exists when triggering afterSaveLabel event - thanks @ttempleton
- Add ability to hide field names/instructions - thanks @ttempleton
- Add support for Verbb Events - thanks @engram-design
- Update minimum Craft version in readme - thanks @ttempleton
- Apply label names to error messages - thanks @ttempleton
- Fix labels not being deleted when name/instructions removed - thanks @ttempleton
- Add quick post widgets support - thanks @ttempleton
- check to see if plugin is enabled as well as installed - thanks @samuelbirch
- Convert instructions from varchar(255) to text - thanks @ttempleton
- Fixed issue on multi-site Craft installations where applying a field label to a translatable field would remove the translatable icon
- Added support for the project config rebuild functionality introduced in Craft CMS 3.1.20
- Field Labels now requires Craft CMS 3.1.20 or later
- Changed the Field Labels instructions input to a textarea, for consistency with Craft's presentation of instructions on a field settings page
- Fixed issue where a Field Labels instruction could duplicate if the field instruction it replaced was multi-line
- Added support for the Solspace Calendar plugin
- Fixed error that occurred when attempting to create a new element from an element field's modal
- Fixed error that occurred if Craft Commerce was required by a Craft project but not installed
- Fixed error when trying to perform a project config sync from a terminal
- Fixed potential error if a section has no entry types
- Fixed issue with field labels not being applied to entry drafts
- Fixed issue where
getIsGuest()
returned true even if user was signed in (thanks @aaronbushnell) - Fixed issue with field labels not being applied to Commerce orders
- Initial release for Craft 3