Skip to content

Commit

Permalink
bump: version 0.13.1 → 0.13.2
Browse files Browse the repository at this point in the history
  • Loading branch information
15r10nk committed Sep 24, 2024
1 parent 2e3a182 commit c461502
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 53 deletions.
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@

<a id='changelog-0.13.2'></a>
# 0.13.2 — 2024-09-24

## Changed

- star-expressions in list or dicts where never valid and cause a warning now.
```
other=[2]
assert [5,2]==snapshot([5,*other])
```
## Fixed
- A snapshot which contains an dirty-equals expression can now be compared multiple times.
``` python
def test_something():
greeting = "hello"
for name in ["alex", "bob"]:
assert (name, greeting) == snapshot((IsString(), "hello"))
```
## v0.13.1 (2024-09-18)
### Fix
Expand Down
49 changes: 0 additions & 49 deletions changelog.d/20240917_192956_15r10nk-git_fix_dirty_equals.md

This file was deleted.

4 changes: 1 addition & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ keywords = []
name = "inline-snapshot"
readme = "README.md"
requires-python = ">=3.8"
version = "0.13.1"
version = "0.13.2"

[project.entry-points.pytest11]
inline_snapshot = "inline_snapshot.pytest_plugin"
Expand All @@ -53,10 +53,8 @@ Issues = "https://github.com/15r10nk/inline-snapshots/issues"
Repository = "https://github.com/15r10nk/inline-snapshot/"

[tool.commitizen]
changelog_incremental = true
major_version_zero = true
tag_format = "v$major.$minor.$patch$prerelease"
update_changelog_on_bump = true
version_files = [
"src/inline_snapshot/__init__.py:__version__"
]
Expand Down
2 changes: 1 addition & 1 deletion src/inline_snapshot/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@

__all__ = ["snapshot", "external", "outsource", "customize_repr", "HasRepr"]

__version__ = "0.13.1"
__version__ = "0.13.2"

0 comments on commit c461502

Please sign in to comment.