Skip to content

Releases: nuxt-community/firebase-module

v2.0.0

27 Jul 06:47
76c2630
Compare
Choose a tag to compare

✨ 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.

v1.4.1

16 May 04:35
Compare
Choose a tag to compare

✨ New

  • Added option functionsLocation to select location for Firebase Functions.

v1.4.0

16 May 03:58
Compare
Choose a tag to compare

✨ 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

v1.3.2

16 May 03:58
Compare
Choose a tag to compare

⚙️ Maintenance

  • Updated Firebase peerDependency to 6.0.2

v1.3.1

16 May 03:57
Compare
Choose a tag to compare

✨ New

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

⚙️ Maintenance

  • added default parameter to config in readme

v1.3.0

18 Jan 09:51
Compare
Choose a tag to compare

⚙️ Maintenance

  • Removed timestampInSnapshot=true setting for Firestore, which is no longer needed since Firebase SDK version 5.8.0

v1.2.7

04 Jan 16:50
Compare
Choose a tag to compare

✨ Improvements

  • Added type definitions for messaging

v1.2.1

22 Nov 17:06
Compare
Choose a tag to compare

✨ New

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

🐜 Bug Fixes

  • firebase is now a peerDependency instead of a dependency

v1.2.0

20 Nov 01:06
1bbecac
Compare
Choose a tag to compare

⚠️ 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.

v1.1.0

19 Nov 01:00
1bbecac
Compare
Choose a tag to compare

✨ 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