All Versions
52
Latest Version
Avg Release Cycle
81 days
Latest Release
1570 days ago
Changelog History
Page 2
Changelog History
Page 2
-
v0.17.2
April 06, 2020 -
v0.17.0 Changes
March 10, 2019- ๐ฅ BREAKING CHANGE: Cannot insert heterogeneous elements with .execute #462
โ Add params/named_params macro, and exposeToSql
from top level #471 - ๐ฅ BREAKING CHANGE: Do not panic by default #485
ReplaceRow::get
byRow::get_checked
,
And rename originalRow::get
toRow::get_unwrap
.
Stmt::query_map
,Stmt::query_map_named
,Stmt::query_row
,
Conn::query_row
andConn::query_row_named
callback parameter must return aResult
. - ๐ฅ BREAKING CHANGE: Make
Rows
implementFallibleStreamingIterator
#478
Rows::next
returnsResult<Option<&Row<'_>>>
instead ofOption<Result<Row<...>>>
. - Avoid unnecessary copies/allocations when passing strings to sqlite #487
- Ease PRAGMA usage (#273 and #265) #476
- โ Add optional support for rust-url #491
- Impl
PartialEq
forError
#416 - ๐ Make
get_aux
safe by storing theTypeId
with the data. - Introduce
Connection::from_handle
#453 - Support for sqlite3_db_config #468
- ๐ Make the
libsqlite3_sys as ffi
exportpub
#469 - Derive
Debug
forTransaction
#470 - โฌ๏ธ Upgrade bundled version to SQLite 3.27.2
- ๐ฅ BREAKING CHANGE: Session extension
- โช Restore old bindgen for Diesel
- โฌ๏ธ Upgrade to bindgen 0.48
- ๐ฅ BREAKING CHANGE: Cannot insert heterogeneous elements with .execute #462
-
v0.16.0 Changes
December 16, 2018- โก๏ธ Update README example.
- ๐ Allow build time bindgen of bundled SQLite
- ๐ Fix Timespec FromSql implementations (#431)
- โ Add support for forcing cargo:rustc-link-lib to link as native
- ๐ฅ BREAKING CHANGE: Callbacks must not be able to unwind into sqlite code
- Introduce
OptionalExtension
- โฌ๏ธ Upgrade bundled version to SQLite 3.26.0
- ๐ฅ BREAKING CHANGE: remove deprecated stuff
- ๐ Fix compilation error with
functions
andi128
features - ๐ Fix test_interrupt #415
- Rust 2018
- โฌ๏ธ Upgrade to bindgen 0.45
-
v0.15.0 Changes
October 21, 2018- ๐ Allow getting a ValueRef out of Row and Context, fixes #259
- โ Remove version check when bundled
- โ Add a feature for storing i128 as blobs.
- โ Add a method of interrupting a query executing on a separate thread, fixes #407
- ๐ฅ BREAKING CHANGE: Take IntoIterator rather than
&[&ToSql]
(#312) - Impossible to execute a pragma in 0.14.0 #400
- ๐ฅ BREAKING CHANGE: Remove old bindgens
array
feature should not requirebundled
#384- โฌ๏ธ Upgrade SQLite bundled sources to 3.25.2
- โฌ๏ธ Upgrade to bindgen 0.42
-
v0.14.0 Changes
August 17, 2018- ๐ฅ BREAKING CHANGE:
ToSql
implementation fortime::Timespec
uses RFC 3339 (%Y-%m-%dT%H:%M:%S.%fZ).
Previous format was %Y-%m-%d %H:%M:%S:%f %Z. - ๐ฅ BREAKING CHANGE: Remove potentially conflicting impl of ToSqlOutput (#313).
- ๐ฅ BREAKING CHANGE: Replace column index/count type (i32) with usize.
- ๐ฅ BREAKING CHANGE: Replace parameter index/count type (i32) with usize.
- ๐ฅ BREAKING CHANGE: Replace row changes/count type (i32) with usize.
- ๐ฅ BREAKING CHANGE: Scalar functions must be
Send
able and'static
. - ๐ Bugfix: Commit failure unhandled, database left in unusable state (#366).
- Bugfix:
free_boxed_hook
does not work forfn
. - โก๏ธ Update the bundled SQLite version to 3.24.0 (#326).
- โ Add DropBehavior::Panic to enforce intentional commit or rollback.
- โก๏ธ Implement
sqlite3_update_hook
(#260, #328),sqlite3_commit_hook
andsqlite3_rollback_hook
. - โ Add support to unlock notification behind
unlock_notify
feature (#294, #331). - ๐ Make
Statement::column_index
case insensitive (#330). - โ Add comment to justify
&mut Connection
inTransaction
. - Fix
tyvar_behind_raw_pointer
warnings. - ๐ Fix handful of clippy warnings.
- ๐ Fix
Connection::open
documentation (#332) - Add binding to
sqlite3_get_autocommit
andsqlite3_stmt_busy
. - Add binding to
sqlite3_busy_timeout
andsqlite3_busy_handler
. - Add binding to
sqlite3_expanded_sql
. - ๐ Use
rerun-if-env-changed
in libsqlite3-sys (#329). - Return an
InvalidQuery
error when SQL is not read only.
- ๐ฅ BREAKING CHANGE:
-
v0.13.0 Changes
November 13, 2017- โ Added ToSqlConversionFailure case to Error enum.
- Now depends on chrono 0.4, bitflats 1.0, and (optionally) cc 1.0 / bindgen 0.31.
- The ToSql/FromSql implementations for time::Timespec now include and expect fractional seconds and timezone in the serialized string.
- The RowIndex type used in Row::get is now publicly exported.
- ๐ New
sqlcipher
feature allows linking against SQLCipher instead of SQLite. - ๐ Doc link in README now point to docs.rs.
-
v0.12.0 Changes
May 29, 2017- ๐ Defines HAVE_USLEEP when building with a bundled SQLite (#263).
- โก๏ธ Updates dependencies to their latest versions, particularly serde to 1.0.
- โ Adds support for vcpkg on Windows.
- โ Adds
ToSql
impls forstr
and[u8]
.
-
v0.11.0 Changes
May 29, 2017- Avoid publicly exporting SQLite constants multiple times from libsqlite3-sys.
- โ Adds
FromSql
andToSql
impls forisize
. Documents whyusize
andu64
are not included.
-
v0.10.1 Changes
March 03, 2017- โก๏ธ Updates the
bundled
SQLite version to 3.17.0. - ๐ Changes the build process to no longer require
bindgen
. This should improve build times and no longer require a new-ish Clang. See the README for more details.
- โก๏ธ Updates the
-
v0.10.0 Changes
February 28, 2017- Re-export the
ErrorCode
enum fromlibsqlite3-sys
. - โ Adds
version()
andversion_number()
functions for querying the version of SQLite in use. - โ Adds the
limits
feature, exposinglimit()
andset_limit()
methods onConnection
. - โก๏ธ Updates to
libsqlite3-sys
0.7.0, which runs rust-bindgen at build-time instead of assuming the precense of all expected SQLite constants and functions. - ๐ Clarifies supported SQLite versions. Running with SQLite older than 3.6.8 now panics, and some features will not compile unless a sufficiently-recent SQLite version is used. See the README for requirements of particular features.
- When running with SQLite 3.6.x, rusqlite attempts to perform SQLite initialization. If it fails,
rusqlite will panic since it cannot ensure the threading mode for SQLite. This check can by
skipped by calling the unsafe function
rusqlite::bypass_sqlite_initialization()
. This is technically a breaking change but is unlikely to affect anyone in practice, since prior to this version the check that rusqlite was using would cause a segfault if linked against a SQLite older than 3.7.0. - rusqlite now performs a one-time check (prior to the first connection attempt) that the runtime
SQLite version is at least as new as the SQLite version found at buildtime. This check can by
skipped by calling the unsafe function
rusqlite::bypass_sqlite_version_check()
. - โ Removes the
libc
dependency in favor of usingstd::os::raw
- Re-export the