master
Commits on May 9, 2022
Commits on May 6, 2022
-
Do not send empty data to
StreamingResponseonBaseHTTPMiddleware(β¦β¦#1609) Co-authored-by: Adrian Garcia Badaracco <1755071+adriangb@users.noreply.github.com> Co-authored-by: Tom Christie <tom@tomchristie.com>
Commits on May 5, 2022
-
Secret: add a __bool__ implementation (#1625)
Allows using `if settings.A_SECRET:` to check for empty/None without needing to cast it to a str.
-
Skip test when brotli is installed (#1620)
* Skip test when brotli is installed * A better reason message
Commits on May 3, 2022
-
Remove old warning filters (#1621)
* Remove old warning filters * Add collections.abc
-
* Version 0.20.0 * Add the __version__ * Update docs/release-notes.md * Update release-notes.md * Update docs/release-notes.md
-
Bump twine from 3.8.0 to 4.0.0 (#1615)
Bumps [twine](https://github.com/pypa/twine) from 3.8.0 to 4.0.0. - [Release notes](https://github.com/pypa/twine/releases) - [Changelog](https://github.com/pypa/twine/blob/main/docs/changelog.rst) - [Commits](pypa/twine@3.8.0...4.0.0) --- updated-dependencies: - dependency-name: twine dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Commits on May 1, 2022
-
Remove compat code for Python < 3.7 (#1616)
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
-
Bump types-contextvars from 2.4.2 to 2.4.5 (#1611)
Bumps [types-contextvars](https://github.com/python/typeshed) from 2.4.2 to 2.4.5. - [Release notes](https://github.com/python/typeshed/releases) - [Commits](https://github.com/python/typeshed/commits) --- updated-dependencies: - dependency-name: types-contextvars dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Bump types-dataclasses from 0.6.2 to 0.6.5 (#1613)
Bumps [types-dataclasses](https://github.com/python/typeshed) from 0.6.2 to 0.6.5. - [Release notes](https://github.com/python/typeshed/releases) - [Commits](https://github.com/python/typeshed/commits) --- updated-dependencies: - dependency-name: types-dataclasses dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Bump pytest from 7.0.1 to 7.1.2 (#1614)
Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.0.1 to 7.1.2. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](pytest-dev/pytest@7.0.1...7.1.2) --- updated-dependencies: - dependency-name: pytest dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Commits on Apr 30, 2022
Commits on Apr 26, 2022
-
Annotate
samesiteparameter onset_cookie(#1590)* Annotate `samesite` parameter on `set_cookie` * Add version conditional * Add pragma
Commits on Apr 24, 2022
-
Document
BackgroundTasksbehavior when an error happens (#1605)* Document `BackgroundTasks` behavior when an error happens * Document `BackgroundTasks` behavior when an error happens
-
Document interaction of BaseHTTPMiddleware and contextvars (#1525)
* test: document behavior of ContextVars with BaseHTTPMiddleware * lint & fix * add pragma * Update test_base.py * Update tests/middleware/test_base.py Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com> * fix typo * try to make comment clearer Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
Commits on Apr 22, 2022
-
Drop Python 3.6 support (#1357)
* Remove Python 3.6 * Update setup.py * Add note about Python 3.6 version * Remove unused import * Remove PEP 562 * Apply suggestions from code review Co-authored-by: Adrian Garcia Badaracco <1755071+adriangb@users.noreply.github.com>
-
* Version 0.19.1 * Apply suggestions from code review * Update docs/release-notes.md * Update docs/release-notes.md Co-authored-by: Adrian Garcia Badaracco <1755071+adriangb@users.noreply.github.com> Co-authored-by: Adrian Garcia Badaracco <1755071+adriangb@users.noreply.github.com>
Commits on Apr 21, 2022
-
Add
typing.Optionalon missing annotations (#1549)* Add `typing.Optional` on missing annotations * Add `no_implicit_optional` on mypy settings
Commits on Apr 8, 2022
-
Apply right name to
Routewhen created from methods (#1553)* add support to read route names from methods * simplify implementation * add tests for automatic route naming * simplify tests * Apply suggestions from code review * Update tests/test_routing.py * format with black * Apply suggestions from code review Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
Commits on Apr 2, 2022
-
Bump mkdocs-material from 8.1.3 to 8.2.8 (#1564)
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 8.1.3 to 8.2.8. - [Release notes](https://github.com/squidfunk/mkdocs-material/releases) - [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG) - [Commits](squidfunk/mkdocs-material@8.1.3...8.2.8) --- updated-dependencies: - dependency-name: mkdocs-material dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Bump mkdocs from 1.2.4 to 1.3.0 (#1566)
Bumps [mkdocs](https://github.com/mkdocs/mkdocs) from 1.2.4 to 1.3.0. - [Release notes](https://github.com/mkdocs/mkdocs/releases) - [Commits](mkdocs/mkdocs@1.2.4...1.3.0) --- updated-dependencies: - dependency-name: mkdocs dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Commits on Apr 1, 2022
-
Bump mypy from 0.931 to 0.942 (#1563)
Bumps [mypy](https://github.com/python/mypy) from 0.931 to 0.942. - [Release notes](https://github.com/python/mypy/releases) - [Commits](python/mypy@v0.931...v0.942) --- updated-dependencies: - dependency-name: mypy dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Commits on Mar 29, 2022
Commits on Mar 28, 2022
-
add note on type ignore in templating.py (#1556)
* add note on type ignore * Update templating.py * Update templating.py * Update templating.py
Commits on Mar 27, 2022
-
Ignore mypy issue on
jinja2.contextfunctionfunction (#1554)* Ignore mypy issue on jinja2 function * Add pin on jinja2 * Update requirements.txt * Update requirements.txt
Commits on Mar 9, 2022
-
* Version 0.19.0 * Add missing links * Update release-notes.md * Update release-notes.md * Update docs/release-notes.md * Add PR 1459 * Update docs/release-notes.md * Update docs/release-notes.md * Apply suggestions from code review * Update docs/release-notes.md * Update release-notes.md * Update docs/release-notes.md * Update __init__.py Co-authored-by: Tom Christie <tom@tomchristie.com>
Commits on Mar 8, 2022
Commits on Mar 1, 2022
-
Bump databases[sqlite] from 0.5.3 to 0.5.5 (#1530)
Bumps [databases[sqlite]](https://github.com/encode/databases) from 0.5.3 to 0.5.5. - [Release notes](https://github.com/encode/databases/releases) - [Changelog](https://github.com/encode/databases/blob/0.5.5/CHANGELOG.md) - [Commits](encode/databases@0.5.3...0.5.5) --- updated-dependencies: - dependency-name: databases[sqlite] dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Bump twine from 3.7.1 to 3.8.0 (#1532)
Bumps [twine](https://github.com/pypa/twine) from 3.7.1 to 3.8.0. - [Release notes](https://github.com/pypa/twine/releases) - [Changelog](https://github.com/pypa/twine/blob/main/docs/changelog.rst) - [Commits](pypa/twine@3.7.1...3.8.0) --- updated-dependencies: - dependency-name: twine dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Bump pytest from 6.2.5 to 7.0.1 (#1529)
Bumps [pytest](https://github.com/pytest-dev/pytest) from 6.2.5 to 7.0.1. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](pytest-dev/pytest@6.2.5...7.0.1) --- updated-dependencies: - dependency-name: pytest dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Commits on Feb 22, 2022
-
Add apiman to third-party-packages document (#1526)
* Add apiman to third-party-packages * Update docs/third-party-packages.md Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
Commits on Feb 16, 2022
-
First pass adding next qparam to redirect (#920)
Co-authored-by: Tom Christie <tom@tomchristie.com>