Skip to content

1.49.0

Latest

Choose a tag to compare

@github-actions github-actions released this 03 Oct 01:17
5df39ce

Release Notes

  • Allow Option<&OsStr> snapshot names, such as Path::file_name(),
    without explicit string conversion. #929 (@dislogical)
  • Add prebuilt cargo-insta binaries for ARM64 Linux
    (aarch64-unknown-linux-gnu). #942 (@AlJohri)
  • Fix JSON serialization of maps keyed by unit enum variants. Keys use the
    serialized variant name, including serde renames. #934 (@teddytennant)
  • Remove trailing semicolons from serialization macro bodies to avoid
    compiler warnings when used in expression position. #940 (@Tiwalun)
  • Mention INSTA_UPDATE=always in snapshot mismatch hints for file
    snapshots. #927 (@hiro-nikaitou)
  • Update the lockfile's tempfile and rustix dependencies to fix builds
    with newer Rust toolchains. #939
  • Fix cargo insta test --all-targets --test-runner nextest failing with
    "Can't mix --doc with other target selecting options". Like cargo test --all-targets, it no longer runs doctests. #460

Install cargo-insta 1.49.0

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/mitsuhiko/insta/releases/download/1.49.0/cargo-insta-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -ExecutionPolicy Bypass -c "irm https://github.com/mitsuhiko/insta/releases/download/1.49.0/cargo-insta-installer.ps1 | iex"

Download cargo-insta 1.49.0

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-aarch64-unknown-linux-gnu.tar.xz ARM64 Linux 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

This was written by Codex on behalf of @max-sixty