Skip to content

Commit 45c0102

Browse files
committed
Prepare a diesel 2.1.1 release to fix various bugs
1 parent 181a62a commit 45c0102

File tree

4 files changed

+29
-9
lines changed

4 files changed

+29
-9
lines changed

CHANGELOG.md

Lines changed: 26 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,25 @@ Increasing the minimal supported Rust version will always be coupled at least wi
1010

1111
## Unreleased
1212

13+
## [2.1.1] 2023-08-xx
14+
15+
## Fixed
16+
17+
* Fixed an issue in diesel-cli that lead to using unquoted table names in one of the internal queries
18+
* 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
19+
* Fixed an issue in diesel-cli that lead to ignoring certain foreign key constraints for postgresql
20+
* Fixed an crash while using `diesel print-schema` with really old sqlite versions
21+
* Fixed an issue where `#[diesel(check_for_backend)]` ignored `#[diesel(deserialize_as)]` attributes
22+
* Fixed several issues with the new `#[derive(MultiConnection)]` feature
23+
* Fixed some edge cases in our sqlite timestamp parsing behaviour
24+
* `diesel migration generate --diff-schema` now respects table filters as setup for `print-schema` via `diesel.toml`
25+
* Fixed a potential breaking change around queries containing `DISTINCT ON` and `ORDER BY` clauses consisting of custom sql expressions (e.g. `diesel::dsl::sql`)
26+
27+
## Added
28+
29+
* Support for bigdecimal 0.4
30+
31+
1332
## [2.1.0] 2023-05-26
1433

1534
### Changed
@@ -2018,10 +2037,11 @@ queries or set `PIPES_AS_CONCAT` manually.
20182037
[1.4.8]: https://github.com/diesel-rs/diesel/compare/v1.4.7...v1.4.8
20192038
[2.0.0 Rc0]: https://github.com/diesel-rs/diesel/compare/v.1.4.0...v2.0.0-rc0
20202039
[2.0.0 Rc1]: https://github.com/diesel-rs/diesel/compare/v.2.0.0-rc0...v2.0.0-rc1
2021-
[2.0.0]: https://github.com/diesel-rs/diesel/compare/v.1.4.0...v2.0.0
2022-
[2.0.1]: https://github.com/diesel-rs/diesel/compare/v.2.0.0...v2.0.1
2023-
[2.0.2]: https://github.com/diesel-rs/diesel/compare/v.2.0.1...v2.0.2
2040+
[2.0.0]: https://github.com/diesel-rs/diesel/compare/v1.4.0...v2.0.0
2041+
[2.0.1]: https://github.com/diesel-rs/diesel/compare/v2.0.0...v2.0.1
2042+
[2.0.2]: https://github.com/diesel-rs/diesel/compare/v2.0.1...v2.0.2
20242043
[diesel_derives 2.0.2]: https://github.com/diesel-rs/diesel/compare/v.2.0.2...diesel_derives_v2.0.2
2025-
[2.0.3]: https://github.com/diesel-rs/diesel/compare/v.2.0.2...v2.0.3
2026-
[2.0.4]: https://github.com/diesel-rs/diesel/compare/v.2.0.3...v2.0.4
2027-
[2.1.0]: https://github.com/diesel-rs/diesel/compare/v.2.0.0...v2.1.0
2044+
[2.0.3]: https://github.com/diesel-rs/diesel/compare/v2.0.2...v2.0.3
2045+
[2.0.4]: https://github.com/diesel-rs/diesel/compare/v2.0.3...v2.0.4
2046+
[2.1.0]: https://github.com/diesel-rs/diesel/compare/v2.0.0...v2.1.0
2047+
[2.1.1]: https://github.com/diesel-rs/diesel/compare/v2.1.0...v2.1.1

diesel/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "diesel"
3-
version = "2.1.0"
3+
version = "2.1.1"
44
license = "MIT OR Apache-2.0"
55
description = "A safe, extensible ORM and Query Builder for PostgreSQL, SQLite, and MySQL"
66
readme = "README.md"

diesel_cli/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "diesel_cli"
3-
version = "2.1.0"
3+
version = "2.1.1"
44
license = "MIT OR Apache-2.0"
55
description = "Provides the CLI for the Diesel crate"
66
readme = "README.md"

diesel_derives/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "diesel_derives"
3-
version = "2.1.0"
3+
version = "2.1.1"
44
license = "MIT OR Apache-2.0"
55
description = "You should not use this crate directly, it is internal to Diesel."
66
documentation = "https://diesel.rs/guides/"

0 commit comments

Comments
 (0)