Skip to content

build(deps-dev): bump inline-snapshot from 0.20.9 to 0.22.0#214

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/inline-snapshot-0.22.0
Closed

build(deps-dev): bump inline-snapshot from 0.20.9 to 0.22.0#214
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/inline-snapshot-0.22.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 4, 2025

Bumps inline-snapshot from 0.20.9 to 0.22.0.

Release notes

Sourced from inline-snapshot's releases.

0.22.0

Added

  • You can now use the config option skip-snapshot-updates-for-now to skip the reporting of updates. But be aware that this option might not be there forever. Please create an issue if you think that the creation of snapshots can be improved.

0.21.3

Fixed

  • Allowed inline-snapshot to work when pytest-xdist is disabled with -n 0.

0.21.2

Fixed

  • repr(Is(x)) returns the same value as repr(x) to provide nice pytest outputs (#217)

0.21.1

Changed

  • trailing white spaces in multi-line strings are now terminated with an \n\.
    def test_something():
        assert "a   \nb\n" == snapshot(
            """\
    a   \n\
    b
    """
        )

0.21.0

Changed

  • inline-snapshot uses now --inline-snapshot=disable during CI runs by default. This improves performance because snapshot() is then equal to:

    def snapshot(x):
        return x

    It also has benefits for the accuracy of your tests as it is less likely that inline snapshot will affect your tests in CI.

  • The default flags have changed for cpython >= 3.11:

    • --inline-snapshot=create,review is used in an interactive terminal and
    • --inline-snapshot=report otherwise.
  • The categories in the terminal output are now links to the documentation if it is supported by the terminal.

Fixed

  • Hide update section if the diff is empty because the change is reverted by the format-command.

... (truncated)

Changelog

Sourced from inline-snapshot's changelog.

0.22.0 — 2025-04-03

Added

  • You can now use the config option skip-snapshot-updates-for-now to skip the reporting of updates. But be aware that this option might not be there forever. Please create an issue if you think that the creation of snapshots can be improved.

0.21.3 — 2025-04-02

Fixed

  • Allowed inline-snapshot to work when pytest-xdist is disabled with -n 0.

0.21.2 — 2025-03-31

Fixed

  • repr(Is(x)) returns the same value as repr(x) to provide nice pytest outputs (#217)

0.21.1 — 2025-03-29

Changed

  • trailing white spaces in multi-line strings are now terminated with an \n\.
    def test_something():
        assert "a   \nb\n" == snapshot(
            """\
    a   \n\
    b
    """
        )

0.21.0 — 2025-03-28

Changed

  • inline-snapshot uses now --inline-snapshot=disable during CI runs by default. This improves performance because snapshot() is then equal to:
    def snapshot(x):
        return x
    It also has benefits for the accuracy of your tests as it is less likely that inline snapshot will affect your tests in CI.

... (truncated)

Commits
  • 49990f4 bump: version 0.21.3 → 0.22.0
  • cc52228 Merge pull request #223 from 15r10nk/skip
  • 4895760 feat: skip updates
  • bcbbf59 bump: version 0.21.2 → 0.21.3
  • 4b3413f refactor: added typos to pre-commit script
  • aff7159 Merge pull request #221 from adamchainz/xdist_allow_zero_processes
  • 3183bb1 Allow use with xdist disabled with '-n 0'
  • 6dd25a9 Merge pull request #222 from adamchainz/fix_typos
  • d2cbd65 Merge pull request #220 from Viicos/patch-1
  • 73fcbcf Fix typos
  • Additional commits viewable in compare view

Dependabot compatibility score

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 commands and options

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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Apr 4, 2025
Bumps [inline-snapshot](https://github.com/15r10nk/inline-snapshot) from 0.20.9 to 0.22.0.
- [Release notes](https://github.com/15r10nk/inline-snapshot/releases)
- [Changelog](https://github.com/15r10nk/inline-snapshot/blob/main/CHANGELOG.md)
- [Commits](15r10nk/inline-snapshot@0.20.9...0.22.0)

---
updated-dependencies:
- dependency-name: inline-snapshot
  dependency-version: 0.22.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Apr 11, 2025

Superseded by #216.

@dependabot dependabot bot closed this Apr 11, 2025
@dependabot dependabot bot deleted the dependabot/pip/inline-snapshot-0.22.0 branch April 11, 2025 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants