Skip to content

Commit

Permalink
Prepare a 2.2.8 release
Browse files Browse the repository at this point in the history
This commit prepares a 2.2.8 release that includes the following
changes:

* diesel-rs#4472
* diesel-rs#4484
* diesel-rs#4486
* diesel-rs#4480
  • Loading branch information
weiznich committed Feb 14, 2025
1 parent 5aa29a7 commit 5291e99
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 9 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,15 @@ Increasing the minimal supported Rust version will always be coupled at least wi

## Unreleased

## [2.2.8] 2025-02-21

### Fixed

* Allow `#[diesel(check_for_backend(_))]` to check fields with `#[diesel(embed)]` annotations
* Adjust a custom compile error message
* Fix a bug that restricted the number of allowed columns in `COPY FROM` statements to 12
* Expose some SqliteValue helper functions

## [2.2.7] 2025-01-31

### Fixed
Expand Down Expand Up @@ -2179,3 +2188,4 @@ queries or set `PIPES_AS_CONCAT` manually.
[2.2.5]: https://github.com/diesel-rs/diesel/compare/v2.2.4...v2.2.5
[2.2.6]: https://github.com/diesel-rs/diesel/compare/v2.2.5...v2.2.6
[2.2.7]: https://github.com/diesel-rs/diesel/compare/v2.2.6...v2.2.7
[2.2.8]: https://github.com/diesel-rs/diesel/compare/v2.2.7...v2.2.8
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.2.7"
version = "2.2.8"
license = "MIT OR Apache-2.0"
description = "A safe, extensible ORM and Query Builder for PostgreSQL, SQLite, and MySQL"
readme = "README.md"
Expand Down
12 changes: 6 additions & 6 deletions diesel/src/sqlite/connection/sqlite_value.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ impl<'row, 'stmt, 'query> SqliteValue<'row, 'stmt, 'query> {
/// If the underlying value is not a string sqlite will convert it
/// into a string and return that value instead.
///
/// Use the [`value_type()`] function to determine the actual
/// Use the [`value_type()`](Self::value_type()) function to determine the actual
/// type of the value.
///
/// See <https://www.sqlite.org/c3ref/value_blob.html> for details
Expand All @@ -121,7 +121,7 @@ impl<'row, 'stmt, 'query> SqliteValue<'row, 'stmt, 'query> {
/// If the underlying value is not a blob sqlite will convert it
/// into a blob and return that value instead.
///
/// Use the [`value_type()`] function to determine the actual
/// Use the [`value_type()`](Self::value_type()) function to determine the actual
/// type of the value.
///
/// See <https://www.sqlite.org/c3ref/value_blob.html> for details
Expand All @@ -148,7 +148,7 @@ impl<'row, 'stmt, 'query> SqliteValue<'row, 'stmt, 'query> {
/// If the underlying value is not an integer sqlite will convert it
/// into an integer and return that value instead.
///
/// Use the [`value_type()`] function to determine the actual
/// Use the [`value_type()`](Self::value_type()) function to determine the actual
/// type of the value.
///
/// See <https://www.sqlite.org/c3ref/value_blob.html> for details
Expand All @@ -161,7 +161,7 @@ impl<'row, 'stmt, 'query> SqliteValue<'row, 'stmt, 'query> {
/// If the underlying value is not a string sqlite will convert it
/// into a string and return that value instead.
///
/// Use the [`value_type()`] function to determine the actual
/// Use the [`value_type()`](Self::value_type()) function to determine the actual
/// type of the value.
///
/// See <https://www.sqlite.org/c3ref/value_blob.html> for details
Expand All @@ -174,7 +174,7 @@ impl<'row, 'stmt, 'query> SqliteValue<'row, 'stmt, 'query> {
/// If the underlying value is not a string sqlite will convert it
/// into a string and return that value instead.
///
/// Use the [`value_type()`] function to determine the actual
/// Use the [`value_type()`](Self::value_type()) function to determine the actual
/// type of the value.
///
/// See <https://www.sqlite.org/c3ref/value_blob.html> for details
Expand Down Expand Up @@ -234,7 +234,7 @@ mod tests {
use crate::*;

#[expect(clippy::approx_constant)] // we really want to use 3.14
#[diesel_test_helper::test]
#[test]
fn can_convert_all_values() {
let mut conn = SqliteConnection::establish(":memory:").unwrap();

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.2.7"
version = "2.2.8"
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.2.3"
version = "2.2.4"
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 5291e99

Please sign in to comment.