Skip to content
Compare
Choose a tag to compare
  • Fix v-stream data update on custom component (fix #106) via #107 (@regou)
Compare
Choose a tag to compare
  • Add default optionMergeStrategy for subscriptions - (@Baoyx007 in #95)
Compare
Choose a tag to compare

Fixed

  • Fixed TypeScript default export (#90)
Compare
Choose a tag to compare

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.
Compare
Choose a tag to compare

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.
Compare
Choose a tag to compare

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

Compare
Choose a tag to compare

New Feature

  • Support .native modifier for v-stream directive. (@Baoyx007 via #53)
Compare
Choose a tag to compare

New Feature

  • New API for creating an observable stream emitting calls to a method (@regou via #48):

    • $createObservableMethod instance method
    • observableMethods option

    See docs for more details.

Compare
Choose a tag to compare

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)

Compare
Choose a tag to compare
  • v-stream now also accepts an extra options object which will be passed along to native addEventListener as the 3rd argument.