Skip to content

Releases: danielstjules/Stringy

3.1.0

Choose a tag to compare

@danielstjules danielstjules released this 12 Jun 01:11
  • Add $language support to slugify
  • Add bg specific transliteration
  • ЬЪ/ьъ handling is now language-specific

3.0.1

Choose a tag to compare

@danielstjules danielstjules released this 12 Apr 15:25
  • Don't replace @ in toAscii
  • Use normal replacement for @ in slugify, e.g. user@home => user-home

3.0.0

Choose a tag to compare

@danielstjules danielstjules released this 09 Mar 00:53
  • 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

Choose a tag to compare

@danielstjules danielstjules released this 02 Mar 20:44
  • 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

Choose a tag to compare

@danielstjules danielstjules released this 02 May 15:18
  • Improve support without mbstring

2.3.1

Choose a tag to compare

@danielstjules danielstjules released this 21 Mar 20:29
  • Always use root namespace for mbstring functions

2.3.0

Choose a tag to compare

@danielstjules danielstjules released this 20 Mar 00:34
  • Add Persian characters in Stringy::charsArray()
  • Use symfony/polyfill-mbstring to avoid dependency on ext-mbstring

2.2.0

Choose a tag to compare

@danielstjules danielstjules released this 21 Dec 00:50
  • 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

Choose a tag to compare

@danielstjules danielstjules released this 03 Sep 06:51
  • Added simplified StaticStringy class
  • str in Stringy::create and constructor is now optional

2.0.0

Choose a tag to compare

@danielstjules danielstjules released this 29 Jul 08:41
  • 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