You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Add `Str::startsWith()`, `Str::endsWith()` and `Str::isAscii()`
24
+
- Add `Regex::quoteReplacement()`
25
+
26
+
### Changed
27
+
28
+
#### `Utility`
29
+
30
+
- Rename `Str` methods:
31
+
-`toSnakeCase()` -> `snake()`
32
+
-`toKebabCase()` -> `kebab()`
33
+
-`toCamelCase()` -> `camel()`
34
+
-`toPascalCase()` -> `pascal()`
35
+
-`toWords()` -> `words()`
36
+
- Allow ref to be suppressed unconditionally in `Package` methods `version()` and `getPackageVersion()`
37
+
- Change `TKey` type from `array-key` to `mixed` in `Arr` methods `unique()`, `whereNotNull()`, `whereNotEmpty()`, `trim()`, `lower()`, `upper()`, `snakeCase()`, `toScalars()` and `toStrings()`
38
+
39
+
### Removed
40
+
41
+
#### `Utility`
42
+
43
+
- Remove `Str::title()`
44
+
- Remove `Test::isAsciiString()`
45
+
46
+
### Fixed
47
+
48
+
#### `Cli`
49
+
50
+
- Fix issue where `CliApplication::reportVersion()` may print the commit reference twice or print empty brackets when there is no reference
51
+
52
+
#### `PHPDoc`
53
+
54
+
- Fix issue where trait aliases are not followed
55
+
- Work around PHP 7.4 bug where `ReflectionMethod` does not honour trait aliases
56
+
57
+
#### `Utility`
58
+
59
+
- Fix issue where `Str::words()` may return unexpected results when `$separator` contains `'\'`, `'$'` or a preserved character
60
+
- Fix `Str::expandLeadingTabs()` issue where tabs after a falsey value at the start of the first line may not be preserved
61
+
13
62
## [v0.99.52] - 2024-09-17
14
63
15
64
### Added
@@ -3592,6 +3641,7 @@ This is the final release of `lkrms/util`. It is moving to [Salient](https://git
3592
3641
3593
3642
- Allow `CliOption` value names to contain arbitrary characters
0 commit comments