python3-msrplib (0.21.2) unstable; urgency=medium

  * Fixed data type mismatch when reading chunk data
  * Accept any method as the first chunk when binding an incoming connection
  * Capture handle_incoming exception

 -- Adrian Georgescu <support@ag-projects.com>  Mon, 06 Jul 2026 11:01:25 +0200

python3-msrplib (0.21.1) unstable; urgency=medium

  * Fixed decoding NICKNAME header
  * Fixed incoming connect bug
  * Fixed server auth
  * Capture Certificate exception
  * Added remote_uri and remote_endpoint attributes

 -- Adrian Georgescu <ag@ag-projects.com>  Tue, 01 Jun 2021 19:37:28 +0200

python3-msrplib (0.21.0) unstable; urgency=medium

  * Migrate to version 3

 -- Adrian Georgescu <ag@ag-projects.com>  Wed, 13 Jan 2021 14:37:13 +0100

python-msrplib (0.20.0) unstable; urgency=medium

  * Updated TLS certificates
  * Made MANIFEST.in more explicit and avoid unnecessary prune commands
  * Increased debian compatibility level to 11 and updated dependencies
  * Use pybuild for the debian package build system
  * Install README in the debian package docs directory
  * Updated license files
  * Refactored setup.py to be PEP-8 compliant
  * Fix logging for new chunks
  * Store reference to class instead of class name
  * Fixed method signature to match parent class
  * Fixed splitting header name/value elements
  * Removed main block from msrplib.protocol
  * Validate MSRPData inputs
  * Refactored MSRP header classes
  * Fixed comparison operators for MSRPData
  * Fixed handling of changing attributes on MSRPData
  * Made attribute of MSRPData public
  * Reordered methods on MSRPData
  * Removed unused attribute (was always None)
  * Cache the results of encoding MSRPData
  * Protect immutable attributes against deletion as well
  * Fixed encoding ByteRange headers
  * Refactored logging system
    - Rewrote the logger based on ContextualLogger from python-application
    - Modeled the logging API after the one in application.log
    - Aggregated all chunk reporting methods into received_chunk/sent_chunk
    - Added missing received_illegal_chunk method for logging bad chunks
    - Removed report_in/report_out line based logging methods
    - Optimized logging to not evaluate messages until logged
  * Removed unused imports and reordered imports alphabetically
  * Fixed example scripts
  * Improved speed and corectness in message parsing
  * Refactored the parse_uri function into the URI.parse class method
  * Fixed URI.__eq__ implementation
  * Refactored URI methods for clarity
  * Moved python import to top level
  * Fixed indentation and spacing
  * PEP-8 compliance fixes
  * Updated python-application dependency
  * Updated boring file
  * Simplified keeping package version
  * Increased debian standards version to 4.5.0
  * Updated copyright years

 -- Dan Pascu <dan@ag-projects.com>  Fri, 14 Feb 2020 11:39:43 +0200

python-msrplib (0.19.2) unstable; urgency=medium

  * Replaced deprecated log.err() function with log.exception()
  * Use a named logger to properly separate the msrplib log messages
  * Updated dependency on python-application
  * Updated debian standards version
  * Increased debian compatibility level to 9
  * Removed obsolete pycompat/pyversions files
  * Removed unnecessary .PHONY target
  * Updated debian uploaders

 -- Dan Pascu <dan@ag-projects.com>  Thu, 04 Oct 2018 22:03:11 +0300

python-msrplib (0.19.1) unstable; urgency=medium

  * Fixed dependency on python-gnutls >= 3.0.0
  * Updated debian maintainer

 -- Dan Pascu <dan@ag-projects.com>  Fri, 20 Jan 2017 04:39:17 +0200

python-msrplib (0.19.0) unstable; urgency=medium

  * Fixed mime type check to take into account parameters
  * Adapted to API changes in python-gnutls 3.0
  * Fix zope interface dependency name

 -- Saul Ibarra <saul@ag-projects.com>  Tue, 08 Mar 2016 12:47:12 +0100

python-msrplib (0.18.0) unstable; urgency=medium

  * Removed bogus class attribute
  * Added .local_uri attribute to all connectors
  * Removed unnecessary instance method from connectors
  * Added dh-python to Build-Depends

 -- Dan Pascu <dan@ag-projects.com>  Wed, 08 Jul 2015 17:26:37 +0300

python-msrplib (0.17.0) unstable; urgency=medium

  * Remove file sending capability from MSRPSession
  * Fix sending response to unknown chunks
  * Fix building responses to non-SEND chunks
  * Refactor make_chunk into make_request and make_send_request
  * Removed leftovers from virtual chunking removal

 -- Saul Ibarra <saul@ag-projects.com>  Wed, 29 Apr 2015 11:45:58 +0200

python-msrplib (0.16.1) unstable; urgency=medium

  * Simplified file transfer code and fixed chunking of sent files
  * Don't send keep-alives right from the start

 -- Saul Ibarra <saul@ag-projects.com>  Mon, 09 Feb 2015 15:17:10 +0100

