Skip to content

Releases: aio-libs/multidict

multidict 4.0.0 release

28 Jan 08:09

Choose a tag to compare

Changes

  • Accept multiple keys in :py:meth:MultiDict.update and
    :py:meth:CIMultiDict.update (:pr:199)

multidict 3.3.0

15 Oct 18:04

Choose a tag to compare

Changes

  • Introduce abstract base classes (#102)

  • Publish OSX binary wheels (#153)

multidict 3.2.0 released

17 Sep 07:47

Choose a tag to compare

Changes

  • Fix pickling (#134)

  • Fix equality check when other contains more keys (#124)

  • Fix CIMultiDict copy (#107)

3.1.1

08 Jul 22:03

Choose a tag to compare

  • Fix #105: Remove memory leak in istr implementation

3.1.0

08 Jul 22:02

Choose a tag to compare

  • Fix #99: raise RuntimeError on dict iterations if the dict was changed

  • Update __init__.pyi signatures

multidict 3.0.0

21 Jun 15:07

Choose a tag to compare

Changes

  • Refactor internal data structures: main dict operations are about
    100% faster now.

  • Preserve order on multidict updates #68

    Updates are md[key] = val and md.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 str instances #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

13 May 20:11

Choose a tag to compare

Changes

  • binary wheels for python 3.6 are added

multidict 2.1.1

22 Sep 20:13

Choose a tag to compare

CHANGES

  • Fix CIMultiDict constructor for case of accepting istr #11

multidict 2.1.0

18 Sep 11:10

Choose a tag to compare

CHANGES

  • Allow to create proxy from proxy
  • Add type hints (PEP-484)

multidict 2.0 release

28 Jul 15:38

Choose a tag to compare

The major multidict release.

New version is slightly incompatible with multidict==1.x

We have changed canonical representation for case insensitive strings.

Changes

  • upstr is renamed to istr (case insensitive string)
  • upstr is remained as alias for istr
  • istr uses str.title() for converting into canonical form.
    It means istr('content-length') now represented as Content-Length instead of CONTENT-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.