-
- adds an inverse method to
ImmutableDict
(#75 <https://github.com/isi-vista/immutablecollections/issues/75>
_)
- adds an inverse method to
No significant changes.
ImmutableSet
now implements the same methods as the standard libraryfrozenset
. Added theissubset
,issuperset
, andsymmetric_difference
convenience methods that wrap<=
,>=
, and^
, respectively, and the shallowcopy
method. (#61 <https://github.com/isi-vista/immutablecollections/issues/61>
_)
- Slicing of
ImmutableSet
s that only contain a single element is implemented. (#23 <https://github.com/isi-vista/immutablecollections/issues/23>
_)
- Add workarounds for mypy problems with attrs type converters and generics. This is to workaround python/mypy#5738 and python-attrs/attrs#519 . (
#59 <https://github.com/isi-vista/immutablecollections/pull/59>
_)
ImmutableList
has been removed in favor oftuple
. Now that we are no longer targeting support for runtime type-checking of collections,ImmutableList
had no advantage overtuple
for any purpose. (#42 <https://github.com/isi-vista/immutablecollections/issues/42>
_)
- immutableset can now be created from KeysView, ItemsView if dict iteration is deterministic. (
#35 <https://github.com/isi-vista/immutablecollections/issues/35>
_)
- ImmutableDict supports equality comparison with
dict
. ImmutableSet supports equality comparison withset
andfrozenset
. (#33 <https://github.com/isi-vista/immutablecollections/issues/33>
_)
- Distribute type information (PEP 561) (
#29 <https://github.com/isi-vista/immutablecollections/issues/29>
_)
- Removes
.as_list()
fromImmutableSet
. It is no longer needed sinceImmutableSet
extendsSequence
. (#12 <https://github.com/isi-vista/immutablecollections/issues/12>
_)
- Adds module-level factory methods for all collections (e.g.
immutableset(...)
). These should be preferred over builders and.of
methods. (#12 <https://github.com/isi-vista/immutablecollections/issues/12>
_)
- Started using towncrier to generate a changelog (
#6 <https://github.com/isi-vista/immutablecollections/issues/6>
_) - Support inversion of MultiDicts (
#8 <https://github.com/isi-vista/immutablecollections/issues/8>
_)