v18.0.0
* Drop support for Python 2.7. CherryPy 17 will
remain an LTS release for bug and security fixes.
* Drop support for Python 3.4.
v17.4.0
* When setting Response Body, reject Unicode
values, making behavior on Python 2 same as on Python 3.
* Other inconsequential refactorings.
v17.3.0
* Rely on zc.lockfile for session concurrency support.
v17.2.0
* Prevent orphaned Event object in cached 304 response.
v17.1.0
* Add support for accepting uploaded files with non-ascii filenames per RFC 5987.
v17.0.0
CherryPy now allows namespace packages for its dependencies. Environments that cannot handle namespace packgaes like py2exe will need to add such support or pin to older CherryPy versions.
v16.0.2:
* :issue:1716: Fixed handling of url-encoded parameters in
digest authentication handling, correcting regression in v14.2.0.
v16.0.1
* :issue:1719: Digest-auth tool will now return a status
code of 401 for when a scheme other than 'digest' is
indicated.
v16.0.0:
* :issue:1688: Removed basic_auth and digest_auth tools and
the httpauth module, which have been officially deprecated earlier
in v14.0.0.
* Removed deprecated properties::
- cherrypy._cpreqbody.Entity.type deprecated in favor of
:py:attr:cherrypy._cpreqbody.Entity.content_type
- cherrypy._cprequest.Request.body_params deprecated in favor of
py:attr:cherrypy._cprequest.RequestBody.params
* :issue:1377: In _cp_native server, set req.status using bytes.
* :issue:1697: Fixed error on Python 3.7 with AutoReloader when
__file__ is None.
* :issue:1713: Fix warning emitted during test run.
* :issue:1370: Fail with HTTP 400 for invalid headers.
v14.2.0
* :issue:1680 via :pr:1683: HTTP Basic Auth supports :rfc:7617 UTF-8
charset decoding where possible. Uses latin1 as a fallback.
v14.1.0
* :cr-pr:37: Add support for peercreds lookup over UNIX domain socket.
This enables app to automatically identify "who's on the other
end of the wire".
This is how you enable it::
server.peercreds: True
server.peercreds_resolve: True
The first option will put remote numeric data to WSGI env vars:
app's PID, user's id and group.
Second option will resolve that into user and group names.
To prevent expensive syscalls, data is cached on per connection
basis.
v14.0.0
* Officially deprecated basic_auth and digest_auth
tools and the httpauth module, triggering DeprecationWarnings
if they're used. Applications should instead adapt to use the
more recent auth_basic and auth_digest tools.
This deprecated functionality will be removed in a subsequent
release soon.
* Removed DeprecatedTool and the long-deprecated and disabled
tidy and nsgmls tools.
v13.1.0
CaseInsensitiveDict now re-uses the generalized functionality from jaraco.collections to provide a more complete interface for a CaseInsensitiveDict and HeaderMap.
Users are encouraged to use the implementation from jaraco.collections except when dealing with headers in CherryPy.
v12.0.1
* Fixed issues importing cherrypy.test.webtest (by creating
a module and importing classes from cheroot) and added a
corresponding DeprecationWarning.
* 1473: ``HTTPError`` now also works as a context manager.
* 1487: The sessions tool now accepts a ``storage_class``
parameter, which supersedes the new deprecated
``storage_type`` parameter. The ``storage_class`` should
be the actual Session subclass to be used.
* Releases now use ``setuptools_scm`` to track the release
versions. Therefore, releases can be cut by simply tagging
a commit in the repo. Versions numbers are now stored in
exactly one place.
The CherryPy team is proud to announce the release of CherryPy
3.3.0!
After a long stable life, CherryPy 3.2 is now superseded by CherryPy
3.3. In addition to several bugs fixed, the latest release also
includes a few improvements, detailed in the Release Notes.
Beginning with this release, the CherryPy maintainers will seek to
make more frequent updates and follow semver versioning. The more
frequent releases will allow improvements and bug fixes to quickly
percolate and get frequent feedback. The semver scheme will allow
package maintainers to manage their expectations when upgrading.
We hope these changes to the release cycle will spur innovation
and reinvigorate the project.
Given that changes in this 3.3.0 release include changes going back
several years, please do upgrade with caution. If you encounter
any issues, please report those to the issue tracker.
Wishing you Voodoo-free HTTP, The CherryPy team
Remove devel/py-ctypes (only needed by and supporting python24).
Remove PYTHON_VERSIONS_ACCEPTED and PYTHON_VERSIONS_INCOMPATIBLE
lines that just mirror defaults now.
Miscellaneous cleanup while editing all these files.
would build any other object-oriented Python program. This results in smaller
source code developed in less time.
CherryPy is now more than six years old and it is has proven very fast and
stable. It is being used in production by many sites, from the simplest ones to
the most demanding ones.