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 a potential panic in the sqlite cursor implementation
Fixed support for rust numeric operators with columns of the type Numeric
Removed the SerializedDatabase::new function due to unsoundness
[2.2.1] 2024-06-12
Fixed
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
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.13
0.10.1
0.11.1
0.4.20
0.4.22
1.0.79
1.0.86
1.0.56
1.0.63
2.1.4
2.2.2
0.27.0
0.29.0
1.35.1
1.39.2
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.13Release notes
Sourced from clap's releases.
... (truncated)
Changelog
Sourced from clap's changelog.
... (truncated)
Commits
66b5a12
chore: Releasea83b724
docs: Update changeloge19469f
Merge pull request #5615 from epage/wrap360bb3b
fix(help): Properly wrap subcommand about58b5bd8
test(help): Show bad subcommand wrappinge1f6320
Merge pull request #5614 from epage/snap7b5b61b
test(help): Switch to snapbox1490e24
chore: Update snapbox6671d93
Merge pull request #5613 from epage/flatten13dfdb3
fix(derive): Improve flattening-skipped-group assertUpdates
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.63Release notes
Sourced from thiserror's releases.
Commits
915c75e
Release 1.0.633d5ec25
Merge pull request #312 from dtolnay/backtracedocde8a1e5
Update documentation of #[from] and #[backtrace] attributes0bf6e3d
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] attributesUpdates
diesel
from 2.1.4 to 2.2.2Changelog
Sourced from diesel's changelog.
... (truncated)
Commits
1ee0784
Bump auto_type versionc4dd364
Merge pull request #4122 from weiznich/prepare/2.2.2a0ef12f
Merge pull request #4072 from weiznich/bump/1.798bd2743
Prepare a diesel 2.2.2 release2653a27
Merge pull request #4115 from weiznich/fix/sqlite_row_iter_shouldn_t_panic_if...e380c52
Merge pull request #4110 from weiznich/fix/4108385c53a
Merge pull request #4102 from VicVerevita/bigdecimal-to-isnumeric585a052
Merge pull request #4098 from diana96alazzam/edit-error-msg959e148
Merge pull request #4093 from weiznich/bump/libsqlite3-sys0.2959bdd51
Merge pull request #4085 from Ten0/auto_type_parenthesized_expr_supportUpdates
libsqlite3-sys
from 0.27.0 to 0.29.0Release notes
Sourced from libsqlite3-sys's releases.
... (truncated)
Commits
a1ef4b5
Merge pull request #1311 from gwenn/0.29.08419b02
Prepare next release57a7b29
Merge pull request #1309 from gwenn/item_name420bf08
Fix clippy warningseb7fbc5
Use ParseCallbacks::item_name to fix sqlite3_index_info_* typesfd753b1
Merge pull request #1306 from gwenn/3.41.272fe732
Merge pull request #1304 from jgraettinger/johnny/stmt-read-only8ad6149
Bump bundled SQLite3 to version 3.41.27c1d5a1
Add Statement.readonly() accessor32752fa
Merge pull request #1301 from rusqlite/dependabot/cargo/bitflags-2.0Updates
tokio
from 1.35.1 to 1.39.2Release notes
Sourced from tokio's releases.
... (truncated)
Commits
f602eae
chore: prepare Tokio v1.39.2 (#6730)438def7
macros: allow temporary lifetime extension in select (#6722)ee8d4d1
chore: fix ci failures (#6725)3297052
ci: test Quinn in CI (#6719)f8fe0ff
chore: prepare Tokio v1.39.1 (#6716)47210a8
time: revert "avoid traversing entries in the time wheel twice" (#6715)29545d9
runtime: ignore many_oneshot_futures test for alt scheduler (#6712)48e35c1
chore: release Tokio v1.39.0 (#6711)dd1d371
macros: acceptIntoFuture
args for macros (#6710)6a1a7b1
chore: prepare tokio-macros v2.4.0 (#6707)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