From 71f1ac549d9da50be94cf5ed102d303108365215efe5d5139016b931012cdce9 Mon Sep 17 00:00:00 2001 From: Alexandre Rogoski Date: Wed, 6 Apr 2011 01:27:26 +0000 Subject: [PATCH] =?UTF-8?q?-=20Update=20to=201.1.1:=20=20=20*=20Virtual=20?= =?UTF-8?q?transports:=20Message=20body=20is=20now=20base64=20encoded=20by?= =?UTF-8?q?=20=20=20=20=20default=20(Issue=20#27).=20=20=20=20=20This=20sh?= =?UTF-8?q?ould=20solve=20problems=20sending=20binary=20data=20with=20virt?= =?UTF-8?q?ual=20=20=20=20=20transports.=20=20=20=20=20Message=20compatibi?= =?UTF-8?q?lity=20is=20handled=20by=20adding=20a=20body=5Fencoding=20=20?= =?UTF-8?q?=20=20=20property,=20so=20messages=20sent=20by=20older=20versio?= =?UTF-8?q?ns=20is=20compatible=20=20=20=20=20with=20this=20release.=20How?= =?UTF-8?q?ever=20=E2=80=93=20If=20you=20are=20accessing=20the=20=20=20=20?= =?UTF-8?q?=20messages=20directly=20not=20using=20Kombu,=20then=20you=20ha?= =?UTF-8?q?ve=20to=20respect=20=20=20=20=20the=20body=5Fencoding=20propert?= =?UTF-8?q?y.=20=20=20=20=20For=20transport=20authors:=20=20=20=20=20=20?= =?UTF-8?q?=20You=20don=E2=80=99t=20have=20to=20change=20anything=20in=20y?= =?UTF-8?q?our=20custom=20=20=20=20=20=20=20transports,=20as=20this=20is?= =?UTF-8?q?=20handled=20automatically=20by=20the=20base=20=20=20=20=20=20?= =?UTF-8?q?=20class.=20=20=20=20=20=20=20If=20you=20want=20to=20use=20a=20?= =?UTF-8?q?different=20encoder=20you=20can=20do=20so=20by=20=20=20=20=20?= =?UTF-8?q?=20=20adding=20a=20key=20to=20Channel.codecs.=20Default=20encod?= =?UTF-8?q?ing=20is=20=20=20=20=20=20=20specified=20by=20the=20Channel.bod?= =?UTF-8?q?y=5Fencoding=20attribute.=20=20=20=20=20=20=20A=20new=20codec?= =?UTF-8?q?=20must=20provide=20two=20methods:=20encode(data)=20and=20=20?= =?UTF-8?q?=20=20=20=20=20decode(data).=20=20=20*=20ConnectionPool/Channel?= =?UTF-8?q?Pool/Resource:=20Setting=20limit=3DNone=20=20=20=20=20(or=200)?= =?UTF-8?q?=20now=20disables=20pool=20semantics,=20and=20will=20establish?= =?UTF-8?q?=20and=20=20=20=20=20close=20the=20resource=20whenever=20acquir?= =?UTF-8?q?ed=20or=20released.=20=20=20*=20ConnectionPool/ChannelPool/Reso?= =?UTF-8?q?urce:=20Is=20now=20using=20a=20LIFO=20=20=20=20=20queue=20inste?= =?UTF-8?q?ad=20of=20the=20previous=20FIFO=20behavior.=20=20=20*=20BrokerC?= =?UTF-8?q?onnection:=20Cloned=20connections=20did=20not=20inherit=20=20?= =?UTF-8?q?=20=20=20transport=5Foptions=20(=5F=5Fcopy=5F=5F).=20=20=20*=20?= =?UTF-8?q?contrib/requirements=20is=20now=20located=20in=20the=20top=20di?= =?UTF-8?q?rectory=20of=20=20=20=20=20the=20distribution.=20=20=20*=20Mong?= =?UTF-8?q?oDB:=20Now=20supports=20authentication=20using=20the=20userid?= =?UTF-8?q?=20and?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kombu?expand=0&rev=5 --- kombu-1.0.7.tar.bz2 | 3 --- kombu-1.1.1.tar.bz2 | 3 +++ python-kombu.changes | 44 ++++++++++++++++++++++++++++++++++++++++++++ python-kombu.spec | 2 +- 4 files changed, 48 insertions(+), 4 deletions(-) delete mode 100644 kombu-1.0.7.tar.bz2 create mode 100644 kombu-1.1.1.tar.bz2 diff --git a/kombu-1.0.7.tar.bz2 b/kombu-1.0.7.tar.bz2 deleted file mode 100644 index c654de2..0000000 --- a/kombu-1.0.7.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ffddfad7edf0edcdb50aab684c1e04cd9df0d04ce5b5699685bea006ab20ca2a -size 198602 diff --git a/kombu-1.1.1.tar.bz2 b/kombu-1.1.1.tar.bz2 new file mode 100644 index 0000000..91c7afd --- /dev/null +++ b/kombu-1.1.1.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:763dd76bf0cf1d85edaea24750e0f80c591a90c3b773d47e674977bee9dd3e06 +size 203492 diff --git a/python-kombu.changes b/python-kombu.changes index 7473ac8..e580a16 100644 --- a/python-kombu.changes +++ b/python-kombu.changes @@ -1,3 +1,47 @@ +------------------------------------------------------------------- +Wed Apr 6 00:59:48 UTC 2011 - alexandre@exatati.com.br + +- Update to 1.1.1: + * Virtual transports: Message body is now base64 encoded by + default (Issue #27). + This should solve problems sending binary data with virtual + transports. + Message compatibility is handled by adding a body_encoding + property, so messages sent by older versions is compatible + with this release. However – If you are accessing the + messages directly not using Kombu, then you have to respect + the body_encoding property. + For transport authors: + You don’t have to change anything in your custom + transports, as this is handled automatically by the base + class. + If you want to use a different encoder you can do so by + adding a key to Channel.codecs. Default encoding is + specified by the Channel.body_encoding attribute. + A new codec must provide two methods: encode(data) and + decode(data). + * ConnectionPool/ChannelPool/Resource: Setting limit=None + (or 0) now disables pool semantics, and will establish and + close the resource whenever acquired or released. + * ConnectionPool/ChannelPool/Resource: Is now using a LIFO + queue instead of the previous FIFO behavior. + * BrokerConnection: Cloned connections did not inherit + transport_options (__copy__). + * contrib/requirements is now located in the top directory of + the distribution. + * MongoDB: Now supports authentication using the userid and + password arguments to BrokerConnection (Issue #30). + * BrokerConnection: Default autentication credentials are now + delegated to the individual transports. + * Consumer.__exit__() did not have the correct signature + (Issue #32). + * Channel objects now have a channel_id attribute. + * MongoDB: Version sniffing broke with development versions of + mongod (Issue #29). + * New environment variable KOMBU_LOG_CONNECTION will now emit + debug log messages for connection related actions. + KOMBU_LOG_DEBUG will also enable KOMBU_LOG_CONNECTION. + ------------------------------------------------------------------- Tue Mar 29 01:14:55 UTC 2011 - alexandre@exatati.com.br diff --git a/python-kombu.spec b/python-kombu.spec index b20cc74..c35ac44 100644 --- a/python-kombu.spec +++ b/python-kombu.spec @@ -21,7 +21,7 @@ %define mod_name kombu Name: python-%{mod_name} -Version: 1.0.7 +Version: 1.1.1 Release: 0 License: BSD License Summary: AMQP Messaging Framework for Python