From 577ad9d326877d61690e5dcad6f49d4f25e3b38c Mon Sep 17 00:00:00 2001 From: ramnes Date: Tue, 26 Dec 2023 00:58:51 +0100 Subject: [PATCH] =?UTF-8?q?Release=202.2.0=20=F0=9F=9A=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 8 +++++--- notion_client/client.py | 2 +- setup.py | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index ece77b6..b132769 100644 --- a/README.md +++ b/README.md @@ -25,9 +25,11 @@ It is meant to be a Python version of the reference [JavaScript SDK](https://git so usage should be very similar between both. 😊 (If not, please open an issue or PR!) -> 📢 **Announcement** (04-11-2023) — Release 2.1.0 is out! It adds new helpers, -> more tests (100% coverage, yay!) and support for Python 3.12. Also, we're out -> of beta and now consider the package stable. +> 📢 **Announcement** (26-12-2023) — Release 2.2.0 is out! +> +> * Icons and covers can now be removed from pages. +> * `filter_properties` has been added to `notion.pages.retrieve`. +> * You can now pass your own `start_cursor` in the iteration helpers. ## Installation diff --git a/notion_client/client.py b/notion_client/client.py index 5b7b8ba..e3344d1 100644 --- a/notion_client/client.py +++ b/notion_client/client.py @@ -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@2.1.0", + "User-Agent": "ramnes/notion-sdk-py@2.2.0", } ) if self.options.auth: diff --git a/setup.py b/setup.py index 5d50cbd..271e3b3 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ def get_description(): setup( name="notion-client", - version="2.1.0", + version="2.2.0", url="https://github.com/ramnes/notion-sdk-py", author="Guillaume Gelin", author_email="contact@ramnes.eu",