From aed0c68e6d73da8a9e2525fcbe7640f3369bbd49 Mon Sep 17 00:00:00 2001 From: Andreas Motl Date: Sat, 26 Oct 2024 02:38:07 +0200 Subject: [PATCH] Documentation: Update change log for upcoming version 2.1.0 --- CHANGELOG.md | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index bd5090a6..fc4d3cb4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,59 @@ this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm ## [Unreleased] +### Added + +- Platform: Add support for Python 3.10 - Python 3.13 +- Platform: Verify support for macOS and Windows +- CLI: `responder run` now also accepts a filesystem path on its `` + argument, enabling usage on single-file applications. Beforehand, only + invocations of Python modules were possible. + ```shell + # Start Responder application in Python module. + responder run acme.app:api + + # Start Responder application in single Python file. + responder run examples/helloworld.py:api + ``` + +### Changed + +- Core: Update API requests from GET to POST +- Extensions: All of CLI-, GraphQL-, and OpenAPI-Support + modules are extensions of Responder now, to be found at the + `responder.ext` module namespace. Their runtime dependencies + must be installed explicitly using Python package extras. + ```shell + pip install 'responder[cli]' + pip install 'responder[graphql]' + pip install 'responder[openapi]' + ``` +- Extensions: They are no longer available through the package's + toplevel module namespace. From now on, import them explicitly + from `responder.ext`. + ```python + 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 +- Sandbox: Modernized development sandbox installation and documentation + +### Removed + +- CLI: `responder run --build` ceased to exist, because `responder build` + now also accepts an optional `` argument, that overlaps with + the `` argument of `responder run`, but is semantically different, + as the former accepts a filesystem directory to the `package.json` file, + but the latter expects a Python entrypoint specification. + +### Fixed + +- Routing: Fix dispatching `static_route=None` on Windows +- uvicorn: Recent `uvicorn.run()` method lacks the `debug` argument. Now, + using `--debug` will map to uvicorn's `log_level = "debug"`. +- GraphQL: Improve dependency pinning to match Responder's needs + ## [v2.0.5] - 2019-12-15 ### Added