/usr/share/doc/python-repoze.tm2-doc/html/changes.html is in python-repoze.tm2-doc 2.0-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 | <!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>repoze.tm Change History — repoze.tm2 2.0b1 documentation</title>
<link rel="stylesheet" href="_static/repoze.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: './',
VERSION: '2.0b1',
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="repoze.tm2 2.0b1 documentation" href="index.html" />
<link rel="prev" title="repoze.tm" href="api.html" />
</head>
<body>
<div class="related">
<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="api.html" title="repoze.tm"
accesskey="P">previous</a> |</li>
<li><a href="index.html">repoze.tm2 2.0b1 documentation</a> »</li>
</ul>
</div>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body">
<div class="section" id="repoze-tm-change-history">
<h1><a class="reference internal" href="api.html#module-repoze.tm" title="repoze.tm"><tt class="xref py py-mod docutils literal"><span class="pre">repoze.tm</span></tt></a> Change History<a class="headerlink" href="#repoze-tm-change-history" title="Permalink to this headline">¶</a></h1>
</div>
<div class="section" id="changelog">
<h1>Changelog<a class="headerlink" href="#changelog" title="Permalink to this headline">¶</a></h1>
<div class="section" id="id1">
<h2>2.0 (2013-06-26)<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li>Avoid swallowing the original exception while aborting the transaction
in middleware. See PR #3.</li>
</ul>
</div>
<div class="section" id="b1-2013-04-05">
<h2>2.0b1 (2013-04-05)<a class="headerlink" href="#b1-2013-04-05" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li>Middleware is now a generator, to deal appropriately with application
iterators which are themselves not lists.</li>
<li>Convert use of deprecated failIf/failUnless to assertFalse/assertTrue.</li>
<li>Add support for testing under supported Pythons using Tox.</li>
<li>Add explicit support for Python 3.2 ad 3.3.</li>
<li>Drop support for Python 2.4, 2.5.</li>
</ul>
</div>
<div class="section" id="id2">
<h2>1.0 (2012-03-24)<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li>Run OOTB under Python 2.4 / 2.5 (pin ‘transaction’ dependency to
a supported version when running under 2.4 / 2.5).</li>
</ul>
</div>
<div class="section" id="b2-2011-07-18">
<h2>1.0b2 (2011-07-18)<a class="headerlink" href="#b2-2011-07-18" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li>A new header <tt class="docutils literal"><span class="pre">X-Tm</span></tt> is now honored by the <tt class="docutils literal"><span class="pre">default_commit_veto</span></tt> commit
veto hook. If this header exists in the headerlist, its value must be a
string. If its value is <tt class="docutils literal"><span class="pre">commit</span></tt>, the transaction will be committed
regardless of the status code or the value of <tt class="docutils literal"><span class="pre">X-Tm-Abort</span></tt>. If the value
of the <tt class="docutils literal"><span class="pre">X-Tm</span></tt> header is <tt class="docutils literal"><span class="pre">abort</span></tt> (or any other string value except
<tt class="docutils literal"><span class="pre">commit</span></tt>), the transaction will be aborted regardless of the status code
or the value of <tt class="docutils literal"><span class="pre">X-Tm-Abort</span></tt>.</li>
<li>Use of the <tt class="docutils literal"><span class="pre">X-Tm-Abort</span></tt> header is now deprecated. Instead use the
<tt class="docutils literal"><span class="pre">X-Tm</span></tt> header with a value of <tt class="docutils literal"><span class="pre">abort</span></tt> instead.</li>
<li>Add API docs section.</li>
</ul>
</div>
<div class="section" id="b1-2011-01-19">
<h2>1.0b1 (2011-01-19)<a class="headerlink" href="#b1-2011-01-19" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li>Added <tt class="docutils literal"><span class="pre">repoze.tm.default_commit_veto</span></tt> commit veto hook. This commit veto
hook aborts for 4XX and 5XX response codes, or if there’s a header named
<tt class="docutils literal"><span class="pre">X-Tm-Abort</span></tt> in the headerlist and allows a commit otherwise.</li>
<li>Documented commit veto hook.</li>
</ul>
</div>
<div class="section" id="a5-2009-09-07">
<h2>1.0a5 (2009-09-07)<a class="headerlink" href="#a5-2009-09-07" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li>Don’t commit after aborting if the transaction was doomed or if the
commit veto aborted.</li>
<li>Don’t use “real” transaction module in tests.</li>
<li>100% test coverage.</li>
</ul>
</div>
<div class="section" id="a4-2009-01-06">
<h2>1.0a4 (2009-01-06)<a class="headerlink" href="#a4-2009-01-06" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li>RESTify CHANGES, move docs in README.txt into Sphinx.</li>
<li>Remove <tt class="docutils literal"><span class="pre">setup.cfg</span></tt> (all dependencies available via PyPI).</li>
<li>Synchronization point with <tt class="docutils literal"><span class="pre">repoze.tm</span></tt> (0.9).</li>
</ul>
</div>
<div class="section" id="a3-2008-08-03">
<h2>1.0a3 (2008-08-03)<a class="headerlink" href="#a3-2008-08-03" title="Permalink to this headline">¶</a></h2>
<p>Allow <tt class="docutils literal"><span class="pre">commit_veto</span></tt> hook to be specified within Paste config, ala:</p>
<div class="highlight-python"><div class="highlight"><pre>[filter:tm]
use = repoze.tm:make_tm
commit_veto = some.package:myfunction
</pre></div>
</div>
<p><tt class="docutils literal"><span class="pre">myfunction</span></tt> should take three args: environ, status, headers and
should return True if the txn should be aborted, False if it should be
committed.</p>
<p>Initial PyPI release.</p>
</div>
<div class="section" id="a2-2008-07-15">
<h2>1.0a2 (2008-07-15)<a class="headerlink" href="#a2-2008-07-15" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li>Provide “commit_veto” hook point (contributed by Alberto Valverde).</li>
<li>Point easy_install at <a class="reference external" href="http://dist.repoze.org/tm2/dev/simple">http://dist.repoze.org/tm2/dev/simple</a> via setup.cfg.</li>
</ul>
</div>
<div class="section" id="a1-2008-01-09">
<h2>1.0a1 (2008-01-09)<a class="headerlink" href="#a1-2008-01-09" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li>Fork point: we’ve created repoze.tm2, which is repoze.tm that has a
dependency only on the ‘transaction’ package instead of all of ZODB.</li>
<li>Better documentation for non-Zope usage in README.txt.</li>
</ul>
</div>
<div class="section" id="id3">
<h2>0.8 (2007-10-11)<a class="headerlink" href="#id3" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li>Relaxed requirement for ZODB 3.7.2, since we might need to use the
package with other verions. Note that the tests which depend on
transaction having “doom” semantics don’t work with 3.7.2, anyway.</li>
</ul>
</div>
<div class="section" id="id4">
<h2>0.7 (2007-09-25)<a class="headerlink" href="#id4" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li>Depend on PyPI release of ZODB 3.7.2. Upgrade to this by doing
bin/easy_install -U ‘ZODB3 >= 3.7.1, < 3.8.0a’ if necessary.</li>
</ul>
</div>
<div class="section" id="id5">
<h2>0.6 (2007-09-21)<a class="headerlink" href="#id5" title="Permalink to this headline">¶</a></h2>
<blockquote>
<div><ul class="simple">
<li>after_end.register and after_end.unregister must now be passed a
transaction object rather than a WSGI environment to avoid the
possibility that the WSGI environment used by a child participating
in transaction management won’t be the same one used by the
repoze.tm package.</li>
<li>repoze.tm now inserts a key into the WSGI environment
(<tt class="docutils literal"><span class="pre">repoze.tm.active</span></tt>) if it’s active in the WSGI pipeline. An API
function, repoze.tm:isActive can be called with a single argument,
the WSGI environment, to check if the middleware is active.</li>
</ul>
</div></blockquote>
</div>
<div class="section" id="id6">
<h2>0.5 (2007-09-18)<a class="headerlink" href="#id6" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li>Depend on rerolled ZODB 3.7.1 instead of zopelib.</li>
<li>Add license and copyright, change trove classifiers.</li>
</ul>
</div>
<div class="section" id="id7">
<h2>0.4 (2007-09-17)<a class="headerlink" href="#id7" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li>Depend on zopelib rather than ZODB 3.8.0b3 distribution, because the
ZODB distribution pulls in various packages (zope.interface and ZEO
most notably) that are incompatible with stock Zope 2.10.4 apps and
older sandboxes. We’ll need to revisit this.</li>
</ul>
</div>
<div class="section" id="id8">
<h2>0.3 (2007-09-14)<a class="headerlink" href="#id8" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li>Provide limited compatibility for older transaction package versions
which don’t support the ‘transaction.isDoomed’ API.</li>
</ul>
</div>
<div class="section" id="id9">
<h2>0.2 (2007-09-13)<a class="headerlink" href="#id9" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li>Provide after_end API for registering callbacks at transaction end.</li>
</ul>
</div>
<div class="section" id="id10">
<h2>0.1 (2007-09-10)<a class="headerlink" href="#id10" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li>Initial Release</li>
</ul>
</div>
</div>
</div>
</div>
</div>
<div class="sphinxsidebar">
<div class="sphinxsidebarwrapper">
<p class="logo"><a href="index.html">
<img class="logo" src="_static/logo_hi.gif" alt="Logo"/>
</a></p>
<h3><a href="index.html">Table Of Contents</a></h3>
<ul>
<li><a class="reference internal" href="#"><tt class="docutils literal"><span class="pre">repoze.tm</span></tt> Change History</a></li>
<li><a class="reference internal" href="#changelog">Changelog</a><ul>
<li><a class="reference internal" href="#id1">2.0 (2013-06-26)</a></li>
<li><a class="reference internal" href="#b1-2013-04-05">2.0b1 (2013-04-05)</a></li>
<li><a class="reference internal" href="#id2">1.0 (2012-03-24)</a></li>
<li><a class="reference internal" href="#b2-2011-07-18">1.0b2 (2011-07-18)</a></li>
<li><a class="reference internal" href="#b1-2011-01-19">1.0b1 (2011-01-19)</a></li>
<li><a class="reference internal" href="#a5-2009-09-07">1.0a5 (2009-09-07)</a></li>
<li><a class="reference internal" href="#a4-2009-01-06">1.0a4 (2009-01-06)</a></li>
<li><a class="reference internal" href="#a3-2008-08-03">1.0a3 (2008-08-03)</a></li>
<li><a class="reference internal" href="#a2-2008-07-15">1.0a2 (2008-07-15)</a></li>
<li><a class="reference internal" href="#a1-2008-01-09">1.0a1 (2008-01-09)</a></li>
<li><a class="reference internal" href="#id3">0.8 (2007-10-11)</a></li>
<li><a class="reference internal" href="#id4">0.7 (2007-09-25)</a></li>
<li><a class="reference internal" href="#id5">0.6 (2007-09-21)</a></li>
<li><a class="reference internal" href="#id6">0.5 (2007-09-18)</a></li>
<li><a class="reference internal" href="#id7">0.4 (2007-09-17)</a></li>
<li><a class="reference internal" href="#id8">0.3 (2007-09-14)</a></li>
<li><a class="reference internal" href="#id9">0.2 (2007-09-13)</a></li>
<li><a class="reference internal" href="#id10">0.1 (2007-09-10)</a></li>
</ul>
</li>
</ul>
<h4>Previous topic</h4>
<p class="topless"><a href="api.html"
title="previous chapter"><tt class="docutils literal"><span class="pre">repoze.tm</span></tt></a></p>
<h3>This Page</h3>
<ul class="this-page-menu">
<li><a href="_sources/changes.txt"
rel="nofollow">Show Source</a></li>
</ul>
<div id="searchbox" style="display: none">
<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="related">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
>index</a></li>
<li class="right" >
<a href="py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="right" >
<a href="api.html" title="repoze.tm"
>previous</a> |</li>
<li><a href="index.html">repoze.tm2 2.0b1 documentation</a> »</li>
</ul>
</div>
<div class="footer">
© Copyright 2008-2013, Repoze Developers <repoze-dev@lists.repoze.org>.
Last updated on Oct 26, 2014.
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.2.2.
</div>
</body>
</html>
|