Diesel

Frameworks & LibrariesApache-2.0

ORM and query builder for Rust.

Latest v2.3.14 · by DieselWritten in RustWebsitediesel-rs/dieselRSS

Release activity

Release activity — 10 releases across 10 days since Dec 19, 2025. Each cell is one day; darker means more releases that day. Nothing is recorded before Dec 19, 2025. Older weeks are hidden at this screen width.
AugSepOctNov
SundayNo releases on Jul 19, 2026No releases on Jul 26, 2026No releases on Aug 2, 2026No releases on Aug 9, 2026No releases on Aug 16, 2026No releases on Aug 23, 2026No releases on Aug 30, 2026No releases on Sep 6, 2026No releases on Sep 13, 2026No releases on Sep 20, 2026No releases on Sep 27, 2026No releases on Oct 4, 2026No releases on Oct 11, 2026No releases on Oct 18, 2026No releases on Oct 25, 2026No releases on Nov 1, 2026
MondayNo releases on Jul 20, 2026No releases on Jul 27, 2026No releases on Aug 3, 2026No releases on Aug 10, 2026No releases on Aug 17, 2026No releases on Aug 24, 2026No releases on Aug 31, 2026No releases on Sep 7, 2026No releases on Sep 14, 2026No releases on Sep 21, 2026No releases on Sep 28, 2026No releases on Oct 5, 2026No releases on Oct 12, 2026No releases on Oct 19, 2026No releases on Oct 26, 2026No releases on Nov 2, 2026
TuesdayNo releases on Jul 21, 2026No releases on Jul 28, 2026No releases on Aug 4, 2026No releases on Aug 11, 2026No releases on Aug 18, 2026No releases on Aug 25, 2026No releases on Sep 1, 2026No releases on Sep 8, 2026No releases on Sep 15, 2026No releases on Sep 22, 2026No releases on Sep 29, 2026No releases on Oct 6, 2026No releases on Oct 13, 2026No releases on Oct 20, 2026No releases on Oct 27, 2026No releases on Nov 3, 2026
WednesdayNo releases on Jul 22, 2026No releases on Jul 29, 2026No releases on Aug 5, 2026No releases on Aug 12, 2026No releases on Aug 19, 2026No releases on Aug 26, 2026No releases on Sep 2, 2026No releases on Sep 9, 2026No releases on Sep 16, 2026No releases on Sep 23, 2026No releases on Sep 30, 20261 release on Oct 7, 2026No releases on Oct 14, 2026No releases on Oct 21, 2026No releases on Oct 28, 2026No releases on Nov 4, 2026
ThursdayNo releases on Jul 23, 2026No releases on Jul 30, 2026No releases on Aug 6, 2026No releases on Aug 13, 2026No releases on Aug 20, 2026No releases on Aug 27, 2026No releases on Sep 3, 2026No releases on Sep 10, 2026No releases on Sep 17, 2026No releases on Sep 24, 2026No releases on Oct 1, 2026No releases on Oct 8, 2026No releases on Oct 15, 2026No releases on Oct 22, 2026No releases on Oct 29, 2026No releases on Nov 5, 2026
FridayNo releases on Jul 24, 2026No releases on Jul 31, 20261 release on Aug 7, 2026No releases on Aug 14, 2026No releases on Aug 21, 2026No releases on Aug 28, 20261 release on Sep 4, 2026No releases on Sep 11, 2026No releases on Sep 18, 2026No releases on Sep 25, 2026No releases on Oct 2, 2026No releases on Oct 9, 2026No releases on Oct 16, 2026No releases on Oct 23, 2026No releases on Oct 30, 2026No releases on Nov 6, 2026
SaturdayNo releases on Jul 25, 2026No releases on Aug 1, 2026No releases on Aug 8, 2026No releases on Aug 15, 2026No releases on Aug 22, 2026No releases on Aug 29, 2026No releases on Sep 5, 2026No releases on Sep 12, 2026No releases on Sep 19, 2026No releases on Sep 26, 2026No releases on Oct 3, 2026No releases on Oct 10, 2026No releases on Oct 17, 2026No releases on Oct 24, 2026No releases on Oct 31, 2026

