Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update rust crate insta to v1.41.1 #220

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 15, 2024

This PR contains the following updates:

Package Type Update Change
insta (source) dev-dependencies minor 1.38.0 -> 1.41.1

Release Notes

mitsuhiko/insta (insta)

v1.41.1

Compare Source

  • Re-release of 1.41.1 to generate release artifacts correctly.

v1.41.0

Compare Source

  • Experimental support for binary snapshots. #​610 (Florian Plattner)

  • --force-update-snapshots now causes cargo-insta to write every snapshot, regardless of whether
    snapshots fully match, and now implies --accept. This
    allows for --force-update-snapshots to update inline snapshots'
    delimiters and indentation.

    For the previous behavior of --force-update-snapshots, which limited writes to
    snapshots which didn't fully match, use --require-full-match.
    The main difference between --require-full-match and the existing behavior of --force-update-snapshots
    is a non-zero exit code on any snapshots which don't fully match.

    Like the previous behavior of --force-update-snapshots, --require-full-match
    doesn't track inline snapshots' delimiters or
    indentation, so can't update if those don't match. #​644

  • Inline snapshots only use # characters as delimiters when required. #​603

  • Warnings for undiscovered snapshots are more robust, and include files with
    custom snapshot extensions. #​637

  • Insta runs correctly on packages which reference rust files in a parent path. #​626

  • Warnings are printed when any snapshot uses a legacy format. #​599

  • cargo insta --version now prints a version. #​665

  • insta now internally uses INSTA_UPDATE=force rather than
    INSTA_FORCE_UPDATE=1. (This doesn't affect users of cargo-insta, which
    handles this internally.) #​482

  • cargo-insta's integration tests continue to grow over the past couple of versions,
    and now offer coverage of most of cargo-insta's interface.

v1.40.0

Compare Source

  • 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

  • test runner in insta's yaml config works. #​544

  • 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

v1.39.0

Compare Source

  • Fixed a bug in require_full_match. #​485

  • Fixed a bug that caused snapshot and module names to sometimes be inaccurate. #​483

  • Insta will no longer error when attempting to remove snapshots that were already removed. #​484

  • Added support for trailing commas in inline snapshots. #​472

  • Don't pass --color in all cases to libtest any more to work around limitations
    with custom test harnesses. #​491


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from thetayloredman as a code owner May 15, 2024 18:06
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 72.43%. Comparing base (b4dc28b) to head (344f24c).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #220      +/-   ##
==========================================
- Coverage   72.47%   72.43%   -0.05%     
==========================================
  Files          23       23              
  Lines        2906     2909       +3     
==========================================
+ Hits         2106     2107       +1     
- Misses        800      802       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@renovate renovate bot changed the title chore(deps): update rust crate insta to v1.39.0 chore(deps): update rust crate insta to v1.40.0 Sep 6, 2024
@renovate renovate bot force-pushed the renovate/insta-1.x-lockfile branch from 344f24c to a5e8ce8 Compare September 16, 2024 11:22
@renovate renovate bot force-pushed the renovate/insta-1.x-lockfile branch from a5e8ce8 to e20ea95 Compare October 28, 2024 01:36
@renovate renovate bot changed the title chore(deps): update rust crate insta to v1.40.0 chore(deps): update rust crate insta to v1.41.0 Oct 28, 2024
@renovate renovate bot changed the title chore(deps): update rust crate insta to v1.41.0 chore(deps): update rust crate insta to v1.41.1 Oct 31, 2024
@renovate renovate bot force-pushed the renovate/insta-1.x-lockfile branch from e20ea95 to 482b441 Compare October 31, 2024 22:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant