Skip to content

Releases: rusqlite/rusqlite

0.40.1

Choose a tag to compare

@gwenn gwenn released this 06 Jun 06:23
6d3c282

What's Changed

  • Fix clippy warnings #1852
  • Bump bundled SQLite version to 3.53.2 #1853
  • Bump hashlink version #1855
  • Fix SQL injection when SAVEPOINT name is tainted #1854

Full Changelog: v0.40.0...v0.40.1

0.40.0

Choose a tag to compare

@gwenn gwenn released this 26 May 04:30

What's Changed

  • Breaking changes: Replace VTab macros by constructors #1823
  • Breaking changes: Fix VTab::best_index #1824
  • Asserts on VTab::connect aux and args #1825
  • Breaking changes: Fix VTab::connect / create #1826
  • Breaking changes: Allow opting out of using sqlite-wasm-rs on wasm32-unknown-unknown #1828, #1829
  • Derive Default for SeriesTabCursor/ArrayTabCursor #1830
  • Update link to pre-update hook #1831
  • Breaking changes: Fix VTab::connect #1832
  • impl From for FromSqlError #1833
  • Breaking changes: Fix vtab::dequote #1835
  • Bump bundled SQLCipher to version 4.14.0 #1837
  • sqlite3_set_errmsg #1752
  • Bump sqlite3-parser version #1838
  • Fix UB in ToSqlOutput::from_rc #1839
  • Ensure miri doesn't complain #1840
  • Bump to actions/checkout@v6 #1842
  • Add support to UtcDateTime #1843, #1844
  • Bump bundled SQLite version to 3.53.1 #1848
  • Replace some cfg(not by cfg_select #1850

Full Changelog: v0.39.0...v0.40.0

0.39.0

Choose a tag to compare

@gwenn gwenn released this 15 Mar 10:36
2a1790a

What's Changed

  • Fix constraints on VTab Aux data #1778, #1771
  • Fix docs.rs generation #1779
  • Fix a small typo in rollback_hook docstring #1780
  • Fix some warnings from Intellij #1781
  • Minimal doc for features #1783
  • Clear hooks only for owning connections #1785, #1784
  • Fix link to SQLite C Interface, Prepare Flags #1787
  • Comment functions which are not usable from a loadable extension #1789
  • Factorize code #1792
  • Update getrandom to 0.4 #1798
  • Update Cargo.toml #1800
  • Fix appveyor #1807
  • Add support to unix timestamp for chrono, jiff and time #1808, #1803
  • fix(trace): check that the sql string pointer is not NULL #1805
  • Bump bundled SQLite version to 3.51.3 #1818
  • Use TryFrom for Value #1819, #1817
  • Make possible to pass your own pointers #1626, #1602

Full Changelog: v0.38.0...v0.39.0

0.38.0

Choose a tag to compare

@gwenn gwenn released this 20 Dec 09:04
35b3be2

What's Changed

  • bump sqlcipher to 4.10.0 (sqlite 3.50.4) #1725
  • Use CARGO_CFG_TARGET_FEATURE for crt-static check #1737
  • Disable u64, usize ToSql/FromSql impl by default #1732, ##1722 (breaking change)
  • Make statement cache optional #1682, #1173 (breaking change)
  • Remove shell scripts from the published package #1744
  • Use new interfaces with 64-bit length parameters #1749
  • sqlite3_vtab_rhs_value #1753
  • Handle VTab IN values #1754
  • Give access to Connection from VTabCursor::column #1755
  • Bump minimal SQLite version to 3.34.1 #1733, #1731 (breaking change)
  • Bump bundled SQLite version to 3.51.1 #1758
  • Add support for transaction to the vtab module #1761
  • Check Connection is owned when registering Closure as hook #1764 (breaking change)
  • Turn libsqlite3-sys in a !#[no_std] crate #1767
  • Add wasm32-unknown-unknown support #1769, #488, #827
  • Remove useless Send/Sync on Module #1774

Full Changelog: v0.37.0...v0.38.0

0.37.0

Choose a tag to compare

@gwenn gwenn released this 06 Jul 06:57
44e0ef9

What's Changed

  • Add FromSqlError::other convenience conversion #1703
  • Fix warnings #1705
  • Update bindgen requirement from 0.71 to 0.72 #1707
  • Fix for vtab::parameter parsing #1712
  • Fix clippy warning #1713
  • Bump bundled SQLite version to 3.50.2 #1714
  • Fix issue with prettyplease #1717

Full Changelog: v0.36.0...v0.37.0

0.36.0

Choose a tag to compare

@gwenn gwenn released this 26 May 08:55
8ae9407

What's Changed

  • Introduce Name trait to support both &str and &CStr as name #1659
  • Use doc_auto_cfg #1683
  • Feature loadable_extension is incompatible with some other features #1686
  • Add missing wrappers for sqlite3_vtab_nochange and sqlite3_value_nochange #1688
  • Update bindings list #1689
  • Homogenize code related to hooks #1690
  • Try to increase code coverage #1610
  • Bump bundled SQLite version to 3.49.2 #1691
  • Add bindings to sqlite3_table_column_metadata #1692
  • Add bindings to sqlite3_vtab_distinct #1695
  • Fix clippy warning #1697
  • Add query_one #1699
  • Refactor one_column test method #1700

Full Changelog: v0.35.0...v0.36.0

0.35.0

Choose a tag to compare

@gwenn gwenn released this 19 Apr 14:48
14f0eda

What's Changed

  • Document 'rusqlite-macros' and 'jiff' features #1663
  • access column metadata from prepared statement #1672 / #1666
  • add support for Jiff's Timestamp #1676
  • Breaking change: Check that Connection::execute has no tail #1679 / #397
  • Breaking change: Check for multiple statements in prepare #1680 / #1147

Full Changelog: v0.34.0...v0.35.0

0.34.0

Choose a tag to compare

@gwenn gwenn released this 05 Mar 17:35
8c4e7d1

What's Changed

  • Find the system library with minimum version 3.14.0 #1628
  • Update error type for ValueRef methods #1629
  • Use decrement_strong_count directly for Array #1633
  • Dedup free_boxed_value #1635
  • Bump jiff version #1645
  • Deserialize impls #1646
  • Introduce BindIndex trait #1649
  • Use BindIndex in bind_parameters_named #1651
  • Improve flexibility of named params #1652
  • Use std::ffi instead of std::os::raw #1653
  • Bump bundled SQLite version to 3.49.1 #1654
  • update LICENSE #1655

Full Changelog: v0.33.0...v0.34.0

0.33.0

Choose a tag to compare

@gwenn gwenn released this 19 Jan 14:03
9460849

What's Changed

  • Remove lazy_static dependency #1550
  • Add support to jiff Date / DateTime / Time #1551
  • Correcting inconsistent parameter name (:value/:val) in doctest example #1555
  • Repairing description comment of params! macro #1557
  • Try to improve test coverage by using --all #1491
  • impl FromSql for various heap-allocated string and blob slices #1558
  • Document an alternative way to backup #1562
  • Use #[expect(lint)] where possible #1563
  • chore: update sqlcipher → 4.6.1 (SQLite 3.46.1) #1566
  • Remove leftover sentence beginning #1571
  • Improve loadable extension docs #1529
  • Fixed pre-release wasm32-wasip(\d) targets not enabling wasi compile flags in bundled mode. #1569
  • MSRV #1576
  • Fix Batch impl #1583
  • Test invalid batch #1584
  • Mark bindgen-bindings files as generated #1585
  • Add 'serialize' feature to 'modern-full' #1586
  • Change FnMut to Fn in create_scalar_function #1387
  • Add safe binding to sqlite3_wal_hook #1594
  • Use C string literal for database name #1596
  • Make possible to checkpoint a database from wal_hook #1595
  • Add bindings to sqlite3_trace_v2 #1597
  • OwningRows / OwningStatement examples #1462
  • Use sqlite3_errstr #1606
  • Check if specified arg is out-of-range for auxiliary data #1607
  • Remove release_memory feature #1608
  • Check limit #1609
  • Introduce err macro #1611
  • Update bindgen requirement from 0.70 to 0.71 #1612
  • Bump hashlink version to 0.10 #1616
  • Activate generate_cstr bindgen option #1620
  • Bump bundled SQLite version to 3.48.0 #1623

Full Changelog: v0.32.1...v0.33.0

0.32.1

Choose a tag to compare

@gwenn gwenn released this 26 Jul 17:11
499cc7b

What's Changed

  • Fix clippy warnings #1542
  • Prevent interrupt from non-owned connection #1548
  • Test direct-minimal-versions #1549

Full Changelog: v0.32.0...v0.32.1