Skip to content

Commit d5e914a

Browse files
committed
Release 2.0.0 🎉
1 parent 8919b3d commit d5e914a

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,11 @@
2121
It is meant to be a Python version of the reference [JavaScript SDK](https://github.com/makenotion/notion-sdk-js),
2222
so usage should be pretty similar between both. 😊
2323

24-
> 📢 **Announcement** (18-04-2022) — Notion API is officially out of beta, and
25-
> we are too: 1.0.0 is now released!
26-
> Beware, `Notion-Version` has been upgraded to `2022-02-22` and it brings
27-
> [breaking changes](https://developers.notion.com/changelog/releasing-notion-version-2022-02-22).
24+
> 📢 **Announcement** (10-12-2022) — Release 2.0.0 is out! It mostly adds new
25+
> helpers, support for the comments API, more tests, and Python 3.11.
26+
>
27+
> Beware, `Notion-Version` has been upgraded to `2022-06-28` and it brings
28+
> [breaking changes](https://developers.notion.com/changelog/releasing-notion-version-2022-06-28).
2829
2930
<!-- markdownlint-disable -->
3031
## Installation

notion_client/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def client(self, client: Union[httpx.Client, httpx.AsyncClient]) -> None:
8989
client.headers = httpx.Headers(
9090
{
9191
"Notion-Version": self.options.notion_version,
92-
"User-Agent": "ramnes/notion-sdk-py@1.0.0",
92+
"User-Agent": "ramnes/notion-sdk-py@2.0.0",
9393
}
9494
)
9595
if self.options.auth:

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ def get_description():
88

99
setup(
1010
name="notion-client",
11-
version="1.0.0",
11+
version="2.0.0",
1212
url="https://github.com/ramnes/notion-sdk-py",
1313
author="Guillaume Gelin",
1414
author_email="[email protected]",

0 commit comments

Comments
 (0)