diff --git a/CHANGELOG.md b/CHANGELOG.md index 9f02da618..0874a11ea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,61 @@ +# [1.3.0](https://github.com/gotson/komga/compare/v1.2.1...v1.3.0) (2023-08-03) +## 🚀 Features +**api** +- add support for oneshots directory in libraries ([739eeca](https://github.com/gotson/komga/commits/739eeca)) + +**cli** +- add command line interface commands ([f6cc958](https://github.com/gotson/komga/commits/f6cc958)), closes [#1175](https://github.com/gotson/komga/issues/1175) + +**docker** +- enable jpeg-xl support for linux/amd64 ([466e980](https://github.com/gotson/komga/commits/466e980)) + +**webui** +- oneshots handling ([2b238cc](https://github.com/gotson/komga/commits/2b238cc)) + +## 🐛 Fixes +**api** +- http header containing non-ascii character gets stripped ([419cb5a](https://github.com/gotson/komga/commits/419cb5a)), closes [#1161](https://github.com/gotson/komga/issues/1161) [#1176](https://github.com/gotson/komga/issues/1176) + +**webui** +- invalid series language code can prevent some views to render ([8a03c50](https://github.com/gotson/komga/commits/8a03c50)), closes [#1173](https://github.com/gotson/komga/issues/1173) +- better filenames when downloading book pages ([19abdce](https://github.com/gotson/komga/commits/19abdce)) + +**unscoped** +- normalize language codes ([1a2acac](https://github.com/gotson/komga/commits/1a2acac)), closes [#1173](https://github.com/gotson/komga/issues/1173) + +## 🏎 Perf +**webui** +- remove redundant API call in EditSeriesDialog ([11f8aaf](https://github.com/gotson/komga/commits/11f8aaf)) + +## 🔄️ Changes +**webui** +- pass book or series id to reusable dialog instead of full DTO ([39e7ae9](https://github.com/gotson/komga/commits/39e7ae9)) + +**unscoped** +- ktlint format ([c2224f1](https://github.com/gotson/komga/commits/c2224f1)) +- harden BCP47 functions ([82dd23a](https://github.com/gotson/komga/commits/82dd23a)) + +## 🛠 Build + +- fix tests for oneshots ([5a8f686](https://github.com/gotson/komga/commits/5a8f686)) +- add bestbefore to prevent shipping deprecated code on major versions ([7f1fded](https://github.com/gotson/komga/commits/7f1fded)) + +## 📝 Documentation + +- update website url in issue templates ([f7b6e0d](https://github.com/gotson/komga/commits/f7b6e0d)), closes [#1178](https://github.com/gotson/komga/issues/1178) + +## 🌐 Translation + +- translated using Weblate (Indonesian) ([de01b70](https://github.com/gotson/komga/commits/de01b70)) +- translated using Weblate (Portuguese (Brazil)) ([aa92b69](https://github.com/gotson/komga/commits/aa92b69)) +- translated using Weblate (Polish) ([33d5a56](https://github.com/gotson/komga/commits/33d5a56)) +- translated using Weblate (Indonesian) ([cb4ce72](https://github.com/gotson/komga/commits/cb4ce72)) +- translated using Weblate (Japanese) ([9a6a75c](https://github.com/gotson/komga/commits/9a6a75c)) +- translated using Weblate (Korean) ([7f71355](https://github.com/gotson/komga/commits/7f71355)) +- translated using Weblate (Finnish) ([e3f66d3](https://github.com/gotson/komga/commits/e3f66d3)) +- translated using Weblate (Spanish) ([4ce904e](https://github.com/gotson/komga/commits/4ce904e)) +- translated using Weblate (German) ([8920415](https://github.com/gotson/komga/commits/8920415)) + # [1.2.1](https://github.com/gotson/komga/compare/v1.2.0...v1.2.1) (2023-07-17) ## 🐛 Fixes **api** diff --git a/gradle.properties b/gradle.properties index 6c8a98515..b7b3dbe0c 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,2 +1,2 @@ -version=1.2.1 +version=1.3.0 org.gradle.jvmargs=-Xmx2G diff --git a/komga/docs/openapi.json b/komga/docs/openapi.json index 9d8e3dec7..a878fba6a 100644 --- a/komga/docs/openapi.json +++ b/komga/docs/openapi.json @@ -448,7 +448,8 @@ "204": { "description": "No Content" } - } + }, + "deprecated": true }, "delete": { "tags": [ @@ -480,6 +481,47 @@ "description": "No Content" } } + }, + "patch": { + "tags": [ + "library-controller" + ], + "operationId": "patchOne", + "parameters": [ + { + "name": "libraryId", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/LibraryUpdateDto" + } + } + }, + "required": true + }, + "responses": { + "400": { + "description": "Bad Request", + "content": { + "*/*": { + "schema": { + "$ref": "#/components/schemas/ValidationErrorResponse" + } + } + } + }, + "204": { + "description": "No Content" + } + } } }, "/api/v1/collections/{id}/thumbnails/{thumbnailId}/selected": { @@ -4486,6 +4528,14 @@ "type": "boolean" } }, + { + "name": "oneshot", + "in": "query", + "required": false, + "schema": { + "type": "boolean" + } + }, { "name": "unpaged", "in": "query", @@ -5014,6 +5064,14 @@ "type": "boolean" } }, + { + "name": "oneshot", + "in": "query", + "required": false, + "schema": { + "type": "boolean" + } + }, { "name": "unpaged", "in": "query", @@ -5142,6 +5200,14 @@ "type": "boolean" } }, + { + "name": "oneshot", + "in": "query", + "required": false, + "schema": { + "type": "boolean" + } + }, { "name": "unpaged", "in": "query", @@ -5218,6 +5284,14 @@ "type": "boolean" } }, + { + "name": "oneshot", + "in": "query", + "required": false, + "schema": { + "type": "boolean" + } + }, { "name": "unpaged", "in": "query", @@ -5430,6 +5504,14 @@ "type": "boolean" } }, + { + "name": "oneshot", + "in": "query", + "required": false, + "schema": { + "type": "boolean" + } + }, { "name": "search_regex", "in": "query", @@ -8053,28 +8135,6 @@ } }, "LibraryUpdateDto": { - "required": [ - "analyzeDimensions", - "convertToCbz", - "emptyTrashAfterScan", - "hashFiles", - "hashPages", - "importBarcodeIsbn", - "importComicInfoBook", - "importComicInfoCollection", - "importComicInfoReadList", - "importComicInfoSeries", - "importComicInfoSeriesAppendVolume", - "importEpubBook", - "importEpubSeries", - "importLocalArtwork", - "importMylarSeries", - "name", - "repairExtensions", - "root", - "scanForceModifiedTime", - "seriesCover" - ], "type": "object", "properties": { "name": { @@ -8142,8 +8202,12 @@ }, "analyzeDimensions": { "type": "boolean" + }, + "oneshotsDirectory": { + "type": "string" } - } + }, + "description": "Fields to update. You can omit fields you don\u0027t want to update." }, "UserCreationDto": { "required": [ @@ -8716,6 +8780,9 @@ }, "analyzeDimensions": { "type": "boolean" + }, + "oneshotsDirectory": { + "type": "string" } } }, @@ -8815,6 +8882,9 @@ "analyzeDimensions": { "type": "boolean" }, + "oneshotsDirectory": { + "type": "string" + }, "unavailable": { "type": "boolean" } @@ -9068,6 +9138,9 @@ "type": "string" } }, + "ageRestriction": { + "$ref": "#/components/schemas/AgeRestrictionUpdateDto" + }, "labelsAllow": { "uniqueItems": true, "type": "array", @@ -9082,9 +9155,6 @@ "type": "string" } }, - "ageRestriction": { - "$ref": "#/components/schemas/AgeRestrictionUpdateDto" - }, "sharedLibraries": { "$ref": "#/components/schemas/SharedLibrariesUpdateDto" } @@ -9222,18 +9292,18 @@ "type": "integer", "format": "int32" }, + "alternateTitles": { + "type": "array", + "items": { + "$ref": "#/components/schemas/AlternateTitleUpdateDto" + } + }, "sharingLabels": { "uniqueItems": true, "type": "array", "items": { "type": "string" } - }, - "alternateTitles": { - "type": "array", - "items": { - "$ref": "#/components/schemas/AlternateTitleUpdateDto" - } } }, "description": "Metadata fields to update. Set a field to null to unset the metadata. You can omit fields you don\u0027t want to update." @@ -9869,6 +9939,7 @@ "libraryId", "metadata", "name", + "oneshot", "url" ], "type": "object", @@ -9921,6 +9992,9 @@ }, "deleted": { "type": "boolean" + }, + "oneshot": { + "type": "boolean" } } }, @@ -10102,6 +10176,7 @@ "metadata", "name", "number", + "oneshot", "seriesId", "seriesTitle", "size", @@ -10165,6 +10240,9 @@ }, "fileHash": { "type": "string" + }, + "oneshot": { + "type": "boolean" } } },