/usr/share/doc/python-werkzeug-doc/html/changes.html is in python-werkzeug-doc 0.10.4+dfsg1-1ubuntu1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Werkzeug Changelog — Werkzeug 0.10.4 documentation</title>
<link rel="stylesheet" href="_static/werkzeug.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: './',
VERSION: '0.10.4',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
};
</script>
<script type="text/javascript" src="_static/jquery.js"></script>
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<link rel="top" title="Werkzeug 0.10.4 documentation" href="index.html" />
<link rel="prev" title="Dealing with Request Data" href="request_data.html" />
</head>
<body role="document">
<div class="related" role="navigation" aria-label="related navigation">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
accesskey="I">index</a></li>
<li class="right" >
<a href="py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="right" >
<a href="request_data.html" title="Dealing with Request Data"
accesskey="P">previous</a> |</li>
<li class="nav-item nav-item-0"><a href="index.html">Werkzeug 0.10.4 documentation</a> »</li>
</ul>
</div>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body" role="main">
<div class="section" id="module-werkzeug">
<span id="werkzeug-changelog"></span><h1>Werkzeug Changelog<a class="headerlink" href="#module-werkzeug" title="Permalink to this headline">¶</a></h1>
<p>This file lists all major changes in Werkzeug over the versions.
For API breaking changes have a look at <a class="reference internal" href="#api-changes"><span>API Changes</span></a>, they
are listed there in detail.</p>
<div class="section" id="id1">
<h2>Werkzeug Changelog<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h2>
<div class="section" id="version-0-10-4">
<h3>Version 0.10.4<a class="headerlink" href="#version-0-10-4" title="Permalink to this headline">¶</a></h3>
<p>(bugfix release, released on March 26th 2015)</p>
<ul class="simple">
<li>Re-release of 0.10.3 with packaging artifacts manually removed.</li>
</ul>
</div>
<div class="section" id="version-0-10-3">
<h3>Version 0.10.3<a class="headerlink" href="#version-0-10-3" title="Permalink to this headline">¶</a></h3>
<p>(bugfix release, released on March 26th 2015)</p>
<ul class="simple">
<li>Re-release of 0.10.2 without packaging artifacts.</li>
</ul>
</div>
<div class="section" id="version-0-10-2">
<h3>Version 0.10.2<a class="headerlink" href="#version-0-10-2" title="Permalink to this headline">¶</a></h3>
<p>(bugfix release, released on March 26th 2015)</p>
<ul class="simple">
<li>Fixed issue where <code class="docutils literal"><span class="pre">empty</span></code> could break third-party libraries that relied on
keyword arguments (pull request <code class="docutils literal"><span class="pre">#675</span></code>)</li>
<li>Improved <code class="docutils literal"><span class="pre">Rule.empty</span></code> by providing a <code class="docutils literal"><span class="pre">`get_empty_kwargs</span></code> to allow setting
custom kwargs without having to override entire <code class="docutils literal"><span class="pre">empty</span></code> method. (pull
request <code class="docutils literal"><span class="pre">#675</span></code>)</li>
<li>Fixed <code class="docutils literal"><span class="pre">`extra_files`</span></code> parameter for reloader to not cause startup
to crash when included in server params</li>
<li>Using <cite>MultiDict</cite> when building URLs is now not supported again. The behavior
introduced several regressions.</li>
<li>Fix performance problems with stat-reloader (pull request <code class="docutils literal"><span class="pre">#715</span></code>).</li>
</ul>
</div>
<div class="section" id="version-0-10-1">
<h3>Version 0.10.1<a class="headerlink" href="#version-0-10-1" title="Permalink to this headline">¶</a></h3>
<p>(bugfix release, released on February 3rd 2015)</p>
<ul class="simple">
<li>Fixed regression with multiple query values for URLs (pull request <code class="docutils literal"><span class="pre">#667</span></code>).</li>
<li>Fix issues with eventlet’s monkeypatching and the builtin server (pull
request <code class="docutils literal"><span class="pre">#663</span></code>).</li>
</ul>
</div>
<div class="section" id="version-0-10">
<h3>Version 0.10<a class="headerlink" href="#version-0-10" title="Permalink to this headline">¶</a></h3>
<p>Released on January 30th 2015, codename Bagger.</p>
<ul class="simple">
<li>Changed the error handling of and improved testsuite for the caches in
<code class="docutils literal"><span class="pre">contrib.cache</span></code>.</li>
<li>Fixed a bug on Python 3 when creating adhoc ssl contexts, due to <cite>sys.maxint</cite>
not being defined.</li>
<li>Fixed a bug on Python 3, that caused
<a class="reference internal" href="serving.html#werkzeug.serving.make_ssl_devcert" title="werkzeug.serving.make_ssl_devcert"><code class="xref py py-func docutils literal"><span class="pre">make_ssl_devcert()</span></code></a> to fail with an exception.</li>
<li>Added exceptions for 504 and 505.</li>
<li>Added support for ChromeOS detection.</li>
<li>Added UUID converter to the routing system.</li>
<li>Added message that explains how to quit the server.</li>
<li>Fixed a bug on Python 2, that caused <code class="docutils literal"><span class="pre">len</span></code> for
<a class="reference internal" href="datastructures.html#werkzeug.datastructures.CombinedMultiDict" title="werkzeug.datastructures.CombinedMultiDict"><code class="xref py py-class docutils literal"><span class="pre">werkzeug.datastructures.CombinedMultiDict</span></code></a> to crash.</li>
<li>Added support for stdlib pbkdf2 hmac if a compatible digest
is found.</li>
<li>Ported testsuite to use <code class="docutils literal"><span class="pre">py.test</span></code>.</li>
<li>Minor optimizations to various middlewares (pull requests <code class="docutils literal"><span class="pre">#496</span></code> and
<code class="docutils literal"><span class="pre">#571</span></code>).</li>
<li>Use stdlib <code class="docutils literal"><span class="pre">ssl</span></code> module instead of <code class="docutils literal"><span class="pre">OpenSSL</span></code> for the builtin server
(issue <code class="docutils literal"><span class="pre">#434</span></code>). This means that OpenSSL contexts are not supported anymore,
but instead <code class="docutils literal"><span class="pre">ssl.SSLContext</span></code> from the stdlib.</li>
<li>Allow protocol-relative URLs when building external URLs.</li>
<li>Fixed Atom syndication to print time zone offset for tz-aware datetime
objects (pull request <code class="docutils literal"><span class="pre">#254</span></code>).</li>
<li>Improved reloader to track added files and to recover from broken
sys.modules setups with syntax errors in packages.</li>
<li><code class="docutils literal"><span class="pre">cache.RedisCache</span></code> now supports arbitrary <code class="docutils literal"><span class="pre">**kwargs</span></code> for the redis
object.</li>
<li><code class="docutils literal"><span class="pre">werkzeug.test.Client</span></code> now uses the original request method when resolving
307 redirects (pull request <code class="docutils literal"><span class="pre">#556</span></code>).</li>
<li><code class="docutils literal"><span class="pre">werkzeug.datastructures.MIMEAccept</span></code> now properly deals with mimetype
parameters (pull request <code class="docutils literal"><span class="pre">#205</span></code>).</li>
<li><code class="docutils literal"><span class="pre">werkzeug.datastructures.Accept</span></code> now handles a quality of <code class="docutils literal"><span class="pre">0</span></code> as
intolerable, as per RFC 2616 (pull request <code class="docutils literal"><span class="pre">#536</span></code>).</li>
<li><code class="docutils literal"><span class="pre">werkzeug.urls.url_fix</span></code> now properly encodes hostnames with <code class="docutils literal"><span class="pre">idna</span></code>
encoding (issue <code class="docutils literal"><span class="pre">#559</span></code>). It also doesn’t crash on malformed URLs anymore
(issue <code class="docutils literal"><span class="pre">#582</span></code>).</li>
<li><code class="docutils literal"><span class="pre">werkzeug.routing.MapAdapter.match</span></code> now recognizes the difference between
the path <code class="docutils literal"><span class="pre">/</span></code> and an empty one (issue <code class="docutils literal"><span class="pre">#360</span></code>).</li>
<li>The interactive debugger now tries to decode non-ascii filenames (issue
<code class="docutils literal"><span class="pre">#469</span></code>).</li>
<li>Increased default key size of generated SSL certificates to 1024 bits (issue
<code class="docutils literal"><span class="pre">#611</span></code>).</li>
<li>Added support for specifying a <code class="docutils literal"><span class="pre">Response</span></code> subclass to use when calling
<a class="reference internal" href="utils.html#werkzeug.utils.redirect" title="werkzeug.utils.redirect"><code class="xref py py-func docutils literal"><span class="pre">redirect()</span></code></a>.</li>
<li><code class="docutils literal"><span class="pre">werkzeug.test.EnvironBuilder</span></code> now doesn’t use the request method anymore
to guess the content type, and purely relies on the <code class="docutils literal"><span class="pre">form</span></code>, <code class="docutils literal"><span class="pre">files</span></code> and
<code class="docutils literal"><span class="pre">input_stream</span></code> properties (issue <code class="docutils literal"><span class="pre">#620</span></code>).</li>
<li>Added Symbian to the user agent platform list.</li>
<li>Fixed make_conditional to respect automatically_set_content_length</li>
<li>Unset <code class="docutils literal"><span class="pre">Content-Length</span></code> when writing to response.stream (issue <code class="docutils literal"><span class="pre">#451</span></code>)</li>
<li><code class="docutils literal"><span class="pre">wrappers.Request.method</span></code> is now always uppercase, eliminating
inconsistencies of the WSGI environment (issue <code class="docutils literal"><span class="pre">647</span></code>).</li>
<li><code class="docutils literal"><span class="pre">routing.Rule.empty</span></code> now works correctly with subclasses of <code class="docutils literal"><span class="pre">Rule</span></code> (pull
request <code class="docutils literal"><span class="pre">#645</span></code>).</li>
<li>Made map updating safe in light of concurrent updates.</li>
<li>Allow multiple values for the same field for url building (issue <code class="docutils literal"><span class="pre">#658</span></code>).</li>
</ul>
</div>
<div class="section" id="version-0-9-7">
<h3>Version 0.9.7<a class="headerlink" href="#version-0-9-7" title="Permalink to this headline">¶</a></h3>
<p>(bugfix release, release date to be decided)</p>
<ul class="simple">
<li>Fix unicode problems in <code class="docutils literal"><span class="pre">werkzeug.debug.tbtools</span></code>.</li>
<li>Fix Python 3-compatibility problems in <code class="docutils literal"><span class="pre">werkzeug.posixemulation</span></code>.</li>
<li>Backport fix of fatal typo for <code class="docutils literal"><span class="pre">ImmutableList</span></code> (issue <code class="docutils literal"><span class="pre">#492</span></code>).</li>
<li>Make creation of the cache dir for <code class="docutils literal"><span class="pre">FileSystemCache</span></code> atomic (issue
<code class="docutils literal"><span class="pre">#468</span></code>).</li>
<li>Use native strings for memcached keys to work with Python 3 client (issue
<code class="docutils literal"><span class="pre">#539</span></code>).</li>
<li>Fix charset detection for <code class="docutils literal"><span class="pre">werkzeug.debug.tbtools.Frame</span></code> objects (issues
<code class="docutils literal"><span class="pre">#547</span></code> and <code class="docutils literal"><span class="pre">#532</span></code>).</li>
<li>Fix <code class="docutils literal"><span class="pre">AttributeError</span></code> masking in <code class="docutils literal"><span class="pre">werkzeug.utils.import_string</span></code> (issue
<code class="docutils literal"><span class="pre">#182</span></code>).</li>
<li>Explicitly shut down server (issue <code class="docutils literal"><span class="pre">#519</span></code>).</li>
<li>Fix timeouts greater than 2592000 being misinterpreted as UNIX timestamps in
<code class="docutils literal"><span class="pre">werkzeug.contrib.cache.MemcachedCache</span></code> (issue <code class="docutils literal"><span class="pre">#533</span></code>).</li>
<li>Fix bug where <code class="docutils literal"><span class="pre">werkzeug.exceptions.abort</span></code> would raise an arbitrary subclass
of the expected class (issue <code class="docutils literal"><span class="pre">#422</span></code>).</li>
<li>Fix broken <code class="docutils literal"><span class="pre">jsrouting</span></code> (due to removal of <code class="docutils literal"><span class="pre">werkzeug.templates</span></code>)</li>
<li><code class="docutils literal"><span class="pre">werkzeug.urls.url_fix</span></code> now doesn’t crash on malformed URLs anymore, but
returns them unmodified. This is a cheap workaround for <code class="docutils literal"><span class="pre">#582</span></code>, the proper
fix is included in version 0.10.</li>
<li>The repr of <code class="docutils literal"><span class="pre">werkzeug.wrappers.Request</span></code> doesn’t crash on non-ASCII-values
anymore (pull request <code class="docutils literal"><span class="pre">#466</span></code>).</li>
<li>Fix bug in <code class="docutils literal"><span class="pre">cache.RedisCache</span></code> when combined with <code class="docutils literal"><span class="pre">redis.StrictRedis</span></code>
object (pull request <code class="docutils literal"><span class="pre">#583</span></code>).</li>
<li>The <code class="docutils literal"><span class="pre">qop</span></code> parameter for <code class="docutils literal"><span class="pre">WWW-Authenticate</span></code> headers is now always quoted,
as required by RFC 2617 (issue <code class="docutils literal"><span class="pre">#633</span></code>).</li>
<li>Fix bug in <code class="docutils literal"><span class="pre">werkzeug.contrib.cache.SimpleCache</span></code> with Python 3 where add/set
may throw an exception when pruning old entries from the cache (pull request
<code class="docutils literal"><span class="pre">#651</span></code>).</li>
</ul>
</div>
<div class="section" id="version-0-9-6">
<h3>Version 0.9.6<a class="headerlink" href="#version-0-9-6" title="Permalink to this headline">¶</a></h3>
<p>(bugfix release, released on June 7th 2014)</p>
<ul class="simple">
<li>Added a safe conversion for IRI to URI conversion and use that
internally to work around issues with spec violations for
protocols such as <code class="docutils literal"><span class="pre">itms-service</span></code>.</li>
</ul>
</div>
<div class="section" id="version-0-9-5">
<h3>Version 0.9.5<a class="headerlink" href="#version-0-9-5" title="Permalink to this headline">¶</a></h3>
<p>(bugfix release, released on June 7th 2014)</p>
<ul class="simple">
<li>Forward charset argument from request objects to the environ
builder.</li>
<li>Fixed error handling for missing boundaries in multipart data.</li>
<li>Fixed session creation on systems without <code class="docutils literal"><span class="pre">os.urandom()</span></code>.</li>
<li>Fixed pluses in dictionary keys not being properly URL encoded.</li>
<li>Fixed a problem with deepcopy not working for multi dicts.</li>
<li>Fixed a double quoting issue on redirects.</li>
<li>Fixed a problem with unicode keys appearing in headers on 2.x.</li>
<li>Fixed a bug with unicode strings in the test builder.</li>
<li>Fixed a unicode bug on Python 3 in the WSGI profiler.</li>
<li>Fixed an issue with the safe string compare function on
Python 2.7.7 and Python 3.4.</li>
</ul>
</div>
<div class="section" id="version-0-9-4">
<h3>Version 0.9.4<a class="headerlink" href="#version-0-9-4" title="Permalink to this headline">¶</a></h3>
<p>(bugfix release, released on August 26th 2013)</p>
<ul class="simple">
<li>Fixed an issue with Python 3.3 and an edge case in cookie parsing.</li>
<li>Fixed decoding errors not handled properly through the WSGI
decoding dance.</li>
<li>Fixed URI to IRI conversion incorrectly decoding percent signs.</li>
</ul>
</div>
<div class="section" id="version-0-9-3">
<h3>Version 0.9.3<a class="headerlink" href="#version-0-9-3" title="Permalink to this headline">¶</a></h3>
<p>(bugfix release, released on July 25th 2013)</p>
<ul>
<li><p class="first">Restored behavior of the <code class="docutils literal"><span class="pre">data</span></code> descriptor of the request class to pre 0.9
behavior. This now also means that <code class="docutils literal"><span class="pre">.data</span></code> and <code class="docutils literal"><span class="pre">.get_data()</span></code> have
different behavior. New code should use <code class="docutils literal"><span class="pre">.get_data()</span></code> always.</p>
<p>In addition to that there is now a flag for the <code class="docutils literal"><span class="pre">.get_data()</span></code> method that
controls what should happen with form data parsing and the form parser will
honor cached data. This makes dealing with custom form data more consistent.</p>
</li>
</ul>
</div>
<div class="section" id="version-0-9-2">
<h3>Version 0.9.2<a class="headerlink" href="#version-0-9-2" title="Permalink to this headline">¶</a></h3>
<p>(bugfix release, released on July 18th 2013)</p>
<ul class="simple">
<li>Added <cite>unsafe</cite> parameter to <a class="reference internal" href="urls.html#werkzeug.urls.url_quote" title="werkzeug.urls.url_quote"><code class="xref py py-func docutils literal"><span class="pre">url_quote()</span></code></a>.</li>
<li>Fixed an issue with <a class="reference internal" href="urls.html#werkzeug.urls.url_quote_plus" title="werkzeug.urls.url_quote_plus"><code class="xref py py-func docutils literal"><span class="pre">url_quote_plus()</span></code></a> not quoting
<cite>‘+’</cite> correctly.</li>
<li>Ported remaining parts of <code class="xref py py-class docutils literal"><span class="pre">RedisCache</span></code> to
Python 3.3.</li>
<li>Ported remaining parts of <code class="xref py py-class docutils literal"><span class="pre">MemcachedCache</span></code> to
Python 3.3</li>
<li>Fixed a deprecation warning in the contrib atom module.</li>
<li>Fixed a regression with setting of content types through the
headers dictionary instead with the content type parameter.</li>
<li>Use correct name for stdlib secure string comparision function.</li>
<li>Fixed a wrong reference in the docstring of
<a class="reference internal" href="local.html#werkzeug.local.release_local" title="werkzeug.local.release_local"><code class="xref py py-func docutils literal"><span class="pre">release_local()</span></code></a>.</li>
<li>Fixed an <cite>AttributeError</cite> that sometimes occurred when accessing the
<a class="reference internal" href="wrappers.html#werkzeug.wrappers.BaseResponse.is_streamed" title="werkzeug.wrappers.BaseResponse.is_streamed"><code class="xref py py-attr docutils literal"><span class="pre">werkzeug.wrappers.BaseResponse.is_streamed</span></code></a> attribute.</li>
</ul>
</div>
<div class="section" id="version-0-9-1">
<h3>Version 0.9.1<a class="headerlink" href="#version-0-9-1" title="Permalink to this headline">¶</a></h3>
<p>(bugfix release, released on June 14th 2013)</p>
<ul class="simple">
<li>Fixed an issue with integers no longer being accepted in certain
parts of the routing system or URL quoting functions.</li>
<li>Fixed an issue with <cite>url_quote</cite> not producing the right escape
codes for single digit codepoints.</li>
<li>Fixed an issue with <a class="reference internal" href="middlewares.html#werkzeug.wsgi.SharedDataMiddleware" title="werkzeug.wsgi.SharedDataMiddleware"><code class="xref py py-class docutils literal"><span class="pre">SharedDataMiddleware</span></code></a> not
reading the path correctly and breaking on etag generation in some
cases.</li>
<li>Properly handle <cite>Expect: 100-continue</cite> in the development server
to resolve issues with curl.</li>
<li>Automatically exhaust the input stream on request close. This should
fix issues where not touching request files results in a timeout.</li>
<li>Fixed exhausting of streams not doing anything if a non-limited
stream was passed into the multipart parser.</li>
<li>Raised the buffer sizes for the multipart parser.</li>
</ul>
</div>
<div class="section" id="version-0-9">
<h3>Version 0.9<a class="headerlink" href="#version-0-9" title="Permalink to this headline">¶</a></h3>
<p>Released on June 13nd 2013, codename Planierraupe.</p>
<ul class="simple">
<li>Added support for <a class="reference internal" href="wsgi.html#werkzeug.wsgi.LimitedStream.tell" title="werkzeug.wsgi.LimitedStream.tell"><code class="xref py py-meth docutils literal"><span class="pre">tell()</span></code></a>
on the limited stream.</li>
<li><a class="reference internal" href="datastructures.html#werkzeug.datastructures.ETags" title="werkzeug.datastructures.ETags"><code class="xref py py-class docutils literal"><span class="pre">ETags</span></code></a> now is nonzero if it
contains at least one etag of any kind, including weak ones.</li>
<li>Added a workaround for a bug in the stdlib for SSL servers.</li>
<li>Improved SSL interface of the devserver so that it can generate
certificates easily and load them from files.</li>
<li>Refactored test client to invoke the open method on the class
for redirects. This makes subclassing more powerful.</li>
<li><a class="reference internal" href="wsgi.html#werkzeug.wsgi.make_chunk_iter" title="werkzeug.wsgi.make_chunk_iter"><code class="xref py py-func docutils literal"><span class="pre">werkzeug.wsgi.make_chunk_iter()</span></code></a> and
<a class="reference internal" href="wsgi.html#werkzeug.wsgi.make_line_iter" title="werkzeug.wsgi.make_line_iter"><code class="xref py py-func docutils literal"><span class="pre">werkzeug.wsgi.make_line_iter()</span></code></a> now support processing of
iterators and streams.</li>
<li>URL generation by the routing system now no longer quotes
<code class="docutils literal"><span class="pre">+</span></code>.</li>
<li>URL fixing now no longer quotes certain reserved characters.</li>
<li>The <a class="reference internal" href="utils.html#werkzeug.security.generate_password_hash" title="werkzeug.security.generate_password_hash"><code class="xref py py-func docutils literal"><span class="pre">werkzeug.security.generate_password_hash()</span></code></a> and
check functions now support any of the hashlib algorithms.</li>
<li><cite>wsgi.get_current_url</cite> is now ascii safe for browsers sending
non-ascii data in query strings.</li>
<li>improved parsing behavior for <a class="reference internal" href="http.html#werkzeug.http.parse_options_header" title="werkzeug.http.parse_options_header"><code class="xref py py-func docutils literal"><span class="pre">werkzeug.http.parse_options_header()</span></code></a></li>
<li>added more operators to local proxies.</li>
<li>added a hook to override the default converter in the routing
system.</li>
<li>The description field of HTTP exceptions is now always escaped.
Use markup objects to disable that.</li>
<li>Added number of proxy argument to the proxy fix to make it more
secure out of the box on common proxy setups. It will by default
no longer trust the x-forwarded-for header as much as it did
before.</li>
<li>Added support for fragment handling in URI/IRI functions.</li>
<li>Added custom class support for <a class="reference internal" href="http.html#werkzeug.http.parse_dict_header" title="werkzeug.http.parse_dict_header"><code class="xref py py-func docutils literal"><span class="pre">werkzeug.http.parse_dict_header()</span></code></a>.</li>
<li>Renamed <cite>LighttpdCGIRootFix</cite> to <cite>CGIRootFix</cite>.</li>
<li>Always treat <cite>+</cite> as safe when fixing URLs as people love misusing them.</li>
<li>Added support to profiling into directories in the contrib profiler.</li>
<li>The escape function now by default escapes quotes.</li>
<li>Changed repr of exceptions to be less magical.</li>
<li>Simplified exception interface to no longer require environmnts
to be passed to recieve the response object.</li>
<li>Added sentinel argument to IterIO objects.</li>
<li>Added pbkdf2 support for the security module.</li>
<li>Added a plain request type that disables all form parsing to only
leave the stream behind.</li>
<li>Removed support for deprecated <cite>fix_headers</cite>.</li>
<li>Removed support for deprecated <cite>header_list</cite>.</li>
<li>Removed support for deprecated parameter for <cite>iter_encoded</cite>.</li>
<li>Removed support for deprecated non-silent usage of the limited
stream object.</li>
<li>Removed support for previous dummy <cite>writable</cite> parameter on
the cached property.</li>
<li>Added support for explicitly closing request objects to close
associated resources.</li>
<li>Conditional request handling or access to the data property on responses no
longer ignores direct passthrough mode.</li>
<li>Removed werkzeug.templates and werkzeug.contrib.kickstart.</li>
<li>Changed host lookup logic for forwarded hosts to allow lists of
hosts in which case only the first one is picked up.</li>
<li>Added <cite>wsgi.get_query_string</cite>, <cite>wsgi.get_path_info</cite> and
<cite>wsgi.get_script_name</cite> and made the <cite>wsgi.pop_path_info</cite> and
<cite>wsgi.peek_path_info</cite> functions perform unicode decoding. This
was necessary to avoid having to expose the WSGI encoding dance
on Python 3.</li>
<li>Added <cite>content_encoding</cite> and <cite>content_md5</cite> to the request object’s
common request descriptor mixin.</li>
<li>added <cite>options</cite> and <cite>trace</cite> to the test client.</li>
<li>Overhauled the utilization of the input stream to be easier to use
and better to extend. The detection of content payload on the input
side is now more compliant with HTTP by detecting off the content
type header instead of the request method. This also now means that
the stream property on the request class is always available instead
of just when the parsing fails.</li>
<li>Added support for using <a class="reference internal" href="wrappers.html#werkzeug.wrappers.BaseResponse" title="werkzeug.wrappers.BaseResponse"><code class="xref py py-class docutils literal"><span class="pre">werkzeug.wrappers.BaseResponse</span></code></a> in a with
statement.</li>
<li>Changed <cite>get_app_iter</cite> to fetch the response early so that it does not
fail when wrapping a response iterable. This makes filtering easier.</li>
<li>Introduced <cite>get_data</cite> and <cite>set_data</cite> methods for responses.</li>
<li>Introduced <cite>get_data</cite> for requests.</li>
<li>Soft deprecated the <cite>data</cite> descriptors for request and response objects.</li>
<li>Added <cite>as_bytes</cite> operations to some of the headers to simplify working
with things like cookies.</li>
<li>Made the debugger paste tracebacks into github’s gist service as
private pastes.</li>
</ul>
</div>
<div class="section" id="version-0-8-4">
<h3>Version 0.8.4<a class="headerlink" href="#version-0-8-4" title="Permalink to this headline">¶</a></h3>
<p>(bugfix release, release date to be announced)</p>
<ul class="simple">
<li>Added a favicon to the debugger which fixes problem with
state changes being triggered through a request to
/favicon.ico in Google Chrome. This should fix some
problems with Flask and other frameworks that use
context local objects on a stack with context preservation
on errors.</li>
<li>Fixed an issue with scolling up in the debugger.</li>
<li>Fixed an issue with debuggers running on a different URL
than the URL root.</li>
<li>Fixed a problem with proxies not forwarding some rarely
used special methods properly.</li>
<li>Added a workaround to prevent the XSS protection from Chrome
breaking the debugger.</li>
<li>Skip redis tests if redis is not running.</li>
<li>Fixed a typo in the multipart parser that caused content-type
to not be picked up properly.</li>
</ul>
</div>
<div class="section" id="version-0-8-3">
<h3>Version 0.8.3<a class="headerlink" href="#version-0-8-3" title="Permalink to this headline">¶</a></h3>
<p>(bugfix release, released on February 5th 2012)</p>
<ul class="simple">
<li>Fixed another issue with <a class="reference internal" href="wsgi.html#werkzeug.wsgi.make_line_iter" title="werkzeug.wsgi.make_line_iter"><code class="xref py py-func docutils literal"><span class="pre">werkzeug.wsgi.make_line_iter()</span></code></a>
where lines longer than the buffer size were not handled
properly.</li>
<li>Restore stdout after debug console finished executing so
that the debugger can be used on GAE better.</li>
<li>Fixed a bug with the redis cache for int subclasses
(affects bool caching).</li>
<li>Fixed an XSS problem with redirect targets coming from
untrusted sources.</li>
<li>Redis cache backend now supports password authentication.</li>
</ul>
</div>
<div class="section" id="version-0-8-2">
<h3>Version 0.8.2<a class="headerlink" href="#version-0-8-2" title="Permalink to this headline">¶</a></h3>
<p>(bugfix release, released on December 16th 2011)</p>
<ul class="simple">
<li>Fixed a problem with request handling of the builtin server
not responding to socket errors properly.</li>
<li>The routing request redirect exception’s code attribute is now
used properly.</li>
<li>Fixed a bug with shutdowns on Windows.</li>
<li>Fixed a few unicode issues with non-ascii characters being
hardcoded in URL rules.</li>
<li>Fixed two property docstrings being assigned to fdel instead
of <code class="docutils literal"><span class="pre">__doc__</span></code>.</li>
<li>Fixed an issue where CRLF line endings could be split into two
by the line iter function, causing problems with multipart file
uploads.</li>
</ul>
</div>
<div class="section" id="version-0-8-1">
<h3>Version 0.8.1<a class="headerlink" href="#version-0-8-1" title="Permalink to this headline">¶</a></h3>
<p>(bugfix release, released on September 30th 2011)</p>
<ul class="simple">
<li>Fixed an issue with the memcache not working properly.</li>
<li>Fixed an issue for Python 2.7.1 and higher that broke
copying of multidicts with <code class="xref py py-func docutils literal"><span class="pre">copy.copy()</span></code>.</li>
<li>Changed hashing methodology of immutable ordered multi dicts
for a potential problem with alternative Python implementations.</li>
</ul>
</div>
<div class="section" id="version-0-8">
<h3>Version 0.8<a class="headerlink" href="#version-0-8" title="Permalink to this headline">¶</a></h3>
<p>Released on September 29th 2011, codename Lötkolben</p>
<ul class="simple">
<li>Removed data structure specific KeyErrors for a general
purpose <code class="xref py py-exc docutils literal"><span class="pre">BadRequestKeyError</span></code>.</li>
<li>Documented <code class="xref py py-meth docutils literal"><span class="pre">werkzeug.wrappers.BaseRequest._load_form_data()</span></code>.</li>
<li>The routing system now also accepts strings instead of
dictionaries for the <cite>query_args</cite> parameter since we’re only
passing them through for redirects.</li>
<li>Werkzeug now automatically sets the content length immediately when
the <a class="reference internal" href="wrappers.html#werkzeug.wrappers.BaseResponse.data" title="werkzeug.wrappers.BaseResponse.data"><code class="xref py py-attr docutils literal"><span class="pre">data</span></code></a> attribute is set
for efficiency and simplicity reasons.</li>
<li>The routing system will now normalize server names to lowercase.</li>
<li>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.</li>
<li>Fixed a bug with parsing HTTP digest headers. It rejected headers
with missing nc and nonce params.</li>
<li>Proxy fix now also updates wsgi.url_scheme based on X-Forwarded-Proto.</li>
<li>Added support for key prefixes to the redis cache.</li>
<li>Added the ability to suppress some auto corrections in the wrappers
that are now controlled via <cite>autocorrect_location_header</cite> and
<cite>automatically_set_content_length</cite> on the response objects.</li>
<li>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.</li>
<li><a class="reference internal" href="wsgi.html#werkzeug.wsgi.make_line_iter" title="werkzeug.wsgi.make_line_iter"><code class="xref py py-func docutils literal"><span class="pre">make_line_iter()</span></code></a> now requires a limit that is
not higher than the length the stream can provide.</li>
<li>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.</li>
<li>For conditional responses the content length is no longer set when it
is already there and added if missing.</li>
<li>Immutable datastructures are hashable now.</li>
<li>Headers datastructure no longer allows newlines in values to avoid
header injection attacks.</li>
<li>Made it possible through subclassing to select a different remote
addr in the proxy fix.</li>
<li>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.</li>
<li>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.</li>
<li>Redis cache now properly serializes data.</li>
<li>Removed support for Python 2.4</li>
</ul>
</div>
<div class="section" id="version-0-7-2">
<h3>Version 0.7.2<a class="headerlink" href="#version-0-7-2" title="Permalink to this headline">¶</a></h3>
<p>(bugfix release, released on September 30th 2011)</p>
<ul class="simple">
<li>Fixed a CSRF problem with the debugger.</li>
<li>The debugger is now generating private pastes on lodgeit.</li>
<li>If URL maps are now bound to environments the query arguments
are properly decoded from it for redirects.</li>
</ul>
</div>
<div class="section" id="version-0-7-1">
<h3>Version 0.7.1<a class="headerlink" href="#version-0-7-1" title="Permalink to this headline">¶</a></h3>
<p>(bugfix release, released on July 26th 2011)</p>
<ul class="simple">
<li>Fixed a problem with newer versions of IPython.</li>
<li>Disabled pyinotify based reloader which does not work reliably.</li>
</ul>
</div>
<div class="section" id="version-0-7">
<h3>Version 0.7<a class="headerlink" href="#version-0-7" title="Permalink to this headline">¶</a></h3>
<p>Released on July 24th 2011, codename Schraubschlüssel</p>
<ul class="simple">
<li>Add support for python-libmemcached to the Werkzeug cache abstraction
layer.</li>
<li>Improved <code class="xref py py-func docutils literal"><span class="pre">url_decode()</span></code> and <code class="xref py py-func docutils literal"><span class="pre">url_encode()</span></code> performance.</li>
<li>Fixed an issue where the SharedDataMiddleware could cause an
internal server error on weird paths when loading via pkg_resources.</li>
<li>Fixed an URL generation bug that caused URLs to be invalid if a
generated component contains a colon.</li>
<li><code class="xref py py-func docutils literal"><span class="pre">werkzeug.import_string()</span></code> now works with partially set up
packages properly.</li>
<li>Disabled automatic socket switching for IPv6 on the development
server due to problems it caused.</li>
<li>Werkzeug no longer overrides the Date header when creating a
conditional HTTP response.</li>
<li>The routing system provides a method to retrieve the matching
methods for a given path.</li>
<li>The routing system now accepts a parameter to change the encoding
error behaviour.</li>
<li>The local manager can now accept custom ident functions in the
constructor that are forwarded to the wrapped local objects.</li>
<li>url_unquote_plus now accepts unicode strings again.</li>
<li>Fixed an issue with the filesystem session support’s prune
function and concurrent usage.</li>
<li>Fixed a problem with external URL generation discarding the port.</li>
<li>Added support for pylibmc to the Werkzeug cache abstraction layer.</li>
<li>Fixed an issue with the new multipart parser that happened when
a linebreak happened to be on the chunk limit.</li>
<li>Cookies are now set properly if ports are in use. A runtime error
is raised if one tries to set a cookie for a domain without a dot.</li>
<li>Fixed an issue with Template.from_file not working for file
descriptors.</li>
<li>Reloader can now use inotify to track reloads. This requires the
pyinotify library to be installed.</li>
<li>Werkzeug debugger can now submit to custom lodgeit installations.</li>
<li>redirect function’s status code assertion now allows 201 to be used
as redirection code. While it’s not a real redirect, it shares
enough with redirects for the function to still be useful.</li>
<li>Fixed securecookie for pypy.</li>
<li>Fixed <cite>ValueErrors</cite> being raised on calls to <cite>best_match</cite> on
<cite>MIMEAccept</cite> objects when invalid user data was supplied.</li>
<li>Deprecated <cite>werkzeug.contrib.kickstart</cite> and <cite>werkzeug.contrib.testtools</cite></li>
<li>URL routing now can be passed the URL arguments to keep them for
redirects. In the future matching on URL arguments might also be
possible.</li>
<li>Header encoding changed from utf-8 to latin1 to support a port to
Python 3. Bytestrings passed to the object stay untouched which
makes it possible to have utf-8 cookies. This is a part where
the Python 3 version will later change in that it will always
operate on latin1 values.</li>
<li>Fixed a bug in the form parser that caused the last character to
be dropped off if certain values in multipart data are used.</li>
<li>Multipart parser now looks at the part-individual content type
header to override the global charset.</li>
<li>Introduced mimetype and mimetype_params attribute for the file
storage object.</li>
<li>Changed FileStorage filename fallback logic to skip special filenames
that Python uses for marking special files like stdin.</li>
<li>Introduced more HTTP exception classes.</li>
<li><cite>call_on_close</cite> now can be used as a decorator.</li>
<li>Support for redis as cache backend.</li>
<li>Added <cite>BaseRequest.scheme</cite>.</li>
<li>Support for the RFC 5789 PATCH method.</li>
<li>New custom routing parser and better ordering.</li>
<li>Removed support for <cite>is_behind_proxy</cite>. Use a WSGI middleware
instead that rewrites the <cite>REMOTE_ADDR</cite> according to your setup.
Also see the <a class="reference internal" href="contrib/fixers.html#werkzeug.contrib.fixers.ProxyFix" title="werkzeug.contrib.fixers.ProxyFix"><code class="xref py py-class docutils literal"><span class="pre">werkzeug.contrib.fixers.ProxyFix</span></code></a> for
a drop-in replacement.</li>
<li>Added cookie forging support to the test client.</li>
<li>Added support for host based matching in the routing system.</li>
<li>Switched from the default ‘ignore’ to the better ‘replace’
unicode error handling mode.</li>
<li>The builtin server now adds a function named ‘werkzeug.server.shutdown’
into the WSGI env to initiate a shutdown. This currently only works
in Python 2.6 and later.</li>
<li>Headers are now assumed to be latin1 for better compatibility with
Python 3 once we have support.</li>
<li>Added <a class="reference internal" href="utils.html#werkzeug.security.safe_join" title="werkzeug.security.safe_join"><code class="xref py py-func docutils literal"><span class="pre">werkzeug.security.safe_join()</span></code></a>.</li>
<li>Added <cite>accept_json</cite> property analogous to <cite>accept_html</cite> on the
<a class="reference internal" href="datastructures.html#werkzeug.datastructures.MIMEAccept" title="werkzeug.datastructures.MIMEAccept"><code class="xref py py-class docutils literal"><span class="pre">werkzeug.datastructures.MIMEAccept</span></code></a>.</li>
<li><a class="reference internal" href="utils.html#werkzeug.utils.import_string" title="werkzeug.utils.import_string"><code class="xref py py-func docutils literal"><span class="pre">werkzeug.utils.import_string()</span></code></a> now fails with much better
error messages that pinpoint to the problem.</li>
<li>Added support for parsing of the <cite>If-Range</cite> header
(<a class="reference internal" href="http.html#werkzeug.http.parse_if_range_header" title="werkzeug.http.parse_if_range_header"><code class="xref py py-func docutils literal"><span class="pre">werkzeug.http.parse_if_range_header()</span></code></a> and
<a class="reference internal" href="datastructures.html#werkzeug.datastructures.IfRange" title="werkzeug.datastructures.IfRange"><code class="xref py py-class docutils literal"><span class="pre">werkzeug.datastructures.IfRange</span></code></a>).</li>
<li>Added support for parsing of the <cite>Range</cite> header
(<a class="reference internal" href="http.html#werkzeug.http.parse_range_header" title="werkzeug.http.parse_range_header"><code class="xref py py-func docutils literal"><span class="pre">werkzeug.http.parse_range_header()</span></code></a> and
<a class="reference internal" href="datastructures.html#werkzeug.datastructures.Range" title="werkzeug.datastructures.Range"><code class="xref py py-class docutils literal"><span class="pre">werkzeug.datastructures.Range</span></code></a>).</li>
<li>Added support for parsing of the <cite>Content-Range</cite> header of responses
and provided an accessor object for it
(<a class="reference internal" href="http.html#werkzeug.http.parse_content_range_header" title="werkzeug.http.parse_content_range_header"><code class="xref py py-func docutils literal"><span class="pre">werkzeug.http.parse_content_range_header()</span></code></a> and
<a class="reference internal" href="datastructures.html#werkzeug.datastructures.ContentRange" title="werkzeug.datastructures.ContentRange"><code class="xref py py-class docutils literal"><span class="pre">werkzeug.datastructures.ContentRange</span></code></a>).</li>
</ul>
</div>
<div class="section" id="version-0-6-2">
<h3>Version 0.6.2<a class="headerlink" href="#version-0-6-2" title="Permalink to this headline">¶</a></h3>
<p>(bugfix release, released on April 23th 2010)</p>
<ul class="simple">
<li>renamed the attribute <cite>implicit_seqence_conversion</cite> attribute of the
request object to <cite>implicit_sequence_conversion</cite>.</li>
</ul>
</div>
<div class="section" id="version-0-6-1">
<h3>Version 0.6.1<a class="headerlink" href="#version-0-6-1" title="Permalink to this headline">¶</a></h3>
<p>(bugfix release, released on April 13th 2010)</p>
<ul class="simple">
<li>heavily improved local objects. Should pick up standalone greenlet
builds now and support proxies to free callables as well. There is
also a stacked local now that makes it possible to invoke the same
application from within itself by pushing current request/response
on top of the stack.</li>
<li>routing build method will also build non-default method rules properly
if no method is provided.</li>
<li>added proper IPv6 support for the builtin server.</li>
<li>windows specific filesystem session store fixes.
(should now be more stable under high concurrency)</li>
<li>fixed a <cite>NameError</cite> in the session system.</li>
<li>fixed a bug with empty arguments in the werkzeug.script system.</li>
<li>fixed a bug where log lines will be duplicated if an application uses
<code class="xref py py-meth docutils literal"><span class="pre">logging.basicConfig()</span></code> (#499)</li>
<li>added secure password hashing and checking functions.</li>
<li><cite>HEAD</cite> is now implicitly added as method in the routing system if
<cite>GET</cite> is present. Not doing that was considered a bug because often
code assumed that this is the case and in web servers that do not
normalize <cite>HEAD</cite> to <cite>GET</cite> this could break <cite>HEAD</cite> requests.</li>
<li>the script support can start SSL servers now.</li>
</ul>
</div>
<div class="section" id="version-0-6">
<h3>Version 0.6<a class="headerlink" href="#version-0-6" title="Permalink to this headline">¶</a></h3>
<p>Released on Feb 19th 2010, codename Hammer.</p>
<ul class="simple">
<li>removed pending deprecations</li>
<li>sys.path is now printed from the testapp.</li>
<li>fixed an RFC 2068 incompatibility with cookie value quoting.</li>
<li>the <code class="xref py py-class docutils literal"><span class="pre">FileStorage</span></code> now gives access to the multipart headers.</li>
<li><cite>cached_property.writeable</cite> has been deprecated.</li>
<li><code class="xref py py-meth docutils literal"><span class="pre">MapAdapter.match()</span></code> now accepts a <cite>return_rule</cite> keyword argument
that returns the matched <cite>Rule</cite> instead of just the <cite>endpoint</cite></li>
<li><a class="reference internal" href="routing.html#werkzeug.routing.Map.bind_to_environ" title="werkzeug.routing.Map.bind_to_environ"><code class="xref py py-meth docutils literal"><span class="pre">routing.Map.bind_to_environ()</span></code></a> raises a more correct error message
now if the map was bound to an invalid WSGI environment.</li>
<li>added support for SSL to the builtin development server.</li>
<li>Response objects are no longer modified in place when they are evaluated
as WSGI applications. For backwards compatibility the <cite>fix_headers</cite>
function is still called in case it was overridden.
You should however change your application to use <cite>get_wsgi_headers</cite> if
you need header modifications before responses are sent as the backwards
compatibility support will go away in future versions.</li>
<li><code class="xref py py-func docutils literal"><span class="pre">append_slash_redirect()</span></code> no longer requires the QUERY_STRING to be
in the WSGI environment.</li>
<li>added <a class="reference internal" href="contrib/wrappers.html#werkzeug.contrib.wrappers.DynamicCharsetResponseMixin" title="werkzeug.contrib.wrappers.DynamicCharsetResponseMixin"><code class="xref py py-class docutils literal"><span class="pre">DynamicCharsetResponseMixin</span></code></a></li>
<li>added <a class="reference internal" href="contrib/wrappers.html#werkzeug.contrib.wrappers.DynamicCharsetRequestMixin" title="werkzeug.contrib.wrappers.DynamicCharsetRequestMixin"><code class="xref py py-class docutils literal"><span class="pre">DynamicCharsetRequestMixin</span></code></a></li>
<li>added <code class="xref py py-attr docutils literal"><span class="pre">BaseRequest.url_charset</span></code></li>
<li>request and response objects have a default <cite>__repr__</cite> now.</li>
<li>builtin data structures can be pickled now.</li>
<li>the form data parser will now look at the filename instead the
content type to figure out if it should treat the upload as regular
form data or file upload. This fixes a bug with Google Chrome.</li>
<li>improved performance of <cite>make_line_iter</cite> and the multipart parser
for binary uploads.</li>
<li>fixed <code class="xref py py-attr docutils literal"><span class="pre">is_streamed</span></code></li>
<li>fixed a path quoting bug in <cite>EnvironBuilder</cite> that caused PATH_INFO and
SCRIPT_NAME to end up in the environ unquoted.</li>
<li><code class="xref py py-meth docutils literal"><span class="pre">werkzeug.BaseResponse.freeze()</span></code> now sets the content length.</li>
<li>for unknown HTTP methods the request stream is now always limited
instead of being empty. This makes it easier to implement DAV
and other protocols on top of Werkzeug.</li>
<li>added <code class="xref py py-meth docutils literal"><span class="pre">werkzeug.MIMEAccept.best_match()</span></code></li>
<li>multi-value test-client posts from a standard dictionary are now
supported. Previously you had to use a multi dict.</li>
<li>rule templates properly work with submounts, subdomains and
other rule factories now.</li>
<li>deprecated non-silent usage of the <code class="xref py py-class docutils literal"><span class="pre">werkzeug.LimitedStream</span></code>.</li>
<li>added support for IRI handling to many parts of Werkzeug.</li>
<li>development server properly logs to the werkzeug logger now.</li>
<li>added <code class="xref py py-func docutils literal"><span class="pre">werkzeug.extract_path_info()</span></code></li>
<li>fixed a querystring quoting bug in <code class="xref py py-func docutils literal"><span class="pre">url_fix()</span></code></li>
<li>added <cite>fallback_mimetype</cite> to <code class="xref py py-class docutils literal"><span class="pre">werkzeug.SharedDataMiddleware</span></code>.</li>
<li>deprecated <code class="xref py py-meth docutils literal"><span class="pre">BaseResponse.iter_encoded()</span></code>‘s charset parameter.</li>
<li>added <code class="xref py py-meth docutils literal"><span class="pre">BaseResponse.make_sequence()</span></code>,
<code class="xref py py-attr docutils literal"><span class="pre">BaseResponse.is_sequence</span></code> and
<code class="xref py py-meth docutils literal"><span class="pre">BaseResponse._ensure_sequence()</span></code>.</li>
<li>added better __repr__ of <code class="xref py py-class docutils literal"><span class="pre">werkzeug.Map</span></code></li>
<li><cite>import_string</cite> accepts unicode strings as well now.</li>
<li>development server doesn’t break on double slashes after the host name.</li>
<li>better <cite>__repr__</cite> and <cite>__str__</cite> of
<a class="reference internal" href="exceptions.html#werkzeug.exceptions.HTTPException" title="werkzeug.exceptions.HTTPException"><code class="xref py py-exc docutils literal"><span class="pre">werkzeug.exceptions.HTTPException</span></code></a></li>
<li>test client works correctly with multiple cookies now.</li>
<li>the <a class="reference internal" href="routing.html#werkzeug.routing.Map" title="werkzeug.routing.Map"><code class="xref py py-class docutils literal"><span class="pre">werkzeug.routing.Map</span></code></a> now has a class attribute with
the default converter mapping. This helps subclasses to override
the converters without passing them to the constructor.</li>
<li>implemented <code class="xref py py-class docutils literal"><span class="pre">OrderedMultiDict</span></code></li>
<li>improved the session support for more efficient session storing
on the filesystem. Also added support for listing of sessions
currently stored in the filesystem session store.</li>
<li>werkzeug no longer utilizes the Python time module for parsing
which means that dates in a broader range can be parsed.</li>
<li>the wrappers have no class attributes that make it possible to
swap out the dict and list types it uses.</li>
<li>werkzeug debugger should work on the appengine dev server now.</li>
<li>the URL builder supports dropping of unexpected arguments now.
Previously they were always appended to the URL as query string.</li>
<li>profiler now writes to the correct stream.</li>
</ul>
</div>
<div class="section" id="version-0-5-1">
<h3>Version 0.5.1<a class="headerlink" href="#version-0-5-1" title="Permalink to this headline">¶</a></h3>
<p>(bugfix release for 0.5, released on July 9th 2009)</p>
<ul class="simple">
<li>fixed boolean check of <code class="xref py py-class docutils literal"><span class="pre">FileStorage</span></code></li>
<li>url routing system properly supports unicode URL rules now.</li>
<li>file upload streams no longer have to provide a truncate()
method.</li>
<li>implemented <code class="xref py py-meth docutils literal"><span class="pre">BaseRequest._form_parsing_failed()</span></code>.</li>
<li>fixed #394</li>
<li><code class="xref py py-meth docutils literal"><span class="pre">ImmutableDict.copy()</span></code>, <code class="xref py py-meth docutils literal"><span class="pre">ImmutableMultiDict.copy()</span></code> and
<code class="xref py py-meth docutils literal"><span class="pre">ImmutableTypeConversionDict.copy()</span></code> return mutable shallow
copies.</li>
<li>fixed a bug with the <cite>make_runserver</cite> script action.</li>
<li><code class="xref py py-meth docutils literal"><span class="pre">MultiDict.items()</span></code> and <code class="xref py py-meth docutils literal"><span class="pre">MutiDict.iteritems()</span></code> now accept an
argument to return a pair for each value of each key.</li>
<li>the multipart parser works better with hand-crafted multipart
requests now that have extra newlines added. This fixes a bug
with setuptools uploades not handled properly (#390)</li>
<li>fixed some minor bugs in the atom feed generator.</li>
<li>fixed a bug with client cookie header parsing being case sensitive.</li>
<li>fixed a not-working deprecation warning.</li>
<li>fixed package loading for <code class="xref py py-class docutils literal"><span class="pre">SharedDataMiddleware</span></code>.</li>
<li>fixed a bug in the secure cookie that made server-side expiration
on servers with a local time that was not set to UTC impossible.</li>
<li>fixed console of the interactive debugger.</li>
</ul>
</div>
<div class="section" id="version-0-5">
<h3>Version 0.5<a class="headerlink" href="#version-0-5" title="Permalink to this headline">¶</a></h3>
<p>Released on April 24th, codename Schlagbohrer.</p>
<ul class="simple">
<li>requires Python 2.4 now</li>
<li>fixed a bug in <code class="xref py py-class docutils literal"><span class="pre">IterIO</span></code></li>
<li>added <code class="xref py py-class docutils literal"><span class="pre">MIMEAccept</span></code> and <code class="xref py py-class docutils literal"><span class="pre">CharsetAccept</span></code> that work like the
regular <code class="xref py py-class docutils literal"><span class="pre">Accept</span></code> but have extra special normalization for mimetypes
and charsets and extra convenience methods.</li>
<li>switched the serving system from wsgiref to something homebrew.</li>
<li>the <code class="xref py py-class docutils literal"><span class="pre">Client</span></code> now supports cookies.</li>
<li>added the <a class="reference internal" href="contrib/fixers.html#module-werkzeug.contrib.fixers" title="werkzeug.contrib.fixers"><code class="xref py py-mod docutils literal"><span class="pre">fixers</span></code></a> module with various
fixes for webserver bugs and hosting setup side-effects.</li>
<li>added <a class="reference internal" href="contrib/wrappers.html#module-werkzeug.contrib.wrappers" title="werkzeug.contrib.wrappers"><code class="xref py py-mod docutils literal"><span class="pre">werkzeug.contrib.wrappers</span></code></a></li>
<li>added <code class="xref py py-func docutils literal"><span class="pre">is_hop_by_hop_header()</span></code></li>
<li>added <code class="xref py py-func docutils literal"><span class="pre">is_entity_header()</span></code></li>
<li>added <code class="xref py py-func docutils literal"><span class="pre">remove_hop_by_hop_headers()</span></code></li>
<li>added <code class="xref py py-func docutils literal"><span class="pre">pop_path_info()</span></code></li>
<li>added <code class="xref py py-func docutils literal"><span class="pre">peek_path_info()</span></code></li>
<li>added <code class="xref py py-func docutils literal"><span class="pre">wrap_file()</span></code> and <code class="xref py py-class docutils literal"><span class="pre">FileWrapper</span></code></li>
<li>moved <cite>LimitedStream</cite> from the contrib package into the regular
werkzeug one and changed the default behavior to raise exceptions
rather than stopping without warning. The old class will stick in
the module until 0.6.</li>
<li>implemented experimental multipart parser that replaces the old CGI hack.</li>
<li>added <code class="xref py py-func docutils literal"><span class="pre">dump_options_header()</span></code> and <code class="xref py py-func docutils literal"><span class="pre">parse_options_header()</span></code></li>
<li>added <code class="xref py py-func docutils literal"><span class="pre">quote_header_value()</span></code> and <code class="xref py py-func docutils literal"><span class="pre">unquote_header_value()</span></code></li>
<li><code class="xref py py-func docutils literal"><span class="pre">url_encode()</span></code> and <code class="xref py py-func docutils literal"><span class="pre">url_decode()</span></code> now accept a separator
argument to switch between <cite>&</cite> and <cite>;</cite> as pair separator. The magic
switch is no longer in place.</li>
<li>all form data parsing functions as well as the <code class="xref py py-class docutils literal"><span class="pre">BaseRequest</span></code>
object have parameters (or attributes) to limit the number of
incoming bytes (either totally or per field).</li>
<li>added <code class="xref py py-class docutils literal"><span class="pre">LanguageAccept</span></code></li>
<li>request objects are now enforced to be read only for all collections.</li>
<li>added many new collection classes, refactored collections in general.</li>
<li>test support was refactored, semi-undocumented <cite>werkzeug.test.File</cite>
was replaced by <code class="xref py py-class docutils literal"><span class="pre">werkzeug.FileStorage</span></code>.</li>
<li><code class="xref py py-class docutils literal"><span class="pre">EnvironBuilder</span></code> was added and unifies the previous distinct
<code class="xref py py-func docutils literal"><span class="pre">create_environ()</span></code>, <code class="xref py py-class docutils literal"><span class="pre">Client</span></code> and
<code class="xref py py-meth docutils literal"><span class="pre">BaseRequest.from_values()</span></code>. They all work the same now which
is less confusing.</li>
<li>officially documented imports from the internal modules as undefined
behavior. These modules were never exposed as public interfaces.</li>
<li>removed <cite>FileStorage.__len__</cite> which previously made the object
falsy for browsers not sending the content length which all browsers
do.</li>
<li><code class="xref py py-class docutils literal"><span class="pre">SharedDataMiddleware</span></code> uses <cite>wrap_file</cite> now and has a
configurable cache timeout.</li>
<li>added <code class="xref py py-class docutils literal"><span class="pre">CommonRequestDescriptorsMixin</span></code></li>
<li>added <code class="xref py py-attr docutils literal"><span class="pre">CommonResponseDescriptorsMixin.mimetype_params</span></code></li>
<li>added <a class="reference internal" href="contrib/lint.html#module-werkzeug.contrib.lint" title="werkzeug.contrib.lint"><code class="xref py py-mod docutils literal"><span class="pre">werkzeug.contrib.lint</span></code></a></li>
<li>added <cite>passthrough_errors</cite> to <cite>run_simple</cite>.</li>
<li>added <cite>secure_filename</cite></li>
<li>added <code class="xref py py-func docutils literal"><span class="pre">make_line_iter()</span></code></li>
<li><code class="xref py py-class docutils literal"><span class="pre">MultiDict</span></code> copies now instead of revealing internal
lists to the caller for <cite>getlist</cite> and iteration functions that
return lists.</li>
<li>added <code class="xref py py-attr docutils literal"><span class="pre">follow_redirect</span></code> to the <code class="xref py py-func docutils literal"><span class="pre">open()</span></code> of <code class="xref py py-class docutils literal"><span class="pre">Client</span></code>.</li>
<li>added support for <cite>extra_files</cite> in
<code class="xref py py-func docutils literal"><span class="pre">make_runserver()</span></code></li>
</ul>
</div>
<div class="section" id="version-0-4-1">
<h3>Version 0.4.1<a class="headerlink" href="#version-0-4-1" title="Permalink to this headline">¶</a></h3>
<p>(Bugfix release, released on January 11th 2009)</p>
<ul class="simple">
<li><cite>werkzeug.contrib.cache.Memcached</cite> accepts now objects that
implement the memcache.Client interface as alternative to a list of
strings with server addresses.
There is also now a <cite>GAEMemcachedCache</cite> that connects to the Google
appengine cache.</li>
<li>explicitly convert secret keys to bytestrings now because Python
2.6 no longer does that.</li>
<li><cite>url_encode</cite> and all interfaces that call it, support ordering of
options now which however is disabled by default.</li>
<li>the development server no longer resolves the addresses of clients.</li>
<li>Fixed a typo in <cite>werkzeug.test</cite> that broke <cite>File</cite>.</li>
<li><cite>Map.bind_to_environ</cite> uses the <cite>Host</cite> header now if available.</li>
<li>Fixed <cite>BaseCache.get_dict</cite> (#345)</li>
<li><cite>werkzeug.test.Client</cite> can now run the application buffered in which
case the application is properly closed automatically.</li>
<li>Fixed <cite>Headers.set</cite> (#354). Caused header duplication before.</li>
<li>Fixed <cite>Headers.pop</cite> (#349). default parameter was not properly
handled.</li>
<li>Fixed UnboundLocalError in <cite>create_environ</cite> (#351)</li>
<li><cite>Headers</cite> is more compatible with wsgiref now.</li>
<li><cite>Template.render</cite> accepts multidicts now.</li>
<li>dropped support for Python 2.3</li>
</ul>
</div>
<div class="section" id="version-0-4">
<h3>Version 0.4<a class="headerlink" href="#version-0-4" title="Permalink to this headline">¶</a></h3>
<p>Released on November 23rd 2008, codename Schraubenzieher.</p>
<ul class="simple">
<li><cite>Client</cite> supports an empty <cite>data</cite> argument now.</li>
<li>fixed a bug in <cite>Response.application</cite> that made it impossible to use it
as method decorator.</li>
<li>the session system should work on appengine now</li>
<li>the secure cookie works properly in load balanced environments with
different cpu architectures now.</li>
<li><cite>CacheControl.no_cache</cite> and <cite>CacheControl.private</cite> behavior changed to
reflect the possibilities of the HTTP RFC. Setting these attributes to
<cite>None</cite> or <cite>True</cite> now sets the value to “the empty value”.
More details in the documentation.</li>
<li>fixed <cite>werkzeug.contrib.atom.AtomFeed.__call__</cite>. (#338)</li>
<li><cite>BaseResponse.make_conditional</cite> now always returns <cite>self</cite>. Previously
it didn’t for post requests and such.</li>
<li>fixed a bug in boolean attribute handling of <cite>html</cite> and <cite>xhtml</cite>.</li>
<li>added graceful error handling to the debugger pastebin feature.</li>
<li>added a more list like interface to <cite>Headers</cite> (slicing and indexing
works now)</li>
<li>fixed a bug with the <cite>__setitem__</cite> method of <cite>Headers</cite> that didn’t
properly remove all keys on replacing.</li>
<li>added <cite>remove_entity_headers</cite> which removes all entity headers from
a list of headers (or a <cite>Headers</cite> object)</li>
<li>the responses now automatically call <cite>remove_entity_headers</cite> if the
status code is 304.</li>
<li>fixed a bug with <cite>Href</cite> query parameter handling. Previously the last
item of a call to <cite>Href</cite> was not handled properly if it was a dict.</li>
<li>headers now support a <cite>pop</cite> operation to better work with environ
properties.</li>
</ul>
</div>
<div class="section" id="version-0-3-1">
<h3>Version 0.3.1<a class="headerlink" href="#version-0-3-1" title="Permalink to this headline">¶</a></h3>
<p>(bugfix release, released on June 24th 2008)</p>
<ul class="simple">
<li>fixed a security problem with <cite>werkzeug.contrib.SecureCookie</cite>.
More details available in the <a class="reference external" href="http://lucumr.pocoo.org/cogitations/2008/06/24/werkzeug-031-released/">release announcement</a>.</li>
</ul>
</div>
<div class="section" id="version-0-3">
<h3>Version 0.3<a class="headerlink" href="#version-0-3" title="Permalink to this headline">¶</a></h3>
<p>Released on June 14th 2008, codename EUR325CAT6.</p>
<ul class="simple">
<li>added support for redirecting in url routing.</li>
<li>added <cite>Authorization</cite> and <cite>AuthorizationMixin</cite></li>
<li>added <cite>WWWAuthenticate</cite> and <cite>WWWAuthenticateMixin</cite></li>
<li>added <cite>parse_list_header</cite></li>
<li>added <cite>parse_dict_header</cite></li>
<li>added <cite>parse_authorization_header</cite></li>
<li>added <cite>parse_www_authenticate_header</cite></li>
<li>added <cite>_get_current_object</cite> method to <cite>LocalProxy</cite> objects</li>
<li>added <cite>parse_form_data</cite></li>
<li><cite>MultiDict</cite>, <cite>CombinedMultiDict</cite>, <cite>Headers</cite>, and <cite>EnvironHeaders</cite> raise
special key errors now that are subclasses of <cite>BadRequest</cite> so if you
don’t catch them they give meaningful HTTP responses.</li>
<li>added support for alternative encoding error handling and the new
<cite>HTTPUnicodeError</cite> which (if not caught) behaves like a <cite>BadRequest</cite>.</li>
<li>added <cite>BadRequest.wrap</cite>.</li>
<li>added ETag support to the SharedDataMiddleware and added an option
to disable caching.</li>
<li>fixed <cite>is_xhr</cite> on the request objects.</li>
<li>fixed error handling of the url adapter’s <cite>dispatch</cite> method. (#318)</li>
<li>fixed bug with <cite>SharedDataMiddleware</cite>.</li>
<li>fixed <cite>Accept.values</cite>.</li>
<li><cite>EnvironHeaders</cite> contain content-type and content-length now</li>
<li><cite>url_encode</cite> treats lists and tuples in dicts passed to it as multiple
values for the same key so that one doesn’t have to pass a <cite>MultiDict</cite>
to the function.</li>
<li>added <cite>validate_arguments</cite></li>
<li>added <cite>BaseRequest.application</cite></li>
<li>improved Python 2.3 support</li>
<li><cite>run_simple</cite> accepts <cite>use_debugger</cite> and <cite>use_evalex</cite> parameters now,
like the <cite>make_runserver</cite> factory function from the script module.</li>
<li>the <cite>environ_property</cite> is now read-only by default</li>
<li>it’s now possible to initialize requests as “shallow” requests which
causes runtime errors if the request object tries to consume the
input stream.</li>
</ul>
</div>
<div class="section" id="version-0-2">
<h3>Version 0.2<a class="headerlink" href="#version-0-2" title="Permalink to this headline">¶</a></h3>
<p>Released Feb 14th 2008, codename Faustkeil.</p>
<ul class="simple">
<li>Added <cite>AnyConverter</cite> to the routing system.</li>
<li>Added <cite>werkzeug.contrib.securecookie</cite></li>
<li>Exceptions have a <code class="docutils literal"><span class="pre">get_response()</span></code> method that return a response object</li>
<li>fixed the path ordering bug (#293), thanks Thomas Johansson</li>
<li><cite>BaseReporterStream</cite> is now part of the werkzeug contrib module. From
Werkzeug 0.3 onwards you will have to import it from there.</li>
<li>added <cite>DispatcherMiddleware</cite>.</li>
<li><cite>RequestRedirect</cite> is now a subclass of <cite>HTTPException</cite> and uses a
301 status code instead of 302.</li>
<li><cite>url_encode</cite> and <cite>url_decode</cite> can optionally treat keys as unicode strings
now, too.</li>
<li><cite>werkzeug.script</cite> has a different caller format for boolean arguments now.</li>
<li>renamed <cite>lazy_property</cite> to <cite>cached_property</cite>.</li>
<li>added <cite>import_string</cite>.</li>
<li>added is_* properties to request objects.</li>
<li>added <cite>empty()</cite> method to routing rules.</li>
<li>added <cite>werkzeug.contrib.profiler</cite>.</li>
<li>added <cite>extends</cite> to <cite>Headers</cite>.</li>
<li>added <cite>dump_cookie</cite> and <cite>parse_cookie</cite>.</li>
<li>added <cite>as_tuple</cite> to the <cite>Client</cite>.</li>
<li>added <cite>werkzeug.contrib.testtools</cite>.</li>
<li>added <cite>werkzeug.unescape</cite></li>
<li>added <cite>BaseResponse.freeze</cite></li>
<li>added <cite>werkzeug.contrib.atom</cite></li>
<li>the HTTPExceptions accept an argument <cite>description</cite> now which overrides the
default description.</li>
<li>the <cite>MapAdapter</cite> has a default for path info now. If you use
<cite>bind_to_environ</cite> you don’t have to pass the path later.</li>
<li>the wsgiref subclass werkzeug uses for the dev server does not use direct
sys.stderr logging any more but a logger called “werkzeug”.</li>
<li>implemented <cite>Href</cite>.</li>
<li>implemented <cite>find_modules</cite></li>
<li>refactored request and response objects into base objects, mixins and
full featured subclasses that implement all mixins.</li>
<li>added simple user agent parser</li>
<li>werkzeug’s routing raises <cite>MethodNotAllowed</cite> now if it matches a
rule but for a different method.</li>
<li>many fixes and small improvements</li>
</ul>
</div>
<div class="section" id="version-0-1">
<h3>Version 0.1<a class="headerlink" href="#version-0-1" title="Permalink to this headline">¶</a></h3>
<p>Released on Dec 9th 2007, codename Wictorinoxger.</p>
<ul class="simple">
<li>Initial release</li>
</ul>
</div>
</div>
<div class="section" id="api-changes">
<span id="id2"></span><h2>API Changes<a class="headerlink" href="#api-changes" title="Permalink to this headline">¶</a></h2>
<dl class="docutils">
<dt><cite>0.9</cite></dt>
<dd><ul class="first last simple">
<li>Soft-deprecated the <code class="xref py py-attr docutils literal"><span class="pre">BaseRequest.data</span></code> and
<code class="xref py py-attr docutils literal"><span class="pre">BaseResponse.data</span></code> attributes and introduced new methods
to interact with entity data. This will allows in the future to
make better APIs to deal with request and response entity
bodies. So far there is no deprecation warning but users are
strongly encouraged to update.</li>
<li>The <code class="xref py py-class docutils literal"><span class="pre">Headers</span></code> and <code class="xref py py-class docutils literal"><span class="pre">EnvironHeaders</span></code> datastructures
are now designed to operate on unicode data. This is a backwards
incomaptible change and was necessary for the Python 3 support.</li>
<li>The <code class="xref py py-class docutils literal"><span class="pre">Headers</span></code> object no longer supports in-place operations
through the old <code class="docutils literal"><span class="pre">linked</span></code> method. This has been removed without
replacement due to changes on the encoding model.</li>
</ul>
</dd>
<dt><cite>0.6.2</cite></dt>
<dd><ul class="first last simple">
<li>renamed the attribute <cite>implicit_seqence_conversion</cite> attribute of
the request object to <cite>implicit_sequence_conversion</cite>. Because
this is a feature that is typically unused and was only in there
for the 0.6 series we consider this a bug that does not require
backwards compatibility support which would be impossible to
properly implement.</li>
</ul>
</dd>
<dt><cite>0.6</cite></dt>
<dd><ul class="first last simple">
<li>Old deprecations were removed.</li>
<li><cite>cached_property.writeable</cite> was deprecated.</li>
<li><code class="xref py py-meth docutils literal"><span class="pre">BaseResponse.get_wsgi_headers()</span></code> replaces the older
<cite>BaseResponse.fix_headers</cite> method. The older method stays
around for backwards compatibility reasons until 0.7.</li>
<li><cite>BaseResponse.header_list</cite> was deprecated. You should not
need this function, <cite>get_wsgi_headers</cite> and the <cite>to_list</cite>
method on the regular headers should serve as a replacement.</li>
<li>Deprecated <cite>BaseResponse.iter_encoded</cite>‘s charset parameter.</li>
<li><code class="xref py py-class docutils literal"><span class="pre">LimitedStream</span></code> non-silent usage was deprecated.</li>
<li>the <cite>__repr__</cite> of HTTP exceptions changed. This might break
doctests.</li>
</ul>
</dd>
<dt><cite>0.5</cite></dt>
<dd><ul class="first last simple">
<li>Werkzeug switched away from wsgiref as library for the builtin
webserver.</li>
<li>The <cite>encoding</cite> parameter for <code class="xref py py-class docutils literal"><span class="pre">Template</span></code>s is now called
<cite>charset</cite>. The older one will work for another two versions
but warn with a <code class="xref py py-exc docutils literal"><span class="pre">DeprecationWarning</span></code>.</li>
<li>The <code class="xref py py-class docutils literal"><span class="pre">Client</span></code> has cookie support now which is enabled
by default.</li>
<li><code class="xref py py-meth docutils literal"><span class="pre">BaseResponse._get_file_stream()</span></code> is now passed more parameters
to make the function more useful. In 0.6 the old way to invoke
the method will no longer work. To support both newer and older
Werkzeug versions you can add all arguments to the signature and
provide default values for each of them.</li>
<li><code class="xref py py-func docutils literal"><span class="pre">url_decode()</span></code> no longer supports both <cite>&</cite> and <cite>;</cite> as
separator. This has to be specified explicitly now.</li>
<li>The request object is now enforced to be read-only for all
attributes. If your code relies on modifications of some values
makes sure to create copies of them using the mutable counterparts!</li>
<li>Some data structures that were only used on request objects are
now immutable as well. (<code class="xref py py-class docutils literal"><span class="pre">Authorization</span></code> / <code class="xref py py-class docutils literal"><span class="pre">Accept</span></code>
and subclasses)</li>
<li><cite>CacheControl</cite> was splitted up into <code class="xref py py-class docutils literal"><span class="pre">RequestCacheControl</span></code>
and <code class="xref py py-class docutils literal"><span class="pre">ResponseCacheControl</span></code>, the former being immutable.
The old class will go away in 0.6</li>
<li>undocumented <cite>werkzeug.test.File</cite> was replaced by
<code class="xref py py-class docutils literal"><span class="pre">FileWrapper</span></code>.</li>
<li>it’s not longer possible to pass dicts inside the <cite>data</cite> dict
in <code class="xref py py-class docutils literal"><span class="pre">Client</span></code>. Use tuples instead.</li>
<li>It’s save to modify the return value of <code class="xref py py-meth docutils literal"><span class="pre">MultiDict.getlist()</span></code>
and methods that return lists in the <code class="xref py py-class docutils literal"><span class="pre">MultiDict</span></code> now. The
class creates copies instead of revealing the internal lists.
However <code class="xref py py-class docutils literal"><span class="pre">MultiDict.setlistdefault</span></code> still (and intentionally)
returns the internal list for modifications.</li>
</ul>
</dd>
<dt><cite>0.3</cite></dt>
<dd><ul class="first last simple">
<li>Werkzeug 0.3 will be the last release with Python 2.3 compatibility.</li>
<li>The <cite>environ_property</cite> is now read-only by default. This decision was
made because the request in general should be considered read-only.</li>
</ul>
</dd>
<dt><cite>0.2</cite></dt>
<dd><ul class="first last simple">
<li>The <cite>BaseReporterStream</cite> is now part of the contrib module, the
new module is <cite>werkzeug.contrib.reporterstream</cite>. Starting with
<cite>0.3</cite>, the old import will not work any longer.</li>
<li><cite>RequestRedirect</cite> now uses a 301 status code. Previously a 302
status code was used incorrectly. If you want to continue using
this 302 code, use <code class="docutils literal"><span class="pre">response</span> <span class="pre">=</span> <span class="pre">redirect(e.new_url,</span> <span class="pre">302)</span></code>.</li>
<li><cite>lazy_property</cite> is now called <cite>cached_property</cite>. The alias for
the old name will disappear in Werkzeug 0.3.</li>
<li><cite>match</cite> can now raise <cite>MethodNotAllowed</cite> if configured for
methods and there was no method for that request.</li>
<li>The <cite>response_body</cite> attribute on the response object is now called
<cite>data</cite>. With Werkzeug 0.3 the old name will not work any longer.</li>
<li>The file-like methods on the response object are deprecated. If
you want to use the response object as file like object use the
<cite>Response</cite> class or a subclass of <cite>BaseResponse</cite> and mix the new
<cite>ResponseStreamMixin</cite> class and use <cite>response.stream</cite>.</li>
</ul>
</dd>
</dl>
</div>
</div>
</div>
</div>
</div>
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
<div class="sphinxsidebarwrapper"><p class="logo"><a href="index.html">
<img class="logo" src="_static/werkzeug.png" alt="Logo"/>
</a></p>
<h3><a href="index.html">Table Of Contents</a></h3>
<ul>
<li><a class="reference internal" href="#">Werkzeug Changelog</a><ul>
<li><a class="reference internal" href="#id1">Werkzeug Changelog</a><ul>
<li><a class="reference internal" href="#version-0-10-4">Version 0.10.4</a></li>
<li><a class="reference internal" href="#version-0-10-3">Version 0.10.3</a></li>
<li><a class="reference internal" href="#version-0-10-2">Version 0.10.2</a></li>
<li><a class="reference internal" href="#version-0-10-1">Version 0.10.1</a></li>
<li><a class="reference internal" href="#version-0-10">Version 0.10</a></li>
<li><a class="reference internal" href="#version-0-9-7">Version 0.9.7</a></li>
<li><a class="reference internal" href="#version-0-9-6">Version 0.9.6</a></li>
<li><a class="reference internal" href="#version-0-9-5">Version 0.9.5</a></li>
<li><a class="reference internal" href="#version-0-9-4">Version 0.9.4</a></li>
<li><a class="reference internal" href="#version-0-9-3">Version 0.9.3</a></li>
<li><a class="reference internal" href="#version-0-9-2">Version 0.9.2</a></li>
<li><a class="reference internal" href="#version-0-9-1">Version 0.9.1</a></li>
<li><a class="reference internal" href="#version-0-9">Version 0.9</a></li>
<li><a class="reference internal" href="#version-0-8-4">Version 0.8.4</a></li>
<li><a class="reference internal" href="#version-0-8-3">Version 0.8.3</a></li>
<li><a class="reference internal" href="#version-0-8-2">Version 0.8.2</a></li>
<li><a class="reference internal" href="#version-0-8-1">Version 0.8.1</a></li>
<li><a class="reference internal" href="#version-0-8">Version 0.8</a></li>
<li><a class="reference internal" href="#version-0-7-2">Version 0.7.2</a></li>
<li><a class="reference internal" href="#version-0-7-1">Version 0.7.1</a></li>
<li><a class="reference internal" href="#version-0-7">Version 0.7</a></li>
<li><a class="reference internal" href="#version-0-6-2">Version 0.6.2</a></li>
<li><a class="reference internal" href="#version-0-6-1">Version 0.6.1</a></li>
<li><a class="reference internal" href="#version-0-6">Version 0.6</a></li>
<li><a class="reference internal" href="#version-0-5-1">Version 0.5.1</a></li>
<li><a class="reference internal" href="#version-0-5">Version 0.5</a></li>
<li><a class="reference internal" href="#version-0-4-1">Version 0.4.1</a></li>
<li><a class="reference internal" href="#version-0-4">Version 0.4</a></li>
<li><a class="reference internal" href="#version-0-3-1">Version 0.3.1</a></li>
<li><a class="reference internal" href="#version-0-3">Version 0.3</a></li>
<li><a class="reference internal" href="#version-0-2">Version 0.2</a></li>
<li><a class="reference internal" href="#version-0-1">Version 0.1</a></li>
</ul>
</li>
<li><a class="reference internal" href="#api-changes">API Changes</a></li>
</ul>
</li>
</ul>
<h3>Related Topics</h3>
<ul>
<li><a href="index.html">Documentation overview</a><ul>
<li>Previous: <a href="request_data.html" title="previous chapter">Dealing with Request Data</a></li>
</ul></li>
</ul>
<div role="note" aria-label="source link">
<h3>This Page</h3>
<ul class="this-page-menu">
<li><a href="_sources/changes.txt"
rel="nofollow">Show Source</a></li>
</ul>
</div>
<div id="searchbox" style="display: none" role="search">
<h3>Quick search</h3>
<form class="search" action="search.html" method="get">
<input type="text" name="q" />
<input type="submit" value="Go" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
<p class="searchtip" style="font-size: 90%">
Enter search terms or a module, class or function name.
</p>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="footer">
© Copyright 2011, The Werkzeug Team.
Created using <a href="http://sphinx.pocoo.org/">Sphinx</a>.
</div>
</body>
</html>
|