Skip to content

Releases: nette/utils

Released version 2.3.4

23 Aug 13:31
@dg dg
Compare
Choose a tag to compare
  • Strings: added const for trim method whitespace charset
  • Json: accept whitespace-surrounded "null" for decode() as it is a valid JSON text
  • Image: fix exception message [Closes #71]
  • Html: chars '<' in attributes are encoded in XHTML

For the details you can have a look at the diff.

Released version 2.2.7

23 Aug 13:33
@dg dg
Compare
Choose a tag to compare
  • Html: chars '<' in attributes are encoded in XHTML
  • travis: migrating to container-based infrastructure
  • Random: /dev/urandom is not used on Windows
  • improved coding style

For the details you can have a look at the diff.

Released version 2.3.3

23 Aug 13:32
@dg dg
Compare
Choose a tag to compare
  • Callback::invokeSafe() removes function name from error message
  • Callback::invokeSafe() workaround for HHVM bug facebook/hhvm#4625
  • Random: /dev/urandom is not used on Windows
  • improved coding style
  • travis: migrating to container-based infrastructure

For the details you can have a look at the diff.

Released version 2.3.2

23 Aug 13:32
@dg dg
Compare
Choose a tag to compare
  • Strings: added after() and before() (thanks @icaine) [Closes #20]
  • Arrays: added pick() - picks element from the array by key and return its value [Closes #54]
  • Random: fixed generating zero-length string with mcrypt
  • Image::fromString() undeprecated argument $format

For the details you can have a look at the diff.

Released version 2.2.6

23 Aug 13:33
@dg dg
Compare
Choose a tag to compare
  • Strings::toAscii() uses //IGNORE

For the details you can have a look at the diff.

Released version 2.3.1

23 Aug 13:32
@dg dg
Compare
Choose a tag to compare
  • Strings::toAscii() uses //IGNORE

For the details you can have a look at the diff.

Released version 2.2.5

23 Aug 13:34
@dg dg
Compare
Choose a tag to compare
  • Image::place() fixed unexpected output with transparency image #56
  • Image: better exception message [Closes #42]
  • Strings::webalize() converts non-breaking space … ™ ® etc in glibc mode
  • Validators::isUrl: backslashes in regexp escaped
  • Validators::isUrl: underscored subdomain support added
  • Strings::toAscii() removes \x80-\xFF chars
  • Strings::toAscii() converts degree sign to ^
  • Html: fixed quirky htmlspecialchars in PHP 5.6

For the details you can have a look at the diff.

Released version 2.3.0

31 Jan 11:48
@dg dg
Compare
Choose a tag to compare
  • added Arrays::normalize(), Callback::invokeSafe(), Html::data(), Strings::firstLower()
  • Image::from() throws ImageException when is unable to decode file
  • Image::place() fixes support for alpha channel
  • Callback::closure() returns native closures since PHP 5.4
  • Strings::chr() throws Nette\InvalidArgumentException if code point is not in valid range
  • Validators::isUrl() accepts underscores in subdomains

Released version 2.2.4

30 Dec 09:54
@dg dg
Compare
Choose a tag to compare
  • Json: workaroud for PHP fatal error caused by \u0000 at the beginning of key
  • speed optimization for Object, Strings::length(), Strings::substring()
  • Strings::toAscii(): unsupported characters are removed instead of being replaced with '?'
  • Html: floats in attributes are printed in natural notation [Closes nette/forms#50]

For the details you can have a look at the diff.

Released version 2.2.3

30 Dec 09:52
@dg dg
Compare
Choose a tag to compare
  • DateTime: createFromFormat returns FALSE on failure [Closes #33][Closes #34]

For the details you can have a look at the diff.