Update Rust crate diesel to 1.4.8 - abandoned #28
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.3.2->1.4.8Release Notes
diesel-rs/diesel
v1.4.8Compare Source
Fixed
dieselanddiesel_migrationswhen building both crates with cargos newresolver = "2"enabled. This change ensures compatibility with the upcomming 2021 rust edition.v1.4.7Compare Source
Fixed
libsqlite3-systo allow version 0.22ipnetworkto allow version 0.18v1.4.6Compare Source
Fixed
QueryableByNameimplementationof our
Sqlitebackendv1.4.5Compare Source
Fixed
in a broken non-committed non-rolled-back state.
for postgresql
libmysqlclientversionsmem::uninitializedv1.4.4Compare Source
Fixed
v1.4.3Compare Source
Fixed
diesel_derivesanddiesel_migrationsare updated to syn 1.0v1.4.2Compare Source
Fixed
that
(2.into_sql() + 3) * 4will correctly evaluate to 20 as expected.Previously we would generate SQL that evaluated to 14. This could even result
in runtime errors if multiple types were involved (for example,
interval * (integer + 1))v1.4.1Compare Source
Fixed
occur in an error handling branch that should never occur in practice.
v1.4.0Compare Source
Fixed
embed_migrations!will no longer emit an unused import warninguuidv07Added
Diesel CLI can be configured to error if a command would result in changes
to your schema file by passing
--locked-schema. This is intended for usein CI and production deploys, to ensure that the committed schema file is
up to date.
A helper trait has been added for implementing
ToSqlfor PG composite types.See
WriteTuplefor details.Added support for MySQL's
UNSIGNED TINYINTDatabaseErrorKind::SerializationFailurehas been added, corresponding toSQLSTATE code 40001 (A
SERIALIZABLEisolation level transaction failed tocommit due to a read/write dependency on another transaction). This error is
currently only detected on PostgreSQL.
Diesel CLI can now generate completions for zsh and fish. See
diesel completions --helpfor details.#[belongs_to]can now accept types that are generic over lifetimes (forexample, if one of the fields has the type
Cow<'a, str>). To define anassociation to such a type, write
#[belongs_to(parent = "User<'_>")]Nullable<Text>now supportsilikeexpression on in PostgreSQL.diesel_manage_updated_at('table_name')is now available on SQLite. Thisfunction can be called in your migrations to create a trigger which
automatically sets the
updated_atcolumn, unless that column was updated inthe query.
Changed
Diesel's derives now require that
extern crate diesel;be at your crate root(e.g.
src/lib.rsorsrc/main.rs)Tinyinthas been renamed toTinyIntand an alias has been created fromTinyinttoTinyInt.The minimal officially supported rustc version is now 1.31.0
v1.3.3Compare Source
Fixed
.executeor.batch_executewith a single query that returned a result set (such as ourSELECT 1health check inr2d2).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.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.