Skip to content

Commit b29f29a

Browse files
committed
Merge branch '5.9' into chore/cookie-name-tweak
# Conflicts: # src/web/assets/cp/dist/cp.js # src/web/assets/cp/dist/cp.js.map
2 parents 9d3d856 + e7d0b38 commit b29f29a

31 files changed

+2313
-1431
lines changed

CHANGELOG-WIP.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
- Element, field, and entry type edit pages now redirect back to the previous page’s URL on save. ([#16140](https://github.com/craftcms/cms/pull/16140))
1616
- Bulk element actions are now available on element indexes for mobile devices.
1717
- Textual condition rules are now case-insensitive. ([#18107](https://github.com/craftcms/cms/issues/18107))
18+
- Added support for exporting elements as XLSX and YAML files. ([#18160](https://github.com/craftcms/cms/pull/18160))
1819

1920
### Accessibility
2021
- Improved the accessibility of the Orientation setting within the Image Editor’s crop tool. ([#17690](https://github.com/craftcms/cms/pull/17690))
@@ -45,6 +46,7 @@
4546
- The `maxCachedCloudImageSize` config setting is now set to `0` by default. ([#17997](https://github.com/craftcms/cms/pull/17997))
4647
- System message emails are now rendered using GitHub-flavored Markdown. ([#18058](https://github.com/craftcms/cms/discussions/18058))
4748
- Drag-and-drop icons are now longer shown for devices that don’t support pointer events. ([#18067](https://github.com/craftcms/cms/pull/18067))
49+
- The Caches utility now keeps track of which options were previously selected. ([#9447](https://github.com/craftcms/cms/discussions/9447))
4850

4951
### Development
5052
- Reference tags now support fallback values when no attribute is specified. ([#17688](https://github.com/craftcms/cms/pull/17688))
@@ -91,9 +93,14 @@
9193
- Added `craft\services\Search::deleteOrphanedIndexJobs()`.
9294
- Added `craft\services\Structure::EVENT_AFTER_UPDATE_ELEMENT`.
9395
- Added `craft\services\Structure::EVENT_BEFORE_UPDATE_ELEMENT`.
96+
- Added `craft\web\BaseSpreadsheetResponseFormatter`.
9497
- Added `craft\web\GqlResponseFormatter`.
9598
- Added `craft\web\Request::getHasInvalidToken()`.
9699
- Added `craft\web\Response::FORMAT_GQL`.
100+
- Added `craft\web\Response::FORMAT_XLSX`.
101+
- Added `craft\web\Response::FORMAT_YAML`.
102+
- Added `craft\web\XlsxResponseFormatter`.
103+
- Added `craft\web\YamlResponseFormatter`.
97104
- Added `craft\web\twig\nodes\BaseNode`.
98105
- Added `Craft.BaseElementIndex::asyncSelectDefaultSource()`.
99106
- Added `Craft.BaseElementIndex::asyncSelectSource()`.
@@ -112,10 +119,15 @@
112119
- `craft\services\ElementSources::sourceExists()` now has a `$page` argument. ([#17779](https://github.com/craftcms/cms/pull/17779))
113120
- `craft\web\Request::accepts()` now accepts wildcard characters (`*`) in the `$contentType` argument, to check for a range of MIME types (e.g. `application/*+json`).
114121
- `craft\web\Request::getAcceptsJson()` now returns `true` for requests with `Content-Type` headers that match `application/*+json`, in addition to `application/json`.
122+
- Checkbox selects can now be configured with a `storageKey` setting.
115123
- Deprecated `craft\fields\BaseRelationField::$showCardsInGrid`.
116124
- Deprecated `craft\fields\Matrix::$showCardsInGrid`.
125+
- Deprecated `craft\helpers\StringHelper::capitalizePersonalName()`. `toPascalCase()` should be used instead.
126+
- Deprecated `craft\helpers\StringHelper::isWhitespace()`. `isBlank()` should be used instead.
127+
- Deprecated `craft\helpers\StringHelper::upperCamelize()`. `toPascalCase()` should be used instead.
117128
- Deprecated `craft\services\Structure::EVENT_AFTER_MOVE_ELEMENT`. `EVENT_AFTER_UPDATE_ELEMENT` should be used instead.
118129
- Deprecated `craft\services\Structure::EVENT_BEFORE_MOVE_ELEMENT`. `EVENT_BEFORE_UPDATE_ELEMENT` should be used instead.
130+
- Deprecated `craft\web\CsvResponseResponseFormatter::$escapeChar`.
119131
- Deprecated `Craft.BaseElementIndex::selectDefaultSource()`.
120132
- Deprecated `Craft.BaseElementIndex::selectSource()`.
121133
- Deprecated `Craft.BaseElementIndex::selectSourceByKey()`.
@@ -133,4 +145,7 @@
133145
- Fixed a bug where titles, slugs, and required custom field values weren’t always getting propagated to other sites when creating a new element. ([#17955](https://github.com/craftcms/cms/issues/17955))
134146
- Fixed a bug where it was possible to create more than five users with the Team edition.
135147
- Fixed a bug where deadlocks could occur when updating elements’ search indexes. ([#18139](https://github.com/craftcms/cms/pull/18139))
148+
- Added the Illuminate Support library.
149+
- Added the PhpSpreadsheet library.
136150
- Updated Twig to 3.21. ([#17603](https://github.com/craftcms/cms/discussions/17603))
151+
- Removed the Stringy library. ([#16606](https://github.com/craftcms/cms/issues/16606))

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
## Unreleased
44

55
- Fixed a bug where Matrix fields’ Entry Types settings were partially interactive when admin changes were disallowed. ([#18145](https://github.com/craftcms/cms/pull/18145))
6+
- Fixed a bug where users could be unable to sign in if an inactive user account existed with the same email address. ([#18148](https://github.com/craftcms/cms/issues/18148))
7+
- Fixed a bug where Content Block fields could appear to be missing their content when viewing a revision. ([#18149](https://github.com/craftcms/cms/issues/18149))
8+
- Fixed a bug where Dropdown and Radio Button fields weren’t handling `:empty:`/`:notempty:` element query params properly for options with blank values. ([#18156](https://github.com/craftcms/cms/issues/18156))
9+
- Fixed a bug where chip icons were getting rounded. ([#18163](https://github.com/craftcms/cms/pull/18163))
10+
- Fixed a bug where object templates that included another template were missing variables. ([#18165](https://github.com/craftcms/cms/issues/18165))
611

712
## 5.8.21 - 2025-12-04
813

composer.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,13 @@
4444
"enshrined/svg-sanitize": "~0.22.0",
4545
"guzzlehttp/guzzle": "^7.2.0",
4646
"illuminate/collections": "^v10.42.0",
47+
"illuminate/support": "^10.49",
4748
"league/uri": "^7.0",
4849
"mikehaertl/php-shellcommand": "^1.6.3",
4950
"moneyphp/money": "^4.0",
5051
"monolog/monolog": "^3.0",
5152
"phpdocumentor/reflection-docblock": "^5.3",
53+
"phpoffice/phpspreadsheet": "^5.3",
5254
"pixelandtonic/imagine": "~1.3.3.1",
5355
"pragmarx/google2fa": "^8.0",
5456
"pragmarx/recovery": "^0.2.1",
@@ -65,7 +67,7 @@
6567
"symfony/yaml": "^5.2.3|^6.0|^7.0",
6668
"theiconic/name-parser": "^1.2",
6769
"twig/twig": "~3.21.1",
68-
"voku/stringy": "^6.4.0",
70+
"voku/portable-ascii": "^2.0",
6971
"web-auth/webauthn-lib": "~4.9.0",
7072
"webonyx/graphql-php": "~14.11.10",
7173
"yiisoft/yii2": "~2.0.52.0",

0 commit comments

Comments
 (0)