Skip to content

Releases: corenting/immutabledict

Version 4.3.1

15 Feb 10:31
5ee713e

Choose a tag to compare

  • Fix: fix typing issues with pytype/pyrefly. Thanks to @mfigurnov for the PR.

Version 4.3.0

10 Feb 18:15
d489a4a

Choose a tag to compare

  • Add typed __new__ overloads for type-safe constructor calls. Thanks to @mfigurnov for the PR.
  • Fix: correct ImmutableOrderedDict _dict_cls so that it works correctly. It actually silently used plain dict due to the issue (which actually do preserve order on Python 3.7+, so the bug was not noticed). Thanks to @mfigurnov for the PR.

Version 4.2.2

15 Oct 11:20
1f70d2c

Choose a tag to compare

No code changes.

  • Update classifiers, Github Actions... for Python 3.14
  • Update metadatas for PEP 639

Version 4.2.1

17 Nov 13:27
8e34519

Choose a tag to compare

  • Published with attestation
  • Update classifiers, Github Actions... for Python 3.13 (no code changes)

Version 4.2.0

06 Mar 18:27
a644705

Choose a tag to compare

  • Add discard method which return a new immutabledict without the item at the given key, if present. Thanks to @matthiasdiener for the PR #307

Version 4.1.0

04 Jan 12:46
d0e3743

Choose a tag to compare

Version 4.0.0

25 Nov 12:30
782623a

Choose a tag to compare

Version 3.0.0

21 Jul 18:08
c5b25bb

Choose a tag to compare

  • copy() (breaking change): remove the option to pass keyword arguments (which were present as key/value pairs in the copy). Now the method doesn't take any arguments (it behaves the same as a normal dict).
  • Python versions: drop Python 3.7 support
  • Typing: fixes
    • Make the key covariant. Thanks to @spacether for the PR #244
    • Fix key/value typing missing for ImmutableOrderedDict

Version 2.2.5

04 Jul 10:40
91ae253

Choose a tag to compare

  • Fix hard-coded class reference in fromkeys() resulting in always using dict for fromkeys() (instead of OrderedDict in ImmutableOrderedDict for example). Thanks to @cthoyt for the PR #234

Version 2.2.4

23 Apr 18:33
fcfb109

Choose a tag to compare

  • Include tests in sdist for easier packaging