Werkzeug v0.12 Release Notes

  • ๐Ÿš€ Released on March 10th 2017

    • ๐Ÿ—„ Spit out big deprecation warnings for werkzeug.script
    • ๐Ÿ‘‰ Use inspect.getfullargspec internally when available as inspect.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 no stream_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 in requests.accept_mimetypes.best_match)