firebase-module

🔥 Easily integrate Firebase into your Nuxt project. 🔥

MIT License

Downloads
26.6K
Stars
642
Committers
49

Bot releases are hidden (Show)

firebase-module - v2.0.0

Published by lupas about 5 years ago

✨ New

  • Added Firebase Performance that can now be accessed via $firePerf.

‼️ Important - Breaking Change
You now have to include your appId in the Firebase config object:

config: {
          development: {
            ...
            appId: '<appId>'
          },
          production: {
           ...
            appId: '<appId>'
          }
}

Thanks to @ahmedHusseinF for the pull-request.

firebase-module - v1.4.1

Published by lupas over 5 years ago

✨ New

  • Added option functionsLocation to select location for Firebase Functions.
firebase-module - v1.4.0

Published by lupas over 5 years ago

✨ New

  • Added direct access to objects for all services, not only this.$fireAuthObj:

You can now access all the plain firebase objects like so:

Firebase Obj Shortcut
firebase.auth $fireAuthObj
firebase.database $fireDbObj
firebase.firestore $fireStoreObj
firebase.storage $fireStorageObj
firebase.functions $fireFuncObj
firebase.messaging $fireMessObj
firebase-module - v1.3.2

Published by lupas over 5 years ago

⚙️ Maintenance

  • Updated Firebase peerDependency to 6.0.2
firebase-module - v1.3.1

Published by lupas over 5 years ago

✨ New

  • Added direct access to the auth object:
Firebase Obj Shortcut
firebase.auth $fireAuthObj

⚙️ Maintenance

  • added default parameter to config in readme
firebase-module - v1.3.0

Published by lupas almost 6 years ago

⚙️ Maintenance

  • Removed timestampInSnapshot=true setting for Firestore, which is no longer needed since Firebase SDK version 5.8.0
firebase-module - v1.2.7

Published by lupas almost 6 years ago

✨ Improvements

  • Added type definitions for messaging
firebase-module - v1.2.1

Published by lupas almost 6 years ago

✨ New

  • Added Types Declaration File -> Intellisense should now work properly

🐜 Bug Fixes

  • firebase is now a peerDependency instead of a dependency
firebase-module - v1.2.0

Published by lupas almost 6 years ago

⚠️ Important ⚠️

In order to make a new feature possible (see below) we had to restructure nuxt-fire options in nuxt.config.js just a little bit. Make sure to change yours accordingly:

OLD:

modules: [
    [
      'nuxt-fire',
      {
        config: {
          apiKey: '<apiKey>',
          authDomain: '<authDomain>',
          databaseURL: '<databaseURL>',
          projectId: '<projectId>',
          storageBucket: '<storageBucket>',
          messagingSenderId: '<messagingSenderId>'
        },
        devConfig: { ... }
      }
    ]
  ]

NEW:

modules: [
    [
      'nuxt-fire',
      {
        config: {
          production: {
            apiKey: '<apiKey>',
            authDomain: '<authDomain>',
            databaseURL: '<databaseURL>',
            projectId: '<projectId>',
            storageBucket: '<storageBucket>',
            messagingSenderId: '<messagingSenderId>'
          },
          development: { ... }
        }
      }
    ]
  ],

✨ New Features

  • customEnv Mode:
    Sick of relying on NODE_ENV? Want to define more than just two different Firebase configs? EntercustomEnv=true! Just define a new environment variable FIRE_ENV and name your configs after the value of that variable. You can find more information on how to implement in our docs.

☘️ Small Improvements

  • Build error's are now displayed in red.
firebase-module - v1.1.0

Published by lupas almost 6 years ago

✨ New Features

  • Now nuxt-fire is REALLY just importing the Firebase products that you need, making your app lighter
  • Nuxt-fire now also checks for missing or invalid devConfig while in NODE_ENV===development

🐜 Bug Fixes

  • DuringNODE_ENV===development nuxt-fire is no longer checking for a missing production config
firebase-module - v1.0.1

Published by lupas almost 6 years ago

📄 Release Notes

Important bugfix & new way of adding options within nuxt.config.js.

✨ New Features

  • You can now separate the options from the module import like so:
modules: ['nuxt-fire'],

/*
** Nuxt-Fire Module
*/
fire: {
  config: {
  apiKey: '<apiKey>',
  authDomain: '<authDomain>',
  databaseURL: '<databaseURL>',
  projectId: '<projectId>',
  storageBucket: '<storageBucket>',
  messagingSenderId: '<messagingSenderId>'
  }
}

The other way with the array is of course still supported.

🐜 Bug Fixes

  • Fixed bug in loading options
firebase-module - v1.0.0

Published by lupas almost 6 years ago

📄 Release Notes

  • Small code cleanups
firebase-module - v0.0.3

Published by lupas almost 6 years ago

📄 Release Notes

  • fixed issues with Real-Time Database

⚠️This is just a barely working example and not fully tested. Please don't use this in production yet.

firebase-module - v0.0.2

Published by lupas almost 6 years ago

📄 Release Notes

  • renamed options.use to options.useOnly to make clear that if it is not set, all Firebase products will be loaded
  • options.useOnly can now be null
  • added error if options.config is missing or incomplete
  • created options.devConfig
  • added RealTime Database

⚠️This is just a barely working example and not fully tested. Please don't use this in production yet.

firebase-module - v0.0.1

Published by lupas almost 6 years ago

📄 Release Notes

Initial release of nuxt-fire.

⚠️This is just a barely working example and not fully tested. Please don't use this in production yet.