- Python 2 is no longer supported by Klein.
- Python 3.5 is no longer supported by Klein.
- Python 3.9 is now supported by Klein. [#412]
- Fixed a compatibility issue with Twisted versions greater than 20.3.0 in Klein's test suite. [#383 <#383>]
- Fixed a compatibility issue with Werkzeug versions greater than 2.0 in Klein's test suite. [#499 <#499>]
- Klein has incomplete, but growing type hints, but
py.typed
is not installed, as they might not work well for most clients yet.Plating
now sets theContent-Type
header toapplication/json
instead oftext/json; charset=utf8
.
- This is the last release of Klein expected to support Python 2.
- This is the last release of Klein expected to support Python 3.5.
- Python 3.4 is no longer supported by Klein. [#284]
- Python 3.8 is now supported by Klein. [#303]
klein.app.subroute
is now also available asklein.subroute
. [#293]- Support for forms and sessions. [#276]
- The
Klein
class now supports deep copy by implementing__copy__
. [#74]
New "forms" and "sessions" subsystems provide official support for POST requests, including CSRF protection, form generation to include CSRF tokens, dependency injection to populate parameters from both the request and session, as well as lightweight JSON API support.
- [BUG] Klein now includes its test package as part of the distribution. [#65]
- [BUG] Klein now attempts to decode non-ASCII URLs as UTF-8 and serves a 400 if that fails instead of always serving a 500. [#62]
- [ENHANCEMENT] Klein.handle_errors now allows the definition of custom error handling behavior. [#26]
- Include headers when handling werkzeug HTTPExceptions.
- Initial release