From fa5d3ba1db25831fdbf6aeffc83d8c7ccc9ebe8d Mon Sep 17 00:00:00 2001 From: ramnes Date: Mon, 18 Apr 2022 16:50:35 +0200 Subject: [PATCH] =?UTF-8?q?Release=201.0.0=20=F0=9F=94=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 7 ++++--- notion_client/client.py | 2 +- setup.py | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 7f303045..595826a2 100644 --- a/README.md +++ b/README.md @@ -20,9 +20,10 @@ 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** (05-02-2022) — 0.9.0 is now released! It adds support for -> the [recent Notion API changes](https://developers.notion.com/changelog) and -> timeout errors. It also doesn't send null values anymore (see issue #94). +> 📢 **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). ## Installation diff --git a/notion_client/client.py b/notion_client/client.py index 05ba71db..2fdd559d 100644 --- a/notion_client/client.py +++ b/notion_client/client.py @@ -87,7 +87,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@0.9.0", + "User-Agent": "ramnes/notion-sdk-py@1.0.0", } ) if self.options.auth: diff --git a/setup.py b/setup.py index 30e8b944..13b73fb2 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ def get_description(): setup( name="notion-client", - version="0.9.0", + version="1.0.0", url="https://github.com/ramnes/notion-sdk-py", author="Guillaume Gelin", author_email="contact@ramnes.eu",