8000 Merge pull request #275 from notion-dotnet/241-update-default-notion-… · notion-dotnet/notion-sdk-net@c9d5103 · GitHub
[go: up one dir, main page]

Skip to content

Commit c9d5103

Browse files
Merge pull request #275 from notion-dotnet/241-update-default-notion-version-to-2022-02-22
Update default notion version to 2022-02-22 ⬆️
2 parents c934d05 + 01b5ed5 commit c9d5103

File tree

4 files changed

+14
-6
lines changed

4 files changed

+14
-6
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,12 @@ Provides the following packages:
4141
dotnet add package Notion.Net
4242
```
4343

44-
> Note: From Nuget 2.0.0 notion client sdk default sets the Notion-Version header to 2021-08-16.
45-
46-
44+
> Note: default Notion-Version used by NuGet package versions
45+
> | Package version | Notion-Version |
46+
> | --- | --- |
47+
> | 3.0.0+ | 2022-02-22 |
48+
> | 2.0.0+ | 2021-08-16 |
49+
> | 1.0.0+ | 2021-05-13 |
4750
4851
## Usage
4952

Src/Notion.Client/Constants.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ namespace Notion.Client
66
internal class Constants
77
{
88
internal static string BASE_URL = "https://api.notion.com/";
9-
internal static string DEFAULT_NOTION_VERSION = "2021-08-16";
9+
internal static string DEFAULT_NOTION_VERSION = "2022-02-22";
1010
}
1111
}

Src/Notion.Client/Notion.Client.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<VersionPrefix>2.2.3-preview</VersionPrefix>
4+
<VersionPrefix>3.0.0-preview</VersionPrefix>
55
<TargetFramework>netstandard2.0</TargetFramework>
66
<LangVersion>7.3</LangVersion>
77

docs/README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,12 @@ A simple and easy to use client for the [Notion API](https://developers.notion.c
1010
dotnet add package Notion.Net
1111
```
1212

13-
> Note: From Nuget 2.0.0 notion client sdk default sets the Notion-Version header to 2021-08-16.
13+
> Note: default Notion-Version used by NuGet package versions
14+
> | Package version | Notion-Version |
15+
> | --- | --- |
16+
> | 3.0.0+ | 2022-02-22 |
17+
> | 2.0.0+ | 2021-08-16 |
18+
> | 1.0.0+ | 2021-05-13 |
1419
1520
## Usage
1621

0 commit comments

Comments
 (0)
0