flake-edit
flake-edit copied to clipboard
build(deps): bump insta from 1.43.2 to 1.44.3
Bumps insta from 1.43.2 to 1.44.3.
Release notes
Sourced from insta's releases.
1.44.3
Release Notes
- Fix a regression in 1.44.2 where merge conflict detection was too aggressive, incorrectly flagging snapshot content containing
======or similar patterns as conflicts. #832- Fix a regression in 1.42.2 where inline snapshot updates would corrupt the file when code preceded the macro (e.g.,
let output = assert_snapshot!(...)). #833Install cargo-insta 1.44.3
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/mitsuhiko/insta/releases/download/1.44.3/cargo-insta-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/mitsuhiko/insta/releases/download/1.44.3/cargo-insta-installer.ps1 | iex"Download cargo-insta 1.44.3
File Platform Checksum cargo-insta-aarch64-apple-darwin.tar.xz Apple Silicon macOS checksum cargo-insta-x86_64-apple-darwin.tar.xz Intel macOS checksum cargo-insta-x86_64-pc-windows-msvc.zip x64 Windows checksum cargo-insta-x86_64-unknown-linux-gnu.tar.xz x64 Linux checksum cargo-insta-x86_64-unknown-linux-musl.tar.xz x64 MUSL Linux checksum 1.44.2
Release Notes
- Fix a rare backward compatibility issue where inline snapshots using an uncommon legacy format (single-line content stored in multiline raw strings) could fail to match after 1.44.0. #830
- Handle merge conflicts in snapshot files gracefully. When a snapshot file contains git merge conflict markers, insta now detects them and treats the snapshot as missing, allowing tests to continue and create a new pending snapshot for review. #829
- Skip nextest_doctest tests when cargo-nextest is not installed. #826
- Fix functional tests failing under nextest due to inherited
NEXTEST_RUN_IDenvironment variable. #824Install cargo-insta 1.44.2
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/mitsuhiko/insta/releases/download/1.44.2/cargo-insta-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/mitsuhiko/insta/releases/download/1.44.2/cargo-insta-installer.ps1 | iex" </tr></table>
... (truncated)
Changelog
Sourced from insta's changelog.
1.44.3
- Fix a regression in 1.44.2 where merge conflict detection was too aggressive, incorrectly flagging snapshot content containing
======or similar patterns as conflicts. #832- Fix a regression in 1.42.2 where inline snapshot updates would corrupt the file when code preceded the macro (e.g.,
let output = assert_snapshot!(...)). #8331.44.2
- Fix a rare backward compatibility issue where inline snapshots using an uncommon legacy format (single-line content stored in multiline raw strings) could fail to match after 1.44.0. #830
- Handle merge conflicts in snapshot files gracefully. When a snapshot file contains git merge conflict markers, insta now detects them and treats the snapshot as missing, allowing tests to continue and create a new pending snapshot for review. #829
- Skip nextest_doctest tests when cargo-nextest is not installed. #826
- Fix functional tests failing under nextest due to inherited
NEXTEST_RUN_IDenvironment variable. #8241.44.1
- Add
--dndalias for--disable-nextest-doctestflag to make it easier to silence the deprecation warning. #822- Update cargo-dist to 0.30.2 and fix Windows runner to use windows-2022. #821
1.44.0
- Added non-interactive snapshot review and reject modes for use in non-TTY environments (LLMs, CI pipelines, scripts).
cargo insta review --snapshot <path>andcargo insta reject --snapshot <path>now work without a terminal. Enhancedpending-snapshotsoutput with usage instructions and workspace-relative paths. #815- Add
--disable-nextest-doctestflag tocargo insta testto disable running doctests with nextest. Shows a deprecation warning when nextest is used with doctests without this flag, to preparecargo instato no longer run a separate doctest process when using nextest in the future. #803- Add ergonomic
--test-runner-fallback/--no-test-runner-fallbackflags tocargo insta test. #811- Apply redactions to snapshot metadata. #813
- Remove confusing 'previously unseen snapshot' message. #812
- Speed up JSON float rendering. #806 (
@nyurik)- Allow globset version up to 0.4.16. #810 (
@g0hl1n)- Improve documentation. #814 (
@tshepang)- We no longer trim starting newlines during assertions, which allows asserting the number of leading newlines match. Existing assertions with different leading newlines will pass and print a warning suggesting running with
--force-update-snapshots. They may fail in the future. (Note that we still currently allow differing trailing newlines, though may adjust this in the future). #563
Commits
dcbb11fPrepare release 1.44.3 (#838)3b9ec12Refine test name & description (#837)ee4e1eaHandle unparsable snapshot files gracefully (#836)778f733Fix for code before macros, such aslet foo = assert_snapshot!(#835)6cb41afPrepare release 1.44.2 (#831)8838b2fHandle merge conflicts in snapshot files gracefully (#829)e55ce99Fix backward compatibility for legacy inline snapshot format (#830)d44dd42Skip nextest_doctest tests when cargo-nextest is not installed (#826)a711bafFix functional tests failing under nextest (#824)ba9ea51Prepare release 1.44.1 (#823)- Additional commits viewable in compare view
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 rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)