Skip to content

Commit

Permalink
Prepare a diesel 2.1.1 release to fix various bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
weiznich committed Aug 18, 2023
1 parent 181a62a commit 45c0102
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 9 deletions.
32 changes: 26 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,25 @@ Increasing the minimal supported Rust version will always be coupled at least wi

## Unreleased

## [2.1.1] 2023-08-xx

## Fixed

* Fixed an issue in diesel-cli that lead to using unquoted table names in one of the internal queries
* Fixed a bug in `diesel print-schema` that lead to generating invalid `table!` macros if both the `#[sql_name]` and the `#[max_lenght]` attribute are present
* Fixed an issue in diesel-cli that lead to ignoring certain foreign key constraints for postgresql
* Fixed an crash while using `diesel print-schema` with really old sqlite versions
* Fixed an issue where `#[diesel(check_for_backend)]` ignored `#[diesel(deserialize_as)]` attributes
* Fixed several issues with the new `#[derive(MultiConnection)]` feature
* Fixed some edge cases in our sqlite timestamp parsing behaviour
* `diesel migration generate --diff-schema` now respects table filters as setup for `print-schema` via `diesel.toml`
* Fixed a potential breaking change around queries containing `DISTINCT ON` and `ORDER BY` clauses consisting of custom sql expressions (e.g. `diesel::dsl::sql`)

## Added

* Support for bigdecimal 0.4


## [2.1.0] 2023-05-26

### Changed
Expand Down Expand Up @@ -2018,10 +2037,11 @@ queries or set `PIPES_AS_CONCAT` manually.
[1.4.8]: https://github.com/diesel-rs/diesel/compare/v1.4.7...v1.4.8
[2.0.0 Rc0]: https://github.com/diesel-rs/diesel/compare/v.1.4.0...v2.0.0-rc0
[2.0.0 Rc1]: https://github.com/diesel-rs/diesel/compare/v.2.0.0-rc0...v2.0.0-rc1
[2.0.0]: https://github.com/diesel-rs/diesel/compare/v.1.4.0...v2.0.0
[2.0.1]: https://github.com/diesel-rs/diesel/compare/v.2.0.0...v2.0.1
[2.0.2]: https://github.com/diesel-rs/diesel/compare/v.2.0.1...v2.0.2
[2.0.0]: https://github.com/diesel-rs/diesel/compare/v1.4.0...v2.0.0
[2.0.1]: https://github.com/diesel-rs/diesel/compare/v2.0.0...v2.0.1
[2.0.2]: https://github.com/diesel-rs/diesel/compare/v2.0.1...v2.0.2
[diesel_derives 2.0.2]: https://github.com/diesel-rs/diesel/compare/v.2.0.2...diesel_derives_v2.0.2
[2.0.3]: https://github.com/diesel-rs/diesel/compare/v.2.0.2...v2.0.3
[2.0.4]: https://github.com/diesel-rs/diesel/compare/v.2.0.3...v2.0.4
[2.1.0]: https://github.com/diesel-rs/diesel/compare/v.2.0.0...v2.1.0
[2.0.3]: https://github.com/diesel-rs/diesel/compare/v2.0.2...v2.0.3
[2.0.4]: https://github.com/diesel-rs/diesel/compare/v2.0.3...v2.0.4
[2.1.0]: https://github.com/diesel-rs/diesel/compare/v2.0.0...v2.1.0
[2.1.1]: https://github.com/diesel-rs/diesel/compare/v2.1.0...v2.1.1
2 changes: 1 addition & 1 deletion diesel/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "diesel"
version = "2.1.0"
version = "2.1.1"
license = "MIT OR Apache-2.0"
description = "A safe, extensible ORM and Query Builder for PostgreSQL, SQLite, and MySQL"
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion diesel_cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "diesel_cli"
version = "2.1.0"
version = "2.1.1"
license = "MIT OR Apache-2.0"
description = "Provides the CLI for the Diesel crate"
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion diesel_derives/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "diesel_derives"
version = "2.1.0"
version = "2.1.1"
license = "MIT OR Apache-2.0"
description = "You should not use this crate directly, it is internal to Diesel."
documentation = "https://diesel.rs/guides/"
Expand Down

0 comments on commit 45c0102

Please sign in to comment.