diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d8000b35..51340beb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -92,6 +92,7 @@ jobs: name: Publish new release runs-on: ubuntu-latest needs: [test, coverage] + environment: pypi permissions: # IMPORTANT: this permission is mandatory for Trusted Publishing id-token: write diff --git a/CHANGELOG.md b/CHANGELOG.md index 5fdb77ec..7bf28927 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,15 @@ + +# 0.18.2 — 2025-01-02 + +## Changed + +- added `[dependency-groups]` to *pyproject.toml* and use uv and pytest to run tests in CI. + +## Fixed + +- use '.model_fields' on pydantic model class and not instance. This fixes a deprecation warning in the upcomming pydantic v2.11 (#169) + # 0.18.1 — 2024-12-22 diff --git a/changelog.d/20250101_115301_15r10nk-git_fix_pydantic_warning_169.md b/changelog.d/20250101_115301_15r10nk-git_fix_pydantic_warning_169.md deleted file mode 100644 index 5ec0caed..00000000 --- a/changelog.d/20250101_115301_15r10nk-git_fix_pydantic_warning_169.md +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - -### Fixed - -- use '.model_fields' on pydantic model class and not instance. This fixes a deprecation warning in the upcomming pydantic v2.11 (#169) - - diff --git a/changelog.d/20250102_104344_15r10nk-git_sys_executable.md b/changelog.d/20250102_104344_15r10nk-git_sys_executable.md deleted file mode 100644 index d39b16fb..00000000 --- a/changelog.d/20250102_104344_15r10nk-git_sys_executable.md +++ /dev/null @@ -1,40 +0,0 @@ - - - - -### Changed - -- added `[dependency-groups]` to *pyproject.toml* and use uv and pytest to run tests in CI. - - - - diff --git a/pyproject.toml b/pyproject.toml index 0c5e5fcf..1801ebcf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -37,7 +37,7 @@ keywords = [] name = "inline-snapshot" readme = "README.md" requires-python = ">=3.8" -version = "0.18.1" +version = "0.18.2" [dependency-groups] dev = [ diff --git a/src/inline_snapshot/__init__.py b/src/inline_snapshot/__init__.py index 18e929b3..39036e78 100644 --- a/src/inline_snapshot/__init__.py +++ b/src/inline_snapshot/__init__.py @@ -18,4 +18,4 @@ "Snapshot", ] -__version__ = "0.18.1" +__version__ = "0.18.2"