- Supported runtime Python 3.8
- Upgraded builder packages
- Upgraded handler packages
- Moved all
@now/
prefixed build utilities to@vercel/
prefix - Renamed package to
vercel-python-wsgi
- Runtime Python 2.7 (no longer supported by Vercel)
1.0.11 - 2019-11-03 - Upgrade eslint-utils & werkzeug
- Upgraded packages
1.0.10 - 2019-08-08 - Python 3.6 fix
- Updated runtime and binary checking for new Zeit container
- Upgraded dependencies
1.0.9 - 2019-04-26 - Python 2.7 support
- Added a runtime validation step to interrupt the build if the user has configured an unsupported runtime.
- Added a warning if the python version implied by
runtime
is not available in the build environment. Falls back to a system python. - Tests for Python 2.7.
- Updated requirements discussion in
README.md
to be consistent with revised requirements handling.
1.0.8 - 2019-04-16 - Organization migration
- Migrated NPM and GitHub repositories to updated organization
- Updated readme to match new repository
1.0.7 - 2019-03-14 - Fixes for multi-value headers
- Fixed url unquoting of query strings in the handler
- Fixed base64 encoding of responses in the handler (now passing
encoding
in the return dictionary). - Fixed multi-value cookie handling (now passing multi-value cookies as a list of values for each key).
1.0.6 - 2019-03-14 - Fixes for base64 encoded bodies
- Fixed base64 handling in the handler. Request bodies were previously being passed on to the application without decoding, but with padding stripped (preventing decoding by the application).
1.0.5 - 2019-03-13 - Fixes for querystrings and empty response bodies
- Handler is now installed as a python package instead of being copied into the project source.
- Querystring handling has been corrected.
- Empty return body handling has been patched to match Now's requirement of a
body
object on the response. An empty body is returned if no body is supplied by the application.
1.0.4 - 2019-03-13 - Ensure logging configuration
- Logging is now configured with
logging.basicConfig()
inhandler.py
to ensure logging is initialized at the module level.
1.0.3 - 2019-03-10
- Fixed typo in
index.js
which was appearing in logs
1.0.2 - 2019-03-10 - Selectable runtime
- Configuration option
runtime
can now be used to set the lambda runtime, e.g.,python3.6
. The build environment is not affected, beware of issues building in Python 3.5 and running and other versions.
- Improved builder log output (
log.js
) - Consolidated pip activities to
pip.js
- No longer installs
Werkzeug
every time. Projects will need to includeWerkzeug
as a dependency in their projectrequirements.txt
. If arequirements.txt
file is not found, the builder will installWerkzeug
assuming the project has no other dependencies.
1.0.1 - 2019-03-03 - Fix logging
- Stubbed testing with a single GET request test and test configuration
- Removed
print
calls fromnow_python_wsgi.handler.handler()
to prevent printing sensitive data to longs (e.g., passwords passed in the body of a request).
We're just getting started. This establishes a tidy repository ready for the world.