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.40.0 #53

Merged
merged 1 commit into from
Oct 15, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 5, 2024

This PR contains the following updates:

Package Type Update Change
insta (source) dev-dependencies minor 1.33.0 -> 1.40.0

Release Notes

mitsuhiko/insta (insta)

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

v1.38.0

Compare Source

  • Filters is now constructible from IntoIterator. #​400

  • Change std macro calls to be fully qualified. This fixes issues where
    the prelude was not used or the macros were overridden. #​469

v1.37.0

Compare Source

  • All macros for file snapshots should now handle trailing commas (but not yet inline snapshots)

  • Vendored old yaml-rust dependency to avoid rustsec warnings. #​465

v1.36.1

Compare Source

  • Fix an ownership issue introduced in 1.36 with snapshot assertions. #​453

v1.36.0

Compare Source

  • Deprecate INSTA_FORCE_UPDATE_SNAPSHOTS env-var for INSTA_FORCE_UPDATE.
    The latter was documented, the former was implemented. #​449

  • Add require_full_match option. #​448

  • Deprecate assert_display_snapshot!. #​385

v1.35.1

Compare Source

  • Fixed a bug with diffs showing bogus newlines.

v1.35.0

Compare Source

  • Fixed a crash when a file named .config was in the root.
  • Added new alternative match .. { ... } syntax to redactions for better
    rustfmt support. (#​428)
  • The --package parameter can be supplied multiple times now. (#​427)
  • Leading newlines in snapshots are now ignored to resolve issues with
    inline snapshots that were never able to match. (#​444)
  • cargo insta test now accepts the --test parameter multiple times. (#​437)

v1.34.0

Compare Source

  • Snapshots are now sorted in the UI on review. (#​413)
  • Re-organized repository to move cargo-insta into a workspace. (#​410)
  • Fixed handling of --manifest-path with regards to virtual workspaces. (#​409)

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 force-pushed the renovate/insta-1.x-lockfile branch 2 times, most recently from bfdbae1 to 8dbc187 Compare October 10, 2024 18:28
@renovate renovate bot force-pushed the renovate/insta-1.x-lockfile branch 7 times, most recently from 701ddd3 to ea6b194 Compare October 15, 2024 10:45
@renovate renovate bot force-pushed the renovate/insta-1.x-lockfile branch from ea6b194 to 484d342 Compare October 15, 2024 10:55
@DeveloperC286 DeveloperC286 merged commit ba319f1 into main Oct 15, 2024
11 of 12 checks passed
@DeveloperC286 DeveloperC286 deleted the renovate/insta-1.x-lockfile branch October 15, 2024 10:59
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