All Versions
52
Latest Version
Avg Release Cycle
81 days
Latest Release
725 days ago

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 expose ToSql from top level #471
    • ๐Ÿ’ฅ BREAKING CHANGE: Do not panic by default #485
      Replace Row::get by Row::get_checked,
      And rename original Row::get to Row::get_unwrap.
      Stmt::query_map, Stmt::query_map_named, Stmt::query_row,
      Conn::query_row and Conn::query_row_named callback parameter must return a Result.
    • ๐Ÿ’ฅ BREAKING CHANGE: Make Rows implement FallibleStreamingIterator #478
      Rows::next returns Result<Option<&Row<'_>>> instead of Option<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 for Error #416
    • ๐Ÿ‘‰ Make get_aux safe by storing the TypeId with the data.
    • Introduce Connection::from_handle #453
    • Support for sqlite3_db_config #468
    • ๐Ÿ‘‰ Make the libsqlite3_sys as ffi export pub #469
    • Derive Debug for Transaction #470
    • โฌ†๏ธ Upgrade bundled version to SQLite 3.27.2
    • ๐Ÿ’ฅ BREAKING CHANGE: Session extension
    • โช Restore old bindgen for Diesel
    • โฌ†๏ธ Upgrade to bindgen 0.48
  • 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 and i128 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 require bundled #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 for time::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 Sendable and 'static.
    • ๐Ÿ›  Bugfix: Commit failure unhandled, database left in unusable state (#366).
    • Bugfix: free_boxed_hook does not work for fn.
    • โšก๏ธ 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 and sqlite3_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 in Transaction.
    • Fix tyvar_behind_raw_pointer warnings.
    • ๐Ÿ›  Fix handful of clippy warnings.
    • ๐Ÿ›  Fix Connection::open documentation (#332)
    • Add binding to sqlite3_get_autocommit and sqlite3_stmt_busy.
    • Add binding to sqlite3_busy_timeout and sqlite3_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.
  • 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 for str and [u8].
  • v0.11.0 Changes

    May 29, 2017
    • Avoid publicly exporting SQLite constants multiple times from libsqlite3-sys.
    • โž• Adds FromSql and ToSql impls for isize. Documents why usize and u64 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.
  • v0.10.0 Changes

    February 28, 2017
    • Re-export the ErrorCode enum from libsqlite3-sys.
    • โž• Adds version() and version_number() functions for querying the version of SQLite in use.
    • โž• Adds the limits feature, exposing limit() and set_limit() methods on Connection.
    • โšก๏ธ 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 using std::os::raw