Releases: aio-libs/multidict
multidict 4.0.0 release
Changes
- Accept multiple keys in :py:meth:
MultiDict.updateand
:py:meth:CIMultiDict.update(:pr:199)
multidict 3.3.0
multidict 3.2.0 released
3.1.1
3.1.0
multidict 3.0.0
Changes
-
Refactor internal data structures: main dict operations are about
100% faster now. -
Preserve order on multidict updates #68
Updates are
md[key] = valandmd.update(...)calls.Now the last entry is replaced with new key/value pair, all
previous occurrences are removed.If key is not present in dictionary the pair is added to the end
-
Force keys to
strinstances #88 -
Implement
.popall(key[, default])#84 -
.pop()removes only first occurence,.popone()added #92 -
Implement dict's version #86
-
Proxies are not pickable anymore #77
Mulidict 2.1.5
Changes
- binary wheels for python 3.6 are added
multidict 2.1.1
CHANGES
- Fix
CIMultiDictconstructor for case of acceptingistr#11
multidict 2.1.0
CHANGES
- Allow to create proxy from proxy
- Add type hints (PEP-484)
multidict 2.0 release
The major multidict release.
New version is slightly incompatible with multidict==1.x
We have changed canonical representation for case insensitive strings.
Changes
upstris renamed toistr(case insensitive string)upstris remained as alias foristristrusesstr.title()for converting into canonical form.
It meansistr('content-length')now represented asContent-Lengthinstead ofCONTENT-LENGTH.- All tests that depend on
repr(upstr(...))are broken, everything else should work as expected.
P.S.
Sorry for inconvenience but the change was requested many times.
At least canonical representation of HTTP headers (the main consumer of the library) is title-cased.
aiohttp library will utilize new representation in next major release.