Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 12, 2025

Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs from Renovate will soon appear from 'Mend'. Learn more here.

This PR contains the following updates:

Package Type Update Change
diesel (source) dependencies minor =2.2.12 -> =2.3.1
diesel (source) dev-dependencies minor =2.2.12 -> =2.3.1
diesel_cli (source) minor 2.2.12 -> 2.3.0
diesel_migrations (source) dependencies minor =2.2.0 -> =2.3.0

Release Notes

diesel-rs/diesel (diesel)

v2.3.0

Compare Source

Added
  • Added limit() and offset() DSL to combination clauses such as UNION
  • Fixed #[derive(Identifiable)] ignoring attribute #[diesel(serialize_as)] on primary keys
  • Added embedded struct support for AsChangeset via #[diesel(embed)]
  • Added a #[diesel(skip_update)] attribute for the AsChangeset derive to skip updating a field present in the struct
  • Support for libsqlite3-sys 0.35.0
  • Add support for built-in PostgreSQL range operators and functions
  • Support for postgres multirange type
  • Added diesel::r2d2::TestCustomizer, which allows users to customize their diesel::r2d2::Pools
    in a way that makes the pools suitable for use in parallel tests.
  • Added support for built-in PostgreSQL range operators and functions
  • Added support for various built-in PostgreSQL array functions
  • Added Json and Jsonb support for the SQLite backend.
  • Added a #[diesel::declare_sql_function] attribute macro to easily define support for
    multiple sql functions at once via an extern "SQL" block
  • Support [print_schema] allow_tables_to_appear_in_same_query_config = "fk_related_tables" to generate separate allow_tables_to_appear_in_same_query! calls containing only tables that are related through foreign keys. (Default: "all_tables".) It is not possible to build queries using two tables that don't appear in the same allow_tables_to_appear_in_same_query! call, but that macro generates O(n²) rust code, so this option may be useful to reduce compilation time. (#​4333)
  • Added wasm32-unknown-unknown target support for sqlite backend.
  • Add support for the CAST operator
  • Support [print_schema] allow_tables_to_appear_in_same_query_config = "none" to generate no allow_tables_to_appear_in_same_query! calls. (Default: "all_tables".). (#​4333)
  • Add [print_schema] pg_domains_as_custom_types parameter to generate custom types for PostgreSQL domains that matches any of the regexes in the given list. (Default: [].) This option allows an application to selectively give special meaning for the serialization/deserialization of these types, avoiding the default behavior of treating the domain as the underlying type. (#​4592)
  • Add support for batch insert and upsert statements with returning for SQLite
  • Add support for window functions and aggregate expressions.
Fixed
  • Fixed diesel thinking a.eq_any(b) was non-nullable even if a and b were nullable.
  • Generate InstrumentationEvent::BeginTransaction for immediate and exclusive transactions in SQLite
  • Use a single space instead of two spaces between DELETE FROM.
  • Diesel CLI now ensures that migration versions are always unique. If it fails to generate a unique version, it will return an error. The new version format remains compatible with older Diesel versions.
  • Updated ipnetwork to allow version 0.21.
Changed
  • Use distinct DIESEL_LOG logging filter env variable instead of the default RUST_LOG one (#​4575)
  • The minimal supported Rust version is now 1.86.0

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link
Contributor Author

renovate bot commented Sep 12, 2025

⚠️ Artifact update problem

Renovate failed to update artifacts related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path Cargo.toml --workspace
    Updating crates.io index
error: failed to select a version for `diesel`.
    ... required by package `diesel-async v0.6.1`
    ... which satisfies dependency `diesel-async = "=0.6.1"` of package `crates_io v0.0.0 (/tmp/renovate/repos/github/rust-lang/crates.io)`
versions that meet the requirements `~2.2.0` are: 2.2.12, 2.2.11, 2.2.10, 2.2.9, 2.2.8, 2.2.7, 2.2.6, 2.2.5, 2.2.4, 2.2.3, 2.2.2, 2.2.1, 2.2.0

all possible versions conflict with previously selected packages.

  previously selected package `diesel v2.3.1`
    ... which satisfies dependency `diesel = "=2.3.1"` of package `crates_io v0.0.0 (/tmp/renovate/repos/github/rust-lang/crates.io)`

failed to select a version for `diesel` which could resolve this conflict

File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path crates/crates_io_database/Cargo.toml --workspace
    Updating crates.io index
error: failed to select a version for `diesel`.
    ... required by package `diesel-async v0.6.1`
    ... which satisfies dependency `diesel-async = "=0.6.1"` of package `crates_io v0.0.0 (/tmp/renovate/repos/github/rust-lang/crates.io)`
versions that meet the requirements `~2.2.0` are: 2.2.12, 2.2.11, 2.2.10, 2.2.9, 2.2.8, 2.2.7, 2.2.6, 2.2.5, 2.2.4, 2.2.3, 2.2.2, 2.2.1, 2.2.0

all possible versions conflict with previously selected packages.

  previously selected package `diesel v2.3.1`
    ... which satisfies dependency `diesel = "=2.3.1"` of package `crates_io v0.0.0 (/tmp/renovate/repos/github/rust-lang/crates.io)`

failed to select a version for `diesel` which could resolve this conflict

File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path crates/crates_io_database_dump/Cargo.toml --workspace
    Updating crates.io index
error: failed to select a version for `diesel`.
    ... required by package `diesel-async v0.6.1`
    ... which satisfies dependency `diesel-async = "=0.6.1"` of package `crates_io v0.0.0 (/tmp/renovate/repos/github/rust-lang/crates.io)`
versions that meet the requirements `~2.2.0` are: 2.2.12, 2.2.11, 2.2.10, 2.2.9, 2.2.8, 2.2.7, 2.2.6, 2.2.5, 2.2.4, 2.2.3, 2.2.2, 2.2.1, 2.2.0

all possible versions conflict with previously selected packages.

  previously selected package `diesel v2.3.1`
    ... which satisfies dependency `diesel = "=2.3.1"` of package `crates_io v0.0.0 (/tmp/renovate/repos/github/rust-lang/crates.io)`

failed to select a version for `diesel` which could resolve this conflict

File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path crates/crates_io_diesel_helpers/Cargo.toml --workspace
    Updating crates.io index
error: failed to select a version for `diesel`.
    ... required by package `diesel-async v0.6.1`
    ... which satisfies dependency `diesel-async = "=0.6.1"` of package `crates_io v0.0.0 (/tmp/renovate/repos/github/rust-lang/crates.io)`
versions that meet the requirements `~2.2.0` are: 2.2.12, 2.2.11, 2.2.10, 2.2.9, 2.2.8, 2.2.7, 2.2.6, 2.2.5, 2.2.4, 2.2.3, 2.2.2, 2.2.1, 2.2.0

all possible versions conflict with previously selected packages.

  previously selected package `diesel v2.3.1`
    ... which satisfies dependency `diesel = "=2.3.1"` of package `crates_io v0.0.0 (/tmp/renovate/repos/github/rust-lang/crates.io)`

failed to select a version for `diesel` which could resolve this conflict

File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path crates/crates_io_test_db/Cargo.toml --workspace
    Updating crates.io index
error: failed to select a version for `diesel`.
    ... required by package `diesel-async v0.6.1`
    ... which satisfies dependency `diesel-async = "=0.6.1"` of package `crates_io v0.0.0 (/tmp/renovate/repos/github/rust-lang/crates.io)`
versions that meet the requirements `~2.2.0` are: 2.2.12, 2.2.11, 2.2.10, 2.2.9, 2.2.8, 2.2.7, 2.2.6, 2.2.5, 2.2.4, 2.2.3, 2.2.2, 2.2.1, 2.2.0

all possible versions conflict with previously selected packages.

  previously selected package `diesel v2.3.1`
    ... which satisfies dependency `diesel = "=2.3.1"` of package `crates_io v0.0.0 (/tmp/renovate/repos/github/rust-lang/crates.io)`

failed to select a version for `diesel` which could resolve this conflict

File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path crates/crates_io_worker/Cargo.toml --workspace
    Updating crates.io index
error: failed to select a version for `diesel`.
    ... required by package `diesel-async v0.6.1`
    ... which satisfies dependency `diesel-async = "=0.6.1"` of package `crates_io v0.0.0 (/tmp/renovate/repos/github/rust-lang/crates.io)`
versions that meet the requirements `~2.2.0` are: 2.2.12, 2.2.11, 2.2.10, 2.2.9, 2.2.8, 2.2.7, 2.2.6, 2.2.5, 2.2.4, 2.2.3, 2.2.2, 2.2.1, 2.2.0

all possible versions conflict with previously selected packages.

  previously selected package `diesel v2.3.1`
    ... which satisfies dependency `diesel = "=2.3.1"` of package `crates_io v0.0.0 (/tmp/renovate/repos/github/rust-lang/crates.io)`

failed to select a version for `diesel` which could resolve this conflict

@renovate renovate bot force-pushed the renovate/diesel-packages branch from 6704585 to eaff08d Compare September 12, 2025 18:21
@renovate renovate bot changed the title Update diesel packages to v2.3.0 Update diesel packages Sep 12, 2025
@renovate renovate bot force-pushed the renovate/diesel-packages branch from eaff08d to 72d3c34 Compare September 14, 2025 19:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant