Klein

Latest version: v23.12.0

Safety actively analyzes 621673 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

23.12.0

--------------------

* Fixed a compatibility issue with Werkzeug versions greater than 2.2. [`575 <https://github.com/twisted/klein/pull/575>`]
* Added explicit support for Python 3.10 and 3.11, although in practice they did work previously in 21.8. [`578 <https://github.com/twisted/klein/pull/578>`]
* Python 3.6 is no longer supported by Klein.

21.8.0

-------------------
* 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 <https://github.com/twisted/klein/pull/412>`_]
* Fixed a compatibility issue with Twisted versions greater than 20.3.0 in Klein's test suite. [`383 <https://github.com/twisted/klein/pull/383>`]
* Fixed a compatibility issue with Werkzeug versions greater than 2.0 in Klein's test suite. [`499 <https://github.com/twisted/klein/pull/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 the ``Content-Type`` header to ``application/json`` instead of ``text/json; charset=utf8``.

20.6.0

-------------------
* 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 <https://github.com/twisted/klein/pull/284>`_]
* Python 3.8 is now supported by Klein. [`303 <https://github.com/twisted/klein/pull/303>`_]
* ``klein.app.subroute`` is now also available as ``klein.subroute``. [`293 <https://github.com/twisted/klein/pull/293>`_]
* Support for forms and sessions. [`276 <https://github.com/twisted/klein/pull/276>`_]
* The ``Klein`` class now supports deep copy by implementing ``__copy__``. [`74 <https://github.com/twisted/klein/pull/74>`_]

19.6.0

-------------------

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.

17.10.0

--------------------

17.2.0

-------------------

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.