All important changes to the treeplotter package will be documented here.
The changelog format is based on Keep a Changelog and the project uses Semantic Versioning.
v0.5.0 September 20, 2021
- Three methods for querying children:
get_child_by_name
,get_child_by_name_depth
(a depth-first approach), andget_child_by_name_breadth
(a breadth-first approach). All three were contributed by Ricardo Reis.
- Method for removing children was erroneously based on value, not the node itself. Bugfix provided by Ricardo Reis.
v0.4.3 June 19, 2021
- SECOND fix of the version issue. Removing
VERSION
file entirely.
v0.4.2 June 19, 2021
- Install was broken due to faulty version filepath.
v0.4.1 June 12, 2021
- Fixed typo in the tutorial (
make_tree_diagram
instead ofcreate_tree_diagram
). - Removed
flake8
,pre-commit
, andpytest
from requirements. Now added to"dev"
requirements. - The
Treant.css
file was the only template not being rendered by jinja2.
v0.4.0 June 11, 2021
- Upgraded styling system for the package with the
style.py
module. CreatedNodeStyle
andConnectorStyle
objects to be used with theTree
. We can now customize several different features of the document, tree, and nodes.
- All of the CSS and HTML templates (exluding the libraries, of course) are gone. They now come from strings (parsed by a jinja2 template) made in the style module.
v0.3.1 June 11, 2021
- Image display on PyPi.
v0.3.0 June 11, 2021
- Added support for
orientation
inTree
objects. - The package now has two install parameters:
treeplotter install-assist --standard
andtreeplotter install-assist --screenshot
. This allows the user to more carefully choose what they need to use the package. Added anInstallation.md
file with updated details.
- The use of
R
andwebshot
is now fully optional! The user specifieswebshot=True
increate_tree_diagram
. This will obviously fail if they don't haveR
installed.
v0.2.0 June 11, 2021
- Allow displaying images in the node.
- Added a
show
method totree.Tree
objects. - Added support for
connector_type
inTree
objects.
- Remove the
get_ordered_children
method forNode
. It didn't make sense to keep it since nodes need no longer have a value. - Remove the
write_to_json
method forNode
. It was unused anywhere in the package.
v0.1.1 June 10, 2021
- Added a CHANGELOG.md file.
- The
package_installer.zsh
now asks the user if they want to installR
and webshot. Due to the versioning constraints ofR
, we don't want to install this without the user being sure! - Minor tutorial improvements and rewordings.
v0.1.0 June 9, 2021
First public release