Wokkel

Latest version: v18.0.0

Safety actively analyzes 613797 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

18.0.0

==========================

Features
--------

- Wokkel has been ported to Python 3. (81)
- wokkel.pubsub.PubSubClient now supports retrieving items by identifier. (82)


Fixes
-----

- wokkel.generic.Request.stanzaType now defaults to the value of the class
variable if `stanzaType` is not passed to `__init__`. (80)
- wokkel.delay.Delay.fromElement now also catches `TypeError` when parsing
timestamps, to work around a bug in dateutil. (83)
- wokkel.muc.MUCClientProtocol now properly updates user role and affiliation
upon presence updates. (84)


Deprecations and Removals
-------------------------

- wokkel.generic.prepareIDNName is deprecated in favor of
unicode.encode('idna'). (85)
- Python 2.6 and older are no longer supported. (86)
- wokkel.compat no longer includes named and value constants (now in
`twisted.python.constants` through `constantly`). (87)
- wokkel.compat no longer includes `BootstrapMixin` and
`XmlStreamServerFactory`, as they are included in the required version of
Twisted. (88)


Misc
----

- 89

0.8.0

==================

Deprecations
--------

- wokkel.generic.prepareIDNName is deprecated in favor of
unicode.encode('idna').

0.7.1

==================

Features
--------

- wokkel.generic.Request.parseRequest is a new convenience hook for parsing
the payload of incoming requests using fromElement.
- wokkel.xmppim.RosterItem can now represent item removals and has methods
for XML (de-)serialization (71).
- wokkel.xmppim.RosterRequest is a new class to represent roster request
stanzas (71).
- wokkel.xmppim.RosterClientProtocol.getRoster now returns the roster
indexed by JID (71).
- wokkel.xmppim.RosterClientProtocol uses the new RosterRequest for sending
outgoing requests, using the new request semantics (71).
- wokkel.xmppim.RosterClientProtocol uses the new RosterRequest to provide
access to addressing and roster version information in the new callbacks
for roster pushes (71).
- wokkel.xmppim.RosterPushIgnored can be raised for unwanted roster pushes
(71).
- wokkel.xmppim.RosterClientProtocol and RosterRequest now support roster
versioning.
- With the new wokkel.xmppim.RosterClientProtocol.setItem roster items can
be added or updated (56).

Fixes
-----

- wokkel.component.Component now reconnects if first attempt failed (75).
- wokkel.xmppim.RosterClientProtocol now properly checks sender addresses
for roster pushes (71).
- Make sure twistd plugins are installed properly (76).
- wokkel.component.Router.route now sends back an error if there is no known
route to the stanza's destination.
- Properly encode IDN domain names for establishing client and server
connections. This resolves an issue with Twisted 12.3.0 that made it
impossible to initiate any connection using Wokkel (77).

Deprecations
------------
- wokkel.xmppim.RosterItem.jid is deprecated in favor of entity (71).
- wokkel.xmppim.RosterItem.ask is deprecated in favor of pendingOut (71).
- wokkel.xmppim.RosterClientProtocol.onRosterSet is deprecated in favor of
setReceived (71).
- wokkel.xmppim.RosterClientProtocol.onRosterRemove is deprecated in favor
of removeReceived (71).

0.7.0

==================

Features
--------

- Added method wokkel.data_form.Form.typeCheck for type checking incoming Data
Forms submissions against field definitions.
- Added method wokkel.data_form.Form.makeFields to add fields from a
dictionary mapping field names to values.
- Added public function wokkel.data_form.findForm for extracting Data Forms
from stanzas.
- PubSubRequest.options is now a wokkel.data_form.Form.
- wokkel.data_form.Form can now be used as a read-only dictionary.
- Added support for configuration options in Publish-Subscribe node create
requests.
- Added support for subscription options in Publish-Subscribe subscribe
requests (63).
- Added support for Publish Subscribe subscription identifiers.
- wokkel.pubsub.Item can now be used to send out notifications, too.
- Added a twistd plugin to set up a basic XMPP server that accepts component
connections and provides server-to-server (dialback) connectivity.
- Added support for managing affiliations of Publish-Subscribe nodes,
server-side.
- Added iq request (set/get) tracking to StreamManager and provide a new base
class for such requests: wokkel.generic.Request. Unlike
twisted.words.protocols.jabber.xmlstream.IQ, Such requests can be queued
until the connection is initialized, with timeouts running from the moment
`request` was called (instead of when it was sent over the wire).
- Added support for Delayed Delivery information formats.
- Added support for XMPP Multi-User Chat, client side (24).

Fixes
-----

- XMPP Ping handler now marks incoming ping requests as handled, so the
FallbackHandler doesn't respond, too. (66)
- Incorporate Twisted changes for component password hashes.
- Completed test coverage for Data Forms.
- Made sure Data Forms field labels don't get overwritten (60).
- Service Discovery identity is now reported correctly for legacy
PubSubService use (64).
- Various smaller Service Discovery fixes for PubSubService.
- Completed test coverage for Service Discovery support.
- Publish Subscribe events with stanza type error are now ignored (69).
- Publish Subscribe requests with multiple 'verbs' are now properly parsed
(72).
- Publish Subscribe requests that have no legacy support in PubSubService will
now result in a feature-not-implemented error (70).
- Publish Subscribe subscription elements now have the correct namespace when
sent out.
- Incorporated Twisted changes for passing on a reason Failure upon stream
disconnect.
- Fixed race condition and nesting issues when adding subprotocol handlers to
their StreamManager (48).
- Reimplemented Service Discovery requests using new Request class. By reusing
common code, this fixes a problem with requests without addressing (73).

Deprecations
------------

- wokkel.compat.BootstrapMixin is deprecated in favor of
twisted.words.xish.xmlstream.BootstrapMixin (Twisted 8.2.0).
- wokkel.compat.XmlStreamServerFactory is deprecated in favor of
twisted.words.protocols.jabber.xmlstream.XmlStreamServerFactory (Twisted
8.2.0).
- wokkel.iwokkel.IXMPPHandler is deprecated in favor of
twisted.words.protocols.jabber.ijabber.IXMPPHandler (Twisted 8.1.0).
- wokkel.iwokkel.IXMPPHandlerCollection is deprecated in favor of
twisted.words.protocols.jabber.ijabber.IXMPPHandlerCollection (Twisted
8.1.0).
- wokkel.subprotocols.XMPPHandlerCollection is deprecated in favor of
twisted.words.protocols.jabber.xmlstream.XMPPHandlerCollection (Twisted
8.1.0).

0.6.3

==================

Features
--------

- Add a jid attribute to XMPPClient (18).
- Add a better presence protocol handler PresenceProtocol. This handler
is also useful for component or in-server use.

Fixes
-----

- Use fallback port 5222 for failed SRV lookups for clients (26).

0.6.2

==================

Features
--------

- Add support for XMPP Ping (XEP-0199), doubling as example protocol
handler (55).
- Provide examples for setting up clients, components and servers (55).
- Make Service Discovery support accept non-deferred results from getDiscoInfo
and getDiscoItems (55).

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.