Inline-snapshot

Latest version: v0.8.2

Safety actively analyzes 623490 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

0.8.2

Fix

- removed restriction that the snapshot functions has to be called snapshot (72)
- report error in tear down for sub-snapshots with missing values (70)
- element access in sub-snapshots does not create new values

0.8.1

Fix

- make typing less strict

0.8.0

Feat

- prevent dirty-equal values from triggering of updates
- fix lists by calculating the alignment of the changed values
- insert dict items
- delete dict items
- preserve not changed dict-values and list-elements

Fix

- update with UndecidedValue
- handle dicts with mulitple insertions and deletions
- handle lists with mulitple insertions and deletions
- fixed typing and coverage

Refactor

- removed old _needs_* logic
- removed get_result
- use _get_changes api for DictValue
- use _get_changes api for CollectionValue
- use _get_changes api for MinMaxValue
- use _get_changes
- moved some functions

0.7.0

Feat

- removed old --update-snapshots option

0.6.1

Fix

- use utf-8 encoding to read and write source files

0.6.0

Feat

- store snapshot values in external files

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.