stable

rust-cargo-insta-1.41.1-1.fc40 and rust-insta-1.41.1-1.fc40

FEDORA-2024-6253c41b22 created by music 12 months ago for Fedora 40

Update rust-insta and rust-cargo-insta to version 1.41.1.

1.41.1

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

1.41.0

  • Experimental support for binary snapshots.

  • --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.

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

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

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

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

  • cargo insta --version now prints a version.

  • 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.)

  • 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.

How to install

Updates may require up to 24 hours to propagate to mirrors. If the following command doesn't work, please retry later:

sudo dnf upgrade --refresh --advisory=FEDORA-2024-6253c41b22

This update's test gating status has been changed to 'waiting'.

12 months ago

This update's test gating status has been changed to 'ignored'.

12 months ago

This update has been submitted for testing by bodhi.

12 months ago

This update has been pushed to testing.

12 months ago

This update has been submitted for stable by bodhi.

12 months ago

This update has been pushed to stable.

12 months ago

Please log in to add feedback.

Metadata
Type
bugfix
Karma
0
Signed
Content Type
RPM
Test Gating
Autopush Settings
Unstable by Karma
-3
Stable by Karma
3
Stable by Time
7 days
Dates
submitted
12 months ago
in testing
12 months ago
in stable
12 months ago
approved
12 months ago
BZ#2322050 rust-insta-1.41.1 is available
0
0
BZ#2322060 rust-cargo-insta-1.41.1 is available
0
0

Automated Test Results