This release bring a ca. 20% improvement to the performance of the formatting code, and a convenient days_since method for the Weekday type.
Chrono 0.4.38 also removes the long deprecated rustc-serialize feature. Support for rustc-serialize will be soft-destabilized in the next Rust edition. Removing the feature will not break existing users of the feature; Cargo will just not update dependents that rely on it to newer versions of chrono.
In chrono 0.4.36 we made an accidental breaking change by switching to derive(Copy) for DateTime instead of a manual implementation. It is reverted in this release.
This release wouldn't be possible without the support of our contributors and sponsors. If you want to support diesels development, consider joining the reviewer team, submitting PR's, help writing documentation or sponsor the maintainers.
Added
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
Support [print_schema] except_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
This release marks the beginning of stabilization for runtime metrics. It
stabilizes RuntimeMetrics::worker_count. Future releases will continue to
stabilize more metrics.
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 cargo group with 8 updates in the / directory:
0.4.37
0.4.38
2.1.0
2.2.0
0.6.4
0.6.5
1.0.197
1.0.203
1.0.115
1.0.117
1.0.58
1.0.61
1.37.0
1.38.0
0.7.10
0.7.11
Updates
chrono
from 0.4.37 to 0.4.38Release notes
Sourced from chrono's releases.
Commits
352a352
Prepare 0.4.3846d44d6
Manually implementCopy
forDateTime
if offset isCopy
760eb66
Update windows-bindgen requirement from 0.55 to 0.56391187f
Return error when rounding with zero durationffc75e5
AddTimeDelta::checked_mul
andTimeDelta::checked_div
f8cecbe
MakeWeekday::num_days_from public
, rename todays_since
.0cfc405
Optimize number formatting74ba83b
Takepad
by value78e79db
Match on tuples informat_fixed
f3d76c7
Match on tuples informat_numeric
Updates
diesel_migrations
from 2.1.0 to 2.2.0Release notes
Sourced from diesel_migrations's releases.
... (truncated)
Changelog
Sourced from diesel_migrations's changelog.
... (truncated)
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
petgraph
from 0.6.4 to 0.6.5Changelog
Sourced from petgraph's changelog.
Commits
c32a86b
Release0.6.5
(#644)da2e428
Ford Fulkerson algorithm support. (#640)561c476
Chore: Minor - Bumped actions/checkout to version 4. (#631)5b2d8da
Minor: Cargo doc fixup. (#630)5cabfe3
Fixed clippy warnings (#627)3361e04
chore: bumped itertools to 0.12.1. (#628)08b0ad9
Move Minimum Spanning Tree Algorithm to its own module (#624)4678de4
Page rank algorithm support (#623)c71f6e4
Allow alternative hash functions in GraphMap (#622)e219ecf
UseIndexMap::get_index_of
Updates
serde
from 1.0.197 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.115 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 warninga3f62bb
Release 1.0.11612c8ee0
Hide "non-exhaustive patterns" errors when crate fails to compile051ce97
Merge pull request 1124 from mleonhard/master25dc750
Replacefeatures_check
mod with a call tostd::compile_error!
. Fixes htt...2e15e3d
Revert "Temporarily disable miri on doctests"Updates
thiserror
from 1.0.58 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 warninge7ad85e
Release 1.0.59af477ec
Merge pull request #297 from dtolnay/traitidentUpdates
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
tokio-util
from 0.7.10 to 0.7.11Commits
cdf9d99
chore: prepare tokio-util v0.7.11 (#6535)f6eb1ee
time: lazily init timers on first poll (#6512)b7d4fba
sync: addmpsc::Receiver::{capacity,max_capacity}
(#6511)3c8d8e6
chore: fix latest rust-1.78.0 warnings (#6528)e971a5e
util: use FIFO ordering inWakeList
(#6521)28439e2
time: clean up implementation (#6517)d33fdd8
time: check for overflow inInterval::poll_tick
(#6487)731dde2
runtime: clarify misleading use ofUnsafeCell::with_mut
(#6513)9ed5957
wasm: support rt-multi-thread with wasm32-wasi-preview1-threads (#6510)a73d6bf
macros:#[cfg(not(test))]
is no longer necessary for main macros (#6508)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