Skip to content

Releases: kayjan/bigtree

0.9.5

13 Jul 09:56
bab6b17
Compare
Choose a tag to compare

2023-07-13

Added

  • Misc: Added init files, add link to discussions to README and pyproject, add sphinx coverage shortcuts.

Fixed

  • [#66] DAGNode/Node: Children constructor to allow Iterable types, fixed issue of lists being mutable.
  • [#67] Node: path_name to reduce number of recursive calls to root node for sep.

0.9.4

17 Jun 16:55
Compare
Choose a tag to compare

2023-06-18

Added

  • Tree Constructor: list_to_tree_by_relation and dataframe_to_tree_by_relation method to allow duplicate intermediate nodes (default is false).
  • DAG Exporter: Added node_shape parameter in dag_to_dot export function for easier way to customize node shape.
  • Misc: More test cases.
  • Misc: Added security instructions on how to raise vulnerabilities.
  • Misc: Added Calendar workflow to documentation.

Changed

  • Tree Constructor: add_dict_to_tree_by_name method rename argument from path_attrs to name_attrs.
  • Misc: Modified contributing instructions.

Fixed

  • Tree Exporter: tree_to_dot to handle cases when not all nodes have edge_attr.
  • DAG Exporter: dag_to_dot to perform dictionary copy to prevent style from being overridden for child nodes.
  • Tree Constructor: dataframe_to_tree to handle case when path column is not the first column.

0.9.3

05 Jun 10:08
Compare
Choose a tag to compare

2023-05-28

Modified

  • Tree Constructor: Relax type hint to Iterable instead of List for list_to_tree and list_to_tree_by_relation methods.

Fixed

  • Node: Fix error message when trees have different sep.

0.9.2

05 Jun 10:35
25f22b4
Compare
Choose a tag to compare

2023-04-09

Added

  • Node: Added show method to print tree to console.
  • Workflow Calendar: Tree use case with calendar implementation.

0.9.1

05 Jun 10:35
Compare
Choose a tag to compare

2023-03-30

Changed

  • Node: Added sep parameter to constructor instead of using getter and setter methods to set sep.

0.9.0

05 Jun 10:34
Compare
Choose a tag to compare

2023-03-29

Added

  • Tree Modifier: Ability to copy/shift nodes with full path in from_paths for faster search performance, added with_full_path parameter.

Changed

  • Tree Modifier: Enforced paths in to_paths to be full path for faster search performance.
  • Tree Modifier: Faster creation of intermediate parent nodes in to_paths.
  • Tree Modifier: Better handling of sep in paths by performing string replacement at the start.
  • Tree Modifier: Check and throw error for invalid parameters, case when node is meant to be deleted but copy=True.

Fixed

  • Tree Modifier: Fix issue trailing sep differing in from_paths and to_paths which should not throw error.

0.8.4

05 Jun 10:34
Compare
Choose a tag to compare

2023-03-24

Added

  • Tree Search: Implement find_child and find_children to find single child or multiple children based on user-defined condition.

Changed

  • Tree and DAG Constructor: Reduce reliance on numpy package, only reject None attributes when creating tree from DataFrame (previously it rejects [None]).
  • Tree Helper: Get difference between two trees reduce reliance on numpy package, enhance test cases.
  • Tree Search: Renamed find_children to find_child_by_name for clarity.
  • Misc: Fix README for Windows installation.

0.8.3

05 Jun 10:33
Compare
Choose a tag to compare

2023-03-16

Changed

  • Workflow: Misc refactor and update log statements.
  • Misc: Fix coverage report.

0.8.2

05 Jun 10:33
Compare
Choose a tag to compare

2023-03-16

Changed

  • Misc: Type checking to remove optional requirement for mypy.
  • Misc: Shift .flake8, .mypy.ini, and pytest.ini files to pyproject.toml.

0.8.1

05 Jun 10:32
Compare
Choose a tag to compare

2023-03-10

Fixed

  • Tree Modifier: Fix issue of sep of tree differing from the sep in from_paths and to_paths.