--- - branch: MAIN date: Tue Jan 15 11:42:59 UTC 2019 files: - new: '1.18' old: '1.17' path: pkgsrc/net/py-amqp/Makefile pathrev: pkgsrc/net/py-amqp/Makefile@1.18 type: modified - new: '1.15' old: '1.14' path: pkgsrc/net/py-amqp/distinfo pathrev: pkgsrc/net/py-amqp/distinfo@1.15 type: modified id: 20190115T114259Z.90b08a6d3a9e862ee033454059091602a43c306e log: | py-amqp: updated to 2.4.0 2.4.0 - Fix inconsistent frame_handler return value. The function returned by frame_handler is meant to return True once the complete message is received and the callback is called, False otherwise. This fixes the return value for messages with a body split across multiple frames, and heartbeat frames. - Don't default content_encoding to utf-8 for bytes. This is not an acceptable default as the content may not be valid utf-8, and even if it is, the producer likely does not expect the message to be decoded by the consumer. - Fix encoding of messages with multibyte characters. Body length was previously calculated using string length, which may be less than the length of the encoded body when it contains multibyte sequences. This caused the body of the frame to be truncated. - Respect content_encoding when encoding messages. Previously the content_encoding was ignored and messages were always encoded as utf-8. This caused messages to be incorrectly decoded if content_encoding is properly respected when decoding. - Fix AMQP protocol header for AMQP 0-9-1. - Add support for Python 3.7. Change direct SSLSocket instantiation with wrap_socket. Added Python 3.7 to CI. - Add support for field type "x" (byte array). - If there is an exception raised on Connection.connect or Connection.close, ensure that the underlying transport socket is closed. - TCP_USER_TIMEOUT has to be excluded from KNOWN_TCP_OPTS in BSD platforms. - Handle negative acknowledgments. - Added integration tests. - Fix basic_consume() with no consumer_tag provided. - Improved empty AMQPError string representation. - Drain events before publish. - Don't revive channel when connection is closing. module: pkgsrc subject: 'CVS commit: pkgsrc/net/py-amqp' unixtime: '1547552579' user: adam