Changelog
=========


Version 0.3.1
-------------

Add missing expanduser() to treedb.export().

pd_read_sql now uses the default query when called without argument.

Add csv23 as dependency (factored out stream handling).


Version 0.3
-----------

Rename treedb.create_engine() to .set_engine() (backwards incompatible).

Improve treedb.backup() implementation.

Add helper functions and shortcuts.

Refactor subprocess usage.

Improve logging.


Version 0.2.2
-------------

Add treedb.backup() (requires Python 3.7+).

Add exclude_raw to treedb.export().


Version 0.2.1
-------------

Fix treedb.write_csv() endangerment_source column output.

Use os.path.expanduser() on filename arguments.

Fix setup.py old license classifier.


Version 0.2
-----------

Drop Python 2 and 3.5 support.

Parse endangerment source references into infividual fields.

Switch license to MIT license.


Version 0.1.6
-------------

Make endangerment sources open-ended.


Version 0.1.5
-------------

Update endangerment sources.

Add PyPI project_urls to setup.py.


Version 0.1.4
-------------

Represent countries as dicts instead of tuples in ``treedb.iterlanguoids``.

Update endangerment sources.


Version 0.1.3
-------------

Update for new altname providers and endangerment sources in Glottolog 4.1.


Version 0.1.2
-------------

Use ``expanduser()``in ``treedb.create_engine()`` and ``treedb.set_root()``.


Version 0.1.1
-------------

Allow to specify glottolog repository location via TREEDB_REPO environment
variable (alternative to ``treedb.set_root()``).

Use current working as default glottolog repository location if ``treedb`` is
imported as plain installed package instead of a git checkout.


Version 0.1
-----------

Initial release.
