Skip to content

Releases: nette/utils

Released version 2.4.10

18 Sep 10:12
@dg dg
Compare
Choose a tag to compare

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

04 May 11:27
@dg dg
Compare
Choose a tag to compare
  • SmartObject: better error message
  • Image: throw exception when $file and $type is null (#170)

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

Released version 2.5.0

17 Feb 17:36
@dg dg
Compare
Choose a tag to compare
  • 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

06 Feb 15:25
@dg dg
Compare
Choose a tag to compare
  • 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

29 Aug 08:32
@dg dg
Compare
Choose a tag to compare
  • Html: accepts IHtmlString nette/forms#160
  • Html::addText() accepts Html as setText() 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

14 Jul 07:48
@dg dg
Compare
Choose a tag to compare
  • 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

09 May 09:27
@dg dg
Compare
Choose a tag to compare
  • 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

30 Mar 00:06
@dg dg
Compare
Choose a tag to compare
  • 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

11 Jan 04:23
@dg dg
Compare
Choose a tag to compare

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

Released version 2.4.2

20 Dec 23:28
@dg dg
Compare
Choose a tag to compare
  • 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.