Skip to content

Commit

Permalink
Documentation: Update change log for upcoming version 2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
amotl committed Oct 27, 2024
1 parent cdf15e4 commit aed0c68
Showing 1 changed file with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 `<target>`
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 `<target>` argument, that overlaps with
the `<target>` 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
Expand Down

0 comments on commit aed0c68

Please sign in to comment.