Skip to content

Commit 037eba0

Browse files
committed
Merge branch 'release/v0.11.12'
2 parents a4455db + fafb720 commit 037eba0

15 files changed

Lines changed: 46 additions & 39 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
## [[0.11.12]](https://github.com/thoth-pub/thoth/releases/tag/v0.11.12) - 2023-12-20
10+
### Fixed
11+
- [530](https://github.com/thoth-pub/thoth/pull/530) - Fix pagination offset calculation in export API
12+
- [530](https://github.com/thoth-pub/thoth/pull/530) - Do not allow to create more than one price in the same currency for the same publication
13+
914
## [[0.11.11]](https://github.com/thoth-pub/thoth/releases/tag/v0.11.11) - 2023-12-19
1015
### Changed
1116
- Upgrade rust to `1.74.1` in production and development `Dockerfile`

Cargo.lock

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "thoth"
3-
version = "0.11.11"
3+
version = "0.11.12"
44
authors = ["Javier Arias <javi@openbookpublishers.com>", "Ross Higman <ross@openbookpublishers.com>"]
55
edition = "2018"
66
license = "Apache-2.0"
@@ -16,11 +16,11 @@ maintenance = { status = "actively-developed" }
1616
members = ["thoth-api", "thoth-api-server", "thoth-app", "thoth-app-server", "thoth-client", "thoth-errors", "thoth-export-server"]
1717

1818
[dependencies]
19-
thoth-api = { version = "0.11.11", path = "thoth-api", features = ["backend"] }
20-
thoth-api-server = { version = "0.11.11", path = "thoth-api-server" }
21-
thoth-app-server = { version = "0.11.11", path = "thoth-app-server" }
22-
thoth-errors = { version = "0.11.11", path = "thoth-errors" }
23-
thoth-export-server = { version = "0.11.11", path = "thoth-export-server" }
19+
thoth-api = { version = "0.11.12", path = "thoth-api", features = ["backend"] }
20+
thoth-api-server = { version = "0.11.12", path = "thoth-api-server" }
21+
thoth-app-server = { version = "0.11.12", path = "thoth-app-server" }
22+
thoth-errors = { version = "0.11.12", path = "thoth-errors" }
23+
thoth-export-server = { version = "0.11.12", path = "thoth-export-server" }
2424
clap = { version = "4.4.7", features = ["cargo", "env"] }
2525
dialoguer = { version = "0.11.0", features = ["password"] }
2626
dotenv = "0.15.0"

thoth-api-server/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "thoth-api-server"
3-
version = "0.11.11"
3+
version = "0.11.12"
44
authors = ["Javier Arias <javi@openbookpublishers.com>", "Ross Higman <ross@openbookpublishers.com>"]
55
edition = "2018"
66
license = "Apache-2.0"
@@ -9,8 +9,8 @@ repository = "https://github.com/thoth-pub/thoth"
99
readme = "README.md"
1010

1111
[dependencies]
12-
thoth-api = { version = "0.11.11", path = "../thoth-api", features = ["backend"] }
13-
thoth-errors = { version = "0.11.11", path = "../thoth-errors" }
12+
thoth-api = { version = "0.11.12", path = "../thoth-api", features = ["backend"] }
13+
thoth-errors = { version = "0.11.12", path = "../thoth-errors" }
1414
actix-web = "4.4.0"
1515
actix-cors = "0.6.4"
1616
actix-identity = "0.6.0"

thoth-api/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "thoth-api"
3-
version = "0.11.11"
3+
version = "0.11.12"
44
authors = ["Javier Arias <javi@openbookpublishers.com>", "Ross Higman <ross@openbookpublishers.com>"]
55
edition = "2018"
66
license = "Apache-2.0"
@@ -16,7 +16,7 @@ maintenance = { status = "actively-developed" }
1616
backend = ["diesel", "diesel-derive-enum", "diesel_migrations", "futures", "actix-web"]
1717

1818
[dependencies]
19-
thoth-errors = { version = "0.11.11", path = "../thoth-errors" }
19+
thoth-errors = { version = "0.11.12", path = "../thoth-errors" }
2020
actix-web = { version = "4.4.0", optional = true }
2121
argon2rs = "0.2.5"
2222
isbn2 = "0.4.0"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ALTER TABLE price DROP CONSTRAINT price_publication_id_currency_code_uniq;
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ALTER TABLE price ADD CONSTRAINT price_publication_id_currency_code_uniq
2+
UNIQUE (publication_id, currency_code);

thoth-app-server/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "thoth-app-server"
3-
version = "0.11.11"
3+
version = "0.11.12"
44
authors = ["Javier Arias <javi@openbookpublishers.com>", "Ross Higman <ross@openbookpublishers.com>"]
55
edition = "2018"
66
license = "Apache-2.0"

thoth-app/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "thoth-app"
3-
version = "0.11.11"
3+
version = "0.11.12"
44
authors = ["Javier Arias <javi@openbookpublishers.com>", "Ross Higman <ross@openbookpublishers.com>"]
55
edition = "2018"
66
license = "Apache-2.0"
@@ -41,5 +41,5 @@ uuid = { version = "0.8.2", features = ["serde", "v4"] }
4141
# `getrandom` is a dependency of `uuid`, we need to explicitly import and include the `js` feature to enable wasm
4242
# https://docs.rs/getrandom/latest/getrandom/#webassembly-support
4343
getrandom = { version = "0.2", features = ["js"] }
44-
thoth-api = { version = "0.11.11", path = "../thoth-api" }
45-
thoth-errors = { version = "0.11.11", path = "../thoth-errors" }
44+
thoth-api = { version = "0.11.12", path = "../thoth-api" }
45+
thoth-errors = { version = "0.11.12", path = "../thoth-errors" }

thoth-app/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"start_url": "/?homescreen=1",
1010
"background_color": "#ffffff",
1111
"theme_color": "#ffdd57",
12-
"version": "0.11.11",
12+
"version": "0.11.12",
1313
"icons": [
1414
{
1515
"src": "\/android-icon-36x36.png",

0 commit comments

Comments
 (0)