diff options
Diffstat (limited to 'changelog.html')
-rw-r--r-- | changelog.html | 198 |
1 files changed, 163 insertions, 35 deletions
diff --git a/changelog.html b/changelog.html index a11f2917..b4c20bd8 100644 --- a/changelog.html +++ b/changelog.html @@ -6,13 +6,13 @@ <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> - <title>Change history — Kombu v1.3.2 documentation</title> + <title>Change history — Kombu v1.4.0 documentation</title> <link rel="stylesheet" href="_static/celery.css" type="text/css" /> <link rel="stylesheet" href="_static/pygments.css" type="text/css" /> <script type="text/javascript"> var DOCUMENTATION_OPTIONS = { URL_ROOT: '', - VERSION: '1.3.2', + VERSION: '1.4.0', COLLAPSE_INDEX: false, FILE_SUFFIX: '.html', HAS_SOURCE: true @@ -21,7 +21,7 @@ <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="Kombu v1.3.2 documentation" href="index.html" /> + <link rel="top" title="Kombu v1.4.0 documentation" href="index.html" /> <link rel="prev" title="Logging - kombu.utils.log" href="reference/kombu.utils.log.html" /> </head> <body> @@ -37,7 +37,7 @@ <li class="right" > <a href="reference/kombu.utils.log.html" title="Logging - kombu.utils.log" accesskey="P">previous</a> |</li> - <li><a href="index.html">Kombu v1.3.2 documentation</a> »</li> + <li><a href="index.html">Kombu v1.4.0 documentation</a> »</li> </ul> </div> @@ -48,8 +48,116 @@ <div class="section" id="change-history"> <h1>Change history<a class="headerlink" href="#change-history" title="Permalink to this headline">¶</a></h1> +<div class="section" id="version-1-4-0"> +<span id="id1"></span><h2>1.4.0<a class="headerlink" href="#version-1-4-0" title="Permalink to this headline">¶</a></h2> +<ul> +<li><p class="first">Adds module <a class="reference internal" href="reference/kombu.mixins.html#module-kombu.mixins" title="kombu.mixins"><tt class="xref py py-mod docutils literal"><span class="pre">kombu.mixins</span></tt></a>.</p> +<blockquote> +<div><p>This module contains a <a class="reference internal" href="reference/kombu.mixins.html#kombu.mixins.ConsumerMixin" title="kombu.mixins.ConsumerMixin"><tt class="xref py py-class docutils literal"><span class="pre">ConsumerMixin</span></tt></a> class +that can be used to easily implement a message consumer +thread that consumes messages from one or more +<a class="reference internal" href="reference/kombu.messaging.html#kombu.messaging.Consumer" title="kombu.messaging.Consumer"><tt class="xref py py-class docutils literal"><span class="pre">kombu.messaging.Consumer</span></tt></a> instances.</p> +</div></blockquote> +</li> +<li><p class="first">New example: <a class="reference internal" href="userguide/examples.html#task-queue-example"><em>Task Queue Example</em></a></p> +<blockquote> +<div><p>Using the <tt class="docutils literal"><span class="pre">ConsumerMixin</span></tt>, default channels and +the global connection pool to demonstrate new Kombu features.</p> +</div></blockquote> +</li> +<li><p class="first">MongoDB transport did not work with MongoDB >= 2.0 (Issue #66)</p> +<blockquote> +<div><p>Fix contributed by James Turk.</p> +</div></blockquote> +</li> +<li><p class="first">Redis-py version check did not account for beta identifiers +in version string.</p> +<blockquote> +<div><p>Fix contributed by David Ziegler.</p> +</div></blockquote> +</li> +<li><p class="first">Producer and Consumer now accepts a connection instance as the +first argument.</p> +<blockquote> +<div><p>The connections default channel will then be used.</p> +<p>In addition shortcut methods has been added to BrokerConnection:</p> +<div class="highlight-python"><div class="highlight"><pre><span class="gp">>>> </span><span class="n">connection</span><span class="o">.</span><span class="n">Producer</span><span class="p">(</span><span class="n">exchange</span><span class="p">)</span> +<span class="gp">>>> </span><span class="n">connection</span><span class="o">.</span><span class="n">Consumer</span><span class="p">(</span><span class="n">queues</span><span class="o">=...</span><span class="p">,</span> <span class="n">callbacks</span><span class="o">=...</span><span class="p">)</span> +</pre></div> +</div> +</div></blockquote> +</li> +<li><p class="first">BrokerConnection has aquired a <tt class="docutils literal"><span class="pre">connected</span></tt> attribute that +can be used to check if the connection instance has established +a connection.</p> +</li> +<li><p class="first"><tt class="docutils literal"><span class="pre">ConnectionPool.acquire_channel</span></tt> now returns the connections +default channel rather than establising a new channel that +must be manually handled.</p> +</li> +<li><p class="first">Added <tt class="docutils literal"><span class="pre">kombu.common.maybe_declare</span></tt></p> +<blockquote> +<div><p><tt class="docutils literal"><span class="pre">maybe_declare(entity)</span></tt> declares an entity if it has +not previously been declared in the same process.</p> +</div></blockquote> +</li> +<li><p class="first"><tt class="xref py py-func docutils literal"><span class="pre">kombu.compat.entry_to_queue()</span></tt> has been moved to <a class="reference internal" href="reference/kombu.common.html#module-kombu.common" title="kombu.common"><tt class="xref py py-mod docutils literal"><span class="pre">kombu.common</span></tt></a></p> +</li> +<li><p class="first">New module <a class="reference internal" href="reference/kombu.clocks.html#module-kombu.clocks" title="kombu.clocks"><tt class="xref py py-mod docutils literal"><span class="pre">kombu.clocks</span></tt></a> now contains an implementation +of Lamports logical clock.</p> +</li> +</ul> +</div> +<div class="section" id="version-1-3-5"> +<span id="id2"></span><h2>1.3.5<a class="headerlink" href="#version-1-3-5" title="Permalink to this headline">¶</a></h2> +<table class="docutils field-list" frame="void" rules="none"> +<col class="field-name" /> +<col class="field-body" /> +<tbody valign="top"> +<tr class="field"><th class="field-name">release-date:</th><td class="field-body">2011-09-16 06:00 P.M BST</td> +</tr> +<tr class="field"><th class="field-name">by:</th><td class="field-body">Ask Solem</td> +</tr> +</tbody> +</table> +<ul class="simple"> +<li>Python 3: AMQP_PROTOCOL_HEADER must be bytes, not str.</li> +</ul> +</div> +<div class="section" id="version-1-3-4"> +<span id="id3"></span><h2>1.3.4<a class="headerlink" href="#version-1-3-4" title="Permalink to this headline">¶</a></h2> +<table class="docutils field-list" frame="void" rules="none"> +<col class="field-name" /> +<col class="field-body" /> +<tbody valign="top"> +<tr class="field"><th class="field-name">release-date:</th><td class="field-body">2011-09-16 06:00 P.M BST</td> +</tr> +<tr class="field"><th class="field-name">by:</th><td class="field-body">Ask Solem</td> +</tr> +</tbody> +</table> +<ul class="simple"> +<li>Fixes syntax error in pools.reset</li> +</ul> +</div> +<div class="section" id="version-1-3-3"> +<span id="id4"></span><h2>1.3.3<a class="headerlink" href="#version-1-3-3" title="Permalink to this headline">¶</a></h2> +<table class="docutils field-list" frame="void" rules="none"> +<col class="field-name" /> +<col class="field-body" /> +<tbody valign="top"> +<tr class="field"><th class="field-name">release-date:</th><td class="field-body">2011-09-15 02:00 P.M BST</td> +</tr> +<tr class="field"><th class="field-name">by:</th><td class="field-body">Ask Solem</td> +</tr> +</tbody> +</table> +<ul class="simple"> +<li>pools.reset did not support after forker arguments.</li> +</ul> +</div> <div class="section" id="version-1-3-2"> -<span id="id1"></span><h2>1.3.2<a class="headerlink" href="#version-1-3-2" title="Permalink to this headline">¶</a></h2> +<span id="id5"></span><h2>1.3.2<a class="headerlink" href="#version-1-3-2" title="Permalink to this headline">¶</a></h2> <table class="docutils field-list" frame="void" rules="none"> <col class="field-name" /> <col class="field-body" /> @@ -72,28 +180,44 @@ than the previous limit.</li> </ul> </div> <div class="section" id="version-1-3-1"> -<span id="id2"></span><h2>1.3.1<a class="headerlink" href="#version-1-3-1" title="Permalink to this headline">¶</a></h2> -<ul class="simple"> -<li>Forgot to set release-date for version 1.3.0.</li> -</ul> +<span id="id6"></span><h2>1.3.1<a class="headerlink" href="#version-1-3-1" title="Permalink to this headline">¶</a></h2> <table class="docutils field-list" frame="void" rules="none"> <col class="field-name" /> <col class="field-body" /> <tbody valign="top"> -<tr class="field"><th class="field-name">by:</th><td class="field-body">Ask Solem</td> +<tr class="field"><th class="field-name">release-date:</th><td class="field-body">2011-10-07 03:00 P.M BST</td> </tr> </tbody> </table> +<ul> +<li><p class="first">Last release broke after fork for pool reinitialization.</p> +</li> +<li><p class="first">Producer/Consumer now has a <tt class="docutils literal"><span class="pre">connection</span></tt> attribute, +giving access to the <tt class="xref py py-class docutils literal"><span class="pre">BrokerConnection</span></tt> of the +instance.</p> +</li> +<li><p class="first">Pika: Channels now have access to the underlying +<tt class="xref py py-class docutils literal"><span class="pre">BrokerConnection</span></tt> instance using <tt class="docutils literal"><span class="pre">channel.connection.client</span></tt>.</p> +<blockquote> +<div><p>This was previously required by the <tt class="docutils literal"><span class="pre">Simple</span></tt> classes and is now +also required by <tt class="xref py py-class docutils literal"><span class="pre">Consumer</span></tt> and <tt class="xref py py-class docutils literal"><span class="pre">Producer</span></tt>.</p> +</div></blockquote> +</li> +<li><p class="first">Connection.default_channel is now closed at object revival.</p> +</li> +<li><p class="first">Adds kombu.clocks.LamportClock.</p> +</li> +<li><p class="first">compat.entry_to_queue has been moved to new module <a class="reference internal" href="reference/kombu.common.html#module-kombu.common" title="kombu.common"><tt class="xref py py-mod docutils literal"><span class="pre">kombu.common</span></tt></a>.</p> +</li> +</ul> </div> <div class="section" id="version-1-3-0"> -<span id="id3"></span><h2>1.3.0<a class="headerlink" href="#version-1-3-0" title="Permalink to this headline">¶</a></h2> +<span id="id7"></span><h2>1.3.0<a class="headerlink" href="#version-1-3-0" title="Permalink to this headline">¶</a></h2> <table class="docutils field-list" frame="void" rules="none"> <col class="field-name" /> <col class="field-body" /> <tbody valign="top"> -<tr class="field"><th class="field-name">release-date:</th><td class="field-body">2011-09-05 01:00 P.M BST</td> -</tr> -<tr class="field"><th class="field-name">by:</th><td class="field-body">Ask Solem</td> +<tr class="field"><th class="field-name">release-date:</th><td class="field-body">2011-10-05 01:00 P.M BST</td> </tr> </tbody> </table> @@ -205,7 +329,7 @@ attribute.</p> </ul> </div> <div class="section" id="version-1-2-1"> -<span id="id4"></span><h2>1.2.1<a class="headerlink" href="#version-1-2-1" title="Permalink to this headline">¶</a></h2> +<span id="id8"></span><h2>1.2.1<a class="headerlink" href="#version-1-2-1" title="Permalink to this headline">¶</a></h2> <table class="docutils field-list" frame="void" rules="none"> <col class="field-name" /> <col class="field-body" /> @@ -255,7 +379,7 @@ the queue if <tt class="docutils literal"><span class="pre">auto_declare</span>< </ul> </div> <div class="section" id="version-1-2-0"> -<span id="id5"></span><h2>1.2.0<a class="headerlink" href="#version-1-2-0" title="Permalink to this headline">¶</a></h2> +<span id="id9"></span><h2>1.2.0<a class="headerlink" href="#version-1-2-0" title="Permalink to this headline">¶</a></h2> <table class="docutils field-list" frame="void" rules="none"> <col class="field-name" /> <col class="field-body" /> @@ -276,7 +400,7 @@ arguments (Issue #48).</li> </ul> </div> <div class="section" id="version-1-1-6"> -<span id="id6"></span><h2>1.1.6<a class="headerlink" href="#version-1-1-6" title="Permalink to this headline">¶</a></h2> +<span id="id10"></span><h2>1.1.6<a class="headerlink" href="#version-1-1-6" title="Permalink to this headline">¶</a></h2> <table class="docutils field-list" frame="void" rules="none"> <col class="field-name" /> <col class="field-body" /> @@ -310,7 +434,7 @@ error.</p> </ul> </div> <div class="section" id="version-1-1-5"> -<span id="id7"></span><h2>1.1.5<a class="headerlink" href="#version-1-1-5" title="Permalink to this headline">¶</a></h2> +<span id="id11"></span><h2>1.1.5<a class="headerlink" href="#version-1-1-5" title="Permalink to this headline">¶</a></h2> <table class="docutils field-list" frame="void" rules="none"> <col class="field-name" /> <col class="field-body" /> @@ -324,7 +448,7 @@ error.</p> </ul> </div> <div class="section" id="version-1-1-4"> -<span id="id8"></span><h2>1.1.4<a class="headerlink" href="#version-1-1-4" title="Permalink to this headline">¶</a></h2> +<span id="id12"></span><h2>1.1.4<a class="headerlink" href="#version-1-1-4" title="Permalink to this headline">¶</a></h2> <table class="docutils field-list" frame="void" rules="none"> <col class="field-name" /> <col class="field-body" /> @@ -360,7 +484,7 @@ keyword argument.</p> </ul> </div> <div class="section" id="version-1-1-3"> -<span id="id9"></span><h2>1.1.3<a class="headerlink" href="#version-1-1-3" title="Permalink to this headline">¶</a></h2> +<span id="id13"></span><h2>1.1.3<a class="headerlink" href="#version-1-1-3" title="Permalink to this headline">¶</a></h2> <table class="docutils field-list" frame="void" rules="none"> <col class="field-name" /> <col class="field-body" /> @@ -394,7 +518,7 @@ connection related errors (<tt class="xref py py-attr docutils literal"><span cl </ul> </div> <div class="section" id="version-1-1-2"> -<span id="id10"></span><h2>1.1.2<a class="headerlink" href="#version-1-1-2" title="Permalink to this headline">¶</a></h2> +<span id="id14"></span><h2>1.1.2<a class="headerlink" href="#version-1-1-2" title="Permalink to this headline">¶</a></h2> <table class="docutils field-list" frame="void" rules="none"> <col class="field-name" /> <col class="field-body" /> @@ -416,7 +540,7 @@ issues.</p> </ul> </div> <div class="section" id="version-1-1-1"> -<span id="id11"></span><h2>1.1.1<a class="headerlink" href="#version-1-1-1" title="Permalink to this headline">¶</a></h2> +<span id="id15"></span><h2>1.1.1<a class="headerlink" href="#version-1-1-1" title="Permalink to this headline">¶</a></h2> <table class="docutils field-list" frame="void" rules="none"> <col class="field-name" /> <col class="field-body" /> @@ -431,7 +555,7 @@ in Python 2.6+ (Issue #33). We now ship with our own LifoQueue.</li> </ul> </div> <div class="section" id="version-1-1-0"> -<span id="id12"></span><h2>1.1.0<a class="headerlink" href="#version-1-1-0" title="Permalink to this headline">¶</a></h2> +<span id="id16"></span><h2>1.1.0<a class="headerlink" href="#version-1-1-0" title="Permalink to this headline">¶</a></h2> <table class="docutils field-list" frame="void" rules="none"> <col class="field-name" /> <col class="field-body" /> @@ -519,7 +643,7 @@ log messages for connection related actions.</p> </div> </div> <div class="section" id="version-1-0-7"> -<span id="id13"></span><h2>1.0.7<a class="headerlink" href="#version-1-0-7" title="Permalink to this headline">¶</a></h2> +<span id="id17"></span><h2>1.0.7<a class="headerlink" href="#version-1-0-7" title="Permalink to this headline">¶</a></h2> <table class="docutils field-list" frame="void" rules="none"> <col class="field-name" /> <col class="field-body" /> @@ -569,8 +693,8 @@ set (Issue #8).</p> </li> </ul> </div> -<div class="section" id="id14"> -<h2>1.0.6<a class="headerlink" href="#id14" title="Permalink to this headline">¶</a></h2> +<div class="section" id="id18"> +<h2>1.0.6<a class="headerlink" href="#id18" title="Permalink to this headline">¶</a></h2> <table class="docutils field-list" frame="void" rules="none"> <col class="field-name" /> <col class="field-body" /> @@ -616,7 +740,7 @@ Channel open </ul> </div> <div class="section" id="version-1-0-5"> -<span id="id15"></span><h2>1.0.5<a class="headerlink" href="#version-1-0-5" title="Permalink to this headline">¶</a></h2> +<span id="id19"></span><h2>1.0.5<a class="headerlink" href="#version-1-0-5" title="Permalink to this headline">¶</a></h2> <table class="docutils field-list" frame="void" rules="none"> <col class="field-name" /> <col class="field-body" /> @@ -646,7 +770,7 @@ consumer tag.</p> </ul> </div> <div class="section" id="version-1-0-4"> -<span id="id16"></span><h2>1.0.4<a class="headerlink" href="#version-1-0-4" title="Permalink to this headline">¶</a></h2> +<span id="id20"></span><h2>1.0.4<a class="headerlink" href="#version-1-0-4" title="Permalink to this headline">¶</a></h2> <table class="docutils field-list" frame="void" rules="none"> <col class="field-name" /> <col class="field-body" /> @@ -666,7 +790,7 @@ there are no messages in the queue.</p> </ul> </div> <div class="section" id="version-1-0-3"> -<span id="id17"></span><h2>1.0.3<a class="headerlink" href="#version-1-0-3" title="Permalink to this headline">¶</a></h2> +<span id="id21"></span><h2>1.0.3<a class="headerlink" href="#version-1-0-3" title="Permalink to this headline">¶</a></h2> <table class="docutils field-list" frame="void" rules="none"> <col class="field-name" /> <col class="field-body" /> @@ -682,7 +806,7 @@ there are no messages in the queue.</p> </ul> </div> <div class="section" id="version-1-0-2"> -<span id="id18"></span><h2>1.0.2<a class="headerlink" href="#version-1-0-2" title="Permalink to this headline">¶</a></h2> +<span id="id22"></span><h2>1.0.2<a class="headerlink" href="#version-1-0-2" title="Permalink to this headline">¶</a></h2> <table class="docutils field-list" frame="void" rules="none"> <col class="field-name" /> <col class="field-body" /> @@ -697,7 +821,7 @@ there are no messages in the queue.</p> </ul> </div> <div class="section" id="version-1-0-1"> -<span id="id19"></span><h2>1.0.1<a class="headerlink" href="#version-1-0-1" title="Permalink to this headline">¶</a></h2> +<span id="id23"></span><h2>1.0.1<a class="headerlink" href="#version-1-0-1" title="Permalink to this headline">¶</a></h2> <table class="docutils field-list" frame="void" rules="none"> <col class="field-name" /> <col class="field-body" /> @@ -711,7 +835,7 @@ there are no messages in the queue.</p> </ul> </div> <div class="section" id="version-1-0-0"> -<span id="id20"></span><h2>1.0.0<a class="headerlink" href="#version-1-0-0" title="Permalink to this headline">¶</a></h2> +<span id="id24"></span><h2>1.0.0<a class="headerlink" href="#version-1-0-0" title="Permalink to this headline">¶</a></h2> <table class="docutils field-list" frame="void" rules="none"> <col class="field-name" /> <col class="field-body" /> @@ -725,7 +849,7 @@ there are no messages in the queue.</p> </ul> </div> <div class="section" id="version-0-1-0"> -<span id="id21"></span><h2>0.1.0<a class="headerlink" href="#version-0-1-0" title="Permalink to this headline">¶</a></h2> +<span id="id25"></span><h2>0.1.0<a class="headerlink" href="#version-0-1-0" title="Permalink to this headline">¶</a></h2> <table class="docutils field-list" frame="void" rules="none"> <col class="field-name" /> <col class="field-body" /> @@ -751,6 +875,10 @@ there are no messages in the queue.</p> <h3><a href="index.html">Table Of Contents</a></h3> <ul> <li><a class="reference internal" href="#">Change history</a><ul> +<li><a class="reference internal" href="#version-1-4-0">1.4.0</a></li> +<li><a class="reference internal" href="#version-1-3-5">1.3.5</a></li> +<li><a class="reference internal" href="#version-1-3-4">1.3.4</a></li> +<li><a class="reference internal" href="#version-1-3-3">1.3.3</a></li> <li><a class="reference internal" href="#version-1-3-2">1.3.2</a></li> <li><a class="reference internal" href="#version-1-3-1">1.3.1</a></li> <li><a class="reference internal" href="#version-1-3-0">1.3.0</a></li> @@ -767,7 +895,7 @@ there are no messages in the queue.</p> </ul> </li> <li><a class="reference internal" href="#version-1-0-7">1.0.7</a></li> -<li><a class="reference internal" href="#id14">1.0.6</a></li> +<li><a class="reference internal" href="#id18">1.0.6</a></li> <li><a class="reference internal" href="#version-1-0-5">1.0.5</a></li> <li><a class="reference internal" href="#version-1-0-4">1.0.4</a></li> <li><a class="reference internal" href="#version-1-0-3">1.0.3</a></li> @@ -816,7 +944,7 @@ there are no messages in the queue.</p> <li class="right" > <a href="reference/kombu.utils.log.html" title="Logging - kombu.utils.log" >previous</a> |</li> - <li><a href="index.html">Kombu v1.3.2 documentation</a> »</li> + <li><a href="index.html">Kombu v1.4.0 documentation</a> »</li> </ul> </div> <div class="footer"> |