10 releases since Dec 19, 2025

Changelog

v2.3.14Latest

Diesel 2.3.14

Added 1
  • Add support for sqlite-wasm-rs 0.6
Changed 1
  • Workaround a potential future breaking change in Rust
Fixed 3
  • Fixed a failed top-level COMMIT, such as a deferred foreign key violation on SQLite, leaving the transaction open
  • Fixed embed_migrations! making the crate hash depend on the directory the crate is built in, which broke reproducible builds
  • Correctly implement Error::source for error types

From Diesel

Fixes
  • Add support for sqlite-wasm-rs 0.6
  • Fixed a failed top-level COMMIT, such as a deferred foreign key violation on SQLite, leaving the transaction open
  • Fixed embed_migrations! making the crate hash depend on the directory the crate is built in, which broke reproducible builds
  • Correctly implement Error::source for our error types
  • Workaround a potential future breaking change in rust

See here for the full changes: Full Changelog: https://github.com/diesel-rs/diesel/compare/v2.3.13...v2.3.14

You can support the development of Diesel by:

  • Contributing Code, Documentation or Guides. Checkout the planing for Diesel 2.4 for open tasks.
  • Providing knowledge and help to maintain the MySQL/MariaDB backend. This is currently the only in-tree backend that is not used by any maintainers, so having someone around that actually uses this backend would be very helpful for the Diesel project.
  • Answering questions in our discussion forum
  • Reporting bugs in our issue tracker
  • Helping triaging issues in our issue tracker
  • Sponsoring the maintainers.
View originalPermalink
How v2.3.14 went
v2.3.13

Diesel 2.3.13

Changed 1
  • SQLite value reads panic instead of creating invalid slices or returning incorrect data when SQLite allocation fails, and row iteration reports a failed value duplication as an error instead
Fixed 10
  • Fixed interaction between `then_order_by` and `distinct_on` to reject otherwise broken SQL queries
  • Fixed a `clippy::redundant_field_names` lint warning generated by `#[derive(QueryableByName)]`
  • MySQL and MariaDB now decode a value according to the signedness the server reports for its column, so a `SMALLINT UNSIGNED` holding 40000 read as `Integer` returns 40000 rather than -25536
  • Fixed a potential stack overflow on deeply nested JSONB values for the SQLite backend
  • Fixed a possible null pointer dereference in the custom SQLite aggregate function support when SQLite fails to allocate the aggregate state
  • Fixed undefined behavior in `SqliteConnection::serialize_database_to_buffer` when SQLite returns a null buffer for an empty deserialized database or an allocation failure
Deprecated 1
  • `SerializedDatabase::as_slice` is deprecated in favor of the new `SerializedDatabase::try_as_slice`, which reports the allocation failure as an error instead of panicking
Security 1
  • Fixed potential code injections in the generated schema.rs file caused by malicious database identifiers
View originalRead the notes
How v2.3.13 went
v2.3.12

Diesel 2.3.12

Added 1
  • Extended libsqlite3-sys support to include 0.38
Fixed 1
  • Fixed FromSql/ToSql for chrono::NaiveTime on MySQL dropping the fractional-seconds component of TIME values, so a TIME(N) column now round-trips its microseconds like DATETIME and TIMESTAMP already did
View originalRead the notes
How v2.3.12 went
v2.3.11

Diesel 2.3.11

Changed 1
  • Hardened usage of `SqliteConnection::deserialize_read_only_database()`
Fixed 2
  • Fixed several potential panics in PostgreSQL (de)serialization code
  • Fixed using `.load()` batch inserts and returning clauses on the SQLite backend
View originalRead the notes
How v2.3.11 went
v2.3.10

