| 1 |
CHANGELOG |
| 2 |
========= |
| 3 |
|
| 4 |
7.4 |
| 5 |
--- |
| 6 |
|
| 7 |
* Deprecate implementing `__sleep/wakeup()` on string implementations |
| 8 |
|
| 9 |
7.3 |
| 10 |
--- |
| 11 |
|
| 12 |
* Add the `AbstractString::pascal()` method |
| 13 |
|
| 14 |
7.2 |
| 15 |
--- |
| 16 |
|
| 17 |
* Add `TruncateMode` enum to handle more truncate methods |
| 18 |
* Add the `AbstractString::kebab()` method |
| 19 |
|
| 20 |
7.1 |
| 21 |
--- |
| 22 |
|
| 23 |
* Add `localeLower()`, `localeUpper()`, `localeTitle()` methods to `AbstractUnicodeString` |
| 24 |
|
| 25 |
6.2 |
| 26 |
--- |
| 27 |
|
| 28 |
* Add support for emoji in `AsciiSlugger` |
| 29 |
|
| 30 |
5.4 |
| 31 |
--- |
| 32 |
|
| 33 |
* Add `trimSuffix()` and `trimPrefix()` methods |
| 34 |
|
| 35 |
5.3 |
| 36 |
--- |
| 37 |
|
| 38 |
* Made `AsciiSlugger` fallback to parent locale's symbolsMap |
| 39 |
|
| 40 |
5.2.0 |
| 41 |
----- |
| 42 |
|
| 43 |
* added a `FrenchInflector` class |
| 44 |
|
| 45 |
5.1.0 |
| 46 |
----- |
| 47 |
|
| 48 |
* added the `AbstractString::reverse()` method |
| 49 |
* made `AbstractString::width()` follow POSIX.1-2001 |
| 50 |
* added `LazyString` which provides memoizing stringable objects |
| 51 |
* The component is not marked as `@experimental` anymore |
| 52 |
* added the `s()` helper method to get either an `UnicodeString` or `ByteString` instance, |
| 53 |
depending of the input string UTF-8 compliance |
| 54 |
* added `$cut` parameter to `Symfony\Component\String\AbstractString::truncate()` |
| 55 |
* added `AbstractString::containsAny()` |
| 56 |
* allow passing a string of custom characters to `ByteString::fromRandom()` |
| 57 |
|
| 58 |
5.0.0 |
| 59 |
----- |
| 60 |
|
| 61 |
* added the component as experimental |