|
10 | 10 | - Asset edit pages now include quick links to other volumes’ index sources.
|
11 | 11 | - Assets’ Alternative Text fields are now translatable. ([#11576](https://github.com/craftcms/cms/issues/11576))
|
12 | 12 | - 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)) |
13 | 14 | - 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))
|
14 | 15 | - Entry conditions can now have a “Matrix field” rule. ([#13794](https://github.com/craftcms/cms/discussions/13794))
|
15 | 16 | - Money field condition rules now use money inputs. ([#14148](https://github.com/craftcms/cms/pull/14148))
|
16 | 17 | - 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)) |
17 | 19 | - 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)) |
18 | 21 | - Selected elements within relational fields now include a context menu with “View in a new tab”, “Edit”, and “Remove” options.
|
19 | 22 | - Selected elements within relational fields now include a dedicated drag handle.
|
20 | 23 | - 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 | 51 | - Selected elements within relational fields now include “Move up/down” or “Move forward/backward” in their action menus.
|
49 | 52 | - Improved the accessibility of time zone fields.
|
50 | 53 | - 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)) |
52 | 55 |
|
53 | 56 | ### Administration
|
54 | 57 | - 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)) |
55 | 59 | - Added the “Icon” field type. ([#14169](https://github.com/craftcms/cms/pull/14169))
|
56 | 60 | - 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))
|
57 | 61 | - 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 | 106 | - All core element query param methods now return `static` instead of `self`. ([#11868](https://github.com/craftcms/cms/pull/11868))
|
103 | 107 | - 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.
|
104 | 108 | - 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. |
106 | 111 | - The `assets/move-asset` and `assets/move-folder` actions no longer include `success` keys in responses. ([#12159](https://github.com/craftcms/cms/pull/12159))
|
107 | 112 | - The `assets/upload` controller action now includes `errors` object in failure responses. ([#12159](https://github.com/craftcms/cms/pull/12159))
|
108 | 113 | - Element action triggers’ `validateSelection()` and `activate()` methods are now passed an `elementIndex` argument, with a reference to the trigger’s corresponding element index.
|
|
115 | 120 | - Added `craft\base\Actionable`. ([#14169](https://github.com/craftcms/cms/pull/14169))
|
116 | 121 | - Added `craft\base\ApplicationTrait::getAuth()`.
|
117 | 122 | - 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)) |
118 | 124 | - Added `craft\base\Element::EVENT_DEFINE_ACTION_MENU_ITEMS`.
|
119 | 125 | - Added `craft\base\Element::EVENT_DEFINE_INLINE_ATTRIBUTE_INPUT_HTML`.
|
120 | 126 | - Added `craft\base\Element::crumbs()`.
|
|
201 | 207 | - Added `craft\elements\db\ElementQueryInterface::wasCountEagerLoaded()`.
|
202 | 208 | - Added `craft\elements\db\ElementQueryInterface::wasEagerLoaded()`.
|
203 | 209 | - Added `craft\enums\AttributeStatus`.
|
| 210 | +- Added `craft\enums\Color`. ([#14187](https://github.com/craftcms/cms/pull/14187)) |
204 | 211 | - Added `craft\enums\ElementIndexViewMode`.
|
205 | 212 | - Added `craft\enums\PropagationMethod`.
|
206 | 213 | - Added `craft\enums\TimePeriod`.
|
|
244 | 251 | - Added `craft\helpers\Cp::checkboxGroupFieldHtml()`.
|
245 | 252 | - Added `craft\helpers\Cp::checkboxGroupHtml()`.
|
246 | 253 | - Added `craft\helpers\Cp::chipHtml()`.
|
| 254 | +- Added `craft\helpers\Cp::colorSelectFieldHtml()`. |
247 | 255 | - Added `craft\helpers\Cp::customSelectFieldHtml()`. ([#14169](https://github.com/craftcms/cms/pull/14169))
|
248 | 256 | - Added `craft\helpers\Cp::customSelectHtml()`. ([#14169](https://github.com/craftcms/cms/pull/14169))
|
249 | 257 | - Added `craft\helpers\Cp::disclosureMenu()`.
|
|
275 | 283 | - Added `craft\i18n\Locale::$aliasOf`.
|
276 | 284 | - Added `craft\i18n\Locale::setDisplayName()`.
|
277 | 285 | - Added `craft\migrations\BaseContentRefactorMigration`.
|
| 286 | +- Added `craft\models\EntryType::$color`. |
278 | 287 | - Added `craft\models\FieldLayout::getCardBodyFields()`.
|
279 | 288 | - Added `craft\models\FieldLayout::getElementByUid()`.
|
280 | 289 | - Added `craft\models\FieldLayout::getFieldById()`.
|
|
411 | 420 | - `craft\services\Users::unsuspendUser()` now has a `void` return type, and throws an `InvalidElementException` in case of failure.
|
412 | 421 | - `craft\services\Users::verifyEmailForUser()` now has a `void` return type, and throws an `InvalidElementException` in case of failure.
|
413 | 422 | - `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. |
414 | 424 | - Deprecated `craft\events\DefineElementInnerHtmlEvent`.
|
415 | 425 | - Deprecated `craft\events\SearchEvent::$siteId`.
|
416 | 426 | - Deprecated `craft\helpers\Component::iconSvg()`. `craft\helpers\Cp::iconSvg()` and `fallbackIconSvg()` should be used instead. ([#14169](https://github.com/craftcms/cms/pull/14169))
|
|
0 commit comments