Werkzeug v0.12 Release Notes
-
๐ Released on March 10th 2017
- ๐ Spit out big deprecation warnings for werkzeug.script
- ๐ Use
inspect.getfullargspec
internally when available asinspect.getargspec
is gone in 3.6 - โ Added support for status code 451 and 423
- ๐ Improved the build error suggestions. In particular only if someone stringifies the error will the suggestions be calculated.
- โ Added support for uWSGI's caching backend.
- ๐ Fix a bug where iterating over a
FileStorage
would result in an infinite loop. - Datastructures now inherit from the relevant baseclasses from the
collections
module in the stdlib. See #794. - โ Add support for recognizing NetBSD, OpenBSD, FreeBSD, DragonFlyBSD platforms in the user agent string.
- ๐ป Recognize SeaMonkey browser name and version correctly
- Recognize Baiduspider, and bingbot user agents
- If
LocalProxy
's wrapped object is a function, refer to it with wrapped attribute. - The defaults of
generate_password_hash
have been changed to more secure ones, see pull request#753
. - โ Add support for encoding in options header parsing, see pull request
#933
. - ๐
test.Client
now properly handles Location headers with relative URLs, see pull request#879
. - ๐จ When
HTTPException
is raised, it now prints the description, for easier debugging. - Werkzeug's dict-like datastructures now have
view
-methods under Python 2, see pull request#968
. - ๐ Fix a bug in
MultiPartParser
when nostream_factory
was provided during initialization, see pull request#973
. - Disable autocorrect and spellchecker in the debugger middleware's Python
prompt, see pull request
#994
. - ๐ Don't redirect to slash route when method doesn't match, see pull request
#907
. - ๐ Fix a bug when using
SharedDataMiddleware
with frozen packages, see pull request#959
. - ๐
Range
header parsing function fixed for invalid values#974
. - โ Add support for byte Range Requests, see pull request
#978
. - 0๏ธโฃ Use modern cryptographic defaults in the dev servers
#1004
. - โ the post() method of the test client now accept file object through the data parameter.
- Color run_simple's terminal output based on HTTP codes
#1013
. - ๐ Fix self-XSS in debugger console, see
#1031
. - ๐ Fix IPython 5.x shell support, see
#1033
. - ๐ Change Accept datastructure to sort by specificity first, allowing for more
accurate results when using
best_match
for mime types (for example inrequests.accept_mimetypes.best_match
)