Skip to content

Releases: almarklein/asgineer

v0.8.2

22 Apr 08:08
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.8.1...v0.8.2

v0.8.1

08 Sep 13:37
Compare
Choose a tag to compare

Minor release, only marking Python 3.9 compatibility in trove-classifiers.

v0.8.0

18 Aug 22:26
Compare
Choose a tag to compare

Better support for long-lived connections:

  • Add support for sending responses using request.accept() and request.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() and request.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

18 Feb 13:14
Compare
Choose a tag to compare
  • Applied a fix in make_asset_handler()

V0.7.0 (13-02-2019)

13 Feb 13:04
Compare
Choose a tag to compare
  • Rename the project from "asgish" to "asgineer"!
  • Various improvements to code and docs of make_asset_handler().

V0.6.0 (12-02-2019)

13 Feb 13:03
Compare
Choose a tag to compare
  • Add utils submodule with:
    • normalize_response() for turning any response in a 3-tuple
    • make_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)

24 Oct 12:49
Compare
Choose a tag to compare
  • Fix lifespan messages (cleanup -> shutdown)

v0.5.0 (24-10-2018)

24 Oct 12:21
Compare
Choose a tag to compare
  • 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 of IOError upon connection/ws close.
  • Add invoke tasks.py for easier dev.
  • Doc tweaks.

v0.4.1 (16-10-2018)

24 Oct 11:30
Compare
Choose a tag to compare
  • Update docs and metadata to mark Asgish as Beta.

v0.4.0 (16-10-2018)

24 Oct 11:29
Compare
Choose a tag to compare
  • Support for ASGI lifetime messages.
  • Improvements to logging (e.g. exc_info in included).