| 1 |
CHANGELOG |
| 2 |
========= |
| 3 |
|
| 4 |
5.4 |
| 5 |
--- |
| 6 |
|
| 7 |
* Add `trimSuffix()` and `trimPrefix()` methods |
| 8 |
|
| 9 |
5.3 |
| 10 |
--- |
| 11 |
|
| 12 |
* Made `AsciiSlugger` fallback to parent locale's symbolsMap |
| 13 |
|
| 14 |
5.2.0 |
| 15 |
----- |
| 16 |
|
| 17 |
* added a `FrenchInflector` class |
| 18 |
|
| 19 |
5.1.0 |
| 20 |
----- |
| 21 |
|
| 22 |
* added the `AbstractString::reverse()` method |
| 23 |
* made `AbstractString::width()` follow POSIX.1-2001 |
| 24 |
* added `LazyString` which provides memoizing stringable objects |
| 25 |
* The component is not marked as `@experimental` anymore |
| 26 |
* added the `s()` helper method to get either an `UnicodeString` or `ByteString` instance, |
| 27 |
depending of the input string UTF-8 compliancy |
| 28 |
* added `$cut` parameter to `Symfony\Component\String\AbstractString::truncate()` |
| 29 |
* added `AbstractString::containsAny()` |
| 30 |
* allow passing a string of custom characters to `ByteString::fromRandom()` |
| 31 |
|
| 32 |
5.0.0 |
| 33 |
----- |
| 34 |
|
| 35 |
* added the component as experimental |
| 36 |
|