Skip to content

Releases: danielstjules/Stringy

3.1.0

12 Jun 01:11
Compare
Choose a tag to compare
  • Add $language support to slugify
  • Add bg specific transliteration
  • ЬЪ/ьъ handling is now language-specific

3.0.1

12 Apr 15:25
Compare
Choose a tag to compare
  • Don't replace @ in toAscii
  • Use normal replacement for @ in slugify, e.g. user@home => user-home

3.0.0

09 Mar 00:53
Compare
Choose a tag to compare
  • Breaking change: added $language parameter to toAscii, before
    $removeUnsupported
  • Breaking change: dropped PHP 5.3 support
  • Breaking change: any StaticStringy methods that previously returned instances
    of Stringy now return strings

2.4.0

02 Mar 20:44
Compare
Choose a tag to compare
  • Add startsWithAny
  • Add endsWithAny
  • Add stripWhitespace
  • Fix error handling for unsupported encodings
  • Change private methods to protected for extending class
  • Fix safeTruncate for strings without spaces
  • Additional char support in toAscii, e.g. full width chars and wide
    non-breaking space

2.3.2

02 May 15:18
Compare
Choose a tag to compare
  • Improve support without mbstring

2.3.1

21 Mar 20:29
Compare
Choose a tag to compare
  • Always use root namespace for mbstring functions

2.3.0

20 Mar 00:34
Compare
Choose a tag to compare
  • Add Persian characters in Stringy::charsArray()
  • Use symfony/polyfill-mbstring to avoid dependency on ext-mbstring

2.2.0

21 Dec 00:50
Compare
Choose a tag to compare
  • isJSON now returns false for empty strings
  • Update for German umlaut transformation
  • Use reflection to generate method list for StaticStringy
  • Added isBase64 method
  • Improved toAscii char coverage

2.1.0

03 Sep 06:51
Compare
Choose a tag to compare
  • Added simplified StaticStringy class
  • str in Stringy::create and constructor is now optional

2.0.0

29 Jul 08:41
Compare
Choose a tag to compare
  • Removed StaticStringy class
  • Added append, prepend, toBoolean, repeat, between, slice, split, and lines
  • camelize/upperCamelize now strip leading dashes and underscores
  • titleize converts to lowercase, thus no longer preserving acronyms