npm vue-toastification 2.0.0-beta.3
v2.0.0-beta.3

latest releases: 2.0.0-dev.1, 2.0.0-rc.5, 2.0.0-rc.4...
3 years ago

⚠️ Breaking changes

  • Support for Vue 2 dropped!: If you are using Vue 2, stick to v1.x.
  • Deprecated transitionDuration: Some changes to Vue made it very hard to keep transitionDuration. If you need to change the duration of a transition, override the transition classes.
  • Removed native Nuxt support: Since no Vue 3-compatible Nuxt version has been released, there is no native support to it for now.

🚀 New Features

  • Vue 3 support: Vue 3 is now supported by default. Vue 2 support was dropped.
  • Composition API: This version uses the composition API all the way down with provideToast, useToast, and injection keys.
  • onMounted callback now receives the App: onMounted also provides the VueToastification Vue App as the second parameter.
  • New EventBus: A custom EventBus is used to transfer events instead of a Vue instance.

🔧 Bug fixes

  • Fixed non passive touchstart event: touchstart events are now passive.

📖 Documentation

  • Updated docs to target Vue 3: Updated the docs to target Vue 3 and the new interfaces.

📦 Bundle

  • ES2017 by default: All package versions now target ES2017. Make sure to use Babel on your app if you need to target lower versions.

Don't miss a new vue-toastification release

NewReleases is sending notifications on new releases.