0.12.0 introducing following enhancements to client API:
Method for syncing a project sync_project:
client.sync_project("/merginmaps-project-directory")- This method synchronizes a project by pulling server changes and pushing local changes in a single operation.
- A retry mechanism has been introduced to handle server conflicts during data uploads.
- You no longer need to call
client.pull_project()followed byclient.push_project(); sync_project handles both. - A related
mergin synccommand has been introduced using the same logic.
Integration to new upload mechanism
The Python API client is now fully integrated with the new upload mechanism on supported servers. This mechanism minimizes upload blocking time when multiple clients are uploading data simultaneously.
All changes
- Close connection to make runnable test in new python in GH action by @MarcelGeo in #276
- Upload changes limits by @MarcelGeo in #274
- add support for v2 project response from project versions by @MarcelGeo in #285
- introduce helper to normalize workspace/project roles from strings by @DanChov in #284
- Push v2 integration by @MarcelGeo in #262
- Fix version of black to latest by @MarcelGeo in #286
- Upgrade version to 0.12.0 by @MarcelGeo in #287
Full Changelog: 0.11.0...0.12.0