Skip to content

Latest commit

 

History

History
282 lines (188 loc) · 9.03 KB

CHANGELOG.md

File metadata and controls

282 lines (188 loc) · 9.03 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Unreleased

For a full diff see 0.8.0...master.

For a full diff see 0.7.2...0.8.0`.

Added

For a full diff see 0.7.1...0.7.2`.

Fixed

  • Started throwing a LogicException when attempting to get a Node from an empty NodeBuilder (#209), by @localheinz

For a full diff see 0.7.0...0.7.1`.

Changed

  • Made use of variadic parameters in NodeBuilderInterface::leafs() and NodeBuilder::leafs() (#168), by @localheinz

For a full diff see 0.6.0...0.7.0`.

Changed

  • Changed return type declaration of NodeInterface::root() from self to static (#149), by @localheinz
  • Added a missing return type declaration to NodeInterface::getSize() (#150), by @localheinz
  • Added parameter type declarations (#151), by @localheinz
  • Added property type declarations (#152), by @localheinz

Fixed

  • Returned empty array from Node::getNeigbors() when node is root (#153), by @localheinz
  • Returned array with node only from Node::getNeigborsAndSelf() when node is root (#154), by @localheinz

For a full diff see 0.5.0...0.6.0`.

Changed

For a full diff see 0.4.0...0.5.0.

Added

Changed

For a full diff see 0.3.1...0.4.0.

Added

Changed

For a full diff see 0.3.0...0.3.1.

Added

Changed

For a full diff see 0.2.7...0.3.0.

Added

Changed

For a full diff see 0.2.6...0.2.7.

Added

For a full diff see 0.2.5...0.2.6.

Added

  • Added a getSize() method to Node (#17), by @Djuki

For a full diff see 0.2.4...0.2.5.

Added

  • Added getDepth() and getHeight() methods to Node (#9), by @nicmart

For a full diff see 0.2.3...0.2.4.

Added

For a full diff see 0.2.2...0.2.3.

Changed

  • Node::getAncestors() now does not return the current node (#4), by @nicmart,

For a full diff see 0.2.1...0.2.2.

Fixed

For a full diff see 0.2.0...0.2.1.

Added

  • Added root() and isRoot() to Node

For a full diff see 0.1.2...0.2.0.

Changed

  • Dropped support for PHP 5.3
  • Extracted NodeTrait from Node

For a full diff see 0.1.1...0.1.2.

Added

  • Added YieldVisitor, to get the yield of the tree

For a full diff see fcfd14e...v0.1.1.

Added

  • Parent and neighbors methods, by @jdeniau