Skip to content

Releases: foxbenjaminfox/vue-async-computed

v3.0.0

20 Jan 10:53
Compare
Choose a tag to compare

Despite being a major version bump, the breaking changes here are minimal. If you've defined a default value for an async computed property, it now won't be available until the created callback. That means that if for some reason your relying on that value being available in your data function, this change will be a breaking one.

But you probably shouldn't be have been doing that anyway.

Other than that, this release adds two new features:

  • Default values can now be passed as a function. See the README for an example. (Discussed in #9)
  • A new option, useRawError now exists, which if set to true means that the error handler will be called with the raw error object. (Discussed in #10).