Skip to content

Latest commit

 

History

History
328 lines (178 loc) · 21.9 KB

CHANGELOG.md

File metadata and controls

328 lines (178 loc) · 21.9 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

7.5.0 (2021-02-18)

Features

  • terminatedatabasesaftergenerate: added 'terminateDatabasesAfterGenerate' config (4df37a7), closes #451

Bug Fixes

  • config: made "databaseUrl" config value optional (fbb4a7d), closes #458
  • firestore: call useEmulator after enablePersistence to fix "already started" issue (bc16b45), closes #451

7.4.1 (2021-01-20)

Bug Fixes

  • auth: fixes build error appearing when auth.initialize is not set (71c3fb0), closes #446

7.4.0 (2021-01-19)

Features

  • auth: added onIdTokenChanged() handlers to auth.initialize (fcf0846), closes #411

7.3.3 (2021-01-18)

Bug Fixes

  • forceinject: fixed issue in lazy-mode that did not allow to initialize services in nuxt plugins (c5b5cb3), closes #366

7.3.2 (2021-01-17)

Bug Fixes

  • forceinject: fixed forceInject failing when ...ready() is called in a plugin in lazy mode (c15222f), closes #366

7.3.1 (2021-01-17)

Bug Fixes

  • lazy: fixed fireModule not being injected if ready() functions are only called in V-components (3f37365), closes #366

7.3.0 (2020-12-28)

Features

  • messaging sw: allow users to inject a string into the messaging sw (7e6174f)

7.2.3 (2020-12-28)

7.2.2 (2020-12-23)

Bug Fixes

  • auth: fixed issue where Firestore did not work in SSR because of Auth not being initialized (9482f16)
  • firestore-emulator: fixed issue that caused useEmulator to be triggered multiple times in SSR (ebac666), closes #390
  • messaging: fixed error with onFirebaseHosting in sw trying to load scripts from /__/ on lh (383b9cd), closes #379

7.2.1 (2020-12-22)

Bug Fixes

* auth: fixed 'auth' being initialized on server-side, which lead to a memory leak in SSR mode (daa9b9e), closes #399

⚠️⚠️⚠️ Release had a bug, please upgrade to v7.2.2. ⚠️⚠️

7.2.0 (2020-12-22)

Features

  • auth: added disableEmulatorWarnings option (1de60b9), closes #415

7.1.2 (2020-12-08)

Bug Fixes

  • types: fixed fcmPublicVapidKey not correctly placed in .d.ts (0c5c4a7)

7.1.1 (2020-11-14)

Bug Fixes

  • auth-emulator-ssr: call useEmulator in auth ssr service-worker, if emulator is in use (004e696)

7.0.0 (2020-10-31)

7.1.0 (2020-11-05)

Features

  • emulators: added options to connect to emulators for Firestore & RealtimeDB (c724e1c)

7.0.2 (2020-11-05)

Bug Fixes

  • messaging: fixed "actions" not properly passed to messaging-sw (53d48f7)
  • found action is always first action (31d0586)

7.0.1 (2020-11-05)

Bug Fixes

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

7.0.0 (2020-10-31)

Features

  • analytics.issupported: added check whether browser supports Firebase Analytics before init (52ec6ef)
  • auth: added initialize.subscribeManually and removed "helper" function (91ad279)
  • firebase-v8: updated code to work with Firebase v8+ (4ae48b5)
  • functions: added emulatorHost option to Firebase Functions (08db302)
  • add support for lazy service loading (4e96d28)

Bug 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)

6.1.1 (2020-07-25)

Bug Fixes

  • types: improve typing of locals (407eb2c)

6.1.0 (2020-06-29)

Features

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

Bug Fixes

6.0.1 (2020-06-08)

Bug Fixes

  • bug: fixed "Cannot read property 'memoryOnly' of undefined" bug (8f69cc3), closes #224

6.0.0 (2020-06-07)

