2 Commits

Author SHA1 Message Date
Wang Mingyu fe086de31a python3-inline-snapshot: upgrade 0.32.6 -> 0.32.7
Changelog:
============
- Fixed snapshot comparison for dicts where keys are dataclass instances (or
  other custom objects used as dict keys), which previously caused corrupted
  snapshots - either collapsing multiple entries into one or appending duplicate
  keys on subsequent runs
- Fixed tuple snapshot updates to compare elements positionally rather than
  using sequence alignment, so existing expressions (e.g. 3 + 3) are preserved
  when elements are removed from or added to a tuple.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-05-12 01:06:54 -07:00
Wang Mingyu 8bf9ef4452 python3-inline-snapshot: upgrade 0.32.5 -> 0.32.6
Fix:
- Pydantic models, attrs and dataclasses with NewType-typed fields now generate
  correct snapshots that wrap the field value with the NewType constructor (e.g.
  Something(some_id=SomeID(1)) instead of Something(some_id=1)). This could only
  be fixed for Python >= 3.10.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-04-14 08:59:34 -07:00