Skip to content

Releases: schollii/pypubsub

Version 3.4.2

24 Mar 20:27
Compare
Choose a tag to compare

ATTENTION: for Python 3+, do not use this release, use Pypubsub 4.0.3 or later

Minor release of Pypubsub specifically for Python 2.7. It was primarily created because the source distro for 3.3 was incomplete. It was regenerated from a github commit that was post 3.3 but pre-4.0. There are no changes to the API except a couple of functions have been added for completeness although you'll probably never use them directly, they are for some of the utility classes like XML topic tree definition provider.

This release therefore

  • Abandons support for easy_install
  • Abandons support for arg1 protocol
  • Addeds currying of subscribed listener args
  • Cleans up docs

Moreover, made this release specific to Python 2.7, docs updated, and release
marked deprecated.

Attention: I highly recommend installing from the wheel file on pypi. Use the source distro on this github page only when you need the complete source.

Pypubsub v4.0.3

28 Jan 00:40
8f0f8ce
Compare
Choose a tag to compare
  • Confirm support for Python 3.7 and type hints
  • Patch for keyword-only args in listeners
  • Minor doc improvements for installation
  • Upgrade docs to sphinx 1.8

Attention: I highly recommend installing from the wheel file on pypi. Use the source distro on this github page only when you need the complete source.

Pypubsub v4.0.0

28 Dec 16:13
Compare
Choose a tag to compare

Attention: I highly recommend installing from the wheel file on pypi. Use the source distro on this github page only when you need the complete source.

Changes:

  • Verified support Python 3.5 and 3.6
  • Distribution via wheel
  • Abandon support for Python 2.x and easy_install; now requires Python >= 3.3
  • Abandon support for long-ago deprecated arg1 messaging protocol
  • Added currying of subscribed listener args
  • Significant speed improvement for message delivery
  • Use PEP 484 style of annotations throughout
  • Use enum instead of constants when practical

Pypubsub v3.3.0

28 Dec 16:16
Compare
Choose a tag to compare

Attention:

  • For this release, do not use the files on this page: it appears I created them incorrectly. Use the ones I put on pypi instead: https://pypi.org/project/Pypubsub/3.3.0/#files.
    • For binary dist on Windows use the installer distro, on Linux use the .zip.
    • For the full source, on either platform, use the .zip source from pypi.
  • This release was actually created in Feb 2014, but I created it on SourceForge.net. I moved the pypubsub project to github in Oct 2016. So the creation date in github is misleading, v3.3.0 was released Feb 2014.

Changes:

  • cleanup low-level API: exception classes, moved some out of pub module that did not
    belong there (clutter), move couple modules; specifically:
    • Removed from pub (available on object returned from pub.getDefaultTopicMgr())
      • getOrCreateTopic -> pub.getDefaultTopicMgr().getOrCreateTopic
      • getTopic -> pub.getDefaultTopicMgr().getTopic
      • newTopic -> pub.getDefaultTopicMgr().newTopic
      • delTopic -> pub.getDefaultTopicMgr().delTopic
      • getAssociatedTopics -> pub.getDefaultTopicMgr().getTopics
      • getDefaultTopicTreeRoot -> pub.getDefaultTopicMgr().getRootAllTopics
    • Removed from pub (available from pubsub.core):
      • ITopicDefnProvider
    • Moved from pub into to pubsub.core.TopicDefnProvider class as classmethod:
      • registerTopicDefnProviderType
    • Renamed:
      • TopicNameInvalid -> TopicNameError
      • UndefinedTopic(RuntimeError) -> TopicNameError(ValueError)
      • UndefinedSubtopic(RuntimeError) -> TopicNameError(ValueError)
      • ListenerInadequate(TypeError) -> ListenerMismatchError(ValueError)
      • UnrecognizedImportFormat -> UnrecognizedSourceFormatError
      • ListenerSpecInvalid -> MessageDataSpecError
      • SenderMissingReqdArgs -> SenderMissingReqdMsgDataError
      • SenderUnknownOptArgs -> SenderUnknownMsgDataError
      • ListenerNotValidatable -> TopicDefnErrorcd
    • Changed;
      • Topic.isSendable -> hasMDS
      • TopicManager.??? -> isTopicInUse + hasTopicDefinition
  • completed the ref docs
  • support installation via pip
  • cleanup versioning metadata: use pubsub.version instead of pub.PUBSUB_VERSION
  • support Python 3
  • add getListenersIter() to iterate over listeners without temp copy of listener list
  • add deprecation message when import setuparg1
  • new wxPubsubMonitor utility class