Releases: almarklein/asgineer
Releases · almarklein/asgineer
v0.9.3
What's Changed
- A few modernizations by @almarklein in #45
- Fix websocket tests and asyncio usage by @almarklein in #46
Full Changelog: v0.8.3...v0.9.3
v0.8.3
What's Changed
- Add support for unix domain sockets by @najtin in #43
- Modernize repo a bit by @almarklein in #44
New Contributors
Full Changelog: v0.8.2...v0.8.3
v0.8.2
What's Changed
- make guide example work by @tlovely in #37
- new black by @almarklein in #38
- Fix 304s and more. by @michaellenaghan in #41
- Update Python suppport by @almarklein in #42
New Contributors
- @tlovely made their first contribution in #37
- @michaellenaghan made their first contribution in #41
Full Changelog: v0.8.1...v0.8.2
v0.8.1
Minor release, only marking Python 3.9 compatibility in trove-classifiers.
v0.8.0
Better support for long-lived connections:
- Add support for sending responses using
request.accept()
andrequest.send()
. - That is now the recommended way to do chunked responses.
- This also provides support for long polling and SSE.
- Also add
RequestSet
,request.sleep_while_connected()
andrequest.wakeup()
for long polling and SSE. - Websocket requests have a somewhat cleaner API.
Improved asset handler:
- Fix that HEAD requests on the asset handler util included the body in the response.
- Dont send compressed assets if compression does not help, and never compress videos.
- Fix/improve cache control header.
Further:
- Implement ASGI 3.0.
- More tests (full coverage for ws now too).
- Improved docs.
v0.7.1
V0.7.0 (13-02-2019)
- Rename the project from "asgish" to "asgineer"!
- Various improvements to code and docs of
make_asset_handler()
.
V0.6.0 (12-02-2019)
- Add utils submodule with:
normalize_response()
for turning any response in a 3-tuplemake_asset_handler()
for serving in-memory static assets- Fix CI for Daphne
- Make
request.host
return host name of the request. - A few improvements and tweaks to code and docs.
v0.5.1 (24-10-2018)
- Fix lifespan messages (cleanup -> shutdown)
v0.5.0 (24-10-2018)
- Introduce testing utilities: classes that run servers when used as a context manager. One using subprocesses, one using a mock ASGI server.
- The above allows us to properly measure our test coverage.
- The test coverage is raised to 100% for all relevant modules.
- Raise
EOFError
instead ofIOError
upon connection/ws close. - Add invoke
tasks.py
for easier dev. - Doc tweaks.