Skip to content

Commit

Permalink
v0.3.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
dariobauer committed Jan 8, 2022
1 parent 889cbb4 commit 54ed8ee
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 9 deletions.
10 changes: 8 additions & 2 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,18 @@

## Unreleased


## Released

### Version 0.3.0

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

## Released
* `from_json` and `to_json` are now pending depreciation, use `from_file` and `to_file` instead

### Version 0.2.0

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ The package currently requires Python 3.7 or greater.
Install and update using [pip](https://pip.pypa.io/en/stable/getting-started/) which will use the releases hosted on [PyPI][pypi]. Further options in the docs.

```console
pip install graph-onedrive
pip install -U graph-onedrive
```

## Documentation
Expand All @@ -36,6 +36,8 @@ Documentation and examples are [provided on GitHub in the docs folder][docs].

### A simple example

*This is a simple example using a config file. Refer to the documentation for other instance constructors including inline options.*

Run this command in the terminal after installation which will create a config file in the current working directory.

```console
Expand All @@ -57,8 +59,6 @@ with OneDriveManager(config_path="config.json", config_key="onedrive") as my_dri
new_file_id = my_drive.upload_file("my-photo.jpg", verbose=True)
```

*OneDriveManager is new in version 0.2.0. Refer docs for other instance constructors.*

## License and Terms of Use

This project itself is subject to BSD 3-Clause License detailed in [LICENSE][license].
Expand Down
6 changes: 3 additions & 3 deletions docs/DOCUMENTATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,13 @@ Install and update using [pip](https://pip.pypa.io/en/stable/getting-started/) w
Depending on your installation you may need to use `pip3` instead.

```console
pip install graph-onedrive
pip install -U graph-onedrive
```

If you plan to use YAML and/or TOML formatted config files, then the optional install dependencies can be installed:
If you plan to use YAML and/or TOML formatted config files, then the optional install dependencies can be installed (yaml, toml, or both):

```console
pip install 'graph-onedrive[yaml,toml]'
pip install -U 'graph-onedrive[yaml,toml]'
```

You can also install the in-development version:
Expand Down
2 changes: 1 addition & 1 deletion src/graph_onedrive/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "0.3.0dev2"
__version__ = "0.3.0"

import logging

Expand Down

0 comments on commit 54ed8ee

Please sign in to comment.