CARVIEW |
Navigation Menu
-
-
Notifications
You must be signed in to change notification settings - Fork 461
Releases: mroderick/PubSubJS
Housekeeping
Compare
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
Assets 2
Bug fix: unsubscribe hierarchy
Compare
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
Assets 2
v1.5.2
Compare
Fixes an issue #71 with clearing subscriptions by the topic, making it match the documentation https://github.com/mroderick/PubSubJS#clear-all-subscriptions-for-a-topic
Assets 2
v1.5.1
Compare
Assets 2
v1.5.0
Compare
- Add
clearSubscriptions
method that clears all subscriptions - Add option to unsubscribe all subscriptions for a topic, via
PubSub.unsubscribe('mytopic');
- #64 makes it possible to build the jQuery version without ruby dependency
- Fixes issues #49 and #51, by using commonjsStrict from UMD
Assets 2
Minor bug fix: call all subscribers and Buster upgrade
Compare
- Fix compatibility with BusterJS 0.7.4+
- Fix #43, where not all subscribers would be called, if one or more unsubscribed during publishing
Assets 2
Bug fix: topic propagation with hierarchical addressing
Compare
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.
Assets 2
Remove version and name properties
Compare
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.
Assets 2
Bugfix, increased compatibility with SnapEngage
Compare
Assets 2
Fix issue 26, and semver
Compare
Fixes #26
This release is recommended for everyone