unstale

pypi / deepdiff

deepdiff

What changed in deepdiff 8 to 9, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-21.

4 breaking2 security3 new APIs and options1 behavior and defaults9 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.1 on npm

deepdiff 917 changes

Breaking changes 4

  • ignore_order=True now reports int-versus-float type changes.

    9.0.0release notes

  • Support for Python 3.9 is dropped.

    9.0.0release notes

  • The view_override parameter is removed; pass an explicit verbose_level to get previous tree-view results.

    9.0.0release notes

  • The view_override parameter is removed; pass an explicit verbose_level to get previous tree-view results.

    9.0.0release notes

New APIs and options 3

  • A TypedDict is added for the return type of to_flat_dicts.

    9.0.0release notes

  • to_dict() accepts verbose_level and returns a usable text-view dict; tree view defaults to verbose_level=2 for full detail.

    9.0.0release notes

  • to_json() accepts verbose_level and returns a usable text-view dict; tree view defaults to verbose_level=2 for full detail.

    9.0.0release notes

Behavior and default changes 1

Fixes and other changes 9

  • Colored view display is fixed when all list items are removed.

    9.0.0release notes

  • An issue with ignore_keys in detailed__dict__ is fixed.

    9.0.0release notes

  • The type hint for logarithmic similarity is fixed.

    9.0.0release notes

  • Fixes an orjson TypeError for integers exceeding the 64-bit range.

    9.0.0release notes

  • Path reporting always uses the t1 path.

    9.0.0release notes

  • Python 3.14 is supported.

    9.0.0release notes

  • AttributeError is no longer swallowed by hasattr() for objects with __getattr__ during __slots__ handling.

    9.0.0release notes

  • include_action_in_path is now passed through by to_flat_dicts.

    9.0.0release notes

  • report_type_changes is now passed through by to_flat_dicts.

    9.0.0release notes

deepdiff 82 changes

Security 2

  • Fixes CVE-2025-58367; the notes provide no further details about the vulnerability or fix.

    8.6.2release notes

  • DeepDiff has Memory Exhaustion DoS through SAFE_TO_IMPORT

    8.6.2security advisory