⚠ BREAKING CHANGES

  • messaging: Messaging expects payloads to be delivered according to the new HTTP v1 API.

Features

  • auth: add idToken to user's payload (97d8055), closes #202
  • firestore: added memoryOnly option to firestore (efde3fe), closes #135
  • messaging: implement notificationKey setting (a985f02)
  • messaging: migrated to HTTP v1 API for messaging (9c09a26)

Bug Fixes

  • auth: add 127.0.0.1 support (c8b6114), closes #203
  • messaging: only pass notificationKey to messaging sw (5958b25)
  • types: specify preliminary types (d03799c)

5.2.0 (2020-05-01)

Features

  • auth: implement full ssr support (17c0968)
  • auth: implement session manager (5106f44)

Bug Fixes

  • helpers: helper plugins are now exported as CommonJS instaed of ES6 (806ecce)
  • main: move messaging support check below import statement (ca02c10)
  • main: remove references to removed session manager template (9bf87a3)
  • manager: use common js syntax for module imports/exports (be6ac76)
  • module: remove unnecessary deps and simplify options resolution (2501896)
  • ssr: avoid using session manager for simple user injection (8f26383)
  • ssr: check for req existence in ssr auth calls (675aeed)
  • templates: improve type checks for more stability (11d1f25)
  • types: update credential option to allow ServiceAccount object (427347d)
  • syntax on firebase module (d3da4e9)

5.0.7 (2020-04-06)

Bug Fixes

  • ssr-auth: fixed a regression bug in ssr auth (01411b3)

5.0.6 (2020-03-30)

Bug Fixes

  • auth: move ssrAuth plugin to the bottom of the module (b7d5fe3)

5.0.5 (2020-03-30)

5.0.4 (2020-03-30)

Bug Fixes

  • auth: use plugin instead of middleware for ssr authentication (9171b34)

5.0.3 (2020-03-18)

5.0.2 (2020-03-16)

5.0.1 (2020-03-15)

Bug Fixes

  • module: fix firebase-auth-sw only loaded when serverLogin === true (35c434b)

5.0.0 (2020-03-15)

⚠ BREAKING CHANGES

  • auth: moved sessionLifetime configuration key
  • auth: moved configuration key
  • auth: api changes
  • auth: success mutation/action properties removed in lieu of sign in/out mutations/actions
  • auth: set user object on res.locals.user as stipulated with @lupas

Features

  • auth: finialize server auth after tests (2f829a4)
  • auth: implement ignorePaths config for ssr functionality (82a6c2d), closes #87 #117
  • auth: implement persistence preset for auth service (b576f23), closes #122
  • auth: implement server side authentication (b545b74)
  • auth: implement server side client sdk sessions (3e07b01)
  • auth: implement sign in/out mutations and actions (4b4800e), closes #118
  • auth: simplify auth state changed handler (02b13a2)

Bug Fixes

  • auth: update createServerMiddleware function to be default export (1d6eb46)

  • auth: update import statement to point to correct file (2e299af)

  • auth: update variable names in render:routeDone (a93ed39)

  • auth: use error logger on auth verification failure (82e1a82)

  • types: augment correct interface in http module (7704581)

  • types: update AuthServiceConfig interface (577c880)

  • types: update server response augmentation (0419d12)

  • types: update types to make ssr options optional (99bfcde)

  • auth: update documentation (316894b)

4.2.2 (2020-03-10)

4.2.1 (2020-03-10)

4.2.0 (2020-03-10)

Features

  • add option to add fireStore.settings() in nuxt.config.js (21e32c1)

Bug Fixes

  • updated firebase version for firebase-auth-sw (2d460a8)

4.1.0 (2020-02-28)

Features

  • use consola instead of console (1d209d8)

Bug Fixes

  • add types (cd8ef74)
  • added links to license (d3320e8)
  • delete broken "related" link (e845d40)
  • re-added unintentionally removed isEmpty() (559b510)