Skip to content

Releases: jitesoft/php-datastructures

4.1.0

11 Oct 16:46

Choose a tag to compare

  • Updated package to require and make use of php 7.4.2+.
  • Removal of deprecated functionality.
  • Updated all dependencies to latest versions.

4.0.0

11 Oct 16:37

Choose a tag to compare

This would be a minor release if it was not for some minor breaking changes.

  • Added tryGet method to MAP interface / implementations.
    The tryGet method accepts a key and an optional default return value
    in case the key does not exist.
  • Made some minor cleanup to the codebase and tests to make sure that the
    required standards are followed.

breaking changes

  • Updated exceptions that are thrown when trying to access a key in a map structure.
    This now throws an InvalidKeyException (still inheriting from JitesoftException)
    instead of a InvalidArgumentException.
  • Updated exception thrown when trying to access a invalid link in a node. This
    now throws an OutOfBoundsException instead of an InvalidArgumentException.

Version 3.0.0

28 Nov 10:51
550d062

Choose a tag to compare

This version contains some minor API changes which makes a major version bump required.
It contains a new MapInterface and a SimpleMap implementation using a native array as base. It also contains Arrays::sort and IndexedList.sort methods which uses a new AbstractSort class for implementation of various sorts. Currently NativeSort, GnomeSort and QuickSort are implemented.

Version 2.0.1

23 Nov 10:24
4831d0b

Choose a tag to compare

Merge pull request #2 from jitesoft/develop

Package update.

Version 1.0.0 release.

07 Aug 17:49

Choose a tag to compare

After finalizing the Vector 2D and 3D classes and helpers I decided to mark the package as in version 1.0.0.
The current state of the package contains structures and math classes for the basic structures I wanted into the package.

More structures and math classes will be added later on.