python-msrplib (0.16.0) unstable; urgency=medium

  * Increase timeout to 30 seconds
  * Don't create virtual chunks for incoming data
  * Bumped Debian Standards-Version
  * Drop Python 2.6 support

 -- Saul Ibarra <saul@ag-projects.com>  Thu, 22 Jan 2015 15:52:05 +0100

python-msrplib (0.15.0) unstable; urgency=low

  * Added support for NICKNAME method
  * Made received chunk handling more flexible
  * Adapted to eventlet package rename
  * Bumped debian standards version to 3.9.3
  * Raised debian/compat version to 7

 -- Saul Ibarra <saul@ag-projects.com>  Fri, 07 Sep 2012 10:26:12 +0200

python-msrplib (0.14.4) unstable; urgency=low

  * Added ability to send REPORT requests manually

 -- Saul Ibarra <saul@ag-projects.com>  Tue, 08 May 2012 16:21:05 +0200

python-msrplib (0.14.3) unstable; urgency=low

  * Enhanced logging when connection with relay fails
  * Fixed passing TLS credentials for client connections

 -- Dan Pascu <dan@ag-projects.com>  Thu, 02 Feb 2012 07:05:54 +0200

python-msrplib (0.14.2) unstable; urgency=low

  * Use MSRPTransport instance with logger when receiving
  * Increased incoming virtual chunk size to 64k

 -- Saul Ibarra <saul@ag-projects.com>  Mon, 19 Dec 2011 13:09:02 +0100

python-msrplib (0.14.1) unstable; urgency=low

  * Adapted to changes in python-application
  * Reworked debian packaging
  * Bumped debian standards to version 3.9.2

 -- Saul Ibarra <saul@ag-projects.com>  Mon, 06 Jun 2011 14:10:46 +0200

python-msrplib (0.14.0) unstable; urgency=low

  * Fixed case when both ends are active due to ACM
  * Added missing methods to Logger class
  * Refactored external API and ACM/sessmatch support

 -- Saul Ibarra <saul@ag-projects.com>  Mon, 23 May 2011 15:59:29 +0200

python-msrplib (0.12.1) unstable; urgency=low

  * Added debian source format file
  * Bumped debian standards to version 3.9.1
  * Implemented MSRP keepalives using an empty SEND request

 -- Saul Ibarra <saul@ag-projects.com>  Mon, 24 Jan 2011 23:23:16 +0100

python-msrplib (0.12.0) unstable; urgency=low

  * Fixed build dependency
  * Lower the MSRP connection timeouts to 10 seconds
  * Added support for MSRP Alternate Connection Model

 -- Saul Ibarra <saul@ag-projects.com>  Mon, 21 Jun 2010 12:26:57 +0200

python-msrplib (0.11.1) unstable; urgency=low

  * Fixed problem with 'msrps' string getting passed as a port in twisted
  * Added alternative logging mechanism
  * Fixed parsing of MSRP messages with content
  * Updated dependencies
  * Fixed deprecation warning of md5 module

 -- Saul Ibarra <saul@ag-projects.com>  Fri, 09 Apr 2010 11:35:03 +0200

python-msrplib (0.11.0) unstable; urgency=low

  * Fix Byte-Range in generated success reports
  * Generate success reports more often (once per virtual chunk, not
    once per chunk)
  * AcceptorDirect: don't lose an exception like GNUTLSError that
    happens before the transport is initialized
  * Added workaround in logging in order to support buffering
  * Added support for initial chunk with data
  * Added size property to MSRPData objects
  * Fixed Byte-Range header added when framing incoming chunks
  * Fixed creation of Byte-Range header for chunks larger than 2KiB
  * Added make_report function
  * Fixed logging when end of packet is reached
  * Changed block size with which files are transferred from 4 to 64K
  * Added dependency to python-eventlet version 0.8.11

 -- Lucian Stanescu <luci@ag-projects.com>  Mon, 14 Dec 2009 12:21:39 +0000

python-msrplib (0.10.0) unstable; urgency=low

  * made all the library classes new-style (derive from object)
  * replaced TrafficLogger and StateLogger with a single Logger class
  * fixed typo in AcceptorDirect.getHost()
  * made MSRPData.status property return StatusHeader instance, not a tuple
  * fixed MSRPTransport.make_chunk() to support REPORT requests
  * made ByteRangeHeader.decoded return a tuple instead of a list
  * made MSRPSession fire a success report if needed
  * test system: a few minor improvements
  * added unit test for success reports
  * fixed typo in MSRPTransport that made incoming chunks larger than 16K fail with ChunkParseError
  * fixed AttributeError in cleanup() methods
  * added __repr__ to connectors
  * limit debug log messages' length
  * set the timeout to 30 seconds
  * fixed ConnectorDirect.prepare() to update zero port in local_uri with 2855
  * added a few docstrings
  * renamed 'sync' argument into 'wait' in all methods where it's used
  * added copy() method to protocol.MSRPData
  * fixed bug in MSRPTransport.read_chunk's incoming chunk splitting functionality:
    virtual chunks had incorrect Byte-Range header
  * made session actually pass INCOMING_CHUNK_SIZE to transport's read_chunk and thus split the incoming chunks
  * added support for sending files with MSRPSession: session.OutgoingFile class and MSRPSession.send_file() method
  * added examples for sending and receiving a message
  * added example for file transfer
  * updated eventlet dependency to 0.8.10
  * added installation instructions

 -- Denis Bilenko <denis@ag-projects.com>  Mon, 13 Apr 2009 16:28:23 +0700

