Skip to content

Releases: corenting/immutabledict

Version 4.2.1

17 Nov 13:27
8e34519
Compare
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
Compare
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
Compare
Choose a tag to compare

Version 4.0.0

25 Nov 12:30
782623a
Compare
Choose a tag to compare

Version 3.0.0

21 Jul 18:08
c5b25bb
Compare
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
Compare
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
Compare
Choose a tag to compare
  • Include tests in sdist for easier packaging

Version 2.2.3

23 Apr 18:33
a7d5dd5
Compare
Choose a tag to compare
  • Fix TypeError message when using |=. Thanks to @ronshapiro for the PR #66
  • Update docstring for ImmutableOrderedDict to indicate that is not needed anymore for Python >= 3.7 but kept for compatibility purposes
  • Use postponed evaluation of annotations (PEP 563) for the typing

Version 2.2.2

23 Apr 18:33
f4341e6
Compare
Choose a tag to compare
  • Update classifiers, Github Actions... for Python 3.11 (no code changes)

Version 2.2.1

23 Apr 18:33
Compare
Choose a tag to compare
  • Update classifiers, Github Actions... for Python 3.10 (no code changes)