- Add destination argument to download_file method (Issue #30)
- Fixed bug in download_file method when verbose was set to false (Issue #29)
- Removed depreciated class constructors & deconstructors
graph_onedrive.create()
,graph_onedrive.create_from_config_file()
,graph_onedrive.save_to_config_file()
,OneDrive.from_json()
,OneDrive.to_json()
,OneDrive.from_yaml()
,OneDrive.to_yaml()
,OneDrive.from_toml()
,OneDrive.to_toml()
. Alternative methods are available, refer to the documentation
Released 2022-01-08
- Added search method to OneDrive class and CLI
- Added optional yaml config files support with optional PyYAML dependency
- Added optional toml config files support with optional TOML dependency
- Improved logging
from_json
andto_json
are now pending depreciation, usefrom_file
andto_file
instead
Released 2021-11-30
- Added py.typed for mypy typing support
- Added ability to create sharing links (Issue #16)
- Improved upload to attempt to retain file creation and modified metadata (Issue #13)
- Improved developer experience by adding tests, testing automation (tox, GitHub Actions), requirements files, pre-commit improvements
- Input type checks added and error messaging improved
- Fixed bug in sharing links part of the CLI
- Listing a directory now gets all items, even if there are over 200
- New method detail_item_path details an item by providing a drive path instead of id
- New
OneDriveManager
context manager added create
depreciated, use the OneDrive class directlycreate_from_config_file
, useOneDrive.from_json
or theOneDriveManager
context managersave_to_config_file
, useOneDrive.to_json
or theOneDriveManager
context manager- Added basic logging
- Docs, examples, and tests updated to reflect above changes
Released 2021-10-29
- Improved file download to asynchronously download using multiple connections
- Added HTTPX and aiofiles packages as dependencies
- Replaced Requests package with HTTPX (Issue #11)
- Added verbose keyword arguments to download and upload functions
- Improved error handling
- item_type, is_file, is_folder methods added
- Fixed a bug in the copy_item method
- Set the copy_item method to confirm the copy by default
- Documentation updates
- Updates to authors.md to include significant contributor (Shub77)
Released 2021-10-21
- Major improvements to the cli, now uses argparse, docs updated
- Removed access token validation (Issue #4)
- Allowed access token response to continue when no refresh token provided (Issue #6)
- Various dictionary value lookups improved to account for missing keys (Issue #7)
Released 2021-10-20
- Improved code typing
- Updated code formatting
- Improved validation of authorization codes and access tokens (Issues #3 & #4)
Released 2021-10-17
- Updated exits from cli
- Moved OneDrive class from _main.py to _onedrive.py
- Moved testing and debugging decorators to /tests
- Updated some formatting using pre-commit hooks
- Docs improved including syntax highlighting
- Improved auth function to not require a session state (Pull Request #1)
Released 2021-10-13
- Minor doc fix
Released 2021-10-13
- Minor doc fix
Released 2021-10-13
- Added safeties in cli to not overwrite existing configs
- Minor doc updates and fixes
Released 2021-10-11
- json import bug fixed within cli
Released 2021-10-11
- Minor bug fix to cli
Released 2021-10-11
- Split cli auth to config and auth
- Corrected spelling 'Onedrive' to 'OneDrive'
- Moved documentation from README to /docs
- Updated documentation
- Added pre-commit file for Black
- Reformatted all code using Black
- Updated CONTRIBUTING patch section
- Updated README
Released 2021-10-10
- Initial alpha commit