Update Rust crate diesel to 2.1.6 - autoclosed #123
Closed
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:
2
->2.1.6
Release Notes
diesel-rs/diesel (diesel)
v2.1.6
: Diesel 2.1.6Compare Source
BoxableExpression
with having clausesYou can support the development of diesel by contributions or by sponsoring the project on Github.
Full Changelog: diesel-rs/diesel@v2.1.5...v2.1.6
v2.1.5
: Diesel 2.1.5Compare Source
impl SqlOrd
postgres > postgres_backend feature flag.Queryable
to be used with multiple table names.libsqlite3-sys
to allow version 0.28 as wellFull Changelog: diesel-rs/diesel@v2.1.4...v2.1.5
v2.1.4
: Diesel 2.1.4Compare Source
libsqlite3-sys
to allow version 0.27 as wellYou can support the development of diesel by contributions or by sponsoring the project on Github.
v2.1.3
: Diesel 2.1.3Compare Source
DISTINCT ON
andORDER BY
clauses again as that broke existing codev2.1.2
: Diesel 2.1.2Compare Source
DISTINCT ON
andORDER BY
clauses consisting of custom sql expressions (e.g..nullable()
)#[derive(Selectable)]
and#[diesel(check_for_backend)]
generates invalid rust code if the struct contains lifetimes/generic typesYou can support the development of diesel by contributions or by sponsoring the project on Github.
v2.1.1
: Diesel 2.1.1Compare Source
Fixed
diesel print-schema
that lead to generating invalidtable!
macros if both the#[sql_name]
and the#[max_lenght]
attribute are presentdiesel print-schema
with really old sqlite versions#[diesel(check_for_backend)]
ignored#[diesel(deserialize_as)]
attributes#[derive(MultiConnection)]
featurediesel migration generate --diff-schema
now respects table filters as setup forprint-schema
viadiesel.toml
DISTINCT ON
andORDER BY
clauses 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.0
Compare Source
Changed
Added
serialize_database_to_buffer
anddeserialize_readonly_database_from_buffer
methods inSqliteConnection
to support serialization/deserialization of SQLite databases to and from byte buffers.SerializedDatabase
wrapper type for a serialized database that is dynamically allocated by callingserialize_database_to_buffer
. This RAII wrapper deallocates the memory when it goes out of scope withsqlite3_free
.custom_type_derives
config option to customize the derives for SQLtype definitions automatically generated by Diesel CLI.
#[derive(MultiConnection)]
proc-macro that lets you easily implementdiesel::Connection
for an enum of connections to different database backends.
--diff-schema
flag to thediesel migration generate
command that generates a migration basedon the difference between your database and the provided
schema.rs
fileON CONFLICT (...) DO UPDATE ... [WHERE ...]
conditional clause support for PostgreSQL.ON DUPLICATE KEY DO UPDATE
syntax through the existing upsert functions.distinct_on
for PostgreSQL,like:
.distinct_on((column_a, column_b))
.schema.rs
filev2.0.4
Compare Source
v2.0.3
Compare Source
v2.0.2
Compare Source
v2.0.1
Compare Source
Fixed
diesel_cli
generating incompatible type names for thegenerate_missing_sql_type_definitions
feature on PostgreSQLdiesel_cli
handles sqlite urls while checking if a given database existsPgConnection
becoming unusable after hitting a database error in certain situationsINSERT … ON CONFLICT
queriesdiesel_derives
generating code that triggers the disabled by defaultunused_qualifications
lintConfiguration
📅 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.