From 940e08b02d30f69972b0df1a5668f3b2ade02027 Mon Sep 17 00:00:00 2001 From: Luke Poeppel Date: Mon, 20 Sep 2021 13:06:01 -0400 Subject: [PATCH] Incremented version and updated CHANGELOG. --- CHANGELOG.md | 7 +++++++ README.md | 2 +- setup.py | 2 +- treeplotter/__init__.py | 2 +- 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4ba884a..bec0553 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,13 @@ All important changes to the treeplotter package will be documented here. The changelog format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and the project uses [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [v0.5.0](https://github.com/Luke-Poeppel/treeplotter/tree/v0.5.0) September 20, 2021 +#### Added +- Three methods for querying children: `get_child_by_name`, `get_child_by_name_depth` (a depth-first approach), and `get_child_by_name_breadth` (a breadth-first approach). All three were contributed by Ricardo Reis. + +#### Fixed +- Method for removing children was erroneously based on value, not the node itself. Bugfix provided by Ricardo Reis. + ## [v0.4.3](https://github.com/Luke-Poeppel/treeplotter/tree/v0.4.3) June 19, 2021 #### Fixed - SECOND fix of the version issue. Removing `VERSION` file entirely. diff --git a/README.md b/README.md index 0d6732a..a2acfa7 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # `treeplotter` [![Actions Status](https://github.com/Luke-Poeppel/treeplotter/workflows/Build/badge.svg)](https://github.com/Luke-Poeppel/treeplotter/actions) -![img](https://img.shields.io/badge/semver-0.4.3-green) +![img](https://img.shields.io/badge/semver-0.5.0-green) Tree plotting is really hard in Python. The `treeplotter` package aims to make the process easier. It wraps the TreantJS library to plot trees and saves them to a rendered HTML file. This HTML file is then also exported to a high-res PNG by wrapping R's ``webshot`` package. The package requires some complicated installs, but this is the price to pay to not use any R, Javascript, or CSS ;) diff --git a/setup.py b/setup.py index 76f2ee2..e78c29d 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ #################################################################################################### from setuptools import setup, find_packages -VERSION = "0.4.3" +VERSION = "0.5.0" with open('README.md') as f: long_description = f.read() diff --git a/treeplotter/__init__.py b/treeplotter/__init__.py index fee23d9..5a28280 100644 --- a/treeplotter/__init__.py +++ b/treeplotter/__init__.py @@ -1 +1 @@ -__version__ = "0.4.3" \ No newline at end of file +__version__ = "0.5.0" \ No newline at end of file