2024-08-10 18:15:58 by Thomas Klausner | Files touched by this commit (2) |
Log message:
*: remove commented out dependency
|
2024-06-19 17:33:04 by Greg Troxel | Files touched by this commit (1) |
Log message:
net/py-paho-mqtt: Reset PKGREVISION
(Thanks adam@ for pointing out.)
|
2024-06-19 16:03:04 by Greg Troxel | Files touched by this commit (3) |
Log message:
net/py-paho-mqtt: Update to 2.1.0
Tested with all 0 packages in pkgsrc that depend on this package! But
seriously, this has been on hold since 2.0.0 in February because of
the breaking changes, and it's been long enough that maintained
projects will have adapted.
packaging: convert to wheel.mk
Upstream NEWS content:
v2.1.0
Make transition from 1.x to 2.x version smoother (Closes #831)
Add support for Unix socket (Closes #829)
v2.0.0
This release include breaking change. See \
https://eclipse.dev/paho/files/paho.mqtt.python/html/migrations.html for more \
details on how to upgrade.
This release also introduce new documentation available online at \
https://eclipse.dev/paho/files/paho.mqtt.python/html/index.html
BREAKING Added callback_api_version. This break ALL users of paho-mqtt \
Client class.
See migrations.rst for details on how to upgrade.
tl; dr; add CallbackAPIVersion.VERSION1 to first argument of Client()
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
MQTTv3 and MQTTv5.
Add types to Client class, which caused few change which should be compatible.
Known risk of breaking changes:
Use enum for returned error code (like MQTT_ERR_SUCCESS). It use an IntEnum
which should be a drop-in replacement. Excepted if someone is doing \
"rc is 0" instead of "rc == 0".
reason in on_connect callback when using MQTTv5 is now always a \
ReasonCode object. It used to possibly be
an integer with the value 132.
MQTTMessage field "dup" and "retain" used to be \
integer with value 0 and 1. They are now boolean.
Add support for ALPN protocols on TLS connection. Closes #790 & #648.
Add on_pre_connect() callback, which is called immediately before a
connection attempt is made.
Allow to manually ack QoS > 0 messages. Closes #753 & #348.
|
2024-02-13 20:38:38 by Greg Troxel | Files touched by this commit (1) | |
Log message:
net/py-paho-mqtt: Note that update to 2.0.0 is on hold
2.0.0 is a breaking change and my assessment is that the
paho-mqtt-using community is not there yet. To be revisted after
2024Q1, when it will probably be time.
|
2024-02-13 20:35:47 by Greg Troxel | Files touched by this commit (1) |
Log message:
net/py-paho-mqtt: Revert unintended stray extra .
|
2024-02-13 20:34:38 by Greg Troxel | Files touched by this commit (3) |
Log message:
net/openvpn-*: PKGREVISION++ (these build something else with openvpn also)
|
2023-06-06 14:42:56 by Taylor R Campbell | Files touched by this commit (1319) |
Log message:
Mass-change BUILD_DEPENDS to TOOL_DEPENDS outside mk/.
Almost all uses, if not all of them, are wrong, according to the
semantics of BUILD_DEPENDS (packages built for target available for
use _by_ tools at build-time) and TOOL_DEPEPNDS (packages built for
host available for use _as_ tools at build-time).
No change to BUILD_DEPENDS as used correctly inside buildlink3.
As proposed on tech-pkg:
https://mail-index.netbsd.org/tech-pkg/2023/06/03/msg027632.html
|
2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595) |
Log message:
*: bump PKGREVISION for egg.mk users
They now have a tool dependency on py-setuptools instead of a DEPENDS
|
2021-10-26 13:07:15 by Nia Alarie | Files touched by this commit (958) |
Log message:
net: Replace RMD160 checksums with BLAKE2s checksums
All checksums have been double-checked against existing RMD160 and
SHA512 hashes
Not committed (merge conflicts...):
net/radsecproxy/distinfo
The following distfiles could not be fetched (fetched conditionally?):
./net/citrix_ica/distinfo citrix_ica-10.6.115659/en.linuxx86.tar.gz
./net/djbdns/distinfo dnscache-1.05-multiple-ip.patch
./net/djbdns/distinfo djbdns-1.05-test28.diff.xz
./net/djbdns/distinfo djbdns-1.05-ignoreip2.patch
./net/djbdns/distinfo djbdns-1.05-multiip.diff
./net/djbdns/distinfo djbdns-cachestats.patch
|
2021-10-22 15:44:40 by Greg Troxel | Files touched by this commit (2) |
Log message:
net/py-paho-mqtt: Update to 1.6.1
Upstream changes:
1.6.1:
fix python27, broken in 1.6.0
1.6.0:
- Big performance improvement when receiving large payloads,
particularly for SSL. Closes #571,
- Add basic MQTT v5 support to the subscribe and publish helper
functions. Closes #575.
- Changed default TLS version to 1.2 instead of 1.0.
- Remove _out_packet_mutex and _current_out_packet_mutex and convert
the _out_packet queue use to thread safe (simplifies the internals)
- Callbacks can now be applied to client instances using decorators.
- The `rc` parameter in the `on_disconnect` callback now has
meaningful values in the case of an error. Closes #441.
- Remove periodic retry checks for outgoing messages with QoS>0. This
means that outgoing messages will only be retried on the client
reconnecting to the server. They will *not* be retried when the client
is still connected.
- MQTTMessageInfo.wait_for_publish() and
MQTTMessageInfo.is_published() will now raise exceptions if called
when the publish call produced an error. Closes #550.
- Raise exceptions when attempting to set MQTT v5 properties to
forbidden values. Closes #586.
- PUBACK messages are now sent to the broker only after the on_message
callback has - Add timeout to
MQTTMessageInfo:wait_for_publish().returned.
- Add timeout to MQTTMessageInfo:wait_for_publish().
- Removed ancient Mosquitto compatibility class.
bugfixes
|