Skip to content

Latest commit

 

History

History
132 lines (102 loc) · 13.5 KB

CHANGES.md

File metadata and controls

132 lines (102 loc) · 13.5 KB

Microdot change log

Release 1.0.0 - 2022-08-07

  • User sessions with signed JWTs (commit)
  • Mount sub-applications (commit)
  • Request-specific after_request handlers (commit)
  • Render templates with uTemplate (commit)
  • Render templates with Jinja (commit)
  • Test client (commit)
  • Async test client (commit)
  • Example that serves static files from a directory (commit)
  • Allow routes to only return a body and headers (commit)
  • Improved handling of 400 and 405 errors (commit)
  • Support responses with more than one cookie in WSGI and ASGI extensions (commit)
  • Cookie expiration can also be given as a string (commit)
  • Accept POST request with empty body (commit)
  • Add missing asgi module to package (commit)
  • Memory usage comparison and benchmark (commit)
  • Do not use _thread for multithreading (commit)
  • Getting Started documentation chapter (commit)
  • Concurrency section added to the documentation (commit)
  • Documentation for all official extensions (commit)
  • Remove legacy microdot-asyncio package files (commit)
  • Added MicroPython libraries required by user sessions (commit)
  • Reorganized vendored MicroPython libraries (commit)

Release 0.9.0 - 2022-06-04

  • Streaming responses #44 (commit)
  • Return 204 when view function returns None (commit)
  • ASGI support (CPython only) (commit)
  • WSGI support (CPython only) (commit)
  • Documentation updates (commit)
  • Add Python 3.10 to build (commit)
  • Run linter on examples (commit)

Release 0.8.2 - 2022-04-20

  • Remove debugging print statement #38 (commit) (thanks Mark Blakeney!)

Release 0.8.1 - 2022-03-18

  • Optimizations for request streams and bodies (commit)

Release 0.8.0 - 2022-02-18

  • Support streamed request payloads #26 (commit)
  • Use case insensitive comparisons for HTTP headers #33 (commit) (thanks Steve Li!)
  • More robust logic to read request body #31 (commit)
  • Simplified hello_async.py example (commit)

Release 0.7.2 - 2021-09-28

  • Document a security risk in the send_file function (commit) (thanks Ky Tran!)
  • Validate redirect URLs (commit) (thanks Ky Tran!)
  • Return a 400 error when request object could not be created (commit)

Release 0.7.1 - 2021-09-27

  • Breaking change: Limit the size of each request line to 2KB. A different maximum can be set in Request.max_readline. (commit) (thanks Ky Tran!)

Release 0.7.0 - 2021-09-27

  • Breaking change: Limit the size of the request body to 16KB. A different maximum can be set in Request.max_content_length. (commit)
  • Add documentation for request.client_addr #27 (commit) (thanks Mark Blakeney!)
  • Added documentation for reason argument in the Response object (commit)

Release 0.6.0 - 2021-08-11

  • Better handling of content types in form and json methods #24 (commit)
  • Accept a custom reason phrase for the HTTP response #25 (commit)
  • Make mime type check for form submissions more robust (commit)
  • Copy client headers to avoid write back #23 (commit) (thanks Mark Blakeney!)
  • Work around a bug in uasyncio's create_server() function (commit)
  • More unit tests (commit)
  • Installation instructions (commit)
  • Run tests with pytest (commit)
  • Deprecated the microdot-asyncio package (commit)

Release 0.5.0 - 2021-06-06

Release v0.4.0 - 2021-06-04

  • Add HTTP method-specific route decorators (commit)
  • Server shutdown #19 (commit)
  • Update microypthon binary for tests to 1.15 (commit)

Release v0.3.1 - 2021-02-06

  • Support large downloads in send_file #3 (commit)
  • Move socket import and add simple hello example #12 (commit) (thanks Damien George!)
  • Update python versions to build (commit)
  • Handle Chrome preconnect #8 (commit) (thanks Ricardo Mendonça Ferreira!)
  • Readme update (commit)
  • Switch to GitHub actions for builds (commit)

Release v0.3.0 - 2019-05-05

  • g, before_request and after_request (commit)
  • Threaded mode (commit)
  • Optional asyncio support (commit)
  • Debug mode (commit)
  • Print exceptions (commit)
  • Flake8 (commit)
  • Unit testing framework (commit)
  • More robust header checking in tests (commit)
  • Response unit tests (commit)
  • Request unit tests (commit)
  • More unit tests (commit)
  • Async request and response unit tests (commit)
  • More asyncio unit tests (commit)
  • Improve code structure (commit)
  • URL pattern matching unit tests (commit)
  • Rename microdot_async to microdot_asyncio (commit)

Release 0.2.0 - 2019-04-19

  • Error handlers (commit)
  • Fleshed out example GPIO application (commit)
  • More robust parsing of cookie header (commit)

Release 0.1.1 - 2019-04-17

  • Minor fixes for micropython (commit)
  • Initial commit (commit)