Releases: hirezio/observer-spy
Releases · hirezio/observer-spy
v2.2.0
v2.1.2
v2.1.1
v2.1.0
v2.0.0
2.0.0 (2020-09-29)
Bug Fixes
chore
- removed
ObserverSpyWithSubscription
andsubscribeAndSpyOn
(7a2f274)
BREAKING CHANGES
- errors: From now
observerSpy.getError()
andobserverSpy.receivedError()
won't work
unless you configurenew ObserverSpy({expectErrors: true})
or if you already have an instance (before subscribing) -observerSpy.expectErrors()
.
And if you're using the factory function configure it like this -
subscribeSpyTo(observable, {expectErrors: true})
- removed
ObserverSpyWithSubscription
andsubscribeAndSpyOn
v1.4.0
1.4.0 (2020-09-27)
Features
DETAILS:
- Rename
subscribeAndSpyOn
tosubscribeSpyTo
- Rename
ObserverSpyWithSubscription
tosubscriberSpy
- Add deprecation messages to
subscribeAndSpyOn
andObserverSpyWithSubscription
- Add
autoUnsubscribe
+ setup file and `queueForAutoUnsubscribe - Update and improve README doc
- Update CONTRIBUTING and CODE_OF_CONDUCT docs