cargo-insta no longer panics when running cargo test --accept --workspace
on a workspace with a default crate. #532
MSRV for insta has been raised to 1.60, and for cargo-insta to 1.64.
Added support for compact debug snapshots (assert_compact_debug_snapshot). #514
Deprecate --no-force-pass in cargo-insta. The --check option covers the
same functionality and has a clearer name. #513
Inline snapshots now use the required number of #s to escape the snapshot
value, rather than always using ###. This allows snapshotting values which
themselves contain ###. If there are no existing # characters in the
snapshot value, a single # will be used. #540
Inline snapshots can now be updated with --force-update-snapshots. #569
cargo insta test accepts multiple --exclude flags. #520
Print a warning when encountering old snapshot formats. #503
Group the options in cargo insta --help, upgrade to clap from structopt. #518
No longer suggest running cargo insta message when running cargo insta test --check. #515
Print a clearer error message when accepting a snapshot that was removed. #516
Mark require-full-match as experimental, given some corner-cases are currently difficult to manage. #497
Add a new integration test approach for cargo-insta and a set of integration tests. #537
Enable Filters to be created from IntoIterator types, rather than just Vecs. #570
Implemented total sort order for an internal Key type correctly. This prevents potential
crashes introduced by the new sort algorithm in Rust 1.81. #586
Install cargo-insta 1.40.0
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/mitsuhiko/insta/releases/download/1.40.0/cargo-insta-installer.sh | sh
cargo-insta no longer panics when running cargo insta test --accept --workspace
on a workspace with a default crate. #532
MSRV for insta has been raised to 1.60, and for cargo-insta to 1.64.
Added support for compact debug snapshots (assert_compact_debug_snapshot). #514
Deprecate --no-force-pass in cargo-insta. The --check option covers the
same functionality and has a clearer name. #513
Inline snapshots now use the required number of #s to escape the snapshot
value, rather than always using ###. This allows snapshotting values which
themselves contain ###. If there are no existing # characters in the
snapshot value, a single # will be used. #540
Inline snapshots can now be updated with --force-update-snapshots. #569
cargo insta test accepts multiple --exclude flags. #520
Print a warning when encountering old snapshot formats. #503
Group the options in cargo insta --help, upgrade to clap from structopt. #518
No longer suggest running cargo insta message when running cargo insta test --check. #515
Print a clearer error message when accepting a snapshot that was removed. #516
Mark require-full-match as experimental, given some corner-cases are currently difficult to manage. #497
Add a new integration test approach for cargo-insta and a set of integration tests. #537
Enable Filters to be created from IntoIterator types, rather than just Vecs. #570
Implemented total sort order for an internal Key type correctly. This prevents potential
crashes introduced by the new sort algorithm in Rust 1.81. #586
Improve diagnostics when method that requires CAS is unavailable. (#181)
Before:
error[E0599]: no method named `compare_exchange` found for struct `portable_atomic::AtomicUsize` in the current scope
--> src/race.rs:60:24
|
60 | self.inner.compare_exchange(0, value.get(), Ordering::AcqRel, Ordering::Acquire);
| ^^^^^^^^^^^^^^^^ method not found in `AtomicUsize`
After:
error[E0277]: `compare_exchange` requires atomic CAS but not available on this target by default
--> src/race.rs:60:24
|
60 | self.inner.compare_exchange(0, value.get(), Ordering::AcqRel, Ordering::Acquire);
| ^^^^^^^^^^^^^^^^ this associated function is not available on this target by default
|
= help: the trait `HasCompareExchange` is not implemented for `&portable_atomic::AtomicUsize`
= note: consider enabling one of the `unsafe-assume-single-core` or `critical-section` Cargo features
= note: see <https://docs.rs/portable-atomic/latest/portable_atomic/#optional-features> for more.
Improve compile error messages for some other cases (19716ac, 61dcaaa)
Various improvements to RISC-V.
riscv64: Support 128-bit atomics when Zacas extension enabled. (173) This is currently marked as experimental because LLVM marking the corresponding target feature as experimental.
riscv32: Support 64-bit atomics when Zacas extension enabled. (173) This is currently marked as experimental because LLVM marking the corresponding target feature as experimental.
Improvements for RISC-V without A-extension:
Support zaamo target feature. When building for single-core RISC-V without A-extension, this is equivalent to force-amo feature (8abba4b)
Strengthen SeqCst store to improve compatibility with code that uses atomic instruction mapping that differs from LLVM and GCC. (5b10b15)
Improve support of run-time detection and outline-atomics:
aarch64: Support run-time detection of FEAT_LRCPC3/FEAT_LSE128 for load/store. (#174)
aarch64: Support run-time detection of FEAT_LSE2 on OpenBSD. (4f8c735)
aarch64: Support run-time detection of FEAT_LSE/FEAT_LSE2 on illumos (currently disabled by default because illumos AArch64 port is experimental). (#175)
powerpc64: Support run-time detection on OpenBSD 7.6+ (currently disabled by default for compatibility with old versions). (09a967b)
aarch64: Support FEAT_LRCPC3/FEAT_LSE128 with pre-16 LLVM. (#178)
aarch64: Improve compile-time detection of FEAT_LSE2/FEAT_LRCPC3/FEAT_LSE128. (10d47de)
Relax minimal version of serde (supported via optional feature) to 1.0.60.
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 dependencies group with 10 updates in the / directory:
1.0.86
1.0.89
1.39.0
1.40.0
0.2.20
0.2.22
1.0.209
1.0.210
2.0.76
2.0.77
2.4.0
2.5.0
1.7.0
1.8.0
0.5.3
0.5.4
0.22.20
0.22.21
1.0.12
1.0.13
Updates
anyhow
from 1.0.86 to 1.0.89Release notes
Sourced from anyhow's releases.
Commits
9d3fb6d
Release 1.0.89830c399
Merge pull request #386 from dtolnay/unwindsafe8454be3
Ensure UnwindSafe even with "backtrace" feature enabled and old Rusta85e414
Add more autotraits tests139f266
Release 1.0.88aa3ab2b
Merge pull request #385 from dtolnay/docnostd44c3767
Update documentation on no-std error type conversionsafe93e7
Release 1.0.87d58fa4b
Fix outdated html_root_urlc18d807
Disable unused doc_cfg featureUpdates
insta
from 1.39.0 to 1.40.0Release notes
Sourced from insta's releases.
... (truncated)
Changelog
Sourced from insta's changelog.
Commits
83f3365
1.40.08893db7
Implement total ord for Key (#586)a4231cc
Add test forfind_snapshot_macro
(#582)d609d7d
Add integration test for force updating (#580)02665ea
Mask insta env vars in integration tests (#579)ef7abb8
Use different tests for redactions (#578)597199d
Maketest_normalize_inline_snapshot
easier to read (#577)ca87b84
Fix latest clippy (#574)4bea0fb
Unify handling of file & inline snapshots (compat) (#528)c29db01
Enable inline snapshots to be force-updated (#569)Updates
prettyplease
from 0.2.20 to 0.2.22Release notes
Sourced from prettyplease's releases.
Commits
c28d8ea
Release 0.2.22dd76fd6
Merge pull request #80 from dtolnay/precisecaptureb54cd12
Pretty-print precise capture syntax (use\<>
)61bd508
Upload CI Cargo.lock for reproducing failuresea2044e
Release 0.2.2111c45ff
Merge pull request #79 from dtolnay/tailcalld2881c3
Pretty-print tail calls (become
)53aac30
Merge pull request #78 from dtolnay/rustfmtbugcff71f3
Revert "Work around rustfmt 'rewriting static' bug"8584223
Resolve single_match_else pedantic clippy lintUpdates
serde
from 1.0.209 to 1.0.210Release notes
Sourced from serde's releases.
Commits
89c4b02
Release 1.0.210eeb8e44
Merge pull request #2818 from dtolnay/coreerror785c2d9
Stabilize no-std StdError traitd549f04
Reformat parse_ip_impl definition and calls4c0dd63
Delete attr support from core::net deserialization macros26fb134
Relocate cfg attrs out of parse_ip_impl and parse_socket_impl07e614b
Merge pull request #2817 from dtolnay/corenetb1f899f
Delete doc(cfg) attribute from impls that are supported in no-stdb4f860e
Merge pull request #2816 from MathiasKoch/chore/core-netd940fe1
Reuse existing Buf wrapper as replacement for std::io::WriteUpdates
syn
from 2.0.76 to 2.0.77Release notes
Sourced from syn's releases.
Commits
6232266
Release 2.0.7797acbf0
Merge pull request #1727 from dtolnay/exprparena3b5a5c
Support parsing Expr::Tuple in derive3c24f57
Run upload-artifact action regardless of previous step failure78608a3
Upload CI Cargo.lock for reproducing failuresUpdates
indexmap
from 2.4.0 to 2.5.0Changelog
Sourced from indexmap's changelog.
Commits
48ed490
Release 2.5.0139d7ad
Merge pull request #340 from cuviper/insert-bounds1d9b5e3
Add doc examples forinsert_before
andshift_insert
8ca01b0
Useinsert_before
for "new" entries ininsert_sorted
7224def
Addinsert_before
as an alternate toshift_insert
0247a15
Document and assert index bounds inshift_insert
922c6ad
Update the CI badgee482e17
Merge pull request #342 from cuviper/btree-likeb63e4a1
Merge pull request #341 from cuviper/from-entry264e5b7
Add doc aliases likeBTreeMap
/BTreeSet
Updates
portable-atomic
from 1.7.0 to 1.8.0Changelog
Sourced from portable-atomic's changelog.
Commits
dd39953
Release portable-atomic 1.8.0a0b3e1b
Update changelogfc902d0
Tweak docsdc1dc70
Invert llvm cfgs3cc4c94
detect: Support run-time detection on AArch64 illumos27cdc16
Add detect/README.mdc5ded94
Update comments8355f4b
bench: Ignore clippy::duplicated_attributes linte2718de
arm_linux: Use atomic64! macro from macros.rs84833aa
Add imp/atomic{64,128}/mod.rs to reduce uses of #[path]Updates
redox_syscall
from 0.5.3 to 0.5.4Updates
serde_derive
from 1.0.209 to 1.0.210Release notes
Sourced from serde_derive's releases.
Commits
89c4b02
Release 1.0.210eeb8e44
Merge pull request #2818 from dtolnay/coreerror785c2d9
Stabilize no-std StdError traitd549f04
Reformat parse_ip_impl definition and calls4c0dd63
Delete attr support from core::net deserialization macros26fb134
Relocate cfg attrs out of parse_ip_impl and parse_socket_impl07e614b
Merge pull request #2817 from dtolnay/corenetb1f899f
Delete doc(cfg) attribute from impls that are supported in no-stdb4f860e
Merge pull request #2816 from MathiasKoch/chore/core-netd940fe1
Reuse existing Buf wrapper as replacement for std::io::WriteUpdates
toml_edit
from 0.22.20 to 0.22.21Commits
e71fc23
chore: Release3dba021
docs: Update changelog8911cb1
Merge pull request #786 from epage/tablef8e909c
fix(edit): Allow creating Tables from Itemsfe18d4e
feat(edit): Allow more From's for Item1bfb7d7
Merge pull request #780 from toml-rs/renovate/embarkstudios-cargo-deny-action...54b96ca
chore(deps): Update EmbarkStudios/cargo-deny-action action to v20f70226
chore(deps): Update compatible (dev) (#776)ae2dfb4
Merge pull request #765 from epage/features-indexmap189697d
perf(parse): Remove extra key allocationUpdates
unicode-ident
from 1.0.12 to 1.0.13Release notes
Sourced from unicode-ident's releases.
Commits
e34a369
Release 1.0.13b9b75da
Merge pull request #27 from dtolnay/unicode9c053be
Update to Unicode 16.0.0ab77194
Upload CI Cargo.lock for reproducing failuresa8736e7
Explicitly install a Rust toolchain for cargo-outdated jobd63c2b5
Revert "Run cargo-outdated on workspace root for now"e7cfa7e
Re-enable cargo-outdated in CI2944bc6
Run cargo-outdated on workspace root for now27eee64
Link to cargo-outdated bug116dea8
Temporarily ignore cargo-outdated job in CIDependabot 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