Repository navigation
Releases
Releases · xob0t/gpmc
v0.9.0
v0.8.0
What's Changed
- Add delete permanently api by @marveljo-alt in #64
- feat: improve sync logic with cycle detection and schema migration by @xob0t in #65
- Add support for custom filename in upload method by @xob0t in #66
New Contributors
- @marveljo-alt made their first contribution in #64
Full Changelog: v0.7.0...v0.8.0
v0.7.0
What's New
Features
- Video streaming: New
get_stream_manifest()API for HLS/DASH video streaming (#56) - Thumbnail crop: Add
cropparameter toget_thumbnail()(#55) - Instant delete: Delete files immediately after upload with
--delete-from-host(#44)
Improvements
- Strip whitespace from
auth_datainput (#57) - Allow
Nonehash values inTargetMapping(#59) - Improved error logging - show just file path, not full tuple (#60)
- Add
ruffas dev dependency with linting config (#61) - Remove empty proto values from
commit_upload(#58)
Bug Fixes
- Fix logic bug in
_handle_target_inputwhere type validation was incorrectly nested (#62) - Fix
client_verion_codetypo →client_version_code(#62)
Other
- Added raw photo file extension support (#46)
- Code quality improvements with ruff linting
v0.6.0
⚠️ Breaking Changes
client.upload()'ssha1_hashargument removed (usetargetargument instead)gp-uploadCLI entry removed, usegpmcinstead
🚀 New Features
Core Functionality
- Added proxy support via new
--proxyCLI argument - New
client.update_cache()method to create/incrementally update local library cache- Cache saved to
%HOMEPATH%/.gpmc/%EMAIL%/storage.db - Cache is not (yet) used when uploading files
- Not (yet) exposed in the CLI
- Cache saved to
API Additions
- New API methods:
api.set_item_caption()api.get_thumbnail()api.set_favorite()api.set_archived()api.restore_from_trash()
Python client Improvements
client.upload()now supportstargetargument as a mapping of file paths to SHA-1 hashes- Allows passing multiple files with pre-calculated hashes
🛠 Fixes & Improvements
- Added API batch limits handling in
client.move_to_trash() - Reduced IO usage by using 1Mb chunks when calculating hashes
- Replaced
setup.pywithpyproject.toml - Refactored
api_methodsmodule into a class - Other minor fixes and improvements
🔗 Full Changelog
v0.5.1
- fix(cli): error: --filter is required
Full Changelog: v0.5...v0.5.1
v0.5
- feat: file filtering options
- code refactor
- minor fixes
Full Changelog: v0.4.17...v0.5
v0.4.17
v0.4.16
- feat: Set
--albumto 'AUTO' to create albums based on the immediate parent directory of each file. - feat: Display album name in the 'Adding to album' progress.
Full Changelog: v0.4.15...v0.4.16
v0.4.15
- feat: Automatic auth token expiry handling via class property
bearer_token- Thanks, @tenthousandcoffins ! - fix:
album_limitandbatch_sizevalues were set too low for testing purposes
Full Changelog: v0.4.14...v0.4.15
v0.4.14
When using --album:
- If all uploaded items do not fit into a single album, new albums with numbered suffixes will be created.
- Progress of adding items to albums is now trackable.
Full Changelog: v0.4.13...v0.4.14