Releases: corenting/immutabledict
Releases · corenting/immutabledict
Version 4.3.1
- Fix: fix typing issues with pytype/pyrefly. Thanks to @mfigurnov for the PR.
Version 4.3.0
- 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
dictdue 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
No code changes.
- Update classifiers, Github Actions... for Python 3.14
- Update metadatas for PEP 639
Version 4.2.1
- Published with attestation
- Update classifiers, Github Actions... for Python 3.13 (no code changes)
Version 4.2.0
- Add
discardmethod 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
- Do not store cached hash value when pickling. Thanks to @matthiasdiener for the PR #287
Version 4.0.0
- Replace
__init__by__new__. Thanks to @spacether for the PR #263 - Add explicit items()/keys()/values() methods to speedup these methods. Thanks to @matthiasdiener for the PR #265
- Add set/delete/update functions. Thanks to @matthiasdiener for the PR #271
- Add documentation at immutabledict.corenting.fr
Version 3.0.0
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 normaldict).- 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
Version 2.2.4
- Include tests in sdist for easier packaging