Releases: nette/utils
Releases · nette/utils
Released version 2.3.4
Released version 2.2.7
- 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
- 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
- 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
- Strings::toAscii() uses //IGNORE
For the details you can have a look at the diff.
Released version 2.3.1
- Strings::toAscii() uses //IGNORE
For the details you can have a look at the diff.
Released version 2.2.5
- 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
- added
Arrays::normalize()
,Callback::invokeSafe()
,Html::data()
,Strings::firstLower()
Image::from()
throwsImageException
when is unable to decode fileImage::place()
fixes support for alpha channelCallback::closure()
returns native closures since PHP 5.4Strings::chr()
throwsNette\InvalidArgumentException
if code point is not in valid rangeValidators::isUrl()
accepts underscores in subdomains
Released version 2.2.4
- 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.