From bad35c11288665a298c4f47f52f84a8ed8f7397a Mon Sep 17 00:00:00 2001 From: Javier Arias Date: Fri, 26 Apr 2024 12:06:45 +0100 Subject: [PATCH 1/3] Remove whitespace --- thoth-api/migrations/v0.12.3/up.sql | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/thoth-api/migrations/v0.12.3/up.sql b/thoth-api/migrations/v0.12.3/up.sql index 23434478..daf55fb8 100644 --- a/thoth-api/migrations/v0.12.3/up.sql +++ b/thoth-api/migrations/v0.12.3/up.sql @@ -7,9 +7,9 @@ ALTER TABLE series ALTER TABLE work ADD COLUMN withdrawn_date DATE; -UPDATE work - SET withdrawn_date = updated_at - WHERE (work_status = 'withdrawn-from-sale' +UPDATE work + SET withdrawn_date = updated_at + WHERE (work_status = 'withdrawn-from-sale' OR work_status = 'out-of-print'); ALTER TABLE work @@ -22,4 +22,4 @@ ALTER TABLE work OR (work_status NOT IN ('withdrawn-from-sale', 'out-of-print'))), ADD CONSTRAINT work_withdrawn_date_after_publication_date_check CHECK - (withdrawn_date IS NULL OR (publication_date < withdrawn_date)); \ No newline at end of file + (withdrawn_date IS NULL OR (publication_date < withdrawn_date)); From a7cf74ded067d50d63695ef37884dbe9559561f6 Mon Sep 17 00:00:00 2001 From: Javier Arias Date: Fri, 26 Apr 2024 12:07:27 +0100 Subject: [PATCH 2/3] Update changelog --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index af040fcc..4bcc4e3d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] + +## [[0.12.3]](https://github.com/thoth-pub/thoth/releases/tag/v0.12.3) - 2024-04-26 ### Added - [583](https://github.com/thoth-pub/thoth/issues/583) - Add new field, Permanently Withdrawn Date, to Work for Out-of-print or Withdrawn from Sale Works. From 1fd3ee49d264474ef43f920cf99841ee38203339 Mon Sep 17 00:00:00 2001 From: Javier Arias Date: Fri, 26 Apr 2024 12:09:49 +0100 Subject: [PATCH 3/3] Bump v0.12.3 --- Cargo.lock | 16 ++++++++-------- Cargo.toml | 12 ++++++------ thoth-api-server/Cargo.toml | 6 +++--- thoth-api/Cargo.toml | 4 ++-- thoth-app-server/Cargo.toml | 2 +- thoth-app/Cargo.toml | 6 +++--- thoth-client/Cargo.toml | 8 ++++---- thoth-errors/Cargo.toml | 2 +- thoth-export-server/Cargo.toml | 8 ++++---- 9 files changed, 32 insertions(+), 32 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 41df70c8..a1cd6f6d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3087,7 +3087,7 @@ dependencies = [ [[package]] name = "thoth" -version = "0.12.2" +version = "0.12.3" dependencies = [ "cargo-husky", "clap", @@ -3102,7 +3102,7 @@ dependencies = [ [[package]] name = "thoth-api" -version = "0.12.2" +version = "0.12.3" dependencies = [ "actix-web", "argon2rs", @@ -3131,7 +3131,7 @@ dependencies = [ [[package]] name = "thoth-api-server" -version = "0.12.2" +version = "0.12.3" dependencies = [ "actix-cors", "actix-identity", @@ -3147,7 +3147,7 @@ dependencies = [ [[package]] name = "thoth-app" -version = "0.12.2" +version = "0.12.3" dependencies = [ "anyhow", "chrono", @@ -3176,7 +3176,7 @@ dependencies = [ [[package]] name = "thoth-app-server" -version = "0.12.2" +version = "0.12.3" dependencies = [ "actix-cors", "actix-web", @@ -3186,7 +3186,7 @@ dependencies = [ [[package]] name = "thoth-client" -version = "0.12.2" +version = "0.12.3" dependencies = [ "chrono", "graphql_client", @@ -3202,7 +3202,7 @@ dependencies = [ [[package]] name = "thoth-errors" -version = "0.12.2" +version = "0.12.3" dependencies = [ "actix-web", "csv", @@ -3223,7 +3223,7 @@ dependencies = [ [[package]] name = "thoth-export-server" -version = "0.12.2" +version = "0.12.3" dependencies = [ "actix-cors", "actix-web", diff --git a/Cargo.toml b/Cargo.toml index 69add2f8..9b3ef07f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "thoth" -version = "0.12.2" +version = "0.12.3" authors = ["Javier Arias ", "Ross Higman "] edition = "2021" license = "Apache-2.0" @@ -16,11 +16,11 @@ maintenance = { status = "actively-developed" } members = ["thoth-api", "thoth-api-server", "thoth-app", "thoth-app-server", "thoth-client", "thoth-errors", "thoth-export-server"] [dependencies] -thoth-api = { version = "0.12.2", path = "thoth-api", features = ["backend"] } -thoth-api-server = { version = "0.12.2", path = "thoth-api-server" } -thoth-app-server = { version = "0.12.2", path = "thoth-app-server" } -thoth-errors = { version = "0.12.2", path = "thoth-errors" } -thoth-export-server = { version = "0.12.2", path = "thoth-export-server" } +thoth-api = { version = "0.12.3", path = "thoth-api", features = ["backend"] } +thoth-api-server = { version = "0.12.3", path = "thoth-api-server" } +thoth-app-server = { version = "0.12.3", path = "thoth-app-server" } +thoth-errors = { version = "0.12.3", path = "thoth-errors" } +thoth-export-server = { version = "0.12.3", path = "thoth-export-server" } clap = { version = "4.4.7", features = ["cargo", "env"] } dialoguer = { version = "0.11.0", features = ["password"] } dotenv = "0.15.0" diff --git a/thoth-api-server/Cargo.toml b/thoth-api-server/Cargo.toml index 65b089a8..36526b03 100644 --- a/thoth-api-server/Cargo.toml +++ b/thoth-api-server/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "thoth-api-server" -version = "0.12.2" +version = "0.12.3" authors = ["Javier Arias ", "Ross Higman "] edition = "2021" license = "Apache-2.0" @@ -9,8 +9,8 @@ repository = "https://github.com/thoth-pub/thoth" readme = "README.md" [dependencies] -thoth-api = { version = "0.12.2", path = "../thoth-api", features = ["backend"] } -thoth-errors = { version = "0.12.2", path = "../thoth-errors" } +thoth-api = { version = "0.12.3", path = "../thoth-api", features = ["backend"] } +thoth-errors = { version = "0.12.3", path = "../thoth-errors" } actix-web = "4.5.1" actix-cors = "0.7.0" actix-identity = "0.7.1" diff --git a/thoth-api/Cargo.toml b/thoth-api/Cargo.toml index 02ba1078..55d44a2f 100644 --- a/thoth-api/Cargo.toml +++ b/thoth-api/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "thoth-api" -version = "0.12.2" +version = "0.12.3" authors = ["Javier Arias ", "Ross Higman "] edition = "2021" license = "Apache-2.0" @@ -16,7 +16,7 @@ maintenance = { status = "actively-developed" } backend = ["diesel", "diesel-derive-enum", "diesel_migrations", "futures", "actix-web", "jsonwebtoken"] [dependencies] -thoth-errors = { version = "0.12.2", path = "../thoth-errors" } +thoth-errors = { version = "0.12.3", path = "../thoth-errors" } actix-web = { version = "4.5.1", optional = true } argon2rs = "0.2.5" isbn2 = "0.4.0" diff --git a/thoth-app-server/Cargo.toml b/thoth-app-server/Cargo.toml index 0c281bec..1130d2c2 100644 --- a/thoth-app-server/Cargo.toml +++ b/thoth-app-server/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "thoth-app-server" -version = "0.12.2" +version = "0.12.3" authors = ["Javier Arias ", "Ross Higman "] edition = "2021" license = "Apache-2.0" diff --git a/thoth-app/Cargo.toml b/thoth-app/Cargo.toml index 843f1762..17d5454e 100644 --- a/thoth-app/Cargo.toml +++ b/thoth-app/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "thoth-app" -version = "0.12.2" +version = "0.12.3" authors = ["Javier Arias ", "Ross Higman "] edition = "2021" license = "Apache-2.0" @@ -36,8 +36,8 @@ uuid = { version = "0.8.2", features = ["serde", "v4"] } # `getrandom` is a dependency of `uuid`, we need to explicitly import and include the `js` feature to enable wasm # https://docs.rs/getrandom/latest/getrandom/#webassembly-support getrandom = { version = "0.2", features = ["js"] } -thoth-api = { version = "0.12.2", path = "../thoth-api" } -thoth-errors = { version = "0.12.2", path = "../thoth-errors" } +thoth-api = { version = "0.12.3", path = "../thoth-api" } +thoth-errors = { version = "0.12.3", path = "../thoth-errors" } [build-dependencies] dotenv = "0.15.0" diff --git a/thoth-client/Cargo.toml b/thoth-client/Cargo.toml index 36eb2c20..aa758b38 100644 --- a/thoth-client/Cargo.toml +++ b/thoth-client/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "thoth-client" -version = "0.12.2" +version = "0.12.3" authors = ["Javier Arias ", "Ross Higman "] edition = "2021" license = "Apache-2.0" @@ -10,8 +10,8 @@ readme = "README.md" build = "build.rs" [dependencies] -thoth-api = {version = "0.12.2", path = "../thoth-api" } -thoth-errors = {version = "0.12.2", path = "../thoth-errors" } +thoth-api = {version = "0.12.3", path = "../thoth-api" } +thoth-errors = {version = "0.12.3", path = "../thoth-errors" } graphql_client = "0.13.0" chrono = { version = "0.4.31", features = ["serde"] } reqwest = { version = "0.11", features = ["json"] } @@ -22,4 +22,4 @@ serde_json = "1.0" uuid = { version = "0.8.2", features = ["serde"] } [build-dependencies] -thoth-api = { version = "0.12.2", path = "../thoth-api", features = ["backend"] } +thoth-api = { version = "0.12.3", path = "../thoth-api", features = ["backend"] } diff --git a/thoth-errors/Cargo.toml b/thoth-errors/Cargo.toml index c4dd8d09..1438788d 100644 --- a/thoth-errors/Cargo.toml +++ b/thoth-errors/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "thoth-errors" -version = "0.12.2" +version = "0.12.3" authors = ["Javier Arias ", "Ross Higman "] edition = "2021" license = "Apache-2.0" diff --git a/thoth-export-server/Cargo.toml b/thoth-export-server/Cargo.toml index 2005ec1a..e73f3257 100644 --- a/thoth-export-server/Cargo.toml +++ b/thoth-export-server/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "thoth-export-server" -version = "0.12.2" +version = "0.12.3" authors = ["Javier Arias ", "Ross Higman "] edition = "2021" license = "Apache-2.0" @@ -10,9 +10,9 @@ readme = "README.md" build = "build.rs" [dependencies] -thoth-api = { version = "0.12.2", path = "../thoth-api" } -thoth-errors = { version = "0.12.2", path = "../thoth-errors" } -thoth-client = { version = "0.12.2", path = "../thoth-client" } +thoth-api = { version = "0.12.3", path = "../thoth-api" } +thoth-errors = { version = "0.12.3", path = "../thoth-errors" } +thoth-client = { version = "0.12.3", path = "../thoth-client" } actix-web = "4.5.1" actix-cors = "0.7.0" cc_license = "0.1.0"