Accepting request 90918 from devel:languages:python

- Update to version 0.8.1:
  * Fixed an issue with the memcache not working properly.
  * Fixed an issue for Python 2.7.1 and higher that broke
    copying of multidicts with :func:`copy.copy`.
  * Changed hashing methodology of immutable ordered multi dicts
    for a potential problem with alternative Python implementations.
- Changes from version 0.8:
  * Removed data structure specific KeyErrors for a general
    purpose :exc:`~werkzeug.exceptions.BadRequestKeyError`.
  * Documented :meth:`werkzeug.wrappers.BaseRequest._load_form_data`.
  * The routing system now also accepts strings instead of
    dictionaries for the `query_args` parameter since we're only
    passing them through for redirects.
  * Werkzeug now automatically sets the content length immediately when
    the :attr:`~werkzeug.wrappers.BaseResponse.data` attribute is set
    for efficiency and simplicity reasons.
  * The routing system will now normalize server names to lowercase.
  * The routing system will no longer raise ValueErrors in case the
    configuration for the server name was incorrect.  This should make
    deployment much easier because you can ignore that factor now.
  * Fixed a bug with parsing HTTP digest headers.  It rejected headers
    with missing nc and nonce params.
  * Proxy fix now also updates wsgi.url_scheme based on X-Forwarded-Proto.
  * Added support for key prefixes to the redis cache.
  * Added the ability to supress some auto corrections in the wrappers
    that are now controlled via `autocorrect_location_header` and
    `automatically_set_content_length` on the response objects.
  * Werkzeug now uses a new method to check that the length of incoming
    data is complete and will raise IO errors by itself if the server
    fails to do so.

OBS-URL: https://build.opensuse.org/request/show/90918
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Werkzeug?expand=0&rev=3
This commit is contained in:
Stephan Kulow 2011-11-14 12:38:23 +00:00 committed by Git OBS Bridge
commit 9064bdbc77
4 changed files with 67 additions and 6 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0682ada4e9b4018004be995fb3db01d9da47d0d5b488444e45a484f9e940d885
size 1103388

3
Werkzeug-0.8.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ec4122adcf3f6277c23f10128be1c2da9352b899a976a03245a698e83dfd95db
size 1107020

View File

@ -1,3 +1,62 @@
-------------------------------------------------------------------
Thu Nov 10 11:07:11 UTC 2011 - saschpe@suse.de
- Update to version 0.8.1:
* Fixed an issue with the memcache not working properly.
* Fixed an issue for Python 2.7.1 and higher that broke
copying of multidicts with :func:`copy.copy`.
* Changed hashing methodology of immutable ordered multi dicts
for a potential problem with alternative Python implementations.
- Changes from version 0.8:
* Removed data structure specific KeyErrors for a general
purpose :exc:`~werkzeug.exceptions.BadRequestKeyError`.
* Documented :meth:`werkzeug.wrappers.BaseRequest._load_form_data`.
* The routing system now also accepts strings instead of
dictionaries for the `query_args` parameter since we're only
passing them through for redirects.
* Werkzeug now automatically sets the content length immediately when
the :attr:`~werkzeug.wrappers.BaseResponse.data` attribute is set
for efficiency and simplicity reasons.
* The routing system will now normalize server names to lowercase.
* The routing system will no longer raise ValueErrors in case the
configuration for the server name was incorrect. This should make
deployment much easier because you can ignore that factor now.
* Fixed a bug with parsing HTTP digest headers. It rejected headers
with missing nc and nonce params.
* Proxy fix now also updates wsgi.url_scheme based on X-Forwarded-Proto.
* Added support for key prefixes to the redis cache.
* Added the ability to supress some auto corrections in the wrappers
that are now controlled via `autocorrect_location_header` and
`automatically_set_content_length` on the response objects.
* Werkzeug now uses a new method to check that the length of incoming
data is complete and will raise IO errors by itself if the server
fails to do so.
* :func:`~werkzeug.wsgi.make_line_iter` now requires a limit that is
not higher than the length the stream can provide.
* Refactored form parsing into a form parser class that makes it possible
to hook into individual parts of the parsing process for debugging and
extending.
* For conditional responses the content length is no longer set when it
is already there and added if missing.
* Immutable datastructures are hashable now.
* Headers datastructure no longer allows newlines in values to avoid
header injection attacks.
* Made it possible through subclassing to select a different remote
addr in the proxy fix.
* Added stream based URL decoding. This reduces memory usage on large
transmitted form data that is URL decoded since Werkzeug will no longer
load all the unparsed data into memory.
* Memcache client now no longer uses the buggy cmemcache module and
supports pylibmc. GAE is not tried automatically and the dedicated
class is no longer necessary.
* Redis cache now properly serializes data.
* Removed support for Python 2.4
- Changes from version 0.7.2:
* Fixed a CSRF problem with the debugger.
* The debugger is now generating private pastes on lodgeit.
* If URL maps are now bound to environments the query arguments
are properly decoded from it for redirects.
-------------------------------------------------------------------
Tue Sep 27 09:31:46 UTC 2011 - saschpe@suse.de

View File

@ -11,16 +11,18 @@
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: python-Werkzeug
Version: 0.7.1
Version: 0.8.1
Release: 0
Url: http://werkzeug.pocoo.org/
Summary: The Swiss Army knife of Python web development
License: BSD
License: BSD-3-Clause
Group: Development/Languages/Python
Source: http://pypi.python.org/packages/source/W/Werkzeug/Werkzeug-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build