summaryrefslogtreecommitdiff
path: root/Changelog
blob: a33344dd2af915f7baad08641554e8b8fd599155 (plain)
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
.. _changelog:

================
 Change history
================

.. contents::
    :local:

Next Release
============

- Add support for ``Connection.connect_timeout`` parameter


.. _version-2.0.0:

2.0.0
=====
:release-date: 2018-01-19

- rabbitmq-c submodule is moved from https://github.com/ask/rabbitmq-c.git to official repository 
  https://github.com/alanxz/rabbitmq-c and version is bumped to version 0.8.0 (caad0ef1533783729c7644a226c989c79b4c497b)

- rabbitmq-codegen submodule is removed

- Added support of cPython 3.4, 3.5, 3.6

- Dropped support of cPython <= 2.6

- librabbitmq is calling callback function with payload as memoryview instead of old style buffer

- Library six is added as a requirement

- Updated unittests and benchmark. Removed dependency to nose library.

- AMQP client properties are exposed when connecting to RMQ broker

- Empty message bodies are allowed

- In recv, make sure all frames are read from the same channel


1.6.1
=====
:release-date: 2014-11-17 02:45 P.M UTC

- ``setup.py install`` is now forced to always call ``setup.py build`` first.


.. _version-1.6.0:

1.6.0
=====
:release-date: 2014-11-17 02:00 P.M UTC

- Bundles ``rabbitmq-c`` 0.5.3dev (185ce081e3efc846b476995b7da7297bb0eec82c)

- Bundles ``rabbitmq-codegen`` 3.4.1.

- Now builds on macOS Yosemite.

.. _version-1.5.2:

1.5.2
=====
:release-date: 2014-05-28 05:00 P.M UTC

- AMQP Array type now also supports tuples and other iterables.

    Internally the ``PyIter_*`` interface is used instead of ``PyList_*``.

- AMQP arrays and tables now supports :const:`None`.

- ``Channel.queue_declare`` now returns :class:`amqp.protocol.queue_declare_ok_t`.

