diff --git a/CHANGELOG.md b/CHANGELOG.md index 6db54f74c..432c272dd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,54 @@ +# [1.22.0](https://github.com/gotson/komga/compare/1.21.3...1.22.0) (2025-06-23) +## 🚀 Features +**api** +- user creation supports restrictions ([1f0817b](https://github.com/gotson/komga/commits/1f0817b)) + +## 🐛 Fixes +**api** +- add CSP response header for untrusted epub resources ([25de597](https://github.com/gotson/komga/commits/25de597)) +- marking already read announcement as read would return error 500 ([8cf2403](https://github.com/gotson/komga/commits/8cf2403)) + +## 🛠 Build +**release** +- remove unused announce step ([2911348](https://github.com/gotson/komga/commits/2911348)) + +**webui** +- update Browserslist db ([bc8a5df](https://github.com/gotson/komga/commits/bc8a5df)) + +## 📝 Documentation +**api** +- add /actuator/info in OpenAPI specification ([1ab46a7](https://github.com/gotson/komga/commits/1ab46a7)) +- document remember-me parameter on Retrieve Current User API ([cc78cd3](https://github.com/gotson/komga/commits/cc78cd3)) + +**openapi** +- rename Claim Server tag to avoid conflict with operation name ([a17ff43](https://github.com/gotson/komga/commits/a17ff43)) + +## 🌐 Translation +**komga-tray** +- translated using Weblate (Assamese) ([56e7cff](https://github.com/gotson/komga/commits/56e7cff)) +- translated using Weblate (Indonesian) ([4082451](https://github.com/gotson/komga/commits/4082451)) +- translated using Weblate (Bulgarian) ([fb7f144](https://github.com/gotson/komga/commits/fb7f144)) + +**webui** +- translated using Weblate (Chinese (Simplified Han script)) ([aad3e4a](https://github.com/gotson/komga/commits/aad3e4a)) +- translated using Weblate (Chinese (Traditional Han script)) ([b228f0e](https://github.com/gotson/komga/commits/b228f0e)) +- translated using Weblate (Korean) ([324262f](https://github.com/gotson/komga/commits/324262f)) +- translated using Weblate (Finnish) ([0423f82](https://github.com/gotson/komga/commits/0423f82)) +- translated using Weblate (French) ([d77d9cb](https://github.com/gotson/komga/commits/d77d9cb)) +- translated using Weblate (Spanish) ([80e7cfb](https://github.com/gotson/komga/commits/80e7cfb)) +- translated using Weblate (Dutch) ([b762fe0](https://github.com/gotson/komga/commits/b762fe0)) +- translated using Weblate (Indonesian) ([f00ec95](https://github.com/gotson/komga/commits/f00ec95)) +- translated using Weblate (Italian) ([d8a374a](https://github.com/gotson/komga/commits/d8a374a)) +- translated using Weblate (Hungarian) ([299ef6c](https://github.com/gotson/komga/commits/299ef6c)) +- translated using Weblate (Portuguese) ([009bc6e](https://github.com/gotson/komga/commits/009bc6e)) +- translated using Weblate (Japanese) ([1197ecf](https://github.com/gotson/komga/commits/1197ecf)) +- translated using Weblate (German) ([6629741](https://github.com/gotson/komga/commits/6629741)) +- translated using Weblate (Turkish) ([b570169](https://github.com/gotson/komga/commits/b570169)) + +## ⚙️ Dependencies +**ci** +- bump hydraulic-software/conveyor from 18.0 to 18.1 ([e2a0b94](https://github.com/gotson/komga/commits/e2a0b94)) + # [1.21.3](https://github.com/gotson/komga/compare/1.21.2...1.21.3) (2025-05-16) ## 🐛 Fixes **webui** diff --git a/gradle.properties b/gradle.properties index 23b83dc9f..1aa11e15f 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,2 +1,2 @@ -version=1.21.3 +version=1.22.0 org.gradle.jvmargs=-Xmx2G diff --git a/komga/docs/openapi.json b/komga/docs/openapi.json index f00c15c4c..2642cf397 100644 --- a/komga/docs/openapi.json +++ b/komga/docs/openapi.json @@ -7,7 +7,7 @@ "url": "https://github.com/gotson/komga/blob/master/LICENSE" }, "title": "Komga API", - "version": "1.21.3" + "version": "1.22.0" }, "externalDocs": { "description": "Komga documentation", @@ -132,7 +132,7 @@ }, { "description": "Claim a freshly installed Komga server.", - "name": "Claim server" + "name": "Claim" }, { "description": "Manage server tasks", @@ -158,6 +158,10 @@ "description": "Retrieve announcements from the Komga website", "name": "Announcements" }, + { + "description": "Manage server", + "name": "Management" + }, { "name": "Mihon" }, @@ -170,6 +174,31 @@ } ], "paths": { + "/actuator/info": { + "get": { + "description": "Required role: **ADMIN**", + "operationId": "getActuatorInfo", + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "Example": { + "value": "{\n \"git\": {\n \"branch\": \"master\",\n \"commit\": {\n \"id\": \"9be980d\",\n \"time\": \"2025-03-12T03:40:38Z\"\n }\n },\n \"build\": {\n \"artifact\": \"komga\",\n \"name\": \"komga\",\n \"version\": \"1.21.2\",\n \"group\": \"komga\"\n },\n \"java\": {\n \"version\": \"23.0.2\",\n \"vendor\": {\n \"name\": \"Eclipse Adoptium\",\n \"version\": \"Temurin-23.0.2+7\"\n },\n \"runtime\": {\n \"name\": \"OpenJDK Runtime Environment\",\n \"version\": \"23.0.2+7\"\n },\n \"jvm\": {\n \"name\": \"OpenJDK 64-Bit Server VM\",\n \"vendor\": \"Eclipse Adoptium\",\n \"version\": \"23.0.2+7\"\n }\n },\n \"os\": {\n \"name\": \"Linux\",\n \"version\": \"6.8.0-57-generic\",\n \"arch\": \"amd64\"\n }\n}" + } + } + } + }, + "description": "OK" + } + }, + "summary": "Get server information", + "tags": [ + "Management" + ] + }, + "summary": "Get general information about the server" + }, "/api/logout": { "get": { "description": "Invalidates the current session and clean up any remember-me authentication.", @@ -2450,7 +2479,7 @@ "security": [], "summary": "Retrieve claim status", "tags": [ - "Claim server" + "Claim" ] }, "post": { @@ -2499,7 +2528,7 @@ "security": [], "summary": "Claim server", "tags": [ - "Claim server" + "Claim" ] } }, @@ -8315,6 +8344,16 @@ "/api/v2/users/me": { "get": { "operationId": "getCurrentUser", + "parameters": [ + { + "in": "query", + "name": "remember-me", + "required": false, + "schema": { + "type": "boolean" + } + } + ], "responses": { "200": { "content": { @@ -8823,7 +8862,8 @@ "type": "string", "enum": [ "ALLOW_ONLY", - "EXCLUDE" + "EXCLUDE", + "NONE" ] } } @@ -13756,9 +13796,26 @@ ], "type": "object", "properties": { + "ageRestriction": { + "$ref": "#/components/schemas/AgeRestrictionUpdateDto" + }, "email": { "type": "string" }, + "labelsAllow": { + "uniqueItems": true, + "type": "array", + "items": { + "type": "string" + } + }, + "labelsExclude": { + "uniqueItems": true, + "type": "array", + "items": { + "type": "string" + } + }, "password": { "type": "string" }, @@ -13767,6 +13824,9 @@ "items": { "type": "string" } + }, + "sharedLibraries": { + "$ref": "#/components/schemas/SharedLibrariesUpdateDto" } } }, @@ -14285,13 +14345,14 @@ { "name": "Server", "tags": [ - "Claim server", + "Claim", "Server settings", "Tasks", "History", "File system", "Releases", - "Announcements" + "Announcements", + "Management" ] }, {