env_logger::fmt::Style:
The bespoke styling API, behind color, was removed, in favor of accepting any
ANSI styled string and adapting it to the target stream's capabilities.
Possible styling libraries include:
anstyle is a minimal, runtime string styling API and is re-exported as env_logger::fmt::style
owo-colors is a feature rich runtime string styling API
color-print for feature-rich compile-time styling API
Fixed using #[dsl::auto_type] with functions that accept reference arguments
Fixed using #[derive(Queryable)] with structs that use a type named Row as field type
Fixed a regression that prevented using mysqlclient-sys 0.2.x with diesel 2.2
Fixed connecting to postgres database using the scram-sha-256 authentication method on windows while using the bundled postgres builds
Improved the error messages in diesel-cli for cases where a file/folder was not found
Fixed several version detection bugs in mysqlclient-sys to use pre-generated bindings in more situations
[2.2.0] 2024-05-31
Added
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-deps group with 10 updates:
0.3.31
0.3.36
0.17.0
0.18.0
4.4.13
4.5.9
0.10.1
0.11.1
0.4.20
0.4.22
1.0.79
1.0.86
1.0.56
1.0.62
2.1.4
2.2.1
0.27.0
0.28.0
1.35.1
1.38.0
Updates
time
from 0.3.31 to 0.3.36Release notes
Sourced from time's releases.
Changelog
Sourced from time's changelog.
... (truncated)
Commits
3c3c546
pub use
instead ofpub type
re-exporting266178d
Update code coverage CI131049e
v0.3.35 release9c15ee3
Permit leap seconds when parsing ISO 8601d279d8d
Fix invalid offset hour diagnostic testf04a28f
Eliminate unreachable branch06a096d
RenameFormatItem
toBorrowedFormatItem
fd664ee
Include diagnostics regressionb8d09a7
Address nightly lints330865a
Update deny.tomlUpdates
jsonrpc
from 0.17.0 to 0.18.0Changelog
Sourced from jsonrpc's changelog.
Commits
be07587
Merge apoelstra/rust-jsonrpc#115: bump version 0.17.0 -> 0.18.0e2d3660
bump version 0.17.0 -> 0.18.0fba5d44
Merge apoelstra/rust-jsonrpc#114: SimpleHttpTransport error on chunked transf...575c8b4
SimpleHttpTransport error on chunked transfer encodingUpdates
clap
from 4.4.13 to 4.5.9Release notes
Sourced from clap's releases.
... (truncated)
Changelog
Sourced from clap's changelog.
... (truncated)
Commits
43e7368
chore: Releasef00dafa
docs: Update changelogda1093a
Merge pull request #5574 from zanieb/zb/try-help-custom2eb842c
feat: Show user defined help flags in hintsb24deb1
test: Add coverage for help flag hints866d7d1
chore(deps): Update compatible (dev) (#5560)d14bbc9
Merge pull request #5567 from epage/c5448020
fix: Install shells for CI1c5a625
fix: Fix wrongcfg(linux)
2d2d1f4
chore: Bump completestUpdates
env_logger
from 0.10.1 to 0.11.1Release notes
Sourced from env_logger's releases.
Changelog
Sourced from env_logger's changelog.
... (truncated)
Commits
7113ad4
chore: Release9f73bde
docs: Update changelog489ba18
Merge pull request #302 from Bobo1239/main6f31706
fix(fmt): Fix passing of WriteStyle when using Target::Pipe8f4361b
chore: Releaseba41ebb
docs: Update changelog5e226cb
chore: Release23441be
Merge pull request #300 from epage/other6c2ea80
style(filter): Clean up2d35260
feat(filter): Add a Logger decoratorUpdates
log
from 0.4.20 to 0.4.22Changelog
Sourced from log's changelog.
Commits
d5ba2cf
Merge pull request #634 from rust-lang/cargo/0.4.22d1a8306
prepare for 0.4.22 release46894ef
Merge pull request #633 from rust-lang/feat/panic-infoe0d389c
Merge pull request #632 from rust-lang/feat/loosen-atomicsc9e5e13
use Location::caller() for file and line info507b672
loosen orderings for logger initializationc879b01
Merge pull request #628 from Thomasdezeeuw/fix-warnings405fdb4
Merge pull request #627 from Thomasdezeeuw/check-features1307ade
Remove unneeded import710560e
Don't use --all-features in CIUpdates
anyhow
from 1.0.79 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.56 to 1.0.62Release notes
Sourced from thiserror's releases.
Commits
0bf6e3d
Release 1.0.624977932
Merge pull request #310 from dtolnay/nestedtuple40a7779
Support .0.0 nested tuple indexf1ca210
Add regression test for issue 309479744e
No need for dead code if struct fields are public4db08b1
Ignore warning on unused struct in testf2824ae
Fill in ignore reasons in all #[ignore] attributes5c80163
Release 1.0.61e3b1b91
Format PR 299 with rustfmt6b2b871
Merge pull request #299 from quartiq/coreUpdates
diesel
from 2.1.4 to 2.2.1Changelog
Sourced from diesel's changelog.
Commits
08be4f2
Merge pull request #4071 from weiznich/prepare/2.2.18c47c6f
Bump mysqlclient-sys to 0.496a822a
Prepare a 2.2.1 release1ae7a0a
Merge pull request #4057 from weiznich/fix/40554d5fb4f
Merge pull request #4054 from weiznich/fix/auto_type_lifetimes1062c27
Merge pull request #4063 from sugar700/allow-type-name-conflicting-with-trait...5c870f7
Merge pull request #4067 from weiznich/fix/cli_diff_schema_default_schema48ccc78
Merge pull request #4064 from weiznich/fix/mysqlclient_regression_with_old_ve...f6da5f5
Merge pull request #4065 from weiznich/fix/scram197f06d
Fix the includes in allCargo.toml
filesUpdates
libsqlite3-sys
from 0.27.0 to 0.28.0Release notes
Sourced from libsqlite3-sys's releases.
Commits
26293a1
Merge pull request #1202 from gwenn/0.28.0153d8fb
Prepare for next releasea12cde2
Merge pull request #1200 from gwenn/3.39.0efff01c
Upgrade SQLite bundled version to 3.39.0289a729
Merge pull request #1196 from gwenn/bindgen441b03c
Upgrade bindgen to version 0.60d6780ec
Merge pull request #1194 from gwenn/clean618e9a1
Clean codecf3d9d9
Merge pull request #1193 from gwenn/clippyd9b79a5
Fix clippy warnings (derive_partial_eq_without_eq)Updates
tokio
from 1.35.1 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)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