Skip to content

Latest commit

 

History

History
59 lines (39 loc) · 3.32 KB

CHANGELOG.md

File metadata and controls

59 lines (39 loc) · 3.32 KB

All CHANGELOG.md files have been move to their respective package folders. This file is no longer being automatically updated

Bug Fixes

🎉 Stable Release

After more than one year on alpha, Vuefire and Vuexfire are being released as stable releases. From this point on, no breaking changes will be made

If you are upgrading from vuefire@^1.0.0, please check the Migration guide If you are upgrading from vuexfire@^2.0.0, please check the Migration guide

This release doesn't add anything new compared to the latest alpha release

Bug Fixes

  • ensure objects in beforeCreate (cd5046b), closes #274
  • pass a default options to bind* (75c3e73)

Features

  • vuefire: add reset option
  • vuexfire: add reset option

BREAKING CHANGES

  • vuefire/vuexfire: When unbinding, the data is now, by default reset to null for items bound as objects, and to an empty array [] for items bound as an array. This option option can be set to false to keep the last value instead of resetting it, or to a function returning a value to customize the new value. More about it in the documentation

Features

  • vuexfire: add RTDB support (b7203b7)
  • vuexfire: rename exports (02c1020)
  • vuexfire: rename injected functions (e2f2a51)

BREAKING CHANGES

  • vuexfire: Renamed firebaseAction to firestoreAction as well as the two added function bindFirebaseRef and unbindFirebaseRef to bindFirestoreRef and unbindFirestoreRef. This is to enable using both RTDB and Cloud Firestore
  • vuexfire: Rename bindFirebaseRef to bindFirestoreRef and unbindFirebaseRef to unbindFirestoreRef to allow using them for RTDB
  • vuexfire: Rename firebaseMutations into vuexfireMutations. Rename firebaseAction into firestoreAction since we want to allow using RTDB as well and that name will be used for the firebaseAction as well
  • vuefire: the default export is replaced by a named export to make it clearer what you are importing from vuefire: Cloud Firestore or RTDB. Replace import Vuefire from 'vuefire' by import { firestorePlugin } from 'vuefire' and update the plugin installation: Vue.use(firestorePlugin)