Skip to content
Permalink
master
Switch branches/tags

Commits on May 6, 2022

  1. Do not send empty data to StreamingResponse on BaseHTTPMiddleware (…

    …#1609)
    
    Co-authored-by: Adrian Garcia Badaracco <1755071+adriangb@users.noreply.github.com>
    Co-authored-by: Tom Christie <tom@tomchristie.com>
    3 people committed May 6, 2022

Commits on May 5, 2022

  1. 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.
    rcoup committed May 5, 2022
  2. Skip test when brotli is installed (#1620)

    * Skip test when brotli is installed
    
    * A better reason message
    Kludex committed May 5, 2022

Commits on May 3, 2022

  1. Remove old warning filters (#1621)

    * Remove old warning filters
    
    * Add collections.abc
    Kludex committed May 3, 2022
  2. Version 0.20.0 (#1600)

    * Version 0.20.0
    
    * Add the __version__
    
    * Update docs/release-notes.md
    
    * Update release-notes.md
    
    * Update docs/release-notes.md
    Kludex committed May 3, 2022
  3. 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>
    dependabot[bot] committed May 3, 2022

Commits on May 1, 2022

  1. Remove compat code for Python < 3.7 (#1616)

    Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
    hugovk and Kludex committed May 1, 2022
  2. 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>
    dependabot[bot] committed May 1, 2022
  3. 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>
    dependabot[bot] committed May 1, 2022
  4. 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>
    dependabot[bot] committed May 1, 2022

Commits on Apr 30, 2022

Commits on Apr 26, 2022

  1. Annotate samesite parameter on set_cookie (#1590)

    * Annotate `samesite` parameter on `set_cookie`
    
    * Add version conditional
    
    * Add pragma
    Kludex committed Apr 26, 2022

Commits on Apr 24, 2022

  1. Document BackgroundTasks behavior when an error happens (#1605)

    * Document `BackgroundTasks` behavior when an error happens
    
    * Document `BackgroundTasks` behavior when an error happens
    Kludex committed Apr 24, 2022
  2. 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>
    adriangb and Kludex committed Apr 24, 2022

Commits on Apr 22, 2022

  1. 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>
    Kludex and adriangb committed Apr 22, 2022
  2. Version 0.19.1 (#1591)

    * 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>
    Kludex and adriangb committed Apr 22, 2022
  3. Deprecate WS_1004_NO_STATUS_RCVD and WS_1005_ABNORMAL_CLOSURE (#1580

    )
    
    * Deprecate `WS_1004_NO_STATUS_RCVD` and `WS_1005_ABNORMAL_CLOSURE`
    
    * Fix linter
    
    * Fix coverage
    Kludex committed Apr 22, 2022

Commits on Apr 21, 2022

  1. Add typing.Optional on missing annotations (#1549)

    * Add `typing.Optional` on missing annotations
    
    * Add `no_implicit_optional` on mypy settings
    Kludex committed Apr 21, 2022

Commits on Apr 8, 2022

  1. Apply right name to Route when 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>
    flxdot and Kludex committed Apr 8, 2022

Commits on Apr 6, 2022

  1. Avoid TypeError on websocket.disconnect when code is None (#1574

    )
    
    Co-authored-by: Aber <Chen_Ye@ahnu.edu.cn>
    Kludex and abersheeran committed Apr 6, 2022

Commits on Apr 2, 2022

  1. 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>
    dependabot[bot] committed Apr 2, 2022
  2. 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>
    dependabot[bot] committed Apr 2, 2022

Commits on Apr 1, 2022

  1. 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>
    dependabot[bot] committed Apr 1, 2022

Commits on Mar 29, 2022

  1. Bump black to 22.3.0 (#1558)

    Kludex committed Mar 29, 2022

Commits on Mar 28, 2022

  1. add note on type ignore in templating.py (#1556)

    * add note on type ignore
    
    * Update templating.py
    
    * Update templating.py
    
    * Update templating.py
    adriangb committed Mar 28, 2022

Commits on Mar 27, 2022

  1. Ignore mypy issue on jinja2.contextfunction function (#1554)

    * Ignore mypy issue on jinja2 function
    
    * Add pin on jinja2
    
    * Update requirements.txt
    
    * Update requirements.txt
    Kludex committed Mar 27, 2022

Commits on Mar 9, 2022

  1. Version 0.19.0 (#1439)

    * 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>
    Kludex and tomchristie committed Mar 9, 2022

Commits on Mar 8, 2022

Commits on Mar 1, 2022

  1. 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>
    dependabot[bot] committed Mar 1, 2022
  2. 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>
    dependabot[bot] committed Mar 1, 2022
  3. 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>
    dependabot[bot] committed Mar 1, 2022

Commits on Feb 22, 2022

  1. 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>
    strongbugman and Kludex committed Feb 22, 2022

Commits on Feb 16, 2022

  1. First pass adding next qparam to redirect (#920)

    Co-authored-by: Tom Christie <tom@tomchristie.com>
    erewok and tomchristie committed Feb 16, 2022
Older