- ``drain_events`` now handles connection close and channel close frames
  (Issue #30).

- Now using ``amqp_maybe_release_buffers_on_channel`` for channel based
  operations so that only the buffers related to that channel is released.

.. _version-1.5.1:

1.5.1
=====
:release-date: 2014-05-06 01:00 P.M UTC
:release-by: Ask Solem

- Fixed problem with compilation on Linux where `-lrt` is required.

    Fix contributed by Roger Hu.

.. _version-1.5.0:

1.5.0
=====
:release-date: 2014-04-14 09:00 P.M UTC
:release-by: Ask Solem

- Updated to use rabbitmq-c 0.5.0

- Now supports ``Connection.server_properties``.

- Now compiles on LLVM/clang and macOS Mavericks by removing the
  ``--mno-fused-madd`` option set by some Python installations.

- Fixes possible memory leak in ``basic_publish`` (Issue #38).

- ``Connection.fileno()`` now raises ``ValueError`` if the connection is
  disconnected (Issue #39).

- ``exchange_delete`` now ignores ``nowait`` argument.

.. _version-1.0.3:

1.0.3
=====
:release-date: 2013-11-15 11:00 P.M UTC

- Fixed installation problem on macOS 10.9

.. _version-1.0.2:

1.0.2
=====
:release-date: 2013-10-25 11:00 P.M UTC

- "Bad Frame Read" is now ConnectionError, not ChannelError.

- Fixed problem with basic_cancel when disconnected.

- Fixed typo Channel.recover -> Channel.basic_recover

.. _version-1.0.1:

1.0.1
=====
:release-date: 2013-01-14 02:10 P.M UTC

- ``queue_unbind`` argument ``binding_key`` renamed to ``routing_key``
  (Issue #16).

    This change ensures compatibility with :mod:`amqp`.

- Fixed memory leak caused by double call to ``AMQPTable_toPyDict``
  (Issue #15).

    Fix contributed by Eric Siegel.

- Fixed several potential memory leaks (Issue #15).

    Fix contributed by Marcus Cobden.

- Removed `-ansi` compile option (Issue #17).

.. _version-1.0.0:

1.0.0
=====
:release-date: 2012-11-02 5:00 P.M UTC

- A channel exception will now cause the channel to be revived instead of
  simply closing the connection.

- Support for lists and dictionaries in header values.

    This also means that the RabbitMQ `Bcc` and `CC` header extensions now can
    be constructured.

    Contributed by C Anthony Risinger.

- Support for float/double in header values.

- Adds dummy ``nowait`` argument to ``queue_delete`` for amqplib API
  compatibility (it has no effect).

- Library errors now use the correct error strings (Issue #7).

.. _version-0.9.9:

0.9.9
=====
:release-date: 2012-07-23 08:50 P.M BST

- More llvm-gcc fixes for macOS.

.. _version-0.9.8:

0.9.8
=====
:release-date: 2012-07-23 07:10 P.M BST

- Fixes bug when compiled using :program:`llvm-gcc` on macOS (Issue #5).

.. _version-0.9.7:

0.9.7
=====
:release-date: 2012-07-23 02:30 P.M BST

- Connection and channel errors now close the connection,
  so that connection/channel cannot be used.

    Before an operation on a connection/channel that previously raised
    an exception would just hang.

    In the future it may be possible to have channel errors only close
    the channel, but this keeps it simple for now (and it works like amqplib).

.. _version-0.9.6:

0.9.6
=====
:release-date: 2012-06-13 11:25 P.M BST

- Fixes problem with basic_publish and kombu.

.. _version-0.9.5:

0.9.5
=====
:release-date: 2012-06-07 12:20 P.M BST

- Now supports 'arguments' for:

    - basic_consume
    - exchange_declare
    - queue_declare
    - queue_bind
    - queue_unbind

- Release buffers after every command, so that memory
  does not grow on operations like ``basic_cancel``.

- Now uses buffer instead of PyString_Join.

- basic_consume now returns consumer tag.

- Now compiles with -Wall -ansi -pedantic.

- The message callback is now called from the C stack,
  so that drain_events does not return control back to the Python interpreter.

  Calling the callback from the same stack as slurping the socket enables
  us to pass the memory directly to the callback as a buffer object.

- When receiving messages we now only allocate memory once for single frame
  payloads.

    For multiple frames we no longer create temporary PyString's,
    but instead just memcpy the contents to a single string buffer.

- Adds amqp methods:

    - basic_cancel
    - flow
    - recover

- Now using array.array to keep track of unused channel id's.

- Internally the C Connection object now consistently have the channel
  as the first argument for all channel related methods.

- Fixed compiler warning in basic.qos

- frame_max, channel_max and heartbeat values are now updated
  to the values received from connection_tune_ok.

- basic_recv now raises socket.timeout directly, so that don't
  have to reraise.

- Unicode support.

.. _version-0.9.3:

0.9.3
=====
:release-date: 2012-05-22 06:40 P.M BST

- Patches memory leak.

- Use ``_PyString_Join`` to concat body parts.

.. _version-0.9.2:

0.9.2
=====
:release-date: 2012-05-21 09:00 P.M BST
:by: Ask Solem

- Fixes installation problem.

.. _version-0.9.1:

0.9.1
=====
:release-date: 2012-05-21 08:00 P.M BST
:by: Ask Solem

- Fixes installation problem.

.. _version-0.9.0:

0.9.0
=====
:release-date: 2012-05-21 05:30 P.M BST
:by: Ask Solem

- This project has been renamed to **librabbitmq**

    - New download url: http://pypi.python.org/pypi/librabbitmq/

    - New repository url:  http://github.com/celery/librabbitmq/

- No longer depends on rabbitmq-c as it is included and built with
  this distribution.

- Now supports non-blocking I/O:

    - New method: ``Connection.fileno()``

    - drain_events(timeout=0.0) is now non-blocking.

- Fixed typo noack -> no_ack

- Do not select connection if frames are already enqueued.

- Now supports queue_delete and exchange_delete.

.. _version-0.5.0:

0.5.0
=====
:release-date: 2011-12-07 05:00 P.M GMT
:by: Ask Solem

- Adds header support.

    Application headers can be added to ``properties["headers"]``.

    - Sending messages:

        - Supported
            - int
            - str  (not Unicode).

        - Unsupported
            - everything else. (see read).

    - Receiving messages:

        - Supported
            - boolean: bool
            - signed int: i8, i16, i32, i64
            - unsigned int: u8, u16, u32, u64
            - float: f32
            - double: f64
            - string: bytes

        - Unsupported
            - array
            - timestamp
            - table
            - void
            - decimal

.. _version-0.4.1:

0.4.1
=====
:release-date: 2011-09-27 14:00 P.M BST
:by: Ask Solem

- The GIL was not released while waiting for events.

   Fix contributed by Andrew Snowden.

- ``drain_events`` would wait for socket events, even though
  data was already buffered in client.

   Fix contributed by Andrew Snowden.

.. _version-0.4.0:

0.4.0
=====
:release-date: 2011-09-02 18:00 P.M BST

- Adds timeout support to `drain_events`.

  Timeout in seconds as a float, or :const:`None` for no timeout.

.. _version-0.3.0:

0.3.0
=====
:release-date: 2011-07-28 04:00 P.M BST

- Adds support for ``basic_reject``, and ``basic_qos`` (Issue #1).

.. _version-0.0.1:

0.0.1
=====
:release-date: NOT RELEASED
:branch: master

- Initial release