Releases: rusqlite/rusqlite
0.31.0
What's Changed
- Check sqlite3_reset result #1419
- Improve wasm32-wasi support #1332
- test_from_handle fails to build on systems with unsigned c_char #1420
- Fix features required by loadable_extension example #1426
- Fix bind macro #1427
- Fix uninlined_format_args #1428
- Remove modern_sqlite and vtab from CI in loadable ext #1429
- Add
#[derive(Clone, Copy...
on all bitflags #1396 - Use DLL_PREFIX / DLL_SUFFIX #1431
- Add missing doc for new features #1434
- Upgrade to hashlink 0.9 #1435
- Drop winsqlite3 feature #1433
- Expose the include directory of the bundled sqlite version #1441
- Bump bundled SQLite version to 3.45.1 #1445
- Fix a few typos #1446
- Make possible to specify subtype of SQL function #1160
Full Changelog: v0.30.0...v0.31.0
libsqlite3-sys 0.28.0
0.30.0
What's Changed
- Fix sqlite3_auto_extension xEntryPoint signature #1310
- Use track_caller for panicking methods #1314
- Force linking against system sqlite libs #1317
- fix compilation for target wasm32-wasi #1321
- Add SQLITE_MAX_COLUMN compile-time option #1324
- Upgrade http links to https in Cargo.toml #1330
- Update fallible-iterator requirement from 0.2 to 0.3 #1334
- Implement FromSql & ToSql for std::num::NonZero types #1313
- Add new constants introduced by SQLite 3.42.0 #1336
- Use SQLITE_PREPARE_PERSISTENT for CachedStatement #1339
- Fix type of SQLITE_DESERIALIZE_, SQLITE_PREPARE_, SQLITE_SERIALIZE_* #1340
- Introduce to_sqlite_error #1345
- remove depth from Savepoint #1327
- Savepoint Drop bug #1347
- [breaking change] Update edition from 2018 to 2021 #1267
- Remove msrv for clippy by #1351
- Tweak bindgen #1352, #1353
- Inline constraint_error_code #1359
- Simplify bindgen generation #1360
- Fixes generate_series to handle NULL arguments #1357
- Factorize code in build.rs #1361
- Serialize and deserialize database #1341
- Spelling and a few more nits #1373
- Implement support for more
time
types #1374 - Fix visibility of TransactionState #1384
- Column is used only with column_decltype feature #1385
- Use proper var names in trait definition #1398
- Fix clippy warning: arc_with_non_send_sync - interrupt_lock #1400
- Captured identifiers in SQL strings #1346
- Add new constants introduced by SQLite 3.43.0 #1405
- Make WindowAggregate::value pass mutable value ref #1395
- Bump bundled SQLite version to 3.44.0 #1409
- Bump bindgen version to 0.69 #1410
- Loadable extension #1362
New Contributors
- @icp1994 made their first contribution in #1317
- @wasm-forge made their first contribution in #1321
- @nopjia made their first contribution in #1324
- @Benjins-automation made their first contribution in #1330
- @itsxaos made their first contribution in #1313
- @Taywee made their first contribution in #1327
- @davidselassie made their first contribution in #1357
- @nyurik made their first contribution in #1373
- @nydrani made their first contribution in #1374
Full Changelog: v0.29.0...v0.30.0
0.29.0
What's Changed
- Drop bindgen layout tests by @dkg in #1213 (#722)
- bump sqlcipher to 4.5.2 by @heavenboy8 in #1212
- [Breaking change] Change default minimal SQLite API version by @gwenn in #1221 (#1216)
- Fix potential unsoundness in
SqliteMallocString
by @thomcc in #1228 - Impl Debug for Row by @gwenn in #1238 (#572)
- [Breaking change] Remove Connection path field by @gwenn in #1248
- [Breaking change] Fix FromSql/ToSql for serde_json::Value by @gwenn in #1252 (#882)
- Add Statement::clear_bindings by @gwenn in #1268 (#1266)
- Introduce Connection::from_handle_owned by @psarna in #1263
- Use
grcov
for code coverage by @thomcc in #1274 - Linkage issue in windows by @ssrlive in #1271
- No longer panic if we fail to close the connection when dropping it. by @mhammond in #1293 (#1292)
- [Breaking change] Remove deprecated API by @gwenn in #1250
- Update bitflags requirement from 1.2 to 2.0 by @dependabot in #1301
- Add Statement.readonly() accessor by @jgraettinger in #1304
- Bump bundled SQLite3 to version 3.41.2 by @gwenn in #1306
- [Breaking change] Use ParseCallbacks::item_name to fix sqlite3_index_info_* types #1309
New Contributors
- @dkg made their first contribution in #1213
- @heavenboy8 made their first contribution in #1212
- @psarna made their first contribution in #1263
- @ssrlive made their first contribution in #1271
- @mhammond made their first contribution in #1293
- @dependabot made their first contribution in #1301
- @jgraettinger made their first contribution in #1304
Full Changelog: v0.28.0...v0.29.0
libsqlite3-sys 0.25.2
Bumped bundled version of SQLcipher to 4.5.2, equivalent to SQLite 3.39.2, which contains a fix for CVE-2022-35737.
Note that the bundled SQLite already contained this fix, in 0.25.1. (If you do not use the bundled-sqlcipher
feature, you do not need this change).
libsqlite3-sys 0.25.1
Bumped bundled version of SQLite to 3.39.2. See official release notes for further information: https://www.sqlite.org/releaselog/3_39_2.html.
0.28.0
What's Changed
- Update bundled SQLcipher to v4.5.1 (equivalent to SQLite 3.37.2) #1131
- Implement
Params
for tuples, improve documentation some. #1133 - Force use of buildtime_bindgen under winsqlite3 for now #1135
- Add some missing wrappers #1139
- Upgrade SQLite bundled version to 3.39.0 #1200
- Disable winsqlite3 on 32 bit targets #1151
- Fix non-bundled tests against macOS system SQLite #1153
- Expose
sqlite3_changes
(orsqlite3_changes64
if available) #1152 - Improve the docs for opening the connection a bit #1155
- Small doc grammar fix #1156
- Add support to updatable virtual tables #1141
- Add
Error
methods to get SQLite error values by #1158 - Add
Connection::release_memory
method #1164 - derive
Eq
forType
#1165 - Upgrade uuid dependency #1167
- Params for 28-length arrays #1169
- Introduce SqlInputError with offset #1137
- Derive
Debug
forSavepoint
#1179 - document winsqlite3 #1109
- Fix typo in libsqlite flags variable #1115
- Upgrade bindgen to version 0.60 #1196
Full Changelog: v0.27.0...v0.28.0
libsqlite3-sys 0.24.1
This release contains an update to the bundled version of SQLcipher, and no other changes. The update moves it to SQLcipher v4.5.1, which is equivalent to SQLite 3.37.2. (The version of SQLcipher bundled previously was v4.5.0, equivalent to SQLite 3.36.0)
Note that this is still a version behind the copy of "plain" SQLite we pull in under features = ["bundled"]
, which is SQLite 3.38.0.
There is no corresponding rusqlite
release, as this will trickle out out over time, and Rusqlite itself does not care about the version change. That said, if you use rusqlite
, and absolutely must ensure you have this change, it should be sufficient to run cargo update
in the rusqlite-using workspace, which will update the version in your Cargo.lock file. You may instead add a direct dependency on libsqlite3-sys = "0.24.1"
to your Cargo.toml, in case relying on Cargo.lock for this is undesirable.
0.27.0
What's Changed
- Fix documentation typo for
rollback_hook
#1051 - Remove
lazy_static
dependency forvtab
#1063 - Sync
series
with official source by #1064 - Enable
modern-full
feature for docs.rs #1066 - Fix markdown rendering of
Connection::transaction
doc #1067 - Add
ToSql
/FromSql
for[u8; N]
#1069 - Upgrade bundled SQLCipher to 4.5.0 #1073
- Clean up
unlock_notify
code a bit #1077 - Use caching in our CI #1078
- Enable
buildtime_bindgen
tests on windows CI #1090 - Replace Gitter with Discord #1079, #1091
- Use stable rust for doc checking in CI #1092
- Exclude some configuration files from package #1093
- Remove the SQLite version check #1094
- Move
Limits
enum fromlibsqlite3-sys
intorusqlite
#1096 - Uncomment
config::DbConfig::SQLITE_DBCONFIG_RESET_DATABASE
#1113 - Upgrade SQLite bundled version to 3.38.0 #1124, #1127
Full Changelog: v0.26.3...v0.27.0
libsqlite3-sys 0.9.4
Backport fix on SQLITE_STATIC
Full Changelog: 0.14.0...sys0.9.4