Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Remove deprecated methods #551

Merged
merged 2 commits into from
Dec 15, 2022

Conversation

ikrivosheev
Copy link
Member

Breaking Changes

  • Removed Expr::tbl, Expr::greater_than, Expr::greater_or_equal, Expr::less_than, Expr::less_or_equal, Expr::into_simple_expr,
  • Removed SimpleExpr::equals and SimpleExpr::not_equals
  • Removed InsertStatement::exprs, InsertStatement::exprs_panic
  • Removed OnConflict::update_value, OnConflict::update_values, OnConflict::update_expr, OnConflict::update_exprs
  • Removed UpdateStatement::exprs, UpdateStatement::col_expr, UpdateStatement::value_expr

@ikrivosheev ikrivosheev self-assigned this Dec 14, 2022
@@ -431,7 +431,7 @@ assert_eq!(

```rust
let query = Query::select()
.expr(Func::sum(Expr::tbl(Char::Table, Char::SizeH)))
.expr(Func::sum(Expr::col((Char::Table, Char::SizeH))))
Copy link
Member

@billy1624 billy1624 Dec 15, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should go directly into the master branch. Let me update it now. 34169ed & 4bc13ad

@@ -456,7 +456,7 @@
//! ```rust
//! # use sea_query::{*, tests_cfg::*};
//! let query = Query::select()
//! .expr(Func::sum(Expr::tbl(Char::Table, Char::SizeH)))
//! .expr(Func::sum(Expr::col((Char::Table, Char::SizeH))))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here :D

Copy link
Member

@billy1624 billy1624 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM Thanks!! @ikrivosheev

Note to merge master: this should goes into the 0.29.0 release

@ikrivosheev
Copy link
Member Author

@billy1624 hello! I did:

  1. new branch 0.28.x
  2. prepared release 0.29.0

@ikrivosheev ikrivosheev merged commit 170c8e9 into SeaQL:master Dec 15, 2022
@ikrivosheev ikrivosheev deleted the remove_deprecated branch December 15, 2022 08:31
@billy1624
Copy link
Member

Got it! Thanks! @ikrivosheev

@github-actions
Copy link

🎉 Released In 0.29.0 🎉

Your participation is what makes us unique; your adoption is what drives us forward.
Thank you all in the Rust community for making SeaQL what it is today. 🦀
You are also invited to shape it's future! Please star our repos, every ⭐ counts!

@github-actions
Copy link

🎉 Released In 0.29.1 🎉

Thank you everyone for the contribution!
This feature is now available in the latest release. Now is a good time to upgrade!
Your participation is what makes us unique; your adoption is what drives us forward.
You can support SeaQL 🌊 by starring our repos, sharing our libraries and becoming a sponsor ⭐.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants