Skip to content

Commit

Permalink
Release 2.0.0 🎉
Browse files Browse the repository at this point in the history
  • Loading branch information
ramnes committed Dec 10, 2022
1 parent 8919b3d commit d5e914a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,11 @@
It is meant to be a Python version of the reference [JavaScript SDK](https://github.com/makenotion/notion-sdk-js),
so usage should be pretty similar between both. 😊

> 📢 **Announcement** (18-04-2022) — Notion API is officially out of beta, and
> we are too: 1.0.0 is now released!
> Beware, `Notion-Version` has been upgraded to `2022-02-22` and it brings
> [breaking changes](https://developers.notion.com/changelog/releasing-notion-version-2022-02-22).
> 📢 **Announcement** (10-12-2022) — Release 2.0.0 is out! It mostly adds new
> helpers, support for the comments API, more tests, and Python 3.11.
>
> Beware, `Notion-Version` has been upgraded to `2022-06-28` and it brings
> [breaking changes](https://developers.notion.com/changelog/releasing-notion-version-2022-06-28).
<!-- markdownlint-disable -->
## Installation
Expand Down
2 changes: 1 addition & 1 deletion notion_client/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def client(self, client: Union[httpx.Client, httpx.AsyncClient]) -> None:
client.headers = httpx.Headers(
{
"Notion-Version": self.options.notion_version,
"User-Agent": "ramnes/notion-sdk-py@1.0.0",
"User-Agent": "ramnes/notion-sdk-py@2.0.0",
}
)
if self.options.auth:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def get_description():

setup(
name="notion-client",
version="1.0.0",
version="2.0.0",
url="https://github.com/ramnes/notion-sdk-py",
author="Guillaume Gelin",
author_email="[email protected]",
Expand Down

0 comments on commit d5e914a

Please sign in to comment.