This release marks the beginning of stabilization for runtime metrics. It
stabilizes RuntimeMetrics::worker_count. Future releases will continue to
stabilize more metrics.
Support [print_schema] exclude_custom_type_definitions = ["Vector"]. If a custom type matches one element on the list it's skipped.
Added automatic usage of all sqlite rowid aliases when no explicit primary key is defined for print-schema
Added a #[dsl::auto_type] attribute macro, allowing to infer type of query fragment functions
Added the same type inference on Selectable derives, which allows skipping specifying select_expression_type most of the time, in turn enabling most queries to be written using just a Selectable derive.
Added an optional #[diesel(skip_insertion)] field attribute to the Insertable derive macro, allowing fields which map to generated columns to be skipped during insertion.
Support for connection instrumentation. This allows to inspect any query run by your application
Logging in diesel-cli
Support for libsqlite3-sys 0.28
Add sqlite-integer-primary-key-is-bigint configuration option, usable with SQLite 3.37 or above, allowing to use BigInt for INTEGER PRIMARY KEY columns in SQLite for tables without the WITHOUT ROWID attribute (SQLite doc).
Support for multiple print_schema entry in diesel.toml (e.g. [print_schema.user1]), which allows generating multiple schema.rs files
Add support for COPY TO and COPY FROM statements
Add support for mapping chrono::Duration to postgresql's INTERVAL sql type
Added serialize_database_to_buffer and deserialize_readonly_database_from_buffer methods in SqliteConnection to support serialization/deserialization of SQLite databases to and from byte buffers.
Added SerializedDatabase wrapper type for a serialized database that is dynamically allocated by calling serialize_database_to_buffer. This RAII wrapper deallocates the memory when it goes out of scope with sqlite3_free.
Changed
The minimal officially supported rustc version is now 1.78.0
Deprecated sql_function! in favour of define_sql_function! which provides compatibility with #[dsl::auto_type]
Deserialization error messages now contain information about the field that failed to deserialize
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the deps group with 9 updates:
1.37.0
1.38.0
2.3.2
2.3.3
1.0.200
1.0.203
1.0.116
1.0.117
0.8.12
0.8.13
1.0.82
1.0.86
1.0.59
1.0.61
2.1.6
2.2.0
0.28.0
0.29.0
Updates
tokio
from 1.37.0 to 1.38.0Release notes
Sourced from tokio's releases.
... (truncated)
Commits
14c17fc
chore: prepare Tokio v1.38.0 (#6601)65cbf73
chore: prepare tokio-macros v2.3.0 (#6600)dbf93c7
sync: fix incorrect is_empty on mpsc block boundaries (#6603)873cb8a
runtime: move task out of thelifo_slot
inblock_in_place
(#6596)97bb47b
task: fix a typo in doc ofLocalSet::run_until
(#6599)86658bd
metrics: stabilizeRuntimeMetrics::worker_count
(#6556)9e00b26
sync: addNotify::notify_last
(#6520)6c42d28
net: fix misleadingNamedPipeServer
example (#6590)3a6fdc0
license: fix formatting and remove year in licenses (#6451)2890d0c
metrics: fix blocking_threads count (#6551)Updates
keyring
from 2.3.2 to 2.3.3Commits
Updates
serde
from 1.0.200 to 1.0.203Release notes
Sourced from serde's releases.
Commits
d5bc546
Release 1.0.20345ae217
Merge pull request #2747 from dtolnay/variadicb7b97dd
Unindent implementation inside tuple_impl_body macro5d3c563
Document tuple impls as fake variadic3761854
Merge pull request #2745 from dtolnay/docsrsa8f1484
Rely on docs.rs to define --cfg=docsrs by default9e32a40
Release 1.0.20287f635e
Release serde_derive_internals 0.29.1d4b2dfb
Merge pull request #2743 from dtolnay/renameallrulesf6ab0bc
Provide public access to RenameAllRules in serde_derive_internalsUpdates
serde_json
from 1.0.116 to 1.0.117Release notes
Sourced from serde_json's releases.
Commits
0ae247c
Release 1.0.1174517c7a
PartialEq is not implemented between Value and 128-bit intsfdf99c7
Combine number PartialEq testsb4fc245
Merge pull request #1130 from serde-rs/checkcfg98f1a24
Resolve unexpected_cfgs warningUpdates
toml
from 0.8.12 to 0.8.13Commits
912761b
chore: Release40b02a3
Merge pull request #730 from epage/msrv8eb5dcb
fix: Drop MSRV to 1.65f9249d8
Merge pull request #726 from mistydemeo/fix_typo1e3e033
docs: fix typoadbc75b
chore(deps): Update Rust Stable to v1.78 (#724)f8b1b26
Merge pull request #725 from epage/update7eef906
style: Address warnings813ce3d
chore(deps): Update compatible (dev) (#723)66f7f1a
docs: Remove stale content from examplesUpdates
anyhow
from 1.0.82 to 1.0.86Release notes
Sourced from anyhow's releases.
Commits
8ea1819
Release 1.0.860a1b405
Merge pull request #373 from dtolnay/minusnege0c74f2
Ensure $:literal never matches negative literal013c66e
Fix parse error with non-literal after minus signca7aff7
Add binary operator ensure tests2737bbe
Release 1.0.8582b8b34
Merge pull request #371 from dtolnay/splitad78d70
Preserve more token spans in expression parser5cce406
Parse comparison operators before other binary operators7205394
Merge pull request #369 from dtolnay/tokensplitUpdates
thiserror
from 1.0.59 to 1.0.61Release notes
Sourced from thiserror's releases.
Commits
5c80163
Release 1.0.61e3b1b91
Format PR 299 with rustfmt6b2b871
Merge pull request #299 from quartiq/corece974bc
also {std -> core}::panic::UnwindSafe7b6e35b
use core::fmt instead of std::fmt870d11b
Release 1.0.600ccee7c
Merge pull request #298 from dtolnay/checkcfgcf43d0c
Resolve unexpected_cfgs warningUpdates
diesel
from 2.1.6 to 2.2.0Changelog
Sourced from diesel's changelog.
Commits
197f06d
Fix the includes in allCargo.toml
files874b8dc
Merge pull request #4043 from weiznich/prepare/2.23590611
Prepare a diesel 2.2 releasedf338ca
Merge pull request #4050 from weiznich/fix/403548a8971
Merge pull request #4051 from McDic/feature/interval-docs792a6aa
Update diesel/src/sql_types/mod.rsde7ff9b
Add docstring onFromSql
part ofInterval
365e438
Change the order of generic arguments for InsertValuesdb6730c
Merge pull request #3944 from JonBoyleCoding/diagnostics-branch3db4ed2
Merge pull request #4030 from z33ky/raw-sqlidentifierUpdates
nix
from 0.28.0 to 0.29.0Changelog
Sourced from nix's changelog.
... (truncated)
Commits
1dad4d8
chore: prepare for 0.29.0f743197
fix ControlMessageOwned::UdpGroSegments UDP packets processing type. (#2406)208b80b
recvmsg: Check if CMSG buffer was too small and return an error (#2413)ecd12a9
test: remove test of inode count in test_statfs.rs (#2414)663506a
fix: only closefanotify
events with a valid fd (#2399)1604723
revert: impl From<sigaction> for SigAction (#2410)ec4beb5
docs: correct limit value of FAN_UNLIMITED_QUEUE and FAN_UNLIMITED_MARKS[skip...84c0444
chore: bump libc to 0.2.155 (#2409)c5af4ad
Add Flock::relock (#2407)e7acaff
Enable O_DSYNC on FreeBSD with fcntl and aio_fsync (#2404)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show