Skip to content

Commit

Permalink
Bump insta from 1.40.0 to 1.41.0 (#42)
Browse files Browse the repository at this point in the history
Bumps [insta](https://github.com/mitsuhiko/insta) from 1.40.0 to 1.41.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/mitsuhiko/insta/releases">insta's
releases</a>.</em></p>
<blockquote>
<h2>1.41.0</h2>
<ul>
<li>
<p>Experimental support for binary snapshots. <a
href="https://redirect.github.com/mitsuhiko/insta/issues/610">#610</a>
(Florian Plattner)</p>
</li>
<li>
<p><code>--force-update-snapshots</code> now causes
<code>cargo-insta</code> to write every snapshot, regardless of whether
snapshots fully match, and now implies <code>--accept</code>. This
allows for <code>--force-update-snapshots</code> to update inline
snapshots' delimiters and indentation.</p>
<p>For the previous behavior of <code>--force-update-snapshots</code>,
which limited writes to snapshots which didn't fully match, use
<code>--require-full-match</code>. The main difference between
<code>--require-full-match</code> and the existing behavior of
<code>--force-update-snapshots</code>
is a non-zero exit code on any snapshots which don't fully match.</p>
<p>Like the previous behavior or <code>--force-update-snapshots</code>,
<code>--require-full-match</code> doesn't track inline snapshots'
delimiters or
indentation, so can't update if those don't match. <a
href="https://redirect.github.com/mitsuhiko/insta/issues/644">#644</a></p>
</li>
<li>
<p>Inline snapshots only use <code>#</code> characters as delimiters
when required. <a
href="https://redirect.github.com/mitsuhiko/insta/issues/603">#603</a></p>
</li>
<li>
<p>Warnings for undiscovered snapshots are more robust, and include
files with custom snapshot extensions. <a
href="https://redirect.github.com/mitsuhiko/insta/issues/637">#637</a></p>
</li>
<li>
<p>Insta runs correctly on packages which reference rust files in a
parent path. <a
href="https://redirect.github.com/mitsuhiko/insta/issues/626">#626</a></p>
</li>
<li>
<p>Warnings are printed when any snapshot uses a legacy format. <a
href="https://redirect.github.com/mitsuhiko/insta/issues/599">#599</a></p>
</li>
<li>
<p><code>cargo insta --version</code> now prints a version. <a
href="https://redirect.github.com/mitsuhiko/insta/issues/665">#665</a></p>
</li>
<li>
<p><code>insta</code> now internally uses
<code>INSTA_UPDATE=force</code> rather than
<code>INSTA_FORCE_UPDATE=1</code>. (This doesn't affect users of
<code>cargo-insta</code>, which handles this internally.) <a
href="https://redirect.github.com/mitsuhiko/insta/issues/482">#482</a></p>
</li>
<li>
<p><code>cargo-insta</code>'s integration tests continue to grow over
the past couple of versions, and now offer coverage of most of
<code>cargo-insta</code>'s interface.</p>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/mitsuhiko/insta/blob/master/CHANGELOG.md">insta's
changelog</a>.</em></p>
<blockquote>
<h2>1.41.0</h2>
<ul>
<li>
<p>Experimental support for binary snapshots. <a
href="https://redirect.github.com/mitsuhiko/insta/issues/610">#610</a>
(Florian Plattner)</p>
</li>
<li>
<p><code>--force-update-snapshots</code> now causes
<code>cargo-insta</code> to write every snapshot, regardless of whether
snapshots fully match, and now implies <code>--accept</code>.  This
allows for <code>--force-update-snapshots</code> to update inline
snapshots'
delimiters and indentation.</p>
<p>For the previous behavior of <code>--force-update-snapshots</code>,
which limited writes to
snapshots which didn't fully match, use
<code>--require-full-match</code>.
The main difference between <code>--require-full-match</code> and the
existing behavior of <code>--force-update-snapshots</code>
is a non-zero exit code on any snapshots which don't fully match.</p>
<p>Like the previous behavior or <code>--force-update-snapshots</code>,
<code>--require-full-match</code>
doesn't track inline snapshots' delimiters or
indentation, so can't update if those don't match. <a
href="https://redirect.github.com/mitsuhiko/insta/issues/644">#644</a></p>
</li>
<li>
<p>Inline snapshots only use <code>#</code> characters as delimiters
when required. <a
href="https://redirect.github.com/mitsuhiko/insta/issues/603">#603</a></p>
</li>
<li>
<p>Warnings for undiscovered snapshots are more robust, and include
files with
custom snapshot extensions. <a
href="https://redirect.github.com/mitsuhiko/insta/issues/637">#637</a></p>
</li>
<li>
<p>Insta runs correctly on packages which reference rust files in a
parent path. <a
href="https://redirect.github.com/mitsuhiko/insta/issues/626">#626</a></p>
</li>
<li>
<p>Warnings are printed when any snapshot uses a legacy format. <a
href="https://redirect.github.com/mitsuhiko/insta/issues/599">#599</a></p>
</li>
<li>
<p><code>cargo insta --version</code> now prints a version. <a
href="https://redirect.github.com/mitsuhiko/insta/issues/665">#665</a></p>
</li>
<li>
<p><code>insta</code> now internally uses
<code>INSTA_UPDATE=force</code> rather than
<code>INSTA_FORCE_UPDATE=1</code>. (This doesn't affect users of
<code>cargo-insta</code>, which
handles this internally.) <a
href="https://redirect.github.com/mitsuhiko/insta/issues/482">#482</a></p>
</li>
<li>
<p><code>cargo-insta</code>'s integration tests continue to grow over
the past couple of versions,
and now offer coverage of most of <code>cargo-insta</code>'s
interface.</p>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/mitsuhiko/insta/commit/031792816071470f99bc3c8fed68a3d554489364"><code>0317928</code></a>
Refine changelog (<a
href="https://redirect.github.com/mitsuhiko/insta/issues/675">#675</a>)</li>
<li><a
href="https://github.com/mitsuhiko/insta/commit/0e07a50b8b629080b78bd529386272ecc0438c32"><code>0e07a50</code></a>
Update a couple docstrings (<a
href="https://redirect.github.com/mitsuhiko/insta/issues/669">#669</a>)</li>
<li><a
href="https://github.com/mitsuhiko/insta/commit/083ce14965e70fb068dfc9f7cb629b88aa793801"><code>083ce14</code></a>
Another small simplification of <code>prepare_test_runner</code> (<a
href="https://redirect.github.com/mitsuhiko/insta/issues/667">#667</a>)</li>
<li><a
href="https://github.com/mitsuhiko/insta/commit/b7dea9b21de7fd7d50cd808ee0687bddd385be0a"><code>b7dea9b</code></a>
Small simplification of <code>prepare_test_runner</code> (<a
href="https://redirect.github.com/mitsuhiko/insta/issues/666">#666</a>)</li>
<li><a
href="https://github.com/mitsuhiko/insta/commit/5fd34e6678dc972e5e4b5ed3ac89bf3395baa596"><code>5fd34e6</code></a>
Print a version with <code>--version</code> (<a
href="https://redirect.github.com/mitsuhiko/insta/issues/665">#665</a>)</li>
<li><a
href="https://github.com/mitsuhiko/insta/commit/a8b6cc221c07df25fca3bc1578fedfc0670027b6"><code>a8b6cc2</code></a>
Small refactors (<a
href="https://redirect.github.com/mitsuhiko/insta/issues/664">#664</a>)</li>
<li><a
href="https://github.com/mitsuhiko/insta/commit/4f16d70a377bbb5948df7d16900584d7c47abe4a"><code>4f16d70</code></a>
Show hidden files in functional tests (<a
href="https://redirect.github.com/mitsuhiko/insta/issues/663">#663</a>)</li>
<li><a
href="https://github.com/mitsuhiko/insta/commit/2b8fce7be80305d5a9441efb5211a8c3041e5ef6"><code>2b8fce7</code></a>
Consolidate <code>Cargo.toml</code> creation in functional tests (<a
href="https://redirect.github.com/mitsuhiko/insta/issues/662">#662</a>)</li>
<li><a
href="https://github.com/mitsuhiko/insta/commit/10db5b042ef92dfb6b1c328042f4efa726f27ded"><code>10db5b0</code></a>
Changelog refinements (<a
href="https://redirect.github.com/mitsuhiko/insta/issues/649">#649</a>)</li>
<li><a
href="https://github.com/mitsuhiko/insta/commit/6a37645bf68dfc02568f917dd1bea1539d19b529"><code>6a37645</code></a>
Better error message if <code>cargo metadata</code> fails (<a
href="https://redirect.github.com/mitsuhiko/insta/issues/661">#661</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/mitsuhiko/insta/compare/1.40.0...1.41.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=insta&package-manager=cargo&previous-version=1.40.0&new-version=1.41.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will 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 version` will 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 dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Oct 28, 2024
1 parent ac966a3 commit aadd406
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit aadd406

Please sign in to comment.