Authors: Maxim Polunin, Tristan Harmer
- fix: support nested temporary global listeners
- docs: add threadsafe notes to README for global and temporary listeners
Authors: Sergey Mostovoy, Andrew Kozin, Kyle Tolle, Martin, Rob Miller, Mike Dalto, orthographic-pedant, Drew Ulmer, Mikey Hogarth, Attila Domokos, Josh Miltz, Pascal Betz, Vasily Kolesnikov, Julien Letessier, Kris Leech
- Fix: logger raises exception if hash is passed as an argument to a listener #133, #136
- Fix: deprecation warnings #120
- Doc improvements: #106, #111, #116, #122, #128, #130, #147, #149, #150, #151
- Adds: Allow configuration of default prefix when using
prefix: true
. #105 - Adds: Allow unsubscribing of global listeners #118
- Adds: Helpful error message when passing a block to
#subscribe
of#on
#125 - Adds: raise an error message when
#on
is not passed a block #146 - Adds: Support for JRuby 9.x #148
- Adds: Support for MRI 2.4.0 #155
- Refactor specs #126, #131
Authors: Kris Leech
- remove: deprecated methods
- remove: rspec matcher and stubbing (moved to wisper-rspec)
- feature: add regexp support to
on
argument - remove: announce alias for broadcasting
- docs: add Code of Conduct
- drop support for Ruby 1.9
Authors: Kris Leech
- deprecate: add_listener, add_block_listener and respond_to
- internal: make method naming more consistent
Authors: Kris Leech
- feature: allow events to be published asynchronously
- feature: broadcasting of events is plugable and configurable
- feature: broadcasters can be aliased via a symbol
- feature: logging broadcaster
Authors: Kris Leech, Marc Ignacio, Ahmed Abdel Razzak, kmehkeri, Jake Hoffner
- feature: matcher for rspec 3
- fix: temporary global listeners are cleared if an exception is raised
- refactor: update all specs to rspec 3 expect syntax
- docs: update README to rspec 3 expect syntax
- feature: combine global and temporary listener methods as
Wisper.subscribe
- deprecate:
Wisper.add_listener
andWisper.with_listeners,
useWisper.subscribe
instead
Authors: Kris Leech, Yan Pritzker, Charlie Tran
- feature: global subscriptions can be scoped to a class (and sub-classes)
- upgrade: use rspec 3
- feature: allow prefixing of events with 'on'
- feature: Allow stubbed publisher method to accept arbitrary args
Authors: Kris Leech, Tomasz Szymczyszyn, Alex Heeton
- feature: global subscriptions can be passed options
- docs: improve README examples
- docs: add license to gemspec
Authors: Kris Leech, Darren Coxall
- feature: support for multiple events at once
- fix: clear global listeners after each spec
Authors: Kris Leech, chatgris
- feature: add temporary global listeners
- docs: improve ActiveRecord example
- refactor: improve specs
- upgrade: add Ruby 2.0 support
- fix: make listener collection immutable
- remove: async publishing and Celluloid dependency
- fix: Make global listeners getter and setter threadsafe [9]
Authors: Kris Leech, Yan Pritzker
- feature: add async publishing using Celluloid
- docs: improve README examples
- feature:
stub_wisper_publisher
rspec helper - feature: global listeners
- refactor: improve specs
Authors: Kris Leech
- refactor: specs
- refactor: registrations
- feature: Add
with
argument tosubscribe
- docs: improve README examples
- feature: Allow subscriptions to be chainable
- feature: Add
on
syntax for block subscription - remove: Remove support for Ruby 1.8.7
- docs: Add badges to README
Authors: Kris Leech
- remove: ActiveSupport dependency
- docs: fix syntax highlighting in README
Authors: Kris Leech
- docs: add README
- feature: registration of objects and blocks