cargo / rusqlite
rusqlite
What changed in rusqlite 0.41 to 0.42, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-12.
6 breaking3 security7 new APIs and options1 performance6 behavior and defaults11 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initrusqlite 0.429 changes
Security 2
Fixes a use-after-free in Session::apply.
Fixes a use-after-free in Session::apply_strm.
New APIs and options 3
Introduces RawValue.
Adds a binding to sqlite3_key_v2.
Adds a binding to sqlite3_rekey_v2.
Performance 1
Tells SQLite that rarray is already ordered by rowid.
Behavior and default changes 1
Bundled SQLCipher is enabled for the wasm32-unknown-unknown target.
Fixes and other changes 2
Fixes a memory leak when registering a collation or function with an invalid name.
Fixes set_clientdata behavior on out-of-memory errors.
rusqlite 0.4125 changes
Breaking changes 6
Adds a Send bound to create_aggregate_function.
Lowers the minimum supported Rust version to 1.88.0.
Raises the minimum SQLite version to 3.45.3.
Now returns an Iterator.
Now returns an Iterator.
Now returns an Iterator.
Security 1
Fixes a use-after-free reachable from safe code in trace_v2, busy_handler, and related APIs.
New APIs and options 4
Introduces DEFAULT_NAME.
Exposes sqlite3_file_control.
Adds sqlite3_set_clientdata and sqlite3_get_clientdata.
Adds Values::get_subtype to read SQLite value subtypes in virtual-table callbacks.
Behavior and default changes 5
Removes the check of the PRAGMA name when using SQLCipher.
Updates bundled SQLCipher to version 4.17.0.
Reruns the bundled SQLCipher build when OPENSSL_* environment variables change.
The bundled build no longer enables SQLITE_ENABLE_MEMORY_MANAGEMENT.
Uses u64 for zeroblob.
Fixes and other changes 9
Fixes a panic when a deterministic scalar function has zero arguments.
Fixes a discrepancy between backup and restore.
Updates the bundled SQLite version to 3.54.0.
Fixes Connection::serialize.
Adds a Send bound to create_window_function.
Fixes a possible memory leak on error.
PRAGMA names are checked against pragma_list for validity.
Fixes UtcDateTime.
Fixes virtual table set_result.