Skip to content

build(deps-dev): bump inline-snapshot from 0.20.9 to 0.21.2#210

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

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

Conversation

@dependabot
Copy link
Contributor

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

Bumps inline-snapshot from 0.20.9 to 0.21.2.

Release notes

Sourced from inline-snapshot's releases.

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.

0.20.10

Fixed

  • Use of the correct snapshot category (update/fix) when deleting dataclass arguments.
Changelog

Sourced from inline-snapshot's changelog.

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.

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

0.20.10 — 2025-03-26

Fixed

... (truncated)

Commits
  • 338f522 bump: version 0.21.1 → 0.21.2
  • 77abf28 Merge pull request #218 from 15r10nk/fix_is_repr
  • 595232f fix: repr(Is(x)) returns now repr(x) (#217)
  • 250aee5 bump: version 0.21.0 → 0.21.1
  • ffc6255 Merge pull request #216 from 15r10nk/fix_trailing_whitespaces
  • 566cad6 fix: handle trailing whitespaces in multiline strings
  • d2e5793 Merge pull request #215 from 15r10nk/docs_changes
  • ec29714 docs: documented alternatives
  • b31e303 docs: fixed broken link
  • 126191b bump: version 0.20.10 → 0.21.0
  • 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 1, 2025
@dependabot dependabot bot force-pushed the dependabot/pip/inline-snapshot-0.21.2 branch from c397b52 to fc4d64e Compare April 2, 2025 10:33
Bumps [inline-snapshot](https://github.com/15r10nk/inline-snapshot) from 0.20.9 to 0.21.2.
- [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.21.2)

---
updated-dependencies:
- dependency-name: inline-snapshot
  dependency-version: 0.21.2
  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 2, 2025

Superseded by #212.

@dependabot dependabot bot closed this Apr 2, 2025
@dependabot dependabot bot deleted the dependabot/pip/inline-snapshot-0.21.2 branch April 2, 2025 17:12
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