python-paho-mqtt

Edit Package python-paho-mqtt
No description set
Refresh
Refresh
Source Files (show merged sources derived from linked package)
Filename Size Changed
project.diff 0000000191 191 Bytes
Latest Revision
James Oakley's avatar James Oakley (jimfunk) committed (revision 4)
- update to 2.1.0:
  * Make transition from 1.x to 2.x version smoother
  * Fix "protocol" property
  * Fix publish() a bytearray payload
  * Fix some type annotations
  * Fix loop_stop() not stopping thread when called from callback
  * Fix some documentation errors
  * Add support for Unix socket
  * Fix flaky test

- version update to 2.0.0
  - **BREAKING** Added callback_api_version. This break *ALL* users of paho-mqtt Client class.
    See migrations.md for details on how to upgrade.
    tl; dr; add CallbackAPIVersion.VERSION1 to first argument of Client()
  - **BREAKING** Drop support for Python 2.7, Python 3.5 and Python 3.6
    Minimum tested version is Python 3.7
    Python version up to Python 3.12 are tested.
  - **BREAKING** connect_srv changed it signature to take an additional bind_port parameter.
    This is a breaking change, but in previous version connect_srv was broken anyway.
    Closes #493.
  - **BREAKING** Remove some deprecated argument and method:
    * ``max_packets`` argument in loop(), loop_write() and loop_forever() is removed
    * ``force`` argument in loop_stop() is removed
    * method ``message_retry_set()`` is removed
  - **BREAKING** Remove the base62, WebsocketWrapper and ConnectionState, as user shouldn't directly use them.
  - Possible breaking change: Add properties to access most Client attribute. Closes #764.
    Since this add new properties like `logger`, if a sub-class defined `logger`, the two `logger`
    will conflict.
  - Add version 2 of user-callback which allow to access MQTTv5 reason code & properties that were
    missing from on_publish callback. Also it's more consistent in parameter order or between
Comments 0
openSUSE Build Service is sponsored by