Skip to content

Commit c2cc527

Browse files
committed
Bump sea-orm & sea-query
1 parent 40eaf13 commit c2cc527

File tree

17 files changed

+70
-64
lines changed

17 files changed

+70
-64
lines changed

Cargo.toml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ members = [".", "cli", "generator", "macros"]
33

44
[package]
55
name = "seaography"
6-
version = "1.1.4"
6+
version = "2.0.0-rc.1"
77
edition = "2021"
88
rust-version = "1.70"
99
authors = ["Panagiotis Karatakis <[email protected]>"]
@@ -17,7 +17,7 @@ categories = ["database"]
1717

1818
[dependencies]
1919
async-graphql = { version = "7.0", features = ["decimal", "chrono", "dataloader", "dynamic-schema"] }
20-
sea-orm = { version = "~1.1.5", default-features = false, features = ["seaography", "with-json"] }
20+
sea-orm = { version = "~2.0.0-rc", default-features = false, features = ["seaography", "with-json"] }
2121
seaography-macros = { version = "0.1.0", path = "macros", optional = true }
2222
itertools = { version = "0.12.0" }
2323
heck = { version = "0.4.1" }
@@ -43,6 +43,5 @@ field-snake-case = []
4343
field-camel-case = []
4444
field-pluralize = ["pluralizer"]
4545

46-
# [patch.crates-io]
47-
# sea-orm = { git = "https://github.com/SeaQL/sea-orm" }
48-
# sea-orm-migration = { git = "https://github.com/SeaQL/sea-orm" }
46+
[patch.crates-io]
47+
sea-orm = { git = "https://github.com/SeaQL/sea-orm", branch = "master" }

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737

