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

build(deps-dev): bump inline-snapshot from 0.13.3 to 0.18.1 #68

Merged
merged 1 commit into from
Dec 25, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 23, 2024

Bumps inline-snapshot from 0.13.3 to 0.18.1.

Release notes

Sourced from inline-snapshot's releases.

0.18.1

Fixed

  • uv is now only used during test time if you run the inline-snapshot tests with pytest --use-uv This solves a problem if you want to package inline-snapshot in distributions (#165)

0.18.0

Added

  • Support for a new storage-dir configuration option, to tell inline-snapshot where to store data files such as external snapshots.

Fixed

  • pydantic v1 is supported again. pydantic v1 & v2 create now the same snapshots. You can use .dict() to get the same snapshots like in inline-snapshot-0.15.0 for pydantic v1.

    class M(BaseModel):
        name: str
    def test_pydantic():
    m = M(name="Tom")
    assert m == snapshot(M(name="Tom"))
    assert m.dict() == snapshot({"name": "Tom"})

  • Find pyproject.toml file in parent directories, not just next to the Pytest configuration file.

0.17.1

Fixed

  • Code generation for sets is now deterministic.
    def test():
        assert {1j, 2j, 1, 2, 3} == snapshot({1, 1j, 2, 2j, 3})

0.17.0

Added

  • attrs can now contain unmanaged values

    import datetime as dt
    import uuid
    import attrs
    from dirty_equals import IsDatetime
    from inline_snapshot import Is, snapshot
    @​attrs.define
    class Attrs:

... (truncated)

Changelog

Sourced from inline-snapshot's changelog.

0.18.1 — 2024-12-22

Fixed

  • uv is now only used during test time if you run the inline-snapshot tests with pytest --use-uv This solves a problem if you want to package inline-snapshot in distributions (#165)

0.18.0 — 2024-12-21

Added

  • Support for a new storage-dir configuration option, to tell inline-snapshot where to store data files such as external snapshots.

Fixed

  • pydantic v1 is supported again. pydantic v1 & v2 create now the same snapshots. You can use .dict() to get the same snapshots like in inline-snapshot-0.15.0 for pydantic v1.

    class M(BaseModel):
        name: str
    def test_pydantic():
    m = M(name="Tom")
    assert m == snapshot(M(name="Tom"))
    assert m.dict() == snapshot({"name": "Tom"})

  • Find pyproject.toml file in parent directories, not just next to the Pytest configuration file.

0.17.1 — 2024-12-17

Fixed

  • Code generation for sets is now deterministic.
    def test():
        assert {1j, 2j, 1, 2, 3} == snapshot({1, 1j, 2, 2j, 3})

0.17.0 — 2024-12-14

Added

  • attrs can now contain unmanaged values

... (truncated)

Commits
  • c8a26c2 bump: version 0.18.0 → 0.18.1
  • f6679e6 Merge pull request #166 from 15r10nk/fix_test_dependencies
  • 29add7a fix: added --use-uv option to install dependencies during test-time
  • bbbe50e bump: version 0.17.1 → 0.18.0
  • df78b7f fix: Find pyproject.toml in upper directories (#160)
  • b4e3b81 Merge pull request #163 from 15r10nk/pydantic_v1
  • 8a3bdd3 feat: pydantic v1 support
  • a88e0d5 feat: Add storage-dir configuration option (#162)
  • 4a202ff Merge pull request #157 from 15r10nk/update_actions
  • 5d6e697 ci: fix github release step
  • 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)

Bumps [inline-snapshot](https://github.com/15r10nk/inline-snapshot) from 0.13.3 to 0.18.1.
- [Release notes](https://github.com/15r10nk/inline-snapshot/releases)
- [Changelog](https://github.com/15r10nk/inline-snapshot/blob/main/CHANGELOG.md)
- [Commits](15r10nk/inline-snapshot@v0.13.3...0.18.1)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 23, 2024
@msoedov msoedov merged commit ed06bc9 into main Dec 25, 2024
2 checks passed
@dependabot dependabot bot deleted the dependabot/pip/inline-snapshot-0.18.1 branch December 25, 2024 07:52
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant