Fixed a type annotations regression introduced in v6.0.2 under Python versions <3.10. It was caused by importing certain types only available in newer versions. ((#798))
6.0.3
Features
Declared the official support for Python 3.11 — by :user:mlegner. ((#872))
v6.0.2
Bugfixes
Revert (#644), restore type annotations to as-of 5.2.0 version. ((#688))
v6.0.1
Bugfixes
Restored back MultiDict, CIMultiDict, MultiDictProxy, and
CIMutiDictProxy generic type arguments; they are parameterized by value type, but the
key type is fixed by container class.
MultiDict[int] means MutableMultiMapping[str, int]. The key type of
MultiDict is always str, while all str-like keys are accepted by API and
converted to str internally.
The same is true for CIMultiDict[int] which means MutableMultiMapping[istr, int]. str-like keys are accepted but converted to istr internally. ((#682))
v6.0.0
Features
Use METH_FASTCALL where it makes sense.
MultiDict.add() is 2.2 times faster now, CIMultiDict.add() is 1.5 times faster.
The same boost is applied to get*(), setdefault(), and pop*() methods. ((#681))
Bugfixes
Fixed type annotations for keys of multidict mapping classes. ((#644))
Support Multidict[int] for pure-python version.
__class_getitem__ is already provided by C Extension, making it work with the pure-extension too. ((#678))
Fixed a type annotations regression introduced in v6.0.2 under Python versions <3.10. It was caused by importing certain types only available in newer versions. (:issue:798)
6.0.3 (2022-12-03)
Features
Declared the official support for Python 3.11 — by :user:mlegner. (:issue:872)
6.0.2 (2022-01-24)
Bugfixes
Revert :issue:644, restore type annotations to as-of 5.2.0 version. (:issue:688)
6.0.1 (2022-01-23)
Bugfixes
Restored back MultiDict, CIMultiDict, MultiDictProxy, and
CIMutiDictProxy generic type arguments; they are parameterized by value type, but the
key type is fixed by container class.
MultiDict[int] means MutableMultiMapping[str, int]. The key type of
MultiDict is always str, while all str-like keys are accepted by API and
converted to str internally.
The same is true for CIMultiDict[int] which means MutableMultiMapping[istr, int]. str-like keys are accepted but converted to istr internally. (:issue:682)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps multidict from 4.5.2 to 6.0.4.
Release notes
Sourced from multidict's releases.
... (truncated)
Changelog
Sourced from multidict's changelog.
... (truncated)
Commits
47ac8a1
Bump the project version to 6.0.434ce3a6
Revert collections import (#798)437f2c4
Add CodeQL workflow for GitHub code scanning (#786)a611551
Bump isort from 5.11.3 to 5.11.4 (#801)c0959b6
Bump towncrier from 22.8.0 to 22.12.0 (#800)dfd9328
Bump isort from 5.11.2 to 5.11.3 (#799)c7e78ed
Bump isort from 5.11.1 to 5.11.2 (#797)273a07c
Bump isort from 5.10.1 to 5.11.1 (#795)8512585
Fix typo in multidict.rst (#794)771f288
Bump black from 22.10.0 to 22.12.0 (#793)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)