CraftCMS v4.1.4 Release Notes

Release Date: 2022-07-12 // almost 2 years ago
  • ➕ Added

    • ➕ Added craft\models\FieldLayout::getVisibleCustomFieldElements().

    🔄 Changed

    • 🚚 Relation fields now focus on the next related element’s “Remove” button when an element is removed. (#11577)

    🗄 Deprecated

    • 🗄 Deprecated craft\base\FieldTrait::$required. craft\fieldlayoutelements\BaseField::$required should be used instead.

    🛠 Fixed

    • 🛠 Fixed a bug where assets’ native Alternative Text fields were getting mislabeled as translatable. (#11576)
    • 🛠 Fixed a bug where fields nested within Neo fields could be incorrectly validated as required. (#11574)
    • 🛠 Fixed a PHP error that occurred when editing a Date field with a Min Date setting set.
    • 🛠 Fixed a bug where date range inputs weren’t working on mobile. (#11571)
    • 🛠 Fixed a bug where the “Craft Support” Dashboard widget wasn’t being labeled properly in the widget settings HUD and delete confirmation dialog. (#11573)
    • 🛠 Fixed a bug where the project config cache was getting invalidated on each public GraphQL API request.