From ca7cf7de9025c7f65d169477a90136971bf35e99 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Mon, 10 May 2021 10:09:12 +0000 Subject: [PATCH] chore(release): 0.95.0 [skip ci] # [0.95.0](https://github.com/gotson/komga/compare/v0.94.0...v0.95.0) (2021-05-10) ### Features * **api:** mark read progress for read lists with Tachiyomi format ([0177ee3](https://github.com/gotson/komga/commit/0177ee3e08ad08eb061bed668cb312e70c0b0858)) * **api:** mark read progress for series with Tachiyomi format ([82af4b3](https://github.com/gotson/komga/commit/82af4b3bbfb2a7dcb91b46032dc7a8e22e5d2e90)) --- CHANGELOG.md | 8 ++ gradle.properties | 2 +- komga/docs/openapi.json | 199 ++++++++++++++++++++++++++++++++++++---- 3 files changed, 191 insertions(+), 18 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2f6d44b1..41b8d05f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +# [0.95.0](https://github.com/gotson/komga/compare/v0.94.0...v0.95.0) (2021-05-10) + + +### Features + +* **api:** mark read progress for read lists with Tachiyomi format ([0177ee3](https://github.com/gotson/komga/commit/0177ee3e08ad08eb061bed668cb312e70c0b0858)) +* **api:** mark read progress for series with Tachiyomi format ([82af4b3](https://github.com/gotson/komga/commit/82af4b3bbfb2a7dcb91b46032dc7a8e22e5d2e90)) + # [0.94.0](https://github.com/gotson/komga/compare/v0.93.0...v0.94.0) (2021-05-09) diff --git a/gradle.properties b/gradle.properties index 3fbb0ac6..4e64e868 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,2 +1,2 @@ -version=0.94.0 +version=0.95.0 org.gradle.jvmargs=-Xmx2G -XX:MaxPermSize=2G diff --git a/komga/docs/openapi.json b/komga/docs/openapi.json index ac3c4784..492d6d56 100644 --- a/komga/docs/openapi.json +++ b/komga/docs/openapi.json @@ -29,6 +29,18 @@ } } }, + "TachiyomiReadProgressUpdateDto": { + "type": "object", + "required": [ + "lastBookRead" + ], + "properties": { + "lastBookRead": { + "format": "int32", + "type": "integer" + } + } + }, "OpenSearchUrl": { "type": "object", "required": [ @@ -383,6 +395,33 @@ } } }, + "ReadListProgressDto": { + "type": "object", + "required": [ + "booksCount", + "booksInProgressCount", + "booksReadCount", + "booksUnreadCount" + ], + "properties": { + "booksReadCount": { + "format": "int32", + "type": "integer" + }, + "booksCount": { + "format": "int32", + "type": "integer" + }, + "booksUnreadCount": { + "format": "int32", + "type": "integer" + }, + "booksInProgressCount": { + "format": "int32", + "type": "integer" + } + } + }, "Sort": { "type": "object", "properties": { @@ -544,6 +583,10 @@ "format": "int32", "type": "integer" }, + "size": { + "format": "int32", + "type": "integer" + }, "numberOfElements": { "format": "int32", "type": "integer" @@ -551,10 +594,6 @@ "last": { "type": "boolean" }, - "size": { - "format": "int32", - "type": "integer" - }, "totalPages": { "format": "int32", "type": "integer" @@ -675,6 +714,10 @@ "format": "int32", "type": "integer" }, + "size": { + "format": "int32", + "type": "integer" + }, "numberOfElements": { "format": "int32", "type": "integer" @@ -682,10 +725,6 @@ "last": { "type": "boolean" }, - "size": { - "format": "int32", - "type": "integer" - }, "totalPages": { "format": "int32", "type": "integer" @@ -721,6 +760,10 @@ "format": "int32", "type": "integer" }, + "size": { + "format": "int32", + "type": "integer" + }, "numberOfElements": { "format": "int32", "type": "integer" @@ -728,10 +771,6 @@ "last": { "type": "boolean" }, - "size": { - "format": "int32", - "type": "integer" - }, "totalPages": { "format": "int32", "type": "integer" @@ -816,6 +855,10 @@ "format": "int32", "type": "integer" }, + "size": { + "format": "int32", + "type": "integer" + }, "numberOfElements": { "format": "int32", "type": "integer" @@ -823,10 +866,6 @@ "last": { "type": "boolean" }, - "size": { - "format": "int32", - "type": "integer" - }, "totalPages": { "format": "int32", "type": "integer" @@ -3088,6 +3127,49 @@ ] } }, + "/api/v1/readlists/{id}/read-progress/tachiyomi": { + "patch": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/TachiyomiReadProgressUpdateDto" + } + } + }, + "required": true + }, + "operationId": "markReadProgress_1", + "responses": { + "400": { + "description": "Bad Request", + "content": { + "*/*": { + "schema": { + "$ref": "#/components/schemas/ValidationErrorResponse" + } + } + } + }, + "204": { + "description": "No Content" + } + }, + "parameters": [ + { + "schema": { + "type": "string" + }, + "in": "path", + "name": "id", + "required": true + } + ], + "tags": [ + "read-list-controller" + ] + } + }, "/api/v1/books/{bookId}/read-progress": { "patch": { "requestBody": { @@ -3100,7 +3182,7 @@ }, "required": true }, - "operationId": "markReadProgress", + "operationId": "markReadProgress_2", "responses": { "400": { "description": "Bad Request", @@ -5210,6 +5292,46 @@ ] } }, + "/api/v1/readlists/{id}/read-progress": { + "get": { + "operationId": "getReadProgress", + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ReadListProgressDto" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "*/*": { + "schema": { + "$ref": "#/components/schemas/ValidationErrorResponse" + } + } + } + } + }, + "parameters": [ + { + "schema": { + "type": "string" + }, + "in": "path", + "name": "id", + "required": true + } + ], + "tags": [ + "read-list-controller" + ] + } + }, "/api/v1/authors/roles": { "get": { "operationId": "getAuthorsRoles", @@ -6249,6 +6371,49 @@ ] } }, + "/api/v1/series/{seriesId}/read-progress/tachiyomi": { + "patch": { + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/TachiyomiReadProgressUpdateDto" + } + } + }, + "required": true + }, + "operationId": "markReadProgress", + "responses": { + "400": { + "description": "Bad Request", + "content": { + "*/*": { + "schema": { + "$ref": "#/components/schemas/ValidationErrorResponse" + } + } + } + }, + "204": { + "description": "No Content" + } + }, + "parameters": [ + { + "schema": { + "type": "string" + }, + "in": "path", + "name": "seriesId", + "required": true + } + ], + "tags": [ + "series-controller" + ] + } + }, "/api/v1/books/{bookId}/metadata": { "patch": { "requestBody": {