Releases: mroderick/PubSubJS
Housekeeping
This release removes the jQuery plugin from the repository, but doesn't make ANY changes to the API of the library, and has therefore not become a MAJOR
release.
The motivation for the housekeeping was to make it easier for contributors to get their pull requests merged, by not having to battle obsoleted dependencies (buster
, jslint
, phantomjs
).
Changes
- Remove jQuery plugin. Users that want to continue to use PubSubJS through jQuery, can use
pubsub-js@1.5.7
- Simplified test setup to use
mocha
- Replace obsoleted
jslint
version (could not install on Travis anymore) with latesteslint
Bug fix: unsubscribe hierarchy
This release has a minor bug fix to unsubscribing hierarchies.
From #97
PubSub.subscribe('a', myFunc1);
PubSub.subscribe('a.b', myFunc2);
PubSub.subscribe('a.b.c', myFunc3);
PubSub.unsubscribe('a.b');
// no further notications for 'a.b' and 'a.b.c' topics
// notifications for 'a' will still get published
Thanks to @jbutz for the investigation and the fix
v1.5.2
v1.5.1
v1.5.0
Minor bug fix: call all subscribers and Buster upgrade
- Fix compatibility with BusterJS 0.7.4+
- Fix #43, where not all subscribers would be called, if one or more unsubscribed during publishing
Bug fix: topic propagation with hierarchical addressing
This release fixes a bug where more specific topic subscribers (rabbit.jumped
) would not get notified if a top level subscriber (rabbit
) didn't exist.
Remove version and name properties
Since PubSubJS is now available through both npm and bower, it's easy enough to programmatically determine which version you have, so I've removed the version
and name
properties from the PubSub
object.
Bugfix, increased compatibility with SnapEngage
Fix issue 26, and semver
Fixes #26
This release is recommended for everyone