Serverless-wsgi

Latest version: v3.0.5

Safety actively analyzes 682404 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 6 of 8

1.4.3

Bugs

- Fix double conversion issue for binary payloads

_Alex DeBrie_

1.4.2

Bugs

- Fix calculation of content length for binary payloads on Python 3
- WSGI error stream was output to stdout instead of stderr

1.4.1

Features

- Add IS_OFFLINE environment variable to serve (42).

_Alex DeBrie_

- Handle binary request payloads and compressed responses (41).

_Malcolm Jones_

- Provide access to raw `event` through request environment (37).

Bugs

- Fixed issue where CONTENT_LENGTH was computed differently than the wsgi.input (40).

_Phil Hachey_

- Fix deprecation warnings for the before:deploy:createDeploymentArtifacts and after:deploy:createDeploymentArtifacts hooks (43).

_Malcolm Jones_

- Blacklist `__pycache__` from requirements packaging in order to avoid conflicts (35).
- Fix insecure usage of X-Forwarded-For (36).
- Explicitly set virtualenv interpreter when packaging requirements (34).

1.4.0

Features

- Package requirements into service root directory in order to avoid munging
sys.path to load requirements (30).
- Package requirements when deploying individual non-WSGI functions (30).
- Added `pythonBin` option to set python executable, defaulting to current runtime version (29).

1.3.1

Features

- Add configuration for handling base path mappings (API_GATEWAY_BASE_PATH)

_Alex DeBrie_

Bugs

- Only add .requirements folder to includes when packing enabled

_Darcy Rayner_

1.3.0

Features

- Load subdirectory packages by adding the subdirectory to the search path (i.e. setting the wsgi handler to something like `dir/api.app.handler`).

Previously, the subdirectory was expected to be a package (i.e. containing `__init__.py`)

Bugs

- Skip removing `.requirements` if `packRequirements: false`

_Alex DeBrie_

- Supply wsgi.input as BytesIO on Python 3

_Brett Higgins_

Page 6 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.