diff --git a/docs/api/v1.md b/docs/api/v1.md index 09012b48e..d88639ced 100644 --- a/docs/api/v1.md +++ b/docs/api/v1.md @@ -9,6 +9,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** | DRAFT | TODO | diff --git a/lib/AppInfo/Application.php b/lib/AppInfo/Application.php index 261fb666f..212d4cfe0 100644 --- a/lib/AppInfo/Application.php +++ b/lib/AppInfo/Application.php @@ -12,7 +12,7 @@ class Application extends App implements IBootstrap { public const APP_ID = 'notes'; - public static $API_VERSIONS = [ '0.2', '1.1' ]; + public static $API_VERSIONS = [ '0.2', '1.2' ]; public function __construct(array $urlParams = []) { parent::__construct(self::APP_ID, $urlParams); diff --git a/tests/api/APIv1Test.php b/tests/api/APIv1Test.php index 24d385a98..d0d5a39a4 100644 --- a/tests/api/APIv1Test.php +++ b/tests/api/APIv1Test.php @@ -6,6 +6,6 @@ class APIv1Test extends CommonAPITest { public function __construct() { - parent::__construct('1.1', false); + parent::__construct('1.2', false); } }