From b15376476a44deff2d7d62353c4d7fb8bb846e25 Mon Sep 17 00:00:00 2001 From: Martin Dobias Date: Mon, 27 Nov 2023 13:20:21 +0100 Subject: [PATCH] version++ (0.9.0) --- CHANGELOG.md | 17 +++++++++++++++++ mergin/version.py | 2 +- setup.py | 2 +- 3 files changed, 19 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dd2c308..a53c3d2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,22 @@ # Changelog +## 0.9.0 + +- Add `reset_local_changes()` API call and `reset` CLI command to make it possible to discard any changes in the local project directory (#107) +- Add `rename_project()` API call and `rename` CLI command to rename a project in its workspace (#190) +- Add `delete_project_now()` API call for immediate project removal (mainly meant for testing) +- Project info can be also queried by project's ID in `MerginClient.project_info()` (#179) +- Improve project metadata handling + - Add metadata getters in `MerginProject` class: `project_full_name()`, `project_name()`, `workspace_name()`, `project_id()`, `workspace_id()`, `files()` + - Add metadata setters in `MerginProject` class: `update_metadata()`, `write_metadata()` (should not be needed by module users) + - Deprecate `MerginProject.metadata` property, replaced by the methods above + - Store all information from server's project info to `.mergin/mergin.json` instead of just some bits. Keep backwards compatibility to read `mergin.json` if it uses old-style syntax, new pulls/pushes will write new-style syntax (#83, #151) +- Fix awkward way of passing full project names to `create_project()`, `create_project_and_push()`, `clone_project()` and in CLI for `create` command (#180) +- Fix CLI for `list-projects` command (#172) +- Write unhandled Python errors from download/pull/push to the client log (#156) +- Keep client log if download of a project fails for some reason (#155) + + ## 0.8.3 - Clean up temporary files in .mergin folder (#47) diff --git a/mergin/version.py b/mergin/version.py index 51d5d3f..0f1162d 100644 --- a/mergin/version.py +++ b/mergin/version.py @@ -1,5 +1,5 @@ # The version is also stored in ../setup.py -__version__ = "0.8.3" +__version__ = "0.9.0" # There seems to be no single nice way to keep version info just in one place: # https://packaging.python.org/guides/single-sourcing-package-version/ diff --git a/setup.py b/setup.py index 7b11522..5187efd 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setup( name='mergin-client', - version='0.8.3', + version='0.9.0', url='https://github.com/MerginMaps/mergin-py-client', license='MIT', author='Lutra Consulting Ltd.',