Skip to content

Commit 462b071

Browse files
authored
Merge pull request #18169 from craftcms/feature/not-so-stringy
Drop Stringy dependency
2 parents 5da64bf + 2238e3a commit 462b071

File tree

5 files changed

+1508
-1209
lines changed

5 files changed

+1508
-1209
lines changed

CHANGELOG-WIP.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,9 @@
120120
- `craft\web\Request::getAcceptsJson()` now returns `true` for requests with `Content-Type` headers that match `application/*+json`, in addition to `application/json`.
121121
- Deprecated `craft\fields\BaseRelationField::$showCardsInGrid`.
122122
- Deprecated `craft\fields\Matrix::$showCardsInGrid`.
123+
- Deprecated `craft\helpers\StringHelper::capitalizePersonalName()`. `toPascalCase()` should be used instead.
124+
- Deprecated `craft\helpers\StringHelper::isWhitespace()`. `isBlank()` should be used instead.
125+
- Deprecated `craft\helpers\StringHelper::upperCamelize()`. `toPascalCase()` should be used instead.
123126
- Deprecated `craft\services\Structure::EVENT_AFTER_MOVE_ELEMENT`. `EVENT_AFTER_UPDATE_ELEMENT` should be used instead.
124127
- Deprecated `craft\services\Structure::EVENT_BEFORE_MOVE_ELEMENT`. `EVENT_BEFORE_UPDATE_ELEMENT` should be used instead.
125128
- Deprecated `craft\web\CsvResponseResponseFormatter::$escapeChar`.
@@ -140,5 +143,7 @@
140143
- 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))
141144
- Fixed a bug where it was possible to create more than five users with the Team edition.
142145
- Fixed a bug where deadlocks could occur when updating elements’ search indexes. ([#18139](https://github.com/craftcms/cms/pull/18139))
146+
- Added the Illuminate Support library.
143147
- Added the PhpSpreadsheet library.
144148
- Updated Twig to 3.21. ([#17603](https://github.com/craftcms/cms/discussions/17603))
149+
- Removed the Stringy library. ([#16606](https://github.com/craftcms/cms/issues/16606))

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
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",
@@ -66,7 +67,7 @@
6667
"symfony/yaml": "^5.2.3|^6.0|^7.0",
6768
"theiconic/name-parser": "^1.2",
6869
"twig/twig": "~3.21.1",
69-
"voku/stringy": "^6.4.0",
70+
"voku/portable-ascii": "^2.0",
7071
"web-auth/webauthn-lib": "~4.9.0",
7172
"webonyx/graphql-php": "~14.11.10",
7273
"yiisoft/yii2": "~2.0.52.0",

0 commit comments

Comments
 (0)