3838
| Seaography | SeaORM |
3939
|----------------------------------------------------------|-------------------------------------------------------|
40+
| [2.0](https://crates.io/crates/seaography/2.0.0-rc) | [2.0](https://crates.io/crates/sea-orm/2.0.0-rc) |
4041
| [1.1](https://crates.io/crates/seaography/1.1.4) | [1.1](https://crates.io/crates/sea-orm/1.1.13) |
4142

4243
## Quick start - ready to serve in 3 minutes!

cli/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "seaography-cli"
3-
version = "1.1.4"
3+
version = "2.0.0-rc.1"
44
edition = "2021"
55
rust-version = "1.70"
66
authors = ["Panagiotis Karatakis <[email protected]>"]
@@ -15,5 +15,5 @@ categories = ["database"]
1515
[dependencies]
1616
async-std = { version = "1.12.0", features = [ "attributes", "tokio1" ] }
1717
clap = { version = "4.3.19", features = ["derive"] }
18-
seaography-generator = { version = "~1.1.4", path = "../generator" }
18+
seaography-generator = { version = "~2.0.0-rc.1", path = "../generator" }
1919
url = "2.4.0"

examples/mysql/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
[package]
22
edition = "2021"
33
name = "seaography-mysql-example"
4-
version = "1.1.4"
4+
version = "2.0.0-rc.1"
55

66
[dependencies]
77
axum = { version = "0.7" }
88
async-graphql-axum = { version = "7.0" }
99
dotenv = "0.15.0"
10-
sea-orm = { version = "~1.1.5", features = ["sqlx-mysql", "runtime-async-std-native-tls", "seaography"] }
10+
sea-orm = { version = "~2.0.0-rc", features = ["sqlx-mysql", "runtime-async-std-native-tls", "seaography"] }
1111
tokio = { version = "1.29.1", features = ["macros", "rt-multi-thread"] }
1212
tracing = { version = "0.1.37" }
1313
tracing-subscriber = { version = "0.3.17" }
1414

1515
[dependencies.seaography]
1616
path = "../../"
17-
version = "~1.1.4" # seaography version
17+
version = "~2.0.0-rc.1" # seaography version
1818
features = ["with-decimal", "with-chrono"]
1919

2020
[dev-dependencies]

examples/postgres/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
[package]
22
edition = "2021"
33
name = "seaography-postgres-example"
4-
version = "1.1.4"
4+
version = "2.0.0-rc.1"
55

66
[dependencies]
77
poem = { version = "3.0" }
88
async-graphql-poem = { version = "7.0" }
99
dotenv = "0.15.0"
10-
sea-orm = { version = "~1.1.14", features = ["sqlx-postgres", "runtime-async-std-native-tls", "seaography"] }
10+
sea-orm = { version = "~2.0.0-rc", features = ["sqlx-postgres", "runtime-async-std-native-tls", "seaography"] }
1111
tokio = { version = "1.29.1", features = ["macros", "rt-multi-thread"] }
1212
tracing = { version = "0.1.37" }
1313
tracing-subscriber = { version = "0.3.17" }
1414

1515
[dependencies.seaography]
1616
path = "../../"
17-
version = "~1.1.4" # seaography version
17+
version = "~2.0.0-rc.1" # seaography version
1818
features = ["with-decimal", "with-chrono", "with-postgres-array"]
1919

2020
[dev-dependencies]
2121
serde_json = { version = "1.0.103" }
2222

2323
[workspace]
24-
members = []
24+
members = []

examples/sqlite/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
[package]
22
edition = "2021"
33
name = "seaography-sqlite-example"
4-
version = "1.1.4"
4+
version = "2.0.0-rc.1"
55

66
[dependencies]
77
actix-web = { version = "4.5", default-features = false, features = ["macros"] }
88
async-graphql-actix-web = { version = "7.0" }
99
dotenv = "0.15.0"
10-
sea-orm = { version = "~1.1.14", features = ["sqlx-sqlite", "runtime-async-std-rustls", "seaography"] }
10+
sea-orm = { version = "~2.0.0-rc", features = ["sqlx-sqlite", "runtime-async-std-rustls", "seaography"] }
1111
tokio = { version = "1.29.1", features = ["macros", "rt-multi-thread"] }
1212
tracing = { version = "0.1.37" }
1313
tracing-subscriber = { version = "0.3.17" }
1414

1515
[dependencies.seaography]
1616
path = "../../"
17-
version = "~1.1.4" # seaography version
17+
version = "~2.0.0-rc.1" # seaography version
1818
features = ["macros", "with-decimal", "with-chrono"]
1919

2020
[dev-dependencies]

generator/Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "seaography-generator"
3-
version = "1.1.4"
3+
version = "2.0.0-rc.1"
44
edition = "2021"
55
rust-version = "1.70"
66
authors = ["Panagiotis Karatakis <[email protected]>"]
@@ -18,5 +18,4 @@ proc-macro2 = "1.0.66"
1818
syn = { version = "2.0.27", features = ["full"] }
1919
heck = "0.4.1"
2020
itertools = "0.11.0"
21-
sea-query = { version = "~0.32.0", default-features = false }
2221
thiserror = "1.0.44"

generator/src/templates/actix_cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ version = "0.1.0"
77
actix-web = { version = "4.5", default-features = false, features = ["macros"] }
88
async-graphql-actix-web = { version = "7.0" }
99
dotenv = "0.15.0"
10-
sea-orm = { version = "~1.1.5", features = ["<seaography-sql-library>", "runtime-async-std-native-tls", "seaography"] }
10+
sea-orm = { version = "~2.0.0-rc", features = ["<seaography-sql-library>", "runtime-async-std-native-tls", "seaography"] }
1111
tokio = { version = "1.29.1", features = ["macros", "rt-multi-thread"] }
1212
tracing = { version = "0.1.37" }
1313
tracing-subscriber = { version = "0.3.17" }

generator/src/templates/axum_cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ version = "0.1.0"
77
axum = { version = "0.7" }
88
async-graphql-axum = { version = "7.0" }
99
dotenv = "0.15.0"
10-
sea-orm = { version = "~1.1.5", features = ["<seaography-sql-library>", "runtime-async-std-native-tls", "seaography"] }
10+
sea-orm = { version = "~2.0.0-rc", features = ["<seaography-sql-library>", "runtime-async-std-native-tls", "seaography"] }
1111
tokio = { version = "1.29.1", features = ["macros", "rt-multi-thread"] }
1212
tracing = { version = "0.1.37" }
1313
tracing-subscriber = { version = "0.3.17" }

generator/src/templates/poem_cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ version = "0.1.0"
77
poem = { version = "3.0" }
88
async-graphql-poem = { version = "7.0" }
99
dotenv = "0.15.0"
10-
sea-orm = { version = "~1.1.5", features = ["<seaography-sql-library>", "runtime-async-std-native-tls", "seaography"] }
10+
sea-orm = { version = "~2.0.0-rc", features = ["<seaography-sql-library>", "runtime-async-std-native-tls", "seaography"] }
1111
tokio = { version = "1.29.1", features = ["macros", "rt-multi-thread"] }
1212
tracing = { version = "0.1.37" }
1313
tracing-subscriber = { version = "0.3.17" }

0 commit comments

Comments
 (0)