diff --git a/README.md b/README.md index 7e552e88..c3cf6c95 100644 --- a/README.md +++ b/README.md @@ -41,9 +41,12 @@ Provides the following packages: dotnet add package Notion.Net ``` -> Note: From Nuget 2.0.0 notion client sdk default sets the Notion-Version header to 2021-08-16. - - +> Note: default Notion-Version used by NuGet package versions +> | Package version | Notion-Version | +> | --- | --- | +> | 3.0.0+ | 2022-02-22 | +> | 2.0.0+ | 2021-08-16 | +> | 1.0.0+ | 2021-05-13 | ## Usage diff --git a/Src/Notion.Client/Constants.cs b/Src/Notion.Client/Constants.cs index 5844bd6e..579e3db4 100644 --- a/Src/Notion.Client/Constants.cs +++ b/Src/Notion.Client/Constants.cs @@ -6,6 +6,6 @@ namespace Notion.Client internal class Constants { internal static string BASE_URL = "https://api.notion.com/"; - internal static string DEFAULT_NOTION_VERSION = "2021-08-16"; + internal static string DEFAULT_NOTION_VERSION = "2022-02-22"; } } diff --git a/Src/Notion.Client/Notion.Client.csproj b/Src/Notion.Client/Notion.Client.csproj index c1b237d1..541e191b 100644 --- a/Src/Notion.Client/Notion.Client.csproj +++ b/Src/Notion.Client/Notion.Client.csproj @@ -1,7 +1,7 @@  - 2.2.3-preview + 3.0.0-preview netstandard2.0 7.3 diff --git a/docs/README.md b/docs/README.md index 14a21997..a662d6f3 100644 --- a/docs/README.md +++ b/docs/README.md @@ -10,7 +10,12 @@ A simple and easy to use client for the [Notion API](https://developers.notion.c dotnet add package Notion.Net ``` -> Note: From Nuget 2.0.0 notion client sdk default sets the Notion-Version header to 2021-08-16. +> Note: default Notion-Version used by NuGet package versions +> | Package version | Notion-Version | +> | --- | --- | +> | 3.0.0+ | 2022-02-22 | +> | 2.0.0+ | 2021-08-16 | +> | 1.0.0+ | 2021-05-13 | ## Usage