Skip to content

Commit a5d8e80

Browse files
committed
Release notes for #14187
[ci skip]
1 parent 201d524 commit a5d8e80

File tree

2 files changed

+25
-2
lines changed

2 files changed

+25
-2
lines changed

CHANGELOG-WIP.md

+12-2
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,14 @@
1010
- Asset edit pages now include quick links to other volumes’ index sources.
1111
- Assets’ Alternative Text fields are now translatable. ([#11576](https://github.com/craftcms/cms/issues/11576))
1212
- Entries can now have multiple authors. ([#12380](https://github.com/craftcms/cms/pull/12380))
13+
- Entry chips, cards, and blocks are now tinted according to their entry type’s color. ([#14187](https://github.com/craftcms/cms/pull/14187))
1314
- The “Save as a new entry” action is now available to all users with the “Create entries” permission, and will create a new unpublished draft rather than a fully-saved entry. ([#9577](https://github.com/craftcms/cms/issues/9577), [#10244](https://github.com/craftcms/cms/discussions/10244))
1415
- Entry conditions can now have a “Matrix field” rule. ([#13794](https://github.com/craftcms/cms/discussions/13794))
1516
- Money field condition rules now use money inputs. ([#14148](https://github.com/craftcms/cms/pull/14148))
1617
- Inline-editable Matrix blocks now support multiple tabs. ([#8500](https://github.com/craftcms/cms/discussions/8500), [#14139](https://github.com/craftcms/cms/issues/14139))
18+
- Inline-editable Matrix blocks have been redesigned to be visually lighter. ([#14187](https://github.com/craftcms/cms/pull/14187))
1719
- Inline-editable Matrix blocks now include “Open in a new tab” action items.
20+
- Matrix fields set to the inline-editable blocks view mode no longer show inline entry-creation buttons unless there’s a single entry type. ([#14187](https://github.com/craftcms/cms/pull/14187))
1821
- Selected elements within relational fields now include a context menu with “View in a new tab”, “Edit”, and “Remove” options.
1922
- Selected elements within relational fields now include a dedicated drag handle.
2023
- Selected assets within Assets fields no longer open the file preview modal when their thumbnail is clicked on. The “Preview file” quick action, or the <kbd>Shift</kbd> + <kbd>Spacebar</kbd> keyboard shortcut, can be used instead.
@@ -48,10 +51,11 @@
4851
- Selected elements within relational fields now include “Move up/down” or “Move forward/backward” in their action menus.
4952
- Improved the accessibility of time zone fields.
5053
- Improved the accessibility of form alternative action menus.
51-
- Improved the accessibility of inline-editable Matrix blocks.
54+
- Improved the accessibility of Matrix fields with the “inline-editable blocks” view mode. ([#14187](https://github.com/craftcms/cms/pull/14187))
5255

5356
### Administration
5457
- Added the “Icon” entry type setting. ([#14169](https://github.com/craftcms/cms/pull/14169))
58+
- Added the “Color” entry type setting. ([#14187](https://github.com/craftcms/cms/pull/14187))
5559
- Added the “Icon” field type. ([#14169](https://github.com/craftcms/cms/pull/14169))
5660
- Field layouts can now designate an Assets field as the source for elements’ thumbnails. ([#12484](https://github.com/craftcms/cms/discussions/12484), [#12706](https://github.com/craftcms/cms/discussions/12706))
5761
- Field layouts can now choose to include previewable fields’ content in element cards. ([#12484](https://github.com/craftcms/cms/discussions/12484), [#6024](https://github.com/craftcms/cms/pull/6024))
@@ -102,7 +106,8 @@
102106
- All core element query param methods now return `static` instead of `self`. ([#11868](https://github.com/craftcms/cms/pull/11868))
103107
- Migrations that modify the project config no longer need to worry about whether the same changes were already applied to the incoming project config YAML files.
104108
- Selectize menus no longer apply special styling to options with the value `new`. The `_includes/forms/selectize.twig` control panel template should be used instead (or `craft\helpers\Cp::selectizeHtml()`/`selectizeFieldHtml()`), which will append an styled “Add” option when `addOptionFn` and `addOptionLabel` settings are passed. ([#11946](https://github.com/craftcms/cms/issues/11946))
105-
- Added the `chip()`, `disclosureMenu()`, `elementCard()`, `elementChip()`, `elementIndex()`, `iconSvg()`, and `siteMenuItems()` global functions for control panel templates.
109+
- Added the `chip()`, `customSelect()`, `disclosureMenu()`, `elementCard()`, `elementChip()`, `elementIndex()`, `iconSvg()`, and `siteMenuItems()` global functions for control panel templates.
110+
- Added the `colorSelect` and `colorSelectField` form macros.
106111
- The `assets/move-asset` and `assets/move-folder` actions no longer include `success` keys in responses. ([#12159](https://github.com/craftcms/cms/pull/12159))
107112
- The `assets/upload` controller action now includes `errors` object in failure responses. ([#12159](https://github.com/craftcms/cms/pull/12159))
108113
- Element action triggers’ `validateSelection()` and `activate()` methods are now passed an `elementIndex` argument, with a reference to the trigger’s corresponding element index.
@@ -115,6 +120,7 @@
115120
- Added `craft\base\Actionable`. ([#14169](https://github.com/craftcms/cms/pull/14169))
116121
- Added `craft\base\ApplicationTrait::getAuth()`.
117122
- Added `craft\base\Chippable`. ([#14169](https://github.com/craftcms/cms/pull/14169))
123+
- Added `craft\base\Colorable`. ([#14187](https://github.com/craftcms/cms/pull/14187))
118124
- Added `craft\base\Element::EVENT_DEFINE_ACTION_MENU_ITEMS`.
119125
- Added `craft\base\Element::EVENT_DEFINE_INLINE_ATTRIBUTE_INPUT_HTML`.
120126
- Added `craft\base\Element::crumbs()`.
@@ -201,6 +207,7 @@
201207
- Added `craft\elements\db\ElementQueryInterface::wasCountEagerLoaded()`.
202208
- Added `craft\elements\db\ElementQueryInterface::wasEagerLoaded()`.
203209
- Added `craft\enums\AttributeStatus`.
210+
- Added `craft\enums\Color`. ([#14187](https://github.com/craftcms/cms/pull/14187))
204211
- Added `craft\enums\ElementIndexViewMode`.
205212
- Added `craft\enums\PropagationMethod`.
206213
- Added `craft\enums\TimePeriod`.
@@ -244,6 +251,7 @@
244251
- Added `craft\helpers\Cp::checkboxGroupFieldHtml()`.
245252
- Added `craft\helpers\Cp::checkboxGroupHtml()`.
246253
- Added `craft\helpers\Cp::chipHtml()`.
254+
- Added `craft\helpers\Cp::colorSelectFieldHtml()`.
247255
- Added `craft\helpers\Cp::customSelectFieldHtml()`. ([#14169](https://github.com/craftcms/cms/pull/14169))
248256
- Added `craft\helpers\Cp::customSelectHtml()`. ([#14169](https://github.com/craftcms/cms/pull/14169))
249257
- Added `craft\helpers\Cp::disclosureMenu()`.
@@ -275,6 +283,7 @@
275283
- Added `craft\i18n\Locale::$aliasOf`.
276284
- Added `craft\i18n\Locale::setDisplayName()`.
277285
- Added `craft\migrations\BaseContentRefactorMigration`.
286+
- Added `craft\models\EntryType::$color`.
278287
- Added `craft\models\FieldLayout::getCardBodyFields()`.
279288
- Added `craft\models\FieldLayout::getElementByUid()`.
280289
- Added `craft\models\FieldLayout::getFieldById()`.
@@ -411,6 +420,7 @@
411420
- `craft\services\Users::unsuspendUser()` now has a `void` return type, and throws an `InvalidElementException` in case of failure.
412421
- `craft\services\Users::verifyEmailForUser()` now has a `void` return type, and throws an `InvalidElementException` in case of failure.
413422
- `craft\web\Controller::asModelSuccess()` now includes a `modelClass` key in the response data (and `modelId` if the model implements `craft\base\Identifiable`).
423+
- Colors defined by elements’ `statuses()` methods can now be a `craft\enums\Color` instance.
414424
- Deprecated `craft\events\DefineElementInnerHtmlEvent`.
415425
- Deprecated `craft\events\SearchEvent::$siteId`.
416426
- Deprecated `craft\helpers\Component::iconSvg()`. `craft\helpers\Cp::iconSvg()` and `fallbackIconSvg()` should be used instead. ([#14169](https://github.com/craftcms/cms/pull/14169))

CHANGELOG.md

+13
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,19 @@
22

33
## Unreleased
44

5+
- Inline-editable Matrix blocks have been redesigned to be visually lighter. ([#14187](https://github.com/craftcms/cms/pull/14187))
6+
- Matrix fields set to the inline-editable blocks view mode no longer show inline entry-creation buttons unless there’s a single entry type. ([#14187](https://github.com/craftcms/cms/pull/14187))
7+
- Improved the accessibility of Matrix fields with the “inline-editable blocks” view mode. ([#14187](https://github.com/craftcms/cms/pull/14187))
8+
- Added the “Color” entry type setting. ([#14187](https://github.com/craftcms/cms/pull/14187))
9+
- Entry chips, cards, and blocks are now tinted according to their entry type’s color. ([#14187](https://github.com/craftcms/cms/pull/14187))
10+
- Disclosure menu items and custom select options can now have a `color` key.
11+
- Added the `customSelect()` global function for control panel templates.
12+
- Added the `colorSelect` and `colorSelectField` form macros.
13+
- Added `craft\base\Colorable`. ([#14187](https://github.com/craftcms/cms/pull/14187))
14+
- Added `craft\enums\Color`. ([#14187](https://github.com/craftcms/cms/pull/14187))
15+
- Added `craft\helpers\Cp::colorSelectFieldHtml()`.
16+
- Added `craft\models\EntryType::$color`.
17+
- Colors defined by elements’ `statuses()` methods can now be a `craft\enums\Color` instance.
518
- Craft now requires MySQL 8.0.17+, MariaDB 10.4.6+, or PostgreSQL 13+.
619
- Fixed a bug where newly-created nested Matrix entries were losing their sort order when the owner element’s draft was applied.
720
- Fixed a bug where plugin icons were blue. ([#14186](https://github.com/craftcms/cms/issues/14186))

0 commit comments

Comments
 (0)