Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Version 0.4.0 (unreleased)

Added

  • Websockets, see Websockets: Websocket, baguette.websocketexceptions, WebsocketRouter and WebsocketRoute.

Version 0.3.1 (2021-05-23)

Added

  • JSON encoders in baguette.json, using ujson.

  • Setters in Request, mainly for setting the body of a request in middlewares or while testing.

  • Properties in Response, mainly for setting the body of a response in middlewares or while testing.

  • Form.copy().

Version 0.3.0 (2021-05-21)

Added

Version 0.2.1 (2021-05-15)

Added

  • Accept bytes as handler return value.

  • Form.files.

  • PathConverter.allow_empty.

Version 0.2.0 (2021-05-09)

Added

Version 0.1.6 (2021-05-05)

Fixed

Version 0.1.5 (2021-05-01)

Added

  • request.form(), with support for application/x-www-form-urlencoded and multipart/form-data form content types.

  • Support for strings in make_headers().

Version 0.1.4 (2021-04-29)

Added

Changed

  • Errors in routes are handled and the traceback is sent back along with the 500 status code when Baguette.debug is True.

Version 0.1.3 (2021-04-27)

Fixed

  • Bug in path converter (#2).

Version 0.1.2 (2021-04-26)

Added

Version 0.1.1 (2021-04-24)

Fixed

  • Error in dynamic routing.

Version 0.1.0 (2021-04-23)

Added

Changed

  • Renamed baguette.response to baguette.responses.

Version 0.0.3 (2021-04-18)

Added

Changed

  • Baguette.endpoint decorator was renamed to Baguette.route() because it makes more sense with the name of Router.

Version 0.0.2 (2021-04-14)

Added

Version 0.0.1 (2021-04-12)

Test release