rusqlite v0.22.0 Release Notes
Release Date: 2020-04-08 // about 4 years ago-
- โ Add ability to open sqlite connection with specified vfs (#630)
- ๐ Fix i32 overflow in
Connection::busy_timeout
(#604) - Separate the
modern_sqlite
andbundled
features. (#613) - โ Add
FromSql
forBox<str>
,Rc<str>
andArc<str>
- ๐ Fix params macro (#614)
- ๐ Fix error while executing ALTER statement (#645)
- Ignore PATH change (#435)
- โ Add playground metadata for
rusqlite
, hopefully fixing it (#647) - Don't perform threading mode checks on wasm32 (#640)
- โฌ๏ธ Upgraded the bundled SQLite version to 3.31.0. (#619)
- โ Add support to function flags (#622)
- โ Add missing
IndexConstraintOp
entries (#623) - โ Add missing error codes (#624)
- โ Add missing constants (#629)
- Introduce
alloc
to generate C string allocated by sqlite3 (#644) - ๐
rusqlite
now exposes thebundled-windows
feature, forwarding tolibsqlite3-sys
. (#682) rusqlite::Result<T>
is now defined astype Result<T, E = rusqlite::Error>
. This avoids needing to accessstd::result::Result
explicitly whenrusqlite::Result
is brought into scope. (#678)Rows
now supportmapped
andand_then
functions which return Iterators. This is useful if you cannot usequery_map
orquery_and_then
for some reason. (#676)- A new error variant was added for using the wrong number of bound parameters. Previously this caused a panic (#675).
- ๐ Many rusqlite enums have been made
#[non_exhaustive]
for better extensibility. (#673) - Various low-level
Statement
apis have been added to allow separating parameter binding and statement execution. (#668) - ToSql is implemented for various smart pointers (Box, Cow, Rc, Arc) in more cases. (#660)
bundled-full
feature now exists to enable bothbundled
and other features which do not conflict. It is mainly intended to improve developer ergonomics for working on rusqlite (#687)- ๐ The features
vtab_v3
andunstable
are removed. The former is no longer necessary and the latter was only used for#[bench]
. (#687) - 0๏ธโฃ
rusqlite::Error
now implementsstd::error::Error::source
instead of onlystd::error::Error::cause
. Use ofcause
will still work, as it goes throughsource
by default. (#683)