mirror of
https://github.com/kennethreitz/responder.git
synced 2026-06-05 06:46:14 +00:00
9.7 KiB
9.7 KiB
Changelog
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.
Unreleased
[v3.0.0] - 2024-11-xx
Added
- Platform: Added support for Python 3.10 - Python 3.13
- Platform: Verified support for macOS and Windows
- CLI:
responder runnow also accepts a filesystem path on its<target>argument, enabling usage on single-file applications. Beforehand, only invocations of Python modules were possible.# Install Responder with CLI extension. pip install 'responder[cli]' # 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 - CLI:
responder runnow also accepts URLs.# Install Responder with CLI extension (full). pip install 'responder[cli-full]' # Start Responder application defined in Python module at remote location. responder run https://github.com/kennethreitz/responder/raw/refs/heads/main/examples/helloworld.py
Changed
- 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.extmodule 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
Removed
- CLI:
responder run --buildceased to exist, becauseresponder buildnow 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.jsonfile, but the latter expects a Python entrypoint specification. - Platform: Removed support for EOL Python 3.6
Fixed
- Routing: Fixed dispatching
static_route=Noneon Windows - uvicorn: Recent
uvicorn.run()method lacks thedebugargument. Now, using--debugwill map to uvicorn'slog_level = "debug". - GraphQL: Improved dependency pinning to match Responder's needs
v2.0.5 - 2019-12-15
Added
- Update requirements to support python 3.8
v2.0.4 - 2019-11-19
Fixed
- Fix static app resolving
v2.0.3 - 2019-09-20
Fixed
- Fix template conflicts
v2.0.2 - 2019-09-20
Fixed
- Fix template conflicts
v2.0.1 - 2019-09-20
Fixed
- Fix template import
v2.0.0 - 2019-09-19
Changed
- Refactor Router and Schema
v1.3.2 - 2019-08-15
Added
- ASGI 3 support
- CI tests for python 3.8-dev
- Now requests have
statea mapping object
Deprecated
- ASGI 2
v1.3.1 - 2019-04-28
Added
- Route params Converters
- Add search for documentation pages
Changed
- Bump dependencies
v1.3.0 - 2019-02-22
Fixed
- Versioning issue
- Multiple cookies.
- Whitenoise returns not found.
- Other bugfixes.
Added
- Stream support via
resp.stream. - Cookie directives via
resp.set_cookie. - Add
resp.htmlto send HTML. - Other improvements.
v1.1.3 - 2019-01-12
Changed
- Refactor
_route_for
Fixed
- Resolve startup/shutdwown events
v1.2.0 - 2018-12-29
Added
- Documentations
Changed
- Use Starlette's LifeSpan middleware
- Update denpendencies
Fixed
- Fix route.is_class_based
- Fix test_500
- Typos
v1.1.2 - 2018-11-11
Fixed
- Minor fixes for Open API
- Typos
v1.1.1 - 2018-10-29
Changed
- Run sync views in a threadpoolexecutor.
v1.1.0 - 2018-10-27
Added
- Support for
before_request.
v1.0.5- 2018-10-27
Fixed
- Fix sessions.
v1.0.4 - 2018-10-27
Fixed
- Potential bufix for cookies.
v1.0.3 - 2018-10-27
Fixed
- Bugfix for redirects.
v1.0.2 - 2018-10-27
Changed
- Improvement for static file hosting.
v1.0.1 - 2018-10-26
Changed
- Improve cors configuration settings.
v1.0.0 - 2018-10-26
Changed
- Move GraphQL support into a built-in plugin.
v0.3.3 - 2018-10-25
Added
- CORS support
Changed
- Improved exceptions.
v0.3.2 - 2018-10-25
Changed
- Subtle improvements.
v0.3.1 - 2018-10-24
Fixed
- Packaging fix.
v0.3.0 - 2018-10-24
Changed
- Interactive Documentation endpoint.
- Minor improvements.
v0.2.3 - 2018-10-24
Changed
- Overall improvements.
v0.2.2 - 2018-10-23
Added
- Show traceback info when background tasks raise exceptions.
v0.2.1 - 2018-10-23
Added
- api.requests.
v0.2.0 - 2018-10-22
Added
- WebSocket support.
v0.1.6 - 2018-10-20
Added
- 500 support.
v0.1.5 - 2018-10-20
Added
- File upload support
Changed
- Improvements to sequential media reading.
v0.1.4 - 2018-10-19
Fixed
- Stability.
v0.1.3 - 2018-10-18
Added
- Sessions support.
v0.1.2 - 2018-10-18
Added
- Cookies support.
v0.1.1 - 2018-10-17
Changed
- Default routes.
v0.1.0 - 2018-10-17
Added
- Prototype of static application support.
v0.0.10 - 2018-10-17
Fixed
- Bugfix for async class-based views.
v0.0.9 - 2018-10-17
Fixed
- Bugfix for async class-based views.
v0.0.8 - 2018-10-17
Added
- GraphiQL Support.
Changed
- Improvement to route selection.
v0.0.7 - 2018-10-16
Changed
- Immutable Request object.
v0.0.6 - 2018-10-16
Added
- Ability to mount WSGI apps.
- Supply content-type when serving up the schema.
v0.0.5 - 2018-10-15
Added
- OpenAPI Schema support.
- Safe load/dump yaml.
v0.0.4 - 2018-10-15
Added
- Asynchronous support for data uploads.
Fixed
- Bug fixes.
v0.0.3 - 2018-10-13
Fixed
- Bug fixes.
v0.0.2 - 2018-10-13
Changed
- Switch to ASGI/Starlette.
v0.0.1 - 2018-10-12
Added
- Conception!