Skip to content

Releases: maxalmonte14/phpcollections

v1.3.0

18 Nov 15:45
Compare
Choose a tag to compare
  • Added equals method to BaseCollection class.
  • Added sum method to BaseCollection class.
  • Replaced is_a native function by instanceof operator.

v1.2.0

23 Oct 21:33
Compare
Choose a tag to compare
  • Added diff and slice methods to BaseCollection class.
  • Extracted contains method from ArrayList to BaseCollection, now is available on all child classes.
  • Removed find method from ArrayList, Dictionary, and GenericList classes.
  • Removed search method from GenericList class.
  • Updated documentation.

v1.1.0

08 Oct 19:18
Compare
Choose a tag to compare
  • Bug fixes
  • Updated documentation
  • Added ObjectCollection
  • Unified API between classes
  • Updated minimun PHP version
  • Extracted merge method to interface
  • Extracted checkType method to class
  • Added Travis, Scrutinizer and StyleCI
  • Added new isEmpty method to BaseCollection
  • Extracted first and last methods to BaseCollection
  • Disabled GenericList instantiation with primitive types

v1.0.0

04 Oct 15:56
Compare
Choose a tag to compare
  • Added type hints and return types
  • Added documentation
  • Updated method descriptions

v0.7.0

26 Sep 19:10
Compare
Choose a tag to compare
v0.7.0 Pre-release
Pre-release
  • Added CollectionInterface DictionaryInterface for wrapping common API
  • Added new forEach and sort methods for ArrayList, Dictionary and GenericList classes
  • Extract data manipulation logic from BaseCollection to DataHolder class
  • Added SortableInterface and IterableInterface for wrapping common API
  • Updated test coverage
  • Bug fixes

Second beta release

21 Sep 14:04
Compare
Choose a tag to compare
Second beta release Pre-release
Pre-release
  • Updated GenericList constructor, now you can pass as many parameters as you want.
  • Updated docblocks for a better understanding.
  • PSR-2 coding styles improved

First beta release

03 Nov 12:59
Compare
Choose a tag to compare
First beta release Pre-release
Pre-release
  • Basic collections available
  1. Generic and non-generic collections
  2. Easy to use API
  • PSR-2 coding styles implemented
  • Unit testing coverage