diff --git a/changelog.md b/changelog.md new file mode 100644 index 0000000..e692ef8 --- /dev/null +++ b/changelog.md @@ -0,0 +1,33 @@ + +## Changelog + +#### v0.2.1 + +**Python version update** +Python version: +- Python 3 required! + +**Breaking API changes:** + - (B2File) delete: changed to delete_version + +**Nonbreaking API changes:** + +B2File: +- hide added +- delete_version added +- delete_all_versions(confirm=False) added + +B2FileList +- all(introduced new parameter: include_hidden) +- delete_all(confirm=False) added +- get_versions(file_name=None, file_id=None, limit=None) added +- all_file_versions(limit=None) added + +b2_exceptions.py +- Changed API error classes to match Backblaze API docs +- added base API exception B2Exception. +- Handle non-200 status code responses with 'raise B2Exception.parse(response)` <-- would be happy to think up a better way to handle this + +tests.py +- added and cleaned up integration tests +- tests can now be run with `python tests.py` diff --git a/setup.py b/setup.py index 79b6505..5d33deb 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import setup, find_packages -VERSION = '0.2.0' +VERSION = '0.2.1' from os import path this_directory = path.abspath(path.dirname(__file__))