Bot releases are hidden (Show)
Published by jamesdaniels over 4 years ago
ng add @angular/fire
should correctly add the firebase
peerng add @angular/fire
will not duplicate settings entries, if they're already presentng add @angular/fire
will error if there are peer incompatabilitiesng deploy
should function correctly on Windows devicesng deploy
will now mark the Angular assets as immutable on Firebase HostingAngularFireAuthGuard
should no longer destablize Zone.jsPublished by jamesdaniels over 4 years ago
Version 6 of AngularFire drops support for Angular version 8 and below, older versions of typescript, Firebase, drops firebase-node
, database-deprecated
, and more.
firebase-tools
less than 8.0 has been droppedangularfire2
NPM shim will no longer be updated@angular/fire/firebase-node
and @angular/fire/database-depreciated
ng-packagr
to build the library, bringing us back up to speed on APF@NgModules
are now providedIn: 'any'
rather than singletonsAngularFirePerformanceMonitoring
since we now have Google Analyticsng add @angular/fire
will now detect SSR and you will have the option for ng deploy
to spin up a Cloud Function--preview
option on ng deploy
which will allow you to preview your application locally before continuing with the deploy@angular/fire
RealtimeDatabaseURL
and DATABASE_URL
DI tokens, use import { URL } from '@angular/fire/database'
insteadrunOutsideAngular
, runInZone
, FirebaseZoneScheduler
, and the Firebase*
type aliases@angular/fire/analytics
AngularFireAnalytics
now memozies analytics.Analtyics
instances keyed to the measurementId
, this prevents exceptions if you're using more than one FirebaseApp
with the same measurementId
. This is also needed as we are providedIn: 'any'
.@angular/fire/auth
AngularFireAuthModule
is now side-effect free and AngularFireAuth
will dynamically import firebase/auth
when a request is madeAngularFireAuth
has dropped the auth
property and instead Promise Proxies the underlying Firebase auth.Auth
instance@angular/fire/auth-guard
AngularFireAuthGuard
and canActivate
have dropped (attempted) support for raw AuthPipe
s, as they were not functioning in AOT builds; you'll want to move to AuthPipeGenerator
s@angular/fire/database
RealtimeDatabaseURL
and DATABASE_URL
DI tokens in favor of URL
@angular/fire/firestore
EnablePersistenceToken
DI token in favor of ENABLE_PERSISTENCE
PersistenceSettingsToken
DI token in favor of PERSISTENCE_SETTINGS
FirestoreSettingsToken
DI token in favor of SETTINGS
@angular/fire/functions
FunctionsRegionToken
and FUNCTIONS_REGION
DI tokens in favor of REGION
FUNCTIONS_ORIGIN
DI token in favor of ORIGIN
AngularFireFunctionsModule
is now side-effect free and AngularFireFunctions
will dynamically import firebase/functions
when a request is madeAngularFireFunctions
has dropped the functions
property and instead Promise Proxies the underlying Firebase functions.Functions
instance@angular/fire/messaging
AngularFireMessaging
's dynamic import of firebase/messaging
is now lazy, if you don't call any methods the SDK will not be loadedAngularFireMessaging
has dropped the messaging
property and instead Promise Proxies the underlying Firebase messaging.Messaging
instance@angular/fire/performance
AngularFirePerformance
has dropped the performance
property and instead Promise Proxies the underlying Firebase performance.Performance
instanceAngularFirePerformance
(trace
, traceUntil
, etc.) have been moved to pure-functions and can be imported separately from the class. (e.g, import { trace } from '@angular/fire/analytics'
) these pipes have been simplified and now use the User Timing APIApplicationRef.isStable
how now been moved to a service PerformanceMonitoringService
as such the AUTOMATICALLY_TRACE_CORE_NG_METRICS
DI token has been dropped@angular/fire/storage
StorageBucket
DI token in favor of BUCKET
getDownloadURL
and getMetadata
are no longer eagerupdateMetatdata
in favor of updateMetadata
which was a typoPublished by jamesdaniels over 4 years ago
Continued work on 6.0.
import 'firebase/firestore'
)Published by jamesdaniels over 4 years ago
Published by jamesdaniels over 4 years ago
Published by jamesdaniels over 4 years ago
firebase-tools
we were installing when you called ng add @angular/fire
was using deprecated API. (#2285) (5867eeb)ensureInitialized()
(#2290) (0d95523)Published by jamesdaniels over 4 years ago
Version 6 of AngularFire drops support for Angular version 8 and below, older versions of typescript, Firebase, drops firebase-node
, database-deprecated
, and more.
firebase-tools
less than 7.12 has been droppedangularfire2
NPM shim will no longer be updated@angular/fire/firebase-node
and @angular/fire/database-depreciated
ng-packagr
to build the library, bringing us back up to speed on APF@NgModules
are now providedIn: 'any'
rather than singletons@angular/fire
RealtimeDatabaseURL
and DATABASE_URL
DI tokens, use import { URL } from '@angular/fire/database'
insteadrunOutsideAngular
, runInZone
, FirebaseZoneScheduler
, and the Firebase*
type aliases@angular/fire/analytics
AngularFireAnalytics
now memozies analytics.Analtyics
instances keyed to the measurementId
, this prevents exceptions if you're using more than one FirebaseApp
with the same measurementId
. This is also needed as we are providedIn: 'any'
.@angular/fire/auth
AngularFireAuthModule
is now side-effect free and AngularFireAuth
will dynamically import firebase/auth
when a request is madeAngularFireAuth
has dropped the auth
property and instead Promise Proxies the underlying Firebase auth.Auth
instance@angular/fire/auth-guard
AngularFireAuthGuard
and canActivate
have dropped (attempted) support for raw AuthPipe
s, as they were not functioning in AOT builds; you'll want to move to AuthPipeGenerator
s@angular/fire/database
AngularFireDatabaseModule
no longer imports firebase/database
on it's own to remain side-effect free, you'll need to import 'firebase/database'
on your ownRealtimeDatabaseURL
and DATABASE_URL
DI tokens in favor of URL
@angular/fire/firestore
AngularFirestoreModule
no longer imports firebase/firestore
on it's own to remain side-effect free, you'll need to import 'firebase/firestore'
on your ownEnablePersistenceToken
DI token in favor of ENABLE_PERSISTENCE
PersistenceSettingsToken
DI token in favor of PERSISTENCE_SETTINGS
FirestoreSettingsToken
DI token in favor of SETTINGS
@angular/fire/functions
FunctionsRegionToken
and FUNCTIONS_REGION
DI tokens in favor of REGION
FUNCTIONS_ORIGIN
DI token in favor of ORIGIN
AngularFireFunctionsModule
is now side-effect free and AngularFireFunctions
will dynamically import firebase/functions
when a request is madeAngularFireFunctions
has dropped the functions
property and instead Promise Proxies the underlying Firebase functions.Functions
instance@angular/fire/messaging
AngularFireMessaging
's dynamic import of firebase/messaging
is now lazy, if you don't call any methods the SDK will not be loadedAngularFireMessaging
has dropped the messaging
property and instead Promise Proxies the underlying Firebase messaging.Messaging
instance@angular/fire/performance
AngularFirePerformance
has dropped the performance
property and instead Promise Proxies the underlying Firebase performance.Performance
instance@angular/fire/storage
AngularFireStorageModule
no longer imports firebase/storage
on it's own to remain side-effect free, you'll need to import 'firebase/storage'
on your ownStorageBucket
DI token in favor of BUCKET
Published by jamesdaniels almost 5 years ago
AngularFire 5.3 introduces Analytics and Remote Config modules.
Published by jamesdaniels almost 5 years ago
Final candidate for 5.3.0.
AngularFireAnalytics
and AngularFireRemoteConfig
should be safe in non-browser environments (mostly noop due to lack of support in the Firebase libraries, but should not cause runtime exceptions)ScreenTrackingService
should now be more reliable in reporting your component's selector (as screen_name
), especially in AOT mode.ScreenTrackingService
will console log screen_view
events when DEBUG_MODE
is enabled.Please test that screen_class
attribute is correct tracking your component's selector in Google Analytics for the ScreenTrackingService
both against AOT and JIT. There's some hard to test code here. Report your experience on #2187
Published by jamesdaniels almost 5 years ago
Continued work on AngularFireRemoteConfig
and AngularFireAnalytics
, see #2187
Published by jamesdaniels almost 5 years ago
Continued work on AngularFireRemoteConfig
and AngularFireAnalytics
, see #2187
Published by jamesdaniels almost 5 years ago
Continued work on AngularFireRemoteConfig
and AngularFireAnalytics
, see #2187
Published by jamesdaniels almost 5 years ago
Added AngularFireAnalytics
, AngularFireRemoteConfig
, and refactored the DI Tokens across the project. See #2187 for more details.
Published by jamesdaniels almost 5 years ago
Published by jamesdaniels almost 5 years ago
5.2.2
was mistakenly released to NPM @canary
due to a CI/CD bug. It was republished to @latest
as 5.2.3
.
Published by jamesdaniels over 5 years ago
AngularFire 5.2 introduces support for Angular 8 and version 6 of the Firebase SDK.
AngularFireMessaging
to be included in a server build (#1938) (9b870a9)AngularFirestoreCollection
's .doc
is optional (#1974) (c2354f8)Published by jamesdaniels over 5 years ago
This release candidate fixes errors that arise when you include either AngularFirePerformance
or AngularFireMessaging
in a server build.
AngularFirePerformance
lazy and replacing the dynamic import with empty()
in the UMDfirebase/messaging
with empty()
in the UMD, fixes #1938