All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Platform: Added support for Python 3.10 - Python 3.13
- Platform: Verified support for macOS and Windows
- CLI:
responder run
now also accepts a filesystem path on its<target>
argument, enabling usage on single-file applications. Beforehand, only invocations of Python modules were possible.# Start Responder application defined in Python module. responder run acme.app:api # Start Responder application defined in a single Python file. responder run examples/helloworld.py:api
- Core: Updated API requests from GET to POST
- Extensions: All of CLI-, GraphQL-, and OpenAPI-Support
modules are extensions to Responder now, to be found within the
responder.ext
module namespace. Their runtime dependencies must be installed explicitly using Python package extras.pip install 'responder[cli]' pip install 'responder[graphql]' pip install 'responder[openapi]'
- Extensions: They are no longer available through the package's
top-level module namespace. From now on, import them explicitly
from
responder.ext
.from responder.ext.cli import cli from responder.ext.graphql import GraphQLView from responder.ext.openapi import OpenAPISchema
- Dependencies: Modernized and trimmed list of runtime dependencies
- Dependencies: Switched from WhiteNoise to ServeStatic
- Sandbox: Modernized development sandbox installation and documentation
- CLI:
responder run --build
ceased to exist, becauseresponder build
now also accepts an optional<target>
argument, that overlaps with the<target>
argument ofresponder run
, but is semantically different, as the former accepts a filesystem directory to thepackage.json
file, but the latter expects a Python entrypoint specification.
- Routing: Fixed dispatching
static_route=None
on Windows - uvicorn: Recent
uvicorn.run()
method lacks thedebug
argument. Now, using--debug
will map to uvicorn'slog_level = "debug"
. - GraphQL: Improved dependency pinning to match Responder's needs
v2.0.5 - 2019-12-15
- Update requirements to support python 3.8
v2.0.4 - 2019-11-19
- Fix static app resolving
v2.0.3 - 2019-09-20
- Fix template conflicts
v2.0.2 - 2019-09-20
- Fix template conflicts
v2.0.1 - 2019-09-20
- Fix template import
v2.0.0 - 2019-09-19
- Refactor Router and Schema
v1.3.2 - 2019-08-15
- ASGI 3 support
- CI tests for python 3.8-dev
- Now requests have
state
a mapping object
- ASGI 2
v1.3.1 - 2019-04-28
- Route params Converters
- Add search for documentation pages
- Bump dependencies
v1.3.0 - 2019-02-22
- Versioning issue
- Multiple cookies.
- Whitenoise returns not found.
- Other bugfixes.
- Stream support via
resp.stream
. - Cookie directives via
resp.set_cookie
. - Add
resp.html
to send HTML. - Other improvements.
v1.1.3 - 2019-01-12
- Refactor
_route_for
- Resolve startup/shutdwown events
v1.2.0 - 2018-12-29
- Documentations
- Use Starlette's LifeSpan middleware
- Update denpendencies
- Fix route.is_class_based
- Fix test_500
- Typos
v1.1.2 - 2018-11-11
- Minor fixes for Open API
- Typos
v1.1.1 - 2018-10-29
- Run sync views in a threadpoolexecutor.
v1.1.0 - 2018-10-27
- Support for
before_request
.
v1.0.5- 2018-10-27
- Fix sessions.
v1.0.4 - 2018-10-27
- Potential bufix for cookies.
v1.0.3 - 2018-10-27
- Bugfix for redirects.
v1.0.2 - 2018-10-27
- Improvement for static file hosting.
v1.0.1 - 2018-10-26
- Improve cors configuration settings.
v1.0.0 - 2018-10-26
- Move GraphQL support into a built-in plugin.
v0.3.3 - 2018-10-25
- CORS support
- Improved exceptions.
v0.3.2 - 2018-10-25
- Subtle improvements.
v0.3.1 - 2018-10-24
- Packaging fix.
v0.3.0 - 2018-10-24
- Interactive Documentation endpoint.
- Minor improvements.
v0.2.3 - 2018-10-24
- Overall improvements.
v0.2.2 - 2018-10-23
- Show traceback info when background tasks raise exceptions.
v0.2.1 - 2018-10-23
- api.requests.
v0.2.0 - 2018-10-22
- WebSocket support.
v0.1.6 - 2018-10-20
- 500 support.
v0.1.5 - 2018-10-20
- File upload support
- Improvements to sequential media reading.
v0.1.4 - 2018-10-19
- Stability.
v0.1.3 - 2018-10-18
- Sessions support.
v0.1.2 - 2018-10-18
- Cookies support.
v0.1.1 - 2018-10-17
- Default routes.
v0.1.0 - 2018-10-17
- Prototype of static application support.
v0.0.10 - 2018-10-17
- Bugfix for async class-based views.
v0.0.9 - 2018-10-17
- Bugfix for async class-based views.
v0.0.8 - 2018-10-17
- GraphiQL Support.
- Improvement to route selection.
v0.0.7 - 2018-10-16
- Immutable Request object.
v0.0.6 - 2018-10-16
- Ability to mount WSGI apps.
- Supply content-type when serving up the schema.
v0.0.5 - 2018-10-15
- OpenAPI Schema support.
- Safe load/dump yaml.
v0.0.4 - 2018-10-15
- Asynchronous support for data uploads.
- Bug fixes.
v0.0.3 - 2018-10-13
- Bug fixes.
v0.0.2 - 2018-10-13
- Switch to ASGI/Starlette.
v0.0.1 - 2018-10-12
- Conception!