Skip to content

Tags: vgarleanu/diesel

Tags

v1.4.6

Toggle v1.4.6's commit message

Verified

This tag was signed with the committer’s verified signature.
weiznich Georg Semmler
Release diesel 1.4.6

* Fixed a use-after-free issue in the `QueryableByName` implementation
  of our `Sqlite` backend
* Updated several dependencies

v1.4.4

Toggle v1.4.4's commit message
Release diesel 1.4.4

    This release updates several public dependencies and fixes a minor
    issue with printing embeded migrations.

    The following dependencies where updated to newer versions:

    * `libsqlite3-sys` to allow versions up to 0.17.x
    * `uuid` to allow versions up to `0.8.x` (with the `uuidv7` feature)
    * `ipnetwork` to allow versions up to `0.16.x` (with the
    `network-address` or `extras` feature)

    Also release migration_macros 1.4.2 and migrations_internals 1.4.1

v1.4.3

Toggle v1.4.3's commit message
1.4.3

* Updated several dependencies
* Fixed an issue where the postgresql backend exploits implementation defined behaviour
* Fixed issue where rustdoc failed to build the documentation
* `diesel_derives` and `diesel_migrations` are updated to syn 1.0

v1.4.2

Toggle v1.4.2's commit message
Release v1.4.2

This is a minor bug fix release. Diesel now inserts parenthesis around
all mathematical operations, to preserve the order of operations given
by Rust, particularly if the user had used parenthesis. This means that
`(2.into_sql() + 3) * 4` will now generate SQL which evaluates to 20
instead of 14.

v1.4.1

Toggle v1.4.1's commit message
1.4.1

This release fixes a minor memory safety issue in SQLite. This bug would only occur in an error handling branch that should never occur in practice.

v1.4.0

Toggle v1.4.0's commit message
Release diesel 1.4.0

New Features
==

In contrast to the last release most changes in this release are minor or internal. We've added support for newer versions of some dependency crates (libsqlite-sys, uuid, ipnetwork).

Diesel CLI got a command line flag to check if a generated schema matches  the already existing one. This is useful for CI setups to check there if the committed generated schema file matches the committed migrations.

We've added support for the `diesel_mange_updated_at('table_name')` SQL function on SQLite. This function handles the setup of an trigger that automatically updates the `updated_at` column on update operations.

Additionally several helpers were added to support the deserialisation of tuples and composite types on PostgreSQL.

As always, for a full list of changes you can find it in [the changelog](https://github.com/diesel-rs/diesel/blob/v1.4.0/CHANGELOG.md)

Thanks
==

Thank you to everyone who helped make this release happen through bug reports, and discussion on Gitter. While we don't have a way to collect stats on that form of contribution, it's greatly appreciated.

In addition to the Diesel core team, 29 people contributed code to this release. A huge thank you to:

* Aleksey Ivanov
* Andrew Speed
* Carlos Diaz-Padron
* Daniel Silverstone
* Dirkjan Ochtman
* Dominik Sander
* Eyal Kalderon
* Galuh Sahid
* Hirokazu Hata
* Jake Goulding
* Jo Liss
* Josh Leeb-du Toit
* Kevin Stenerson
* kpcyrd
* Marcus Stollsteimer
* Matej Stuchlik
* Nikita Sivakov
* notryanb
* Rasmus Kaj
* Richard Petrie
* Rotem Yaari
* Ryan Leckey
* Sergio Benitez
* Simon Heath
* Stephen Muss
* Trinh Hoang Anh

v1.3.1(infer_schema)

Toggle v1.3.1(infer_schema)'s commit message
Add compatibility for newer diesel versions to infer_schema!

v1.3.3

Toggle v1.3.3's commit message
Release v1.3.3

This is a small bugfix release, addressing an issue with MySQL 8.0. The
behavior of the C API in libmysqlclient changed in this version of
MySQL, causing problems when a connection pool was used with Diesel.

If you are not using MySQL, or are on a version older than 8.0, this
release does not affect you.

v1.3.2

Toggle v1.3.2's commit message
Release v1.3.2

This release includes several bug fixes. This release only affects users
of unsigned types on MySQL, or users whose code failed to compile with
1.3.1.