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.
- fix: Hopefully fix issues with PHP 8.1.
7d44398 - chore: Add
allow-plugins.e7cc646 - chore: Update license year.
9f7a31e
2.6.7 - 2021-12-17
- Update .gitattributes
#21
- docs: Add/update CHANGELOG.
8f35555 - Do not use
mb_*string functions, they are not needed.3f13970 - chore: Normalize composer.json.
de7af15 - ci: Enable pcov.
511fc3c - chore: Remove unused dev dependency.
1ca8c28
2.6.6 - 2021-05-10
- docs: Update changelog.
2012c88 - ci: Only test on PHP 7.4.
237335d - refactor: Autofix code-style.
5bcbe38 - chore: Add Docker stack.
aba5b39 - chore: Switch to drupol/php-conventions:^5.
31e953f
2.6.5 - 2020-10-28
2.6.4 - 2020-10-28
- fix: Add new parameter to dot command.
#20
- docs: Update changelog.
345042b - chore: Update composer.json.
7775d49 - ci: Drop support of PHP 7.1 in CI only for now.
7725071 - docs: Update README, add link to changelog.
64ba104 - docs: Add CHANGELOG.md file
ce93ce8 - ci: Update Github actions configuration
c4cde82 - Fix CS.
045936a - Enable Psalm, Infection and Insights reports.
4edfd8f - Fix PHPStan warning.
04a3450 - Update code style.
97996be - Increase test coverage.
3b879f0 - Fix Windows builds.
463c24c
2.6.3 - 2020-03-11
- Update Scrutinizer configuration.
a474424 - Update codebase using rector/rector.
03d63ec - Optimize Exporters.
d03f537 - Update Exporters, remove obsolete AbstractExporter.
e43a16c - Update Graph tests.
29f04e9 - Refactor remaining Importers.
77eb6b9 - Refactor Importers tests.
2096a62 - Add method AttributeNode::label().
46724eb - Enable ast extension in continuous integration.
4ffc86e - Enable ast extension in continuous integration.
0a26dd5
2.6.2 - 2020-03-06
2.6.1 - 2020-03-04
- Add new microsoft/tolerant-php-parser importer.
37b4c70 - Update the nikic/php-parser importer.
968e58e - Update the README accordingly.
8352667 - Simplify the exporters.
0ef60e9
2.6.0 - 2020-03-02
- Minor phpdoc change.
d71011e - Minor optimization change in the Filter modifier.
2a9104c - Minor refactoring.
355cc74 - Rewrite of the if statement.
fd4af8e - Add Node::replace() method.
2862d4f - Optimize the Modifier now that we use Post-Order method by default.
90eef49 - Let Modifiers use a customizable traverser.
d5f140f - Add missing PHP extension in Github CI.
6c214fb - Update composer.json.
6a63d5c - Fix small bug in NaryNode.
4c8cf5a - Update GV exporter, do not export attributes that are not "Stringable".
5e94567 - Add nikic/php-parser importer.
eeded27 - Add new Filter modifier.
c20db13 - Add new Apply modifier.
24e6d45 - Minor optimizations and rephrases.
28c5ec1 - Update Github settings.
f34576f
2.5.0 - 2020-01-01
- Switch to https://github.com/loophp.
6c0cb80 - Bump version.
4a4b292 - Use ValueNode in the SimpleArray importer.
3c014af - Use ValueNode in the SimpleArray importer.
bcf664b - Add new method NodeInterface::label() so I can fix the MerkleNode properly.
9eecefa - Fix minor things.
a282a07 - Remove the parent when checking from null value nodes as well if needed.
af62cef - Remove Storage classes.
0396b41 - Fix tests.
24d492a - Update phpdoc to fix PHPStan errors.
c7ed6a2 - Update code style.
8ba6d21 - Add new method NodeInterface::level() and its tests.
7ffd252 - Add Random builder.
ebbb505 - Add tests.
79fd15b - Add BuilderInterface.php.
37e93cc - Update MerkleNode.
8c29f58 - Disable CI using lowest deps for now.
2adb9e8 - Use Node::clone() method in order to not alter the original tree when getting using Node::getValue().
b196a1a - Update README.md.
4589580 - Add MerkleNode and its tests.
98ec062 - Update CS and static files.
660dd9a - Update README code example.
966b1ee - Update to newest drupol/php-conventions.
63a4e73 - Update composer.json.
b1e3dc5 - Upgrade to drupol/php-conventions ^1.4.
6d5ee28 - Add Github files.
efa2d7d - Update badges.
d6eb330 - Use a fork of leanphp/phpspec-code-coverage to have code coverage with PHPSpec >= 5.
a8ab11b - Update composer.json.
3930397 - Add an abstracted exporter class to reduce duplicated code and allow customizations.
e5ed8cf
2.4.4 - 2019-07-02
- Rename GvConvert to Image.
b941eb9
2.4.3 - 2019-07-02
- Update the GraphViz exporter so it's easy to override Gv::getNodeAttributes().
f01c36a - Update README file.
f5790eb
2.4.2 - 2019-07-02
- Add a new exporter GvConvert to export a Graphviz script into another format.
aaa6af7
2.4.1 - 2019-06-28
- Add more documentation for the Attribute node.
5ba5f85 - Improve the Ascii exporter.
6215ceb - Let user customize the Ascii exporter.
36f7be7 - Update code on GraphViz exporter based on Scrutinizer analysis.
4c23013 - Enable Infection in Grumphp.
9938e31 - Fix code-style and tests.
d9ba43e - Update documentation and code style.
9940b9a - Update documentation and code style.
f75af46 - Fix code style.
783703c - Make sur AttributeNode attributes are used when exporting to a Graph.
f17f567 - Reduce duplicated code.
a3cef6e
2.4.0 - 2019-06-15
- Issue #7: Trying to fix png image generation on Travis.
#8 - Issue #8: Remove the space between elements.
#10
- Issue #12: Consistency in constructor arguments.
e543e7b - Issue #11: Improve the NaryNode.
c3de5fc - Update tests of Text importer.
1ce4437 - Update the README file based on latest changes on Text exporter.
1d45cc0 - Try to fix tests on Travis.
a969acd - Try to fix tests on Travis.
97ce53b - Install Graphviz on Travis.
21829da - Improve the way graphs are compared using images.
3ad4b8b - Issue #6: Replace unserialize() and serialize() with proper clone calls.
7be956b - Optimize the Graph exporter.
d71bcb1 - Add a NodeInterface::clone() method.
6fd1ed1 - Update README file.
f073959 - Update KeyValueGraph exporter.
0b1717d - Add an Auto Balanced Node.
eb4efa8 - Remove ValueGraph.
eb0e182 - Use iterator_count() instead of a foreach loop.
a95215f - Update NaryNode and the way nodes are added.
43da343 - Restore the way the graph exporter was working before.
5712df1 - Add NodeInterface::all(), NodeInterface::find() and NodeInterface::delete().
ece93d8 - Update the Graph exporter base class.
1334ba8 - Remove obsolete method.
b7d6b90 - Increase tests coverage.
5178e8e - Use a dedicated Storage class.
3fd3392
2.3.2 - 2019-06-05
- Increase tests coverage.
953412a - Now NodeInterface extends from IteratorAggregate and Traversable.
170ed5f
2.3.1 - 2019-06-04
- Enable PHPSpec in GrumPHP.
0a4587a - Fix PHPStan errors.
0ff1ff7 - NodeInterface now extends \ArrayAccess interface.
2fd392d
2.3.0 - 2019-05-02
- Update badges look'n'feel.
d27edfe - Update badges look'n'feel.
98e51b0 - Update README file.
ee4fc8b - Update README file.
8c0e47f - Remove obsolete static file.
6b74f6c - Update scrutinizer configuration.
55fa6fe - Update tests.
437397f - Make sure that parent vertex exist.
f1ecb6a - Update NaryNode - make it simpler and cleaner.
bb6e292 - Make sure a ValueNode always has a value.
d8d70f7 - Make sure interface extends parent interface.
4488f3c - Update composer.json.
31e51ce - Update git ignore file.
c2b558b - Test PHP 7.3
55568a1 - Remove apigen doc deployment.
a4bd5df
2.2.9 - 2019-02-16
- Update composer.json.
468e823
2.2.8 - 2019-02-16
- Update composer.json and code style.
d3198cf
2.2.7 - 2019-02-02
- Update composer.json config.
781efac
2.2.6 - 2019-02-02
- Update composer.json config.
93e562b
2.2.5 - 2019-01-30
- Update composer.json.
23a710e - Fix PHPStan issue.
61196b0 - Remove minimum-stability and prefer-stable keys.
0d58477
2.2.4 - 2019-01-23
- Update code style based on new coding style conventions.
5d70429
2.2.3 - 2019-01-22
- Update code style based on new coding style conventions.
be6778b - Use the new package drupol/php-conventions.
42bf77c
2.2.2 - 2019-01-09
- Optimizations.
94eea79
2.2.1 - 2018-12-30
- Update README.
fc5dbcc - Fix code style.
67ddd41 - Fix test coverage.
2a7941c - Fix PHPStan errors.
f422c8b - Let the NodeInterface::setParent() method accept a null parameter to remove the parent if any.
db5f5a6 - Let the Graph exporter work with Node instead of ValueNode.
87de76a - Small code style update.
3b9b4f7 - Add a new Modifier and its tests.
373a6f2 - Add a new interface: ModifierInterface
ad6ac2e - Add a NodeInterface::height() method and its tests.
1218e1e - Add an Ascii exporter and its tests.
b6bcc23 - Fix documentation.
8183ab1 - Remove uneeded packages from composer.json.
41dee53
2.2.0 - 2018-12-28
- Remove no longer used methods.
478eef8 - Update NaryNodeInterface and add missing method and its documentation.
552c0ea - Update benchmarks.
fe97ac7 - Update InOrder traverser.
5ee6e1c - Fix typo in README.
5889010 - Fix issue with TrieNode when value is ending with same string.
efd938b - Use an ArrayObject.
58c4ae3 - Add an array exporter and the tests.
ba0b0b6 - Update README.
c99db23 - Update phpdoc.
b3bedaf - Add a KeyValueGraph test class for displaying graphs with a key and a value.
9dfd69d - Add related tests.
d1658da - Add TrieNode tree type.
70f48a6 - Improve performance.
78731bb - Update documentation and code coverage.
f2e0875 - Increase code coverage.
c24713c
2.1.1 - 2018-12-16
- Update the Text importer and increase code coverage.
e136a4d - Update README.
b090550 - Add an array importer and its tests.
8a93bcd
2.1.0 - 2018-12-16
- Implements a simple text converter and importer.
#2
- Implement the Text importer.
9b87679 - Implement the Text exporter.
da0d636 - Move from Converter to Exporter wording. Sorry for the BC.
1b1b02e - Update README for upcoming changes.
67d2320 - Add benchmarks.
e24960d - Fix typos in README.
afa6445 - Update the ValueGraph object, it can be easily used when doing example trees.
e7277f0
2.0.0 - 2018-12-13
- Prepare version 2
#1
1.1.0 - 2018-12-11
- Increase code coverage.
487454c - Update README file.
238f4e6 - Update the Graph converter and allow vertices to be updated.
1d704b0 - Update CS.
8918038 - Remove the Renderer and add the Converter.
3057801 - Use iterator_count().
66e1108 - Use Yield instead of regular foreach.
cbc2219 - Fix CS.
a93cab3 - Add a new level parameter to the abstract visitor class and interface.
697665c - Add a new level parameter to the PreOrder and PostOrder visitors.
e848e8b - Add a new level parameter to the BreadthFirst visitor.
5c924b9 - Add the depth() method.
8f46d3c - Remove the display method and its test.
72bb2ba - Increase code coverage.
c563912 - Increase code coverage.
fcb8b98 - Update code syntax.
6fafadb - Add new withChildren() method.
9aedb95 - Update GraphViz renderer.
4295b3d - Add GraphViz renderer.
0727216 - Add NaryNode tree.
fd67e47