From supports additional types for conversion: #[from(types(u8, u16))].
0.99.7 - 2020-05-16
Fixes
Fix generic derives for MulAssign
Improvements
When specifying specific features of the crate to only enable specific
derives, the extra-traits feature of syn is not always enabled
when those the specified features do not require it. This should speed up
compile time of syn when this feature is not needed.
0.99.6 - 2020-05-13
Improvements
Make sure output of derives is deterministic, for better support in
rust-analyzer
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 9 updates in the / directory:
4.5.4
4.5.7
0.99.17
0.99.18
2.1.0
2.2.0
1.10.4
1.10.5
0.12.4
0.12.5
1.0.201
1.0.203
1.0.60
1.0.61
1.37.0
1.38.0
2.5.0
2.5.1
Updates
clap
from 4.5.4 to 4.5.7Release notes
Sourced from clap's releases.
Changelog
Sourced from clap's changelog.
Commits
6c6839a
chore: Releasee79ff0d
docs: Update changelogbe2e5ca
Merge pull request #5527 from epage/mincf5c958
fix(parser): Report correct num_args on too-fewe0c9619
test(parser): Snapshot num_args errors2f645d3
chore: Release6e1e036
docs: Update changelog7e1bbf8
Merge pull request #5523 from ben--/zsh-colon8e3c273
fix(zsh): Separate options from _arguments optionsUpdates
derive_more
from 0.99.17 to 0.99.18Changelog
Sourced from derive_more's changelog.
... (truncated)
Commits
678a473
chore: Release derive_more version 0.99.18fcde556
Include example published package89cbd82
Remove track_caller feature detection because msrv was bumpeddb36f6d
Fix question marksf0c2530
fmt461db95
Fix issue when compiling on 1.6539ad36f
Update changelog for v0.99.1857b6e17
Update to syn 2ea4fa94
Fix testsab82aef
Ignore error doctests as it still contains old backtrace logicUpdates
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
regex
from 1.10.4 to 1.10.5Changelog
Sourced from regex's changelog.
Commits
0718fc5
1.10.5377463b
changelog: 1.10.4 and 1.10.568c4f0b
regex-automata-0.4.74757b5f
regex-syntax-0.8.41430b65
changelog: 1.10.41f9f9cc
bytes: escape invalid UTF-8 bytes in debug output for Matchab4c8d1
doc: fix duplicate phrasing typoddeb85e
cli/deps: update memmap2 to 0.9023f1c9
lite: fix attribute warning about rustfmt9c139f4
syntax: simplifyHir::dot
constructorsUpdates
reqwest
from 0.12.4 to 0.12.5Release notes
Sourced from reqwest's releases.
Changelog
Sourced from reqwest's changelog.
Commits
29d4cff
v0.12.5a7880d6
tests: fix http3 testsc32d877
tests: enable http3 content-length testce3b30e
http3: send content-length if known404df59
test: add http3 test server supporte5ce0b5
fix: don't enable hyper-rustls/http2 unless http2 is already enabledccb5e40
Don't compile hyper-tls with native-roots unless rustls-tls-native-roots is e...c56fbae
tests: remove a proxy parse error check8cc7cd4
msrv: pin url695bc04
fix: http3 resolving ipv6 addresses (#2305)Updates
serde
from 1.0.201 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
thiserror
from 1.0.60 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::fmtUpdates
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
url
from 2.5.0 to 2.5.1Commits
3d6dbbb
Reimplement idna on top of ICU4X (#923)de947ab
Document possible replacements of the base URL (#926)8b8431b
docs: document SyntaxViolation variants, remove bare URLs (#924)fd042e0
Non-special URLs can have their paths erased (#921)49eea1c
Fix multiple issues on wasm32: (#886)a4dd58b
Fix lint (#920)73803fa
Update URLs (#916)8e4331d
Add bench for to_ascii on an already-Punycode name (#915)9c51937
Renamemaster
branch tomain
(#914)e654efb
Fix non-base64 data URLs with % character not followed by hex digits (#797)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