Skip to content

Releases: diesel-rs/diesel

Diesel 2.2.12

11 Jul 12:28
v2.2.12
1073cea
Compare
Choose a tag to compare

Fixed

  • Added support for libsqlite3-sys 0.35.0
  • Fixed a wrong oid for the oid[] type in the PostgreSQL backend
  • Worked around an issue with broken nullable detection with certain versions of libmysqlclient shipped by ubuntu
  • Improved compiler errors in many more cases

You can support the development of Diesel by contributions or by sponsoring the project on GitHub

Call for Input

We are looking for input on a newly designed derive to make constructing queries easier. See here for details.

Full Changelog: v2.2.11...v2.2.12

Diesel 2.2.11

18 Jun 15:18
v2.2.11
99ed295
Compare
Choose a tag to compare

What's Changed

  • Disallow mixing aggregate and non-aggregate expressions in DISTINCT ON clauses
  • Fixed an item referenced by a non-absolute path in #[derive(MultiConnection)]
  • Improved compiler errors in some cases
  • Improved the documentation for creating SqliteConnections for concurrent applications

You can support the development of Diesel by contributions or by sponsoring the project on Github

Full Changelog: v2.2.10...v2.2.11

Diesel 2.2.10

25 Apr 06:43
v2.2.10
2a6752b
Compare
Choose a tag to compare

Fixed

  • Support for libsqlite3-sys 0.33.0
  • Fixed potential ambiguities in code generated by various derives

You can support the development of diesel by contributions or by sponsoring the project on Github

Full Changelog: v2.2.9...v2.2.10

Diesel 2.2.9

04 Apr 11:29
v2.2.9
03295f8
Compare
Choose a tag to compare

Fixed

  • Fix an issue where diesel migration generate --diff-schema incorrectly uses the primary key of table B as the referenced column rather than the primary key of table A when B has a foreign key pointing to table A.
  • Bump maximal supported libsqlite3-sys version to 0.32.0 and add explicit feature entries for the uuid and serde_json feature.
  • Fixed an issue where diesel generated unnamed prepared statements would fail with an unanmed prepared statement not found error with pgbouncer.
  • Fix an issue with converting ipnet::Ipnet values with an subnet to SQL values

You can support the development of diesel by contributions or by sponsoring the project on Github

Full Changelog: v2.2.8...v2.2.9

Diesel 2.2.8

03 Mar 17:47
Compare
Choose a tag to compare

Fixed

  • Allow #[diesel(check_for_backend(_))] to check fields with #[diesel(embed)] annotations
  • Improve custom compile error message around CompatibleType
  • Fix a bug that restricted the number of allowed columns in COPY FROM statements to 12
  • Expose some SqliteValue helper functions
  • Use consistent whitespace in ASC/DESC, DISTINCT ON, and DELETE FROM clauses

You can support the development of diesel by contributions or by sponsoring the project on Github

Full Changelog: v2.2.7...v2.2.8

Diesel 2.2.7

31 Jan 10:19
v2.2.7
55d90e0
Compare
Choose a tag to compare

Fixed

  • Fixed diesel thinking a.eq_any(b) was non-nullable even if a and b were nullable.
  • Generate InstrumentationEvent::BeginTransaction for immediate and exclusive transactions in SQLite
  • Minimize the amount of duplicated code generated for diesel::debug_query
  • Updated ipnetwork to allow version 0.21.
  • Updated libsqlite3-sys to allow version 0.31.0
  • Updated pq-sys to allow version 0.7.0
  • Add support for numeric operators (+-*/) in #[diesel::auto_type]
  • Add support for joins to sub-jons to aliases

You can support the development of diesel by contributions or by sponsoring the project on Github

Full Changelog: v2.2.6...v2.2.7

Diesel 2.2.6

03 Dec 18:15
v2.2.6
c089fd6
Compare
Choose a tag to compare

What's Changed

  • Remove more mentions of gitter from the documentation

Full Changelog: v2.2.5...v2.2.6

Diesel 2.2.5

21 Nov 10:33
v2.2.5
f89990e
Compare
Choose a tag to compare
  • Add a typedef for Returning and Count so that #[auto_type] works with such queries
  • Fixed an issue that allowed to pass non-boolean expressions to .and() and .or() which would
    result in queries failing at runtime
  • Officially deprecating the gitter room

You can support the development of diesel by contributions or by sponsoring the project on Github.

Full Changelog: v2.2.4...v2.2.5

Diesel 2.2.4

03 Sep 14:30
v2.2.4
291e66d
Compare
Choose a tag to compare

Fixed

  • Fix an issue where empty queries could trigger undefined behaviour in the sqlite backend

Diesel 2.2.3

23 Aug 08:25
v2.2.3
8fb5863
Compare
Choose a tag to compare
  • Support for libsqlite3-sys 0.30.0
  • Fixed a possible vulnerability in how Diesel handled protocol level bind parameters.
    See the SQL Injection isn't Dead: Smuggling Queries at Protocol Level presentation from DEF CON for details
  • Fixed an issue with a possibly ambiguous trait resolution in #[derive(QueryableByName)]

You can support the development of diesel by contributions or by sponsoring the project on Github.

Full Changelog: v2.2.2...v2.2.3