Update Rust crate diesel to 2.1.1 #27
Reference in New Issue
Block a user
Delete Branch "renovate/diesel-2.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
2.0.4->2.1.1Release Notes
diesel-rs/diesel (diesel)
v2.1.1: Diesel 2.1.1Compare Source
Fixed
diesel print-schemathat lead to generating invalidtable!macros if both the#[sql_name]and the#[max_lenght]attribute are presentdiesel print-schemawith really old sqlite versions#[diesel(check_for_backend)]ignored#[diesel(deserialize_as)]attributes#[derive(MultiConnection)]featurediesel migration generate --diff-schemanow respects table filters as setup forprint-schemaviadiesel.tomlDISTINCT ONandORDER BYclauses consisting of custom sql expressions (e.g.diesel::dsl::sql)Added
You can support the development of diesel by sponsoring the project on github
v2.1.0Compare Source
Changed
Added
custom_type_derivesconfig option to customize the derives for SQLtype definitions automatically generated by Diesel CLI.
#[derive(MultiConnection)]proc-macro that lets you easily implementdiesel::Connectionfor an enum of connections to different database backends.
--diff-schemaflag to thediesel migration generatecommand that generates a migration basedon the difference between your database and the provided
schema.rsfileON CONFLICT (...) DO UPDATE ... [WHERE ...]conditional clause support for PostgreSQL.ON DUPLICATE KEY DO UPDATEsyntax through the existing upsert functions.distinct_onfor PostgreSQL,like:
.distinct_on((column_a, column_b)).schema.rsfileConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.