0.26.0
New Features
- Add support for
VALUES
lists (#351) - Introduce
sea-query-binder
(#275) - Convert from
IpNetwork
andMacAddress
toValue
(#364)
Enhancements
- Move
escape
andunescape
string to backend (#306) LIKE ESCAPE
support (#352, #353)clear_order_by
forOrderedStatement
- Add method to make a column nullable (#365)
- Add
is
&is_not
to Expr (#348) - Add
CURRENT_TIMESTAMP
function (#349) - Add
in_tuples
method to Expr (#345)
Upgrades
- Upgrade
uuid
to 1.0 - Upgrade
time
to 0.3 - Upgrade
ipnetwork
to 0.19 - Upgrade
bigdecimal
to 0.3 - Upgrade
sqlx
driver to 0.6
Breaking changes
- As part of #306, the standalone functions
escape_string
andunescape_string
are 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::Ipv4Network
andValue::Ipv6Network
toValue::IpNetwork
(#364) -
Remove some redundant feature flags
postgres-chrono
,postgres-json
,postgres-uuid
,postgres-time
. Use thewith-*
equivalence