Skip to content

Releases: kayjan/bigtree

v0.10.3

11 Aug 17:39
0d2081e
Compare
Choose a tag to compare

2023-08-12

Added

  • Tree Constructor: add_path_to_tree, dataframe_to_tree, dataframe_to_tree_by_relation to allow custom node types that takes in constructor arguments.

Changed

  • Binary Tree: Able to accept node val of str type besides int type.

v0.10.2

11 Aug 01:34
317a4cf
Compare
Choose a tag to compare

2023-08-11

Fixed

  • Tree Constructor: nested_dict_to_tree to throw TypeError if child_key is not list type.

v0.10.1

26 Jul 17:25
9bcefe4
Compare
Choose a tag to compare

2023-07-27

Added

  • [#71] Node: path_name to allow different node name of different dtypes; map everything to string type.

v0.10.0

15 Jul 14:29
a6a06b2
Compare
Choose a tag to compare

2023-07-15

Added

  • [#65] Tree Search: Implement find_relative_path to find relative path from node.
  • [#65] Utility Iterator: Implement zigzag_iter and zigzaggroup_iter Tree traversal methods.

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.