- New #75: Add method
Inflector::toSnakeCase()
that convert word to "snake_case" (soodssr)
- Chg #67: Remove
\Yiisoft\Strings\WildcardPattern::withoutEscape()
(samdark) - Chg #67: Remove
\Yiisoft\Strings\WildcardPattern::withExactLeadingPeriod()
(samdark) - Enh #67: Add
**
, match anything including/
, to\Yiisoft\Strings\WildcardPattern
, removewithExactSlashes()
andwithEnding()
(samdark) - Enh #67: Allow specifying delimiters for
*
(samdark) - Enh #67: Add
\Yiisoft\Strings\WildcardPattern::isDynamic()
(samdark) - Enh #67: Add
\Yiisoft\Strings\WildcardPattern::quote()
(samdark)
- Enh #62: Add method
StringHelper::split()
that split a string to array with non-empty lines (vjik) - Enh #63: Add method
NumericHelper::isInteger()
that checks whether the given string is an integer number (vjik) - Enh #64: Add support of a boolean values to
NumericHelper::normalize()
(vjik)
- Enh #52: Allow turning off options in
WildcardPattern
(vjik) - Enh #51: Add an option
withEnding()
toWildcardPattern
for match ending of testing string (vjik) - Bug #44:
NumericHelper::toOrdinal()
throws an error for numbers with fractional part (vjik)
- Enh #40: Use
str_starts_with()
andstr_ends_with()
if available (viktorprogger) - Bug #43:
NumericHelper::normalize()
throws an error forfloat
orint
values in PHP 8 (vjik)
- Initial release.