python-msrplib (0.9.2) unstable; urgency=low

  * splitted MSRPTransport into 2 classes: MSRPSession (session.py) and
    MSRPTransport (transport.py);
  * new MSRPSession class has outgoing queue and shutdown() method
  * added option to rechunk incoming chunks (generate sequence of small chunks
    from a big chunk)
  * transport.py: replaced make_SEND_response with make_response that also handles
  * non-SEND requests
  * added MSRPServer class with tests which reuse listening socket
  * made MSRPTransport.write_response accept 'sync' argument
  * made MSRPTransport.__init__ accept None as local_uri
  * connectors don't accept MSRPTransportClass anymore as an argument
  * added throw_args to MSRPTimeoutError.timeout() function
  * added __hash__ to protocol.URI; makes it usable in sets
  * used 'sync' argument to loseConnection instead of spawning a greenlet
  * added support for simple patterns to MSRPSession's accept_types argument
  * renamed MSRPSession's argument allowed_content_types to accept_types
  * changed MSRPSession to report incoming chunks and responses via a callback
  * added GreenMSRPSession class that builts on top of MSRPSession and uses a
    queue (like old MSRPSession)
  * protocol.py: added 'status' attribute to MSRPData
  * protocol.py: added 'code' and 'comment' attributes to StatusHeader
  * make MSRPTransport.write support 'sync' parameter like GreenTransportBase does
  * MSRPSession.send_chunk now accepts message_id parameter
  * MSRPSession.deliver_chunk now raises an exception if error code is not 200
  * made LocalResponse a subclass of MSRPTransactionError
  * added message_id argument to MSRPTransport.make_chunk
  * added optional 'sync' argument to cleanup()
  * updated copyright years
  * MSRPTransport: if an error, don't wait for connection to close before raising
  * made MSRPTransport.make_chunk accept start, end and length as arguments
  * connect.py: made somefunctions to use explicit params instead of kwargs where
    it adds clarity
  * connect.py: updated __all__ to include all the exceptions classes
  * added module docstring for connect.py
  * added byte_range attribute to MSRPData
  * added 'fro', 'to' and 'total' attributes to ByteRangeHeader
  * trafficlog.py: use sys.__stdout__ instead of saving stdout to a global var
  * added debug parameter to StateLogger
  * removed util.py
  * use random.getrandbits to generate random strings instead of /dev/urandom and
    custom functions
  * updated python-eventlet debian dependency from 0.8.9 to 0.8.9-2
  * added python-zopeinterface to dependecies
  * StateLogger: add dbg() method for writing arbitratry debug strings
  * made MSRPData.__repr__ more informative
  * made tests use whatever port is available, not necessarily 2855
  * added 'reserved session' log message to state logger
  * minor improvements in log messages
  * removed MSRPAcceptFactory and MSRPConnectFactory classes
  * added get_connector/get_acceptor functions
  * removed blocking operations from 'finally' and 'except' sections where they
    could result in traceback being delayed or missed
  * made connect.py more selective in catching exceptions, so it'll less likely
  * silent an error
  * added 'message_id' property to MSRPData
  * removed a debugging assert from trafficlog.py

 -- Denis Bilenko <denis@ag-projects.com>  Sun, 01 Mar 2009 11:49:22 +0100

python-msrplib (0.9.1) unstable; urgency=low

  * renamed transport.MSRPSession to MSRPTransport
  * fixed MSRPTransport to call base' class methods where necessary
  * added cleanup() methods to all acceptors/connectors
  * added protocol.ConnectInfo - base class for both relaysettings and uri
  * added deliver_chunk and deliver_message methods to MSRPTransport
  * added tests for TLS when a relay is not involved
  * changed short title in debian/control
  * added getHost() method to connectors/acceptors
  * added to_file method to logger
  * added MSRPRelaySettings.__str__
  * better handling of GNUTLS error
  * improved error handling, explicitly close the connection in case of error
    in many places where it makes sense
  * added connection state logging (connected, disconnected, accepted, etc)
  * added MANIFEST.in
  * added debian dependency on python-application
  * fixed to use latest eventlet and added dependency on python-eventlet
    debian package

 -- Denis Bilenko <denis@ag-projects.com>  Mon, 26 Jan 2009 14:52:47 +0100

python-msrplib (0.9.0) unstable; urgency=low

  * first public release

 -- Denis Bilenko <denis@ag-projects.com>  Fri, 19 Dec 2008 16:58:56 +0600

