Releases: nette/utils
Releases · nette/utils
Released version 2.4.10
This release marks the end of life of the nette/utils 2.4 series
- Callback: removes HTML from error message nette/mail#54
- test: fixed compatiblity with PHP 7.3
- Callback: fixed bug in is_callable($object, true) #176
- SmartObject: better error message
For the details you can have a look at the diff.
Released version 2.5.2
Released version 2.5.0
- deprecated Nette\Object renamed to Nette\LegacyObject (to avoid fatal error in PHP 7.2)
- usage of Nette\Object triggers notice or exception
- removed stuff deprecated in v2.4
Released version 2.4.9
- FileSystem::
rename()
fix renaming file/directory if only case changes (#155) - Added Html::
removeAttributes()
- removing multiple attributes (#161) - Reflection::getParameterDefaultValue: fix constant visibility handling (php 7.1) (#156)
- PHPStan: fixed some issues
- Object, ObjectMixin: silently marked as deprecated
For the details you can have a look at the diff.
Released version 2.4.8
- Html: accepts IHtmlString nette/forms#160
- Html::
addText()
accepts Html assetText()
does - Reflection: added support for PHP 7.2 type 'object'
- ArrayList: triggers notice when indexes are not integers
- travis: compatible with PHP 7.2
For the details you can have a look at the diff.
Released version 2.4.7
- coding style: fixes, lowercase true/false/null
- Image: attempt to serialize throws exception
For the details you can have a look at the diff.
Released version 2.4.6
- Validators::
isInRange()
works with DateTime - Validators::
isInRange()
return FALSE when both limits are NULL
For the details you can have a look at the diff.
Released version 2.4.5
- supports PHP up to 7.2
- Validators::
isInRange()
compares strings as strings and numbers as numbers (BC break) nette/forms#146 - Validators::
isInRange()
ignores NULL - Reflection::
getReturnType()
&getParameterType()
supports 'parent' - Callback: workaround for Suhosin extension bug (#134)
- each() replaced with current() and next()
For the details you can have a look at the diff.
Released version 2.4.4
- added Reflection
For the details you can have a look at the diff.
Released version 2.4.2
- added DateTime::
fromParts()
- DateTime::
from()
supports microseconds - Image: added support for WEBP #73
- added Arrays::
every()
,some()
&map()
#36 - Validators: support for types int[], string[] etc #119
- added Validators::
everyIs()
#123 - Validators: added validator 'iterable'
- SmartObject: better exception message for deprecated property usage
- Json skips workaround on PHP 7.0+
- @return self -> static
For the details you can have a look at the diff.