Skip to content

Releases: yiisoft/strings

Version 2.4.0

22 Dec 07:30
2.4.0
ff519d3
Compare
Choose a tag to compare
  • New #118: Add findBetween(), findBetweenFirst() and findBetweenLast() methods to StringHelper to retrieve
    a substring that lies between two strings (@salehhashemi1992)
  • Enh #121: Don't use regexp if there is no delimeter in the path in StringHelper::parsePath() (@viktorprogger)

Version 2.3.1

30 Oct 11:38
2.3.1
980a5bc
Compare
Choose a tag to compare
  • Enh #117: WildcardPatters uses memoization and accelerates ~2 times on repeated calls (@viktorprogger)

Version 2.3.0

23 Oct 16:50
2.3.0
55530b8
Compare
Choose a tag to compare
  • Enh #114: Add stringable object support to NumericHelper::normalize() (@vjik)

Version 2.2.0

20 Sep 06:27
2.2.0
0a2bc53
Compare
Choose a tag to compare
  • New #102, #106: Add CombinedRegexp class (@xepozz, @vjik)
  • New #103: Add MemoizedCombinedRegexp decorator that caches results of CombinedRegexp (@xepozz)
  • New #104: Add methods StringHelper::trim(), StringHelper::ltrim(), StringHelper::rtrim() (@olegbaturin)
  • Enh #103: Raise required PHP version to ^8.0 (@xepozz)
  • Enh #106: Using fully-qualified function calls to improve performance (@vjik)
  • Enh #111: Minor refactoring (@Tigrov)
  • Enh #83: Make minor refactoring with Rector help (@vjik)
  • Enh #92: Add $strict parameter to Inflector::toSnakeCase() method (@arogachev)

Version 2.1.2

27 Jul 10:36
2.1.2
eecd187
Compare
Choose a tag to compare
  • Bug #105: Fix incorrect split UTF-8 strings in StringHelper::split() method (@vjik)

Version 2.1.1

28 Apr 09:24
2.1.1
e9cd0f9
Compare
Choose a tag to compare
  • Enh #85: Improve StringHelper::parsePath() method annotation (@vjik)

Version 2.1.0

20 Aug 04:27
Compare
Choose a tag to compare
  • New #75: Add method Inflector::toSnakeCase() that convert word to "snake_case" (@soodssr)
  • New #81: Add StringHelper::parsePath() method (@arogachev, @vjik)