Releases: nuxt-community/firebase-module
v2.4.4
✨ New
- When
fcmPublicVapidKey
is added to config[environment|, the methodmessaging.usePublicVapidKey(key)
gets called by nuxt-fire after FCM initialization - so you can delete it from your code and don't have to handle different keys for different environments yourself.
v2.4.3
v2.4.2
✨ New (Experimental)
- Added the initMessaging feature that, for now, helps you create the service-worker file for FCM. Additional functionality, such as automatic initialization, is to come.
‼️ Important: This feature has not been fully tested for all cases, use it with care. It might get changed completely in future updates. Use it at your own risk. If you have any issues with the initMessaging feature please let us know here and help us improve it.
v2.4.1
v2.4.0
✨ New (Experimental)
- Added the initAuth feature that lets you set up onAuthStateChanged() for Firebase Authentication without writing any boilerplate code by simply providing the names of the vuex mutations/actions that shall be called.
- Added helper function
movePluginBeforeInitAuthPlugin
.
‼️ Important: This feature has not been fully tested for all cases, use it with care. It might get changed completely in future updates. If you have any issues with the initAuth feature please let us know here and help us improve it.
⚙️ Maintenance
- Updated Folder Structure
‼️ Important: Since we updated the folder structure in this update, you might get a Nuxt Fatal error of the following kind when updating to v2.4.0. To solve this, simple remove your package.json.lock and node_modules folder and do a clean install of your modules withnpm i
.
✖ Nuxt Fatal Error
Error: Template src not found:
/Users/<path>/node_modules/nuxt-fire/plugin.js
v2.3.0
- Added support for Firebase RemoteConfig (Beta).
Thanks to @fachrihawari for the PR.
v2.2.1
- Added Firebase Performance to TypeScript definition
Thanks to @fachrihawari for the PR.
v2.2.0
v2.1.0
✨ Improvement
- Added Firebase Analytics accessible via
this.$fireAnalytics
andthis.$fireAnalyticsObj
.
Thanks to @lesharris again for the contribution!
v2.0.1
✨ Improvement
- Added check for Firebase Messaging whether it is supported by browser or not before instantiating.
Thanks to @lesharris for the pull request!