From 3bd2d58b47eda1adecbf11d4101aa00deffb3b62 Mon Sep 17 00:00:00 2001 From: korelstar Date: Sat, 13 Aug 2022 17:09:02 +0200 Subject: [PATCH] fix minor API version --- docs/api/v1.md | 2 +- lib/AppInfo/Application.php | 2 +- tests/api/APIv1Test.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/api/v1.md b/docs/api/v1.md index 69c4f591..8b652cbf 100644 --- a/docs/api/v1.md +++ b/docs/api/v1.md @@ -10,7 +10,7 @@ In this document, the Notes API major version 1 and all its minor versions are d | **1.0** | Notes 3.3 (May 2020) | Separate title, no auto rename based on content | | **1.1** | Notes 3.4 (May 2020) | Filter "Get all notes" by category | | **1.2** | Notes 4.1 (June 2021) | Preventing lost updates, read-only notes, settings | -| **1.3** | Notes 4.4 (July 2022) | Allow custom file suffixes | +| **1.3** | Notes 4.5 (August 2022) | Allow custom file suffixes | diff --git a/lib/AppInfo/Application.php b/lib/AppInfo/Application.php index df0a0502..edb1e47c 100644 --- a/lib/AppInfo/Application.php +++ b/lib/AppInfo/Application.php @@ -12,7 +12,7 @@ use OCP\AppFramework\Http\Events\BeforeTemplateRenderedEvent; class Application extends App implements IBootstrap { public const APP_ID = 'notes'; - public static array $API_VERSIONS = [ '0.2', '1.2' ]; + public static array $API_VERSIONS = [ '0.2', '1.3' ]; public function __construct(array $urlParams = []) { parent::__construct(self::APP_ID, $urlParams); diff --git a/tests/api/APIv1Test.php b/tests/api/APIv1Test.php index 71243b7a..65e4a3b9 100644 --- a/tests/api/APIv1Test.php +++ b/tests/api/APIv1Test.php @@ -11,7 +11,7 @@ class APIv1Test extends CommonAPITest { ]; public function __construct() { - parent::__construct('1.2', false); + parent::__construct('1.3', false); } /** @depends testCheckForReferenceNotes */