Skip to content

Releases: nexendrie/utils

Version 1.10.0

18 Jan 19:23

Choose a tag to compare

A new version of Utils is out. It adds new method Numbers::clamp, it is going to replace method range.

For complete list of changes since previous version, see CHANGELOG.md.

Version 1.9.1

29 Aug 16:16

Choose a tag to compare

A new version of Utils is out. Constructors of static classes are now private. nette/utils was removed from dependencies so this package now has no dependencies. Return type of method TCollection::fromArray was changed from self to static (technically it is a BC break but the expected impact is minimal/none).

For complete list of changes since previous version, see CHANGELOG.md.

Version 1.9.0

29 Nov 21:16

Choose a tag to compare

Changelog:

  • raised minimal version of PHP to 8.1
  • possible BC break: updated signature of TCollection::offsetGet() for PHP 8.1
  • added class Enums

Version 1.8.1

17 Jul 15:27

Choose a tag to compare

Changelog:

  • fixed compatibility with PHP 8.1

Version 1.8.0

05 Sep 15:47

Choose a tag to compare

Changelog:

  • raised minimal version of PHP to 7.4
  • used typed properties (possible BC break)

Version 1.7.0

30 Aug 15:30

Choose a tag to compare

Changelog:

  • dropped support for Nette 2.4
  • raised minimal version of PHP to 7.3

Version 1.6.1

01 May 12:46
1.6.1

Choose a tag to compare

Changelog:

  • allowed Nette 3

Version 1.6.0

08 Feb 20:01

Choose a tag to compare

Changelog:

  • added optional parameter $count to (T)Collection::hasItems()
  • marked classes Constants, Intervals and Numbers as final (possible BC break)
  • allowed to filter by return value of item's method in collections

Version 1.5.1

01 Jan 10:10

Choose a tag to compare

Changelog:

  • fixed (T)Collection::removeByFilter() failing when multiple items match the filter

Version 1.5.0

30 Dec 18:04

Choose a tag to compare

Changelog:

  • added methods getItem, removeByFilter, getIndex to (T)Collection
  • raised minimal version of PHP to 7.2
  • allowed to filter by class in collections