Update Rust crate diesel to 2.3.1 #299
Open
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.12
->2.3.1
Release Notes
diesel-rs/diesel (diesel)
v2.3.0
Compare Source
Added
limit()
andoffset()
DSL to combination clauses such asUNION
#[derive(Identifiable)]
ignoring attribute#[diesel(serialize_as)]
on primary keysAsChangeset
via#[diesel(embed)]
#[diesel(skip_update)]
attribute for theAsChangeset
derive to skip updating a field present in the structdiesel::r2d2::TestCustomizer
, which allows users to customize theirdiesel::r2d2::Pool
sin a way that makes the pools suitable for use in parallel tests.
Json
andJsonb
support for the SQLite backend.#[diesel::declare_sql_function]
attribute macro to easily define support formultiple sql functions at once via an
extern "SQL"
block[print_schema] allow_tables_to_appear_in_same_query_config = "fk_related_tables"
to generate separateallow_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 sameallow_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)wasm32-unknown-unknown
target support for sqlite backend.CAST
operator[print_schema] allow_tables_to_appear_in_same_query_config = "none"
to generate noallow_tables_to_appear_in_same_query!
calls. (Default:"all_tables"
.). (#4333)[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)Fixed
a.eq_any(b)
was non-nullable even ifa
andb
were nullable.InstrumentationEvent::BeginTransaction
for immediate and exclusive transactions in SQLiteDELETE FROM
.ipnetwork
to allow version 0.21.Changed
DIESEL_LOG
logging filter env variable instead of the defaultRUST_LOG
one (#4575)Configuration
📅 Schedule: Branch creation - "after 8pm,before 6am" in timezone America/Los_Angeles, Automerge - "after 8pm,before 6am" in timezone America/Los_Angeles.
🚦 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 Renovate Bot.