Skip to content

Releases: nuxt-community/firebase-module

v7.0.2

05 Nov 21:50
Compare
Choose a tag to compare

🐜 Bug Fixes

  • Firebase Messaging: "Actions" option was not properly passed to servicer-worker
  • Firebase Messaging: If more than 1 action is set, the first action was always triggered and the others were ignored. (#346)

Thanks to

v7.0.1

05 Nov 15:24
Compare
Choose a tag to compare

Typescript

  • types: added missing types (emulatorHost etc.) (2a76c6b)

Thanks to @DamianGlowala

v7.0.0

31 Oct 18:15
3ab1fea
Compare
Choose a tag to compare

⚠️ BREAKING CHANGES IN VERSION 7.0.0!:
Version 7 brings major breaking changes. Make sure to carefully read through the migration guide when migrate your application.

Version 7 comes with a handful of new features and some breaking changes in the naming of the $fire injections.

Check out the new Lazy mode, which allows you to load the Firebase services only where you need them. See the documentation and try it out yourself.

Version 7 also adds support for Firebase v8+ and adds the option to add the Firebase Auth

Make sure to carefully read through the migration guide when updating to this version.

Changes

✨ New

  • Lazy Mode: add support for lazy service loading (4e96d28)
  • firebase-v8: updated code to work with Firebase v8+ (4ae48b5)
  • auth: Add emulatorPort and emulatorHost options for using a local Authentication Emulator (#356)
  • functions: added emulatorHost option to Firebase Functions (08db302)
  • auth: added initialize.subscribeManually and removed "helper" function (91ad279)
  • analytics: added check whether browser supports Firebase Analytics before init (52ec6ef)

☘️ Small improvements & fixes

  • analytics: Fixed service naming issue (addd317)
  • auth: Fixed initialize (c4b203d)
  • auth-credential: fixed auth-credential import (require) (faeed48)
  • auth-serverlogin: fixed serverLogin issue (ctx.res missing) (edd1a75)
  • fireObj: fireObj was not injected in non-lazy + non-legacy mode (dc66991)
  • initauth: async import of initAuth within auth plugin (36eb8f4)
  • initAuth: Fixed mmissing options in initAuth & small lazy mode fix (8e54384)
  • legacymodeinfo: fixed error 'Cannot use 'in' operator to search for 'legacyMode' in undefined ' (0684e64)
  • loggerinfo: added module name to legyMode info log because it's not clear on multi-line log (cb85c29)
  • naming: Improved readability by consistanly naming services constants (0d62e76)
  • netlify: updated netlify.toml (26f5aa9)
  • packageejson: missing comma (a6669fc)
  • remoteconfig: fixed 'defaultConfig' being child of 'settings' instead of main obj (7e1020c)
  • static: fixed static=true also dynamically importing the modules (cf61833)
  • ts: Added ready() to $fire and added missing 'storage' (bb78d3a)
  • ts: Fixed $fire.database (6bd9df9)
  • make initAuth work again (db8a467)
  • review comments (f5265ae)
  • use existing injection name (a6971ac)
  • use service mapping (33489a1)
  • use service mapping (bd16287)

Thanks to

v6.1.1

25 Jul 14:54
Compare
Choose a tag to compare

Bug Fixes

  • types: improve typing of locals (407eb2c)

Thanks a lot for the PR to @aaharu

v6.1.0

29 Jun 21:57
Compare
Choose a tag to compare

Features

  • analytics: added collectionEnabled option to analytics (5da8a19)

Thanks to @R3VoLuT1OneR

Bug Fixes

v6.0.0

07 Jun 19:18
Compare
Choose a tag to compare

⚠ Breaking Changes

  • messaging: Messaging expects payloads to be delivered according to the new HTTP v1 API, as documented in the Firebase Documentation.

If you are using the messaging.createServiceWorker option with message actions, make sure to read through the documentation again and adapt your message payload accordingly.
See here for example payload.

☘️ Improvements

  • firestore: added memoryOnly option to firestore (efde3fe), closes #135
  • auth: add idToken to user's payload (97d8055), closes #202
  • auth: add 127.0.0.1 support (c8b6114), closes #203

v5.2.0

01 May 19:32
Compare
Choose a tag to compare

☘️ Small Improvements

  • Auth: Improved SSR support & serverSide login by adding a session manager
  • Helpers: Helpers are now exported as CommonJS modules for compatibility.

Huge thanks to @mentAl-maZe for the changes in auth.

v5.0.7

06 Apr 17:31
Compare
Choose a tag to compare

🐜 Bug Fixes

  • SSR Auth: Fixed a regression bug in SSR Auth, where ssr: true did not load the ssrAuth.js plugin if no credentials were set.

v5.0.6

30 Mar 16:37
Compare
Choose a tag to compare

🐜 Bug Fixes

  • SSR Auth: move ssrAuth plugin to the bottom of the module

Thanks to @mentAl-maZe for the PR.

v5.0.5

30 Mar 14:28
Compare
Choose a tag to compare

🐜 Bug Fixes

  • Auth Server Login: Use plugin instead of middleware for SSR authentication to improve compatibility with custom server setups (Careful: Still experimental)

Thanks to @mentAl-maZe for the PR.