Diesel 2.3.10

Fixed 6
  • Fixed a wrong value of an internal MYSQL flag
  • Fixed several possible panics in the PostgreSQL deserialization code for malformed packages
  • Fixed an issue that caused unexpected results while calling custom aggregated SQL functions twice in the SQLite backend
  • Fixed a potential use after free bug in the SQLite backend while deserializing a database from a byte buffer
  • Fixed potential invalid schema generation if column or table names inject Rust code
  • Fixed a regression that resulted in rejecting valid combinations of ORDER BY and GROUP BY clauses
Security 1
  • Fixed potential SQL injections during schema introspection via diesel print-schema
View originalRead the notes
How v2.3.10 went
v2.3.9

Diesel 2.3.9

Fixed 3
  • Removed a dbg! statement from the Mysql backend that caused unwanted output
  • Fixed a regression in #[derive(AsChangeset)] introduced in 2.3.8 where structs with a type or const generic parameter referenced in a field type failed to compile with error[E0425]: cannot find type 'T' in this scope
  • The diagnostic helper functions used for AsChangeset error messages now forward all generic parameters of the input struct, not only lifetimes
View originalRead the notes
How v2.3.9 went
v2.3.8

Diesel 2.3.8

Added 3
  • Added support for libsqlite3-sys 0.37.0
  • Added documentation for migration transaction behaviour at the crate root
  • Allow to use generic types in infix_operator!()
Changed 1
  • Improved compile time error messages for #[derive(AsChangeset)]
Fixed 2
  • Raise a compile-time error when mixing aggregate and non-aggregate expressions in an ORDER BY clause without a GROUP BY clause
  • Calling .count() or .select(aggregate_expr) on a query that already has a non-aggregate .order_by() clause now raises a compile-time error instead of generating invalid SQL that would be rejected by the database at runtime
Security 8
  • Fixed unsound string construction in SqliteValue::read_text and FromSql<Text, Sqlite> for String
  • Fixed invalid alignment for over aligned data in SqliteConnection::register_function for aggregate functions
  • Fixed potential memory leaks in SqliteConnection::register_function
  • Fixed access to padding bytes while serializing Date/time types in the Mysql backend
  • Fixed SQL option injection in PostgreSQL COPY FROM/TO
  • Fixed unspecified pointer cast in Debug/Display implementation of batch INSERT statements for SQLite
  • Fixed invalid call order of SQLite API functions in SqliteValue::read_text, FromSql<Text, Sqlite> for String, SqliteValue::read_blob(), and FromSql<Binary, Sqlite> for Vec<u8>
  • Fixed potential unsound pointer access for FromSql<Binary, _> for Vec<u8> and FromSql<Text, _> for String in third party backends (requires changes to the third party backend as well)
View originalRead the notes
How v2.3.8 went
v2.3.7

Diesel 2.3.7

Fixed 2
  • Add support for libsqlite3-sys 0.36
  • Fix a potential resource leak if establishing a SqliteConnection fails
View originalRead the notes
How v2.3.7 went
v2.3.6

Diesel 2.3.6

Fixed 3
  • Added support for mysqlclient-sys 0.5.0
  • Fix generating valid schema if a column is named `table`
  • Fixed a regression with `#[derive(Insertable)]` if the same field type is used with different lifetime values
View originalRead the notes
How v2.3.6 went
v2.3.5

Diesel 2.3.5

Changed 3
  • Improve compile time error messages for `#[derive(Insertable)]`
  • Bump supported version of sqlite-wasm-rs to 0.5.0
  • Make the `returning_clauses_for_sqlite_3_35` feature enable the `sqlite` feature by default
Fixed 3
  • Fix another libmariadb related issue with time types
  • Minor documentation fixes
  • Include a fix for a nightly rust name resolution ambiguity
View originalRead the notes
How v2.3.5 went
View all

Discussion

If you publish Diesel, you can claim this product by proving you administer its repository.