From 36a35b5308d1b3c3fa92724ba86338b0bb6a2df7 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 13 Jul 2023 01:59:50 +0000 Subject: [PATCH] chore(release): 1.2.0 [skip ci] --- CHANGELOG.md | 46 ++++++++ gradle.properties | 2 +- komga/docs/openapi.json | 253 +++++++++++++++++++++++++++++++++------- 3 files changed, 257 insertions(+), 44 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c49cbd41f..055d64d7d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,49 @@ +# [1.2.0](https://github.com/gotson/komga/compare/v1.1.0...v1.2.0) (2023-07-13) +## 🚀 Features +**api** +- add sharing_label criteria to full text search for series ([040556e](https://github.com/gotson/komga/commits/040556e)), closes [#1146](https://github.com/gotson/komga/issues/1146) +- search series by sharing label ([7a21fe0](https://github.com/gotson/komga/commits/7a21fe0)), closes [#1146](https://github.com/gotson/komga/issues/1146) + +**webui** +- add buttons for auto and manual deletion of remaining page hashes ([e9135fb](https://github.com/gotson/komga/commits/e9135fb)), closes [#1147](https://github.com/gotson/komga/issues/1147) +- add sharing label to filter panel ([737bf1b](https://github.com/gotson/komga/commits/737bf1b)), closes [#1146](https://github.com/gotson/komga/issues/1146) + +**unscoped** +- display komga.org website announcements within the app ([72c1e8d](https://github.com/gotson/komga/commits/72c1e8d)), closes [#1149](https://github.com/gotson/komga/issues/1149) + +## 🐛 Fixes +**api** +- missing metrics if library name contains specific characters ([5ec7fa1](https://github.com/gotson/komga/commits/5ec7fa1)), closes [#1156](https://github.com/gotson/komga/issues/1156) + +**webui** +- scan all libraries from Server Settings does not work ([a2f0c3d](https://github.com/gotson/komga/commits/a2f0c3d)), closes [#1155](https://github.com/gotson/komga/issues/1155) +- better button alignment on smaller screens on login view ([223aea5](https://github.com/gotson/komga/commits/223aea5)) +- make logo on login view the same size even if server is unclaimed ([806d2b6](https://github.com/gotson/komga/commits/806d2b6)) +- startup logo fits small screens ([ecaf8d0](https://github.com/gotson/komga/commits/ecaf8d0)) + +## 🏎 Perf +**webui** +- load metrics with promises instead of await ([66dd1c2](https://github.com/gotson/komga/commits/66dd1c2)) + +## 🔄️ Changes +**webui** +- missing null safety ([5438444](https://github.com/gotson/komga/commits/5438444)) +- add missing uppercase class on some elements ([ea0a85c](https://github.com/gotson/komga/commits/ea0a85c)) +- convert dates using axios interceptor ([58c8187](https://github.com/gotson/komga/commits/58c8187)) + +## 🛠 Build + +- remove redundant annotation ([438c40d](https://github.com/gotson/komga/commits/438c40d)) + +## 🌐 Translation + +- translated using Weblate (Chinese (Simplified)) ([447f9c1](https://github.com/gotson/komga/commits/447f9c1)) +- translated using Weblate (Italian) ([a442439](https://github.com/gotson/komga/commits/a442439)) +- translated using Weblate (Hebrew) ([e4bf708](https://github.com/gotson/komga/commits/e4bf708)) +- translated using Weblate (Bulgarian) ([5d32ef0](https://github.com/gotson/komga/commits/5d32ef0)) +- translated using Weblate (Swedish) ([b751604](https://github.com/gotson/komga/commits/b751604)) +- translated using Weblate (Spanish) ([d7ba805](https://github.com/gotson/komga/commits/d7ba805)) + # [1.1.0](https://github.com/gotson/komga/compare/v1.0.0...v1.1.0) (2023-06-29) ## 🚀 Features **webui** diff --git a/gradle.properties b/gradle.properties index 01cb492ba..2728e3e84 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,2 +1,2 @@ -version=1.1.0 +version=1.2.0 org.gradle.jvmargs=-Xmx2G diff --git a/komga/docs/openapi.json b/komga/docs/openapi.json index 45919bda5..de0fd3f23 100644 --- a/komga/docs/openapi.json +++ b/komga/docs/openapi.json @@ -564,6 +564,71 @@ } } }, + "/api/v1/announcements": { + "get": { + "tags": [ + "announcement-controller" + ], + "operationId": "getAnnouncements", + "responses": { + "400": { + "description": "Bad Request", + "content": { + "*/*": { + "schema": { + "$ref": "#/components/schemas/ValidationErrorResponse" + } + } + } + }, + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/JsonFeedDto" + } + } + } + } + } + }, + "put": { + "tags": [ + "announcement-controller" + ], + "operationId": "markAnnouncementsRead", + "requestBody": { + "content": { + "application/json": { + "schema": { + "uniqueItems": true, + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "required": true + }, + "responses": { + "400": { + "description": "Bad Request", + "content": { + "*/*": { + "schema": { + "$ref": "#/components/schemas/ValidationErrorResponse" + } + } + } + }, + "204": { + "description": "No Content" + } + } + } + }, "/api/v2/users": { "get": { "tags": [ @@ -4394,6 +4459,17 @@ } } }, + { + "name": "sharing_label", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, { "name": "deleted", "in": "query", @@ -5327,6 +5403,17 @@ } } }, + { + "name": "sharing_label", + "in": "query", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, { "name": "deleted", "in": "query", @@ -8981,9 +9068,6 @@ "type": "string" } }, - "ageRestriction": { - "$ref": "#/components/schemas/AgeRestrictionUpdateDto" - }, "labelsAllow": { "uniqueItems": true, "type": "array", @@ -8998,6 +9082,9 @@ "type": "string" } }, + "ageRestriction": { + "$ref": "#/components/schemas/AgeRestrictionUpdateDto" + }, "sharedLibraries": { "$ref": "#/components/schemas/SharedLibrariesUpdateDto" } @@ -9509,16 +9596,16 @@ "pageable": { "$ref": "#/components/schemas/PageableObject" }, - "numberOfElements": { - "type": "integer", - "format": "int32" - }, "first": { "type": "boolean" }, "last": { "type": "boolean" }, + "numberOfElements": { + "type": "integer", + "format": "int32" + }, "empty": { "type": "boolean" } @@ -9647,16 +9734,16 @@ "pageable": { "$ref": "#/components/schemas/PageableObject" }, - "numberOfElements": { - "type": "integer", - "format": "int32" - }, "first": { "type": "boolean" }, "last": { "type": "boolean" }, + "numberOfElements": { + "type": "integer", + "format": "int32" + }, "empty": { "type": "boolean" } @@ -9752,16 +9839,16 @@ "pageable": { "$ref": "#/components/schemas/PageableObject" }, - "numberOfElements": { - "type": "integer", - "format": "int32" - }, "first": { "type": "boolean" }, "last": { "type": "boolean" }, + "numberOfElements": { + "type": "integer", + "format": "int32" + }, "empty": { "type": "boolean" } @@ -10236,16 +10323,16 @@ "pageable": { "$ref": "#/components/schemas/PageableObject" }, - "numberOfElements": { - "type": "integer", - "format": "int32" - }, "first": { "type": "boolean" }, "last": { "type": "boolean" }, + "numberOfElements": { + "type": "integer", + "format": "int32" + }, "empty": { "type": "boolean" } @@ -10329,16 +10416,16 @@ "pageable": { "$ref": "#/components/schemas/PageableObject" }, - "numberOfElements": { - "type": "integer", - "format": "int32" - }, "first": { "type": "boolean" }, "last": { "type": "boolean" }, + "numberOfElements": { + "type": "integer", + "format": "int32" + }, "empty": { "type": "boolean" } @@ -10451,16 +10538,16 @@ "pageable": { "$ref": "#/components/schemas/PageableObject" }, - "numberOfElements": { - "type": "integer", - "format": "int32" - }, "first": { "type": "boolean" }, "last": { "type": "boolean" }, + "numberOfElements": { + "type": "integer", + "format": "int32" + }, "empty": { "type": "boolean" } @@ -10497,16 +10584,16 @@ "pageable": { "$ref": "#/components/schemas/PageableObject" }, - "numberOfElements": { - "type": "integer", - "format": "int32" - }, "first": { "type": "boolean" }, "last": { "type": "boolean" }, + "numberOfElements": { + "type": "integer", + "format": "int32" + }, "empty": { "type": "boolean" } @@ -10563,16 +10650,16 @@ "pageable": { "$ref": "#/components/schemas/PageableObject" }, - "numberOfElements": { - "type": "integer", - "format": "int32" - }, "first": { "type": "boolean" }, "last": { "type": "boolean" }, + "numberOfElements": { + "type": "integer", + "format": "int32" + }, "empty": { "type": "boolean" } @@ -10638,16 +10725,16 @@ "pageable": { "$ref": "#/components/schemas/PageableObject" }, - "numberOfElements": { - "type": "integer", - "format": "int32" - }, "first": { "type": "boolean" }, "last": { "type": "boolean" }, + "numberOfElements": { + "type": "integer", + "format": "int32" + }, "empty": { "type": "boolean" } @@ -10684,16 +10771,16 @@ "pageable": { "$ref": "#/components/schemas/PageableObject" }, - "numberOfElements": { - "type": "integer", - "format": "int32" - }, "first": { "type": "boolean" }, "last": { "type": "boolean" }, + "numberOfElements": { + "type": "integer", + "format": "int32" + }, "empty": { "type": "boolean" } @@ -10710,6 +10797,86 @@ } } }, + "ItemDto": { + "required": [ + "id", + "tags" + ], + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "title": { + "type": "string" + }, + "summary": { + "type": "string" + }, + "content_html": { + "type": "string" + }, + "date_modified": { + "type": "string", + "format": "date-time" + }, + "author": { + "$ref": "#/components/schemas/AuthorDto" + }, + "tags": { + "uniqueItems": true, + "type": "array", + "items": { + "type": "string" + } + }, + "_komga": { + "$ref": "#/components/schemas/KomgaExtensionDto" + } + } + }, + "JsonFeedDto": { + "required": [ + "items", + "title", + "version" + ], + "type": "object", + "properties": { + "version": { + "type": "string" + }, + "title": { + "type": "string" + }, + "home_page_url": { + "type": "string" + }, + "description": { + "type": "string" + }, + "items": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemDto" + } + } + } + }, + "KomgaExtensionDto": { + "required": [ + "read" + ], + "type": "object", + "properties": { + "read": { + "type": "boolean" + } + } + }, "OAuth2ClientDto": { "required": [ "name",