Dictdiffer

Latest version: v0.9.0

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

Scan your dependencies

Page 2 of 3

0.6.1

- Changes order of items for REMOVE section of generated patches when
`swap` is called so the list items are removed from the end. (85)
- Improves API documentation for `ignore` argument in `diff` function.
(79)
- Executes doctests during PyTest invocation.

0.6.0

- Adds support for comparing NumPy arrays. (68)
- Adds support for comparing mutable mappings, sequences and sets from
`collections.abs` module. (67)
- Updates package structure, sorts imports and runs doctests.
- Fixes order in which handled conflicts are unified so that the
Merger's unified_patches can be always applied.

0.5.0

- Adds tolerance parameter used when user wants to treat closed values
as equals
- Adds support for comparing numerical values and NaN. (54) (55)

0.4.0

- Adds support for diffing and patching of sets. (44)
- New tests for diff on the same lists. (48)
- Fix for exception when dict has unicode keys and ignore parameter is
provided. (50)
- PEP8 improvements.

0.3.0

- Adds ignore argument to `diff` function that allows skipping check
on specified keys. (34 35)
- Fix for diffing of dict or list subclasses. (37)
- Better instance checking of diffing objects. (39)

0.2.0

- Fix for empty list instructions. (30)
- Regression test for empty list instructions.

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.