Features
- Support RxJS v6.
- Simplified installation: no longer need to pass in RxJS to
Vue.use()
. - ESM build:
dist/vue-rx.esm.js
is used by default in webpack/rollup bundles which imports the minimal amount of imports from RxJS for smaller bundle size.
BREAKING CHANGES
- vue-rx v6 now only works with RxJS v6 by default. If you want to keep using RxJS v5 style code, install
rxjs-compat
. - Dropped support for RxJS v4.
Breaking Changes
- Updated TypeScript typings to be compatible with Vue core 2.5 typings. To use with Vue 2.4 and below, use 4.x.
Breaking Change
- Errors from subscription streams will be thrown, and the user is now responsible for catching and handling these potential errors. (@regou via #55)
New
- Now ships with TypeScript typings! (@HerringtonDarkholme via #57)
New
-
Similar to
v-on
,v-stream
can now also be used on components as well and will create observables from custom events emitted by the child component. (@regou) -
New method: $eventToObservable()
Turns custom events emitted by a component into an observable. (@regou)
v-stream
now also accepts an extraoptions
object which will be passed along to nativeaddEventListener
as the 3rd argument.