SeaQL / sea-query

🔱 A dynamic SQL query builder for MySQL, Postgres and SQLite
https://www.sea-ql.org
Other
1.18k stars 195 forks source link

sea-query-derive 0.3.1 backward incompatible with 0.3.0 #657

Closed glebpom closed 1 year ago

glebpom commented 1 year ago

Description

cargo update when using sea-query 0.28.0 leads to compilation errors:

error[E0412]: cannot find type `Quote` in crate `sea_query`
   --> src/domains/tables_metadata/repos/relations.rs:213:10
    |
213 | #[derive(sea_query::Iden)]
    |          ^^^^^^^^^^^^^^^ not found in `sea_query`

This get fixed when fixing version like this

sea-query-derive = "=0.3.0"

Steps to Reproduce

  1. add sea-query ="0.28.0" to Cargo.toml
  2. run cargo check

Expected Behavior

It compiles

Actual Behavior

It failed to compile

Reproduces How Often

always

Versions

0.28.0

Additional Information

tyt2y3 commented 1 year ago

Thanks for letting us know. Yes this is a mistake. sea-query-derive 0.3.1 was yanked now.