New Features
- Add support for
VALUESlists (#351) - Introduce
sea-query-binder(#275) - Convert from
IpNetworkandMacAddresstoValue(#364)
Enhancements
- Move
escapeandunescapestring to backend (#306) LIKE ESCAPEsupport (#352, #353)clear_order_byforOrderedStatement- Add method to make a column nullable (#365)
- Add
is&is_notto Expr (#348) - Add
CURRENT_TIMESTAMPfunction (#349) - Add
in_tuplesmethod to Expr (#345)
Upgrades
- Upgrade
uuidto 1.0 - Upgrade
timeto 0.3 - Upgrade
ipnetworkto 0.19 - Upgrade
bigdecimalto 0.3 - Upgrade
sqlxdriver to 0.6
Breaking changes
- As part of #306, the standalone functions
escape_stringandunescape_stringare removed, and becomes backend specific. So now, you have to:
use sea_query::EscapeBuilder;
let string: String = MySqlQueryBuilder.escape_string(r#" "abc" "#);
let string: String = MysqlQueryBuilder.unescape_string(r#" \"abc\" "#);-
Replace
Value::Ipv4NetworkandValue::Ipv6NetworktoValue::IpNetwork(#364) -
Remove some redundant feature flags
postgres-chrono,postgres-json,postgres-uuid,postgres-time. Use thewith-*equivalence