Skip to content

Releases: MerginMaps/python-api-client

0.9.3

12 Sep 15:33
d734ee4
Compare
Choose a tag to compare

What's Changed

  • Added list-files CLI command for list of project files (#199 by @kaloyan13)
  • Upgrade pygeodiff to 2.0.4 (#218 )
  • Do not use paginated endpoint for project version detail (#216 )
  • Improve client error handling (#209 )
  • Bump actions/download-artifact from 2 to 4.1.7 in /.github/workflows (#215 )
  • Cleanup references to previous repository name of python-api-client (#217)

New Contributors

Full Changelog: 0.9.2...0.9.3

0.9.2

17 Jun 10:59
Compare
Choose a tag to compare
  • Update rules when pushing with editor permission level (#208)

0.9.1

11 Jun 14:13
Compare
Choose a tag to compare
  • Support for "editor" permission level for server >= 2024.4.0. Editors have more limited functionality than "writer" permission: they are not allowed to modify the QGIS project file or change structure of tables (#202, #207)
  • Better handling of unexpected errors during the initial download of a project (#201)
  • Fixes to CI (#205)

0.9.0

27 Nov 12:38
Compare
Choose a tag to compare
  • 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

17 Jul 11:35
Compare
Choose a tag to compare
  • Clean up temporary files in .mergin folder (#47)
  • Improved hint how to set MERGIN_AUTH on Windows (#170)
  • Better error reporting of HTTP errors (#174)

0.8.2

08 Mar 16:09
Compare
Choose a tag to compare
  • Updated to pygeodiff 2.0.2

0.8.1

01 Mar 08:43
Compare
Choose a tag to compare
  • Use new endpoint to retrieve detailed information about project version (#167)

0.8.0

01 Feb 10:13
21bd876
Compare
Choose a tag to compare
  • Added workspace API to list available workspaces, creating a new workspace and listing projects (#150, #152, #158)
  • Removed check for available storage when syncing to the personal namespace (#159)
  • Added storing of project IDs to project metadata files (#154)

0.7.4

05 Aug 12:49
Compare
Choose a tag to compare
  • Added set_tables_to_skip() to optionally configure which tables to ignore in geodiff
  • Updated to pygeodiff 2.0.1

0.7.3

14 Jun 12:37
Compare
Choose a tag to compare
  • New default public server URL (#136)
  • Fix issues with files and changesets downloading (#140)
  • Fix handling of conflict files (MerginMaps/qgis-plugin#382)
  • CLI: Fix mergin-py-client list project (#133)
  • CLI: Fix individual file download (#140)