Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: Kludex/mangum
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.12.3
Choose a base ref
...
head repository: Kludex/mangum
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0.12.4
Choose a head ref
  • 5 commits
  • 20 files changed
  • 5 contributors

Commits on Jan 12, 2022

  1. HTTP Gateway V2: Remove use of obsolete multiValueHeaders (#216)

    HTTP Gateway V2 drops both the multiValueHeaders and
    multiValueQueryStringParameters elements.
    
    With this change:
    * Cookies passed to request and response as cookie element
      containing list of all cookie values.
    * Headers with multiple values are concatenated through comma
      and passed under Headers element instead of the obsolete
      multiValueHeaders.
    
    https://medium.com/@lancers/amazon-api-gateway-explaining-lambda-payload-version-2-0-in-http-api-24b0b4db5d36
    https://aws.amazon.com/blogs/compute/building-better-apis-http-apis-now-generally-available/
    
    Addresses issue #215.
    IlyaSukhanov committed Jan 12, 2022
    Configuration menu
    Copy the full SHA
    a589465 View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2022

  1. Resolve typing and style issues, code cleanup and refactoring (#220)

    * Fixed typing in adapter.py; Added more explicit types some places; Changed `BaseRequest.scope` to a property (formerly a method) for consistency with child classes;
    
    * Removed `handler_kwargs`;
    `api_gateway_base_path` is now an explict param;
    Fixed two exception entries on lifespan config;
    Added test for default `api_gateway_base_path` value;
    
    * Fixed `AwsApiGateway` missing default for `api_gateway_base_path`;
    
    * Added `api_gateway_base_path` param in `test_abstract_handler`;
    
    * Removed `Optional` import from `abstract_handler`;
    
    * Removed class attributes from `Mangum`;
    Created `QueryParams` TypeAlias in `types.py`;
    `api_gateway_base_path` is now a positional arg in handlers;
    Fixed tests to reflect the above;
    Made imports consistent to use `from`;
    Cleaned up some code to make Pylance happy;
    Fixed setting InitVar in `WebSocket`;
    
    * Fixed linting error;
    
    * Fixed coverage;
    
    * Removed unused import;
    
    Co-authored-by: Ramazan Elsunkaev <ramazan@up-linq.com>
    relsunkaev and Ramazan Elsunkaev committed Jan 22, 2022
    Configuration menu
    Copy the full SHA
    fad70a2 View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2022

  1. Added explicit python3.9 and 3.10 support (#224)

    * Added python3.9 and 3.10 support;
    - Added python3.9 and 3.10 tests to CI;
    - Added python3.9 and 3.10 classifiers to `setup.py`;
    - Changed `quart` python version constraint;
    - Adjusted tests to reflect the former;
    
    * Fixed `Quart` import conditions in `test_lifespan.py`;
    
    Co-authored-by: Ramazan Elsunkaev <ramazan@up-linq.com>
    relsunkaev and Ramazan Elsunkaev committed Jan 29, 2022
    Configuration menu
    Copy the full SHA
    e978887 View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2022

  1. Fix aws_api_gateway handler not accepting combined headers and multiV…

    …alueHeaders (#229)
    
    * Fix aws_api_gateway handler not accepting combined headers and multiValueHeaders
    
    * Fix test_aws_api_gateway.py::test_aws_api_gateway_scope_basic
    
    * Formatting
    
    * Fix test_aws_api_gateway_scope_basic again
    
    There was a single space where there shouldn't have been one, so the assert failed.
    
    * More reformatting
    
    Lines were too long
    
    * Okay now the linters should be happy
    Feriixu committed Feb 4, 2022
    Configuration menu
    Copy the full SHA
    e40948f View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2022

  1. Version 0.12.4

    jordaneremieff committed Feb 7, 2022
    Configuration menu
    Copy the full SHA
    4b4cafd View commit details
    Browse the repository at this point in the history
Loading