NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI
PyPI, #3250 most downloaded on PyPI
Immutable Collections
Latest stable
0.21
Last release 2 years ago
no release in 18 months
Ships fairly regularly
a new release about every 7 months
Most releases are documented
notes for 16 of 21 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
21 releases · first in 2018
Drag across the ruler to compare, or tap a release to open it.
Drop typing_extensions dependency (#114) (by @nicoddemus in 3ba46f71 for #114)
_PyLong_Format with PyNumber_ToBase (#118)
(by @musicinmybrain in 81d7c92d for #116)Enable support for pattern matching (#96) (by @antonagestam in 7071a24d)
Enable support for pattern matching (#96) (by @antonagestam in 7071a24d)
add support for aix/sunos (#98) (by @mattp- in 765e4ee0)
Python 3.12 compatibility (#105) (by @elprans in f7978225)
Add contains to MapKeys (#99) (by @msullivan in 6790111e)
Add PEP 585 GenericAlias support (#101) (by @eltoder in 9ce64c53)
Move metadata to pyproject.toml, fix test fixture inclusion in sdist (#111)
(by @elprans in ea656567 for)
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Changes ======= Support for Python 3.11
Support for Python 3.11
Nothing published for this version
Add missing name in table [project] in 'pyproject.toml'. (#78) (by @mvaled in 80b537f7 for #78)
Refactor typings (by @bryanforbes in 39f9f0de and @msullivan in 4a175499)
Refactor typings (by @bryanforbes in 39f9f0de and @msullivan in 4a175499)
Update Python 3.10 support, drop Python 3.5 (by @elprans in fa355239 and 189b959d)
test_none_collisions on 32-bit systems (#69)
(by @elprans in fa355239 for #69)Clarify the license of the included pythoncapi_compat.h header
(by @elprans in 67c5edfb for #64)
Use cibuildwheel to build wheels (#70) (by @elprans in f671cb4d for #70)
Add support for Python 3.10 and more tests (by @vstinner in 45105ecd for #46, @hukkinj1 in d7f3eebb, f0b4fd40)
Add support for Python 3.10 and more tests (by @vstinner in 45105ecd for #46, @hukkinj1 in d7f3eebb, f0b4fd40)
Make __repr__ more similar to other mapping types
(by @ofek in 8af15021 for #17)
Allow None to be used as key in pure-Python implementation.
None to be used as key in pure-Python implementation.Various improvements w.r.t. type annotations & typing support (by @hukkinj1)
Bugfixes
Various improvements w.r.t. type annotations & typing support (by @hukkinj1)
Fix pure-Python implementation to accept keyword argument "col" correctly (by @hukkinj1)
Fix the mutation API to maintain elements count correctly (#25, #24)
Nothing published for this version
Nothing published for this version
Don't allow MapMutation.update() calls after the mutation is finished
Don't allow MapMutation.update() calls after the mutation is finished
Simplify MapMutation.exit() implementation
Add new MapMutation.update() method that behaves like MutableMapping.update()
Add new MapMutation.update() method that behaves like
MutableMapping.update()
Make it faster to create a Map() from another Map()—it's now an
O(1) operation.
update() method had a bug that could cause the update Map object to
have a wrong number of elements.
All new APIs are covered in the README file.
All new APIs are covered in the README file.
Allow Map objects to be constructed from other mappings:
Map(a=1), or Map([('a', 1)]), or Map(dict(a=1)).
Implement Map.update() method.
Implement Map.mutate() and MapMutation API.
Make Map objects pickleable.
Make Map.keys(), Map.values(), and Map.items() proper dict-view
like objects.
Fixed a crash in Map constructor (C implementation)
Reject keyword and positional arguments in __new__
Breaking change: Map.delete() now raises a KeyError if a user deletes a missing key.
Breaking change: Map.delete() now raises a KeyError if a user deletes a missing key.
Add a pure-Python implementation to support PyPy.
Test coverage is now 100%.
Implement Map.__repr__() and Map.__hash__()
Map.__repr__() and Map.__hash__()Nothing published for this version
Nothing published for this version
One column per quarter.