All versions since Diesel 2.3.3
Diesel 2.3.3
Fixed
- Fix displaying binds in instrumentations for
#[derive(MultiConnection)] - Support artifact attestation for binaries build for releases
- Stop using absolute paths in generated diesel.toml
- Explicitly qualify
Okin code generated by derives to avoid naming conflicts
Starting with Diesel-CLI 2.3.3 you can verify that you downloaded the correct binaries via GitHub’s artifact attestation
gh attestation verify diesel_cli-x86_64-unknown-linux-gnu.tar.xz -R diesel-rs/dieselFull Changelog: https://github.com/diesel-rs/diesel/compare/v2.3.2…v2.3.3
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.
Diesel 2.3.4
Fixed
- Fix an issue with breaking changes in libmariadb
- Fix documentation links for helper types
- Fix using
#[diesel(embed)]withOption<Inner>types - Fix documentation for concurrent migration runs
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.
Full Changelog: https://github.com/diesel-rs/diesel/compare/v2.3.3…v2.3.4
Diesel 2.3.5
Fixes
- Fix another libmariadb related issue with time types
- Improve compile time error messages for
#[derive(Insertable)] - Bump supported version of sqlite-wasm-rs to 0.5.0
- Minor documentation fixes
- Make the
returning_clauses_for_sqlite_3_35feature enable thesqlitefeature by default - Include a fix for a nightly rust name resolution ambiguity
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.
Full Changelog: https://github.com/diesel-rs/diesel/compare/v2.3.4…v2.3.5
Diesel 2.3.6
Fixed
- 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
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.
Full Changelog: https://github.com/diesel-rs/diesel/compare/v2.3.5…v2.3.6
Diesel 2.3.7
Fixed
- Add support for libsqlite3-sys 0.36
- Fix a potential resource leak if establishing a SqliteConnection fails.
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.
Full Changelog: https://github.com/diesel-rs/diesel/compare/v2.3.6…v2.3.7
Diesel 2.3.8
Fixed
- Added support for libsqlite3-sys 0.37.0
- Raise a compile-time error when mixing aggregate and non-aggregate expressions in an
ORDER BYclause without aGROUP BYclause - 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 (fixes #3815) - Added documentation for migration transaction behaviour at the crate root
- Improved compile time error messages for
#[derive(AsChangeset)] - Allow to use generic types in
infix_operator!() - Fixes for several instances of unsound, unspecified or otherwise dangerous behaviour:
- Unsound string construction in
SqliteValue::read_text/FromSql<Text, Sqlite> for String - Invalid alignment for over aligned data in
SqliteConnection::register_functionfor aggregate functions - Potential memory leaks in
SqliteConnection::register_function - Access to padding bytes while serializing Date/time types in the Mysql backend
- SQL Option Injection in PostgreSQL
COPY FROM/TO - Unspecified pointer cast in
Debug/Displayimplementation of batchINSERTstatements for SQLite - Invalid call order of SQLite API functions in
SqliteValue::read_text/FromSql<Text, Sqlite> for String/SqliteValue::read_blob()/FromSql<Binary, Sqlite> for Vec<u8> - Potential unsound pointer access for
FromSql<Binary, _> for Vec<u8>andFromSql<Text, _> for Stringfor third party backends (requires changes to the third party backend as well)
- Unsound string construction in
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.
Full Changelog: https://github.com/diesel-rs/diesel/compare/v2.3.7…v2.3.8
Diesel 2.3.9 Latest
Fixed
- Removed a
dbg!statement from the Mysql backend that caused unwanted output - Fix 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 witherror[E0425]: cannot find type 'T' in this scope. The diagnostic helper functions added to improveAsChangeseterror messages now forward all generic parameters of the input struct, not only lifetimes.
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.