Releases: MerginMaps/python-api-client
Releases · MerginMaps/python-api-client
0.9.1
- 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
- Add
reset_local_changes()API call andresetCLI command to make it possible to discard any changes in the local project directory (#107) - Add
rename_project()API call andrenameCLI 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
MerginProjectclass:project_full_name(),project_name(),workspace_name(),project_id(),workspace_id(),files() - Add metadata setters in
MerginProjectclass:update_metadata(),write_metadata()(should not be needed by module users) - Deprecate
MerginProject.metadataproperty, replaced by the methods above - Store all information from server's project info to
.mergin/mergin.jsoninstead of just some bits. Keep backwards compatibility to readmergin.jsonif it uses old-style syntax, new pulls/pushes will write new-style syntax (#83, #151)
- Add metadata getters in
- Fix awkward way of passing full project names to
create_project(),create_project_and_push(),clone_project()and in CLI forcreatecommand (#180) - Fix CLI for
list-projectscommand (#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
0.8.2
0.8.1
0.8.0
0.7.4
0.7.3
0.7.2
- Reporting can be run without end version specified (MerginMaps/qgis-plugin#365)
- Fixed reporting when some tables were missing (MerginMaps/qgis-plugin#362)