-
Notifications
You must be signed in to change notification settings - Fork 927
Adding experimentalAutoDetectLongPolling #3724
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…nrafi/webchannelupgrade
…base-js-sdk into khanrafi/webchannelupgrade
Size Analysis ReportAffected Products
|
Type | Base (f5d122a) | Head (f6e4264) | Diff |
---|---|---|---|
size | 2.63 kB | 2.64 kB | +8 B (+0.3%) |
size_with_ext_deps | 4.05 kB | 4.06 kB | +8 B (+0.2%) |
_DEFAULT_ENTRY_NAME
Size
Type | Base (f5d122a) | Head (f6e4264) | Diff |
---|---|---|---|
size | 2.63 kB | 2.64 kB | +8 B (+0.3%) |
size_with_ext_deps | 4.05 kB | 4.06 kB | +8 B (+0.2%) |
_addComponent
Size
Type | Base (f5d122a) | Head (f6e4264) | Diff |
---|---|---|---|
size | 2.61 kB | 2.62 kB | +8 B (+0.3%) |
size_with_ext_deps | 4.02 kB | 4.03 kB | +8 B (+0.2%) |
_addOrOverwriteComponent
Size
Type | Base (f5d122a) | Head (f6e4264) | Diff |
---|---|---|---|
size | 2.67 kB | 2.68 kB | +8 B (+0.3%) |
size_with_ext_deps | 4.09 kB | 4.10 kB | +8 B (+0.2%) |
_apps
Size
Type | Base (f5d122a) | Head (f6e4264) | Diff |
---|---|---|---|
size | 2.60 kB | 2.61 kB | +8 B (+0.3%) |
size_with_ext_deps | 4.02 kB | 4.02 kB | +8 B (+0.2%) |
_clearComponents
Size
Type | Base (f5d122a) | Head (f6e4264) | Diff |
---|---|---|---|
size | 2.63 kB | 2.64 kB | +8 B (+0.3%) |
size_with_ext_deps | 4.05 kB | 4.06 kB | +8 B (+0.2%) |
_components
Size
Type | Base (f5d122a) | Head (f6e4264) | Diff |
---|---|---|---|
size | 2.61 kB | 2.61 kB | +8 B (+0.3%) |
size_with_ext_deps | 4.02 kB | 4.03 kB | +8 B (+0.2%) |
_getProvider
Size
Type | Base (f5d122a) | Head (f6e4264) | Diff |
---|---|---|---|
size | 2.66 kB | 2.66 kB | +8 B (+0.3%) |
size_with_ext_deps | 4.07 kB | 4.08 kB | +8 B (+0.2%) |
_registerComponent
Size
Type | Base (f5d122a) | Head (f6e4264) | Diff |
---|---|---|---|
size | 2.61 kB | 2.62 kB | +8 B (+0.3%) |
size_with_ext_deps | 4.03 kB | 4.04 kB | +8 B (+0.2%) |
_removeServiceInstance
Size
Type | Base (f5d122a) | Head (f6e4264) | Diff |
---|---|---|---|
size | 2.73 kB | 2.74 kB | +8 B (+0.3%) |
size_with_ext_deps | 4.15 kB | 4.15 kB | +8 B (+0.2%) |
deleteApp
Size
Type | Base (f5d122a) | Head (f6e4264) | Diff |
---|---|---|---|
size | 2.75 kB | 2.76 kB | +10 B (+0.4%) |
size_with_ext_deps | 4.16 kB | 4.17 kB | +10 B (+0.2%) |
getApp
Size
Type | Base (f5d122a) | Head (f6e4264) | Diff |
---|---|---|---|
size | 2.71 kB | 2.71 kB | +8 B (+0.3%) |
size_with_ext_deps | 5.39 kB | 5.40 kB | +10 B (+0.2%) |
getApps
Size
Type | Base (f5d122a) | Head (f6e4264) | Diff |
---|---|---|---|
size | 2.64 kB | 2.65 kB | +8 B (+0.3%) |
size_with_ext_deps | 4.06 kB | 4.07 kB | +8 B (+0.2%) |
initializeApp
Size
Type | Base (f5d122a) | Head (f6e4264) | Diff |
---|---|---|---|
size | 3.69 kB | 3.70 kB | +10 B (+0.3%) |
size_with_ext_deps | 9.05 kB | 9.08 kB | +24 B (+0.3%) |
onLog
Size
Type | Base (f5d122a) | Head (f6e4264) | Diff |
---|---|---|---|
size | 2.74 kB | 2.74 kB | +8 B (+0.3%) |
size_with_ext_deps | 5.95 kB | 5.96 kB | +14 B (+0.2%) |
registerVersion
Size
Type | Base (f5d122a) | Head (f6e4264) | Diff |
---|---|---|---|
size | 2.61 kB | 2.62 kB | +8 B (+0.3%) |
size_with_ext_deps | 4.03 kB | 4.03 kB | +8 B (+0.2%) |
setLogLevel
Size
Type | Base (f5d122a) | Head (f6e4264) | Diff |
---|---|---|---|
size | 2.64 kB | 2.65 kB | +8 B (+0.3%) |
size_with_ext_deps | 4.11 kB | 4.12 kB | +10 B (+0.2%) |
@firebase/auth-exp
-
ActionCodeURL
Size
Type Base (f5d122a) Head (f6e4264) Diff size 44.7 kB 44.8 kB +42 B (+0.1%) size_with_ext_deps 55.4 kB 55.4 kB +70 B (+0.1%) -
AuthCredential
Size
Type Base (f5d122a) Head (f6e4264) Diff size 44.0 kB 44.1 kB +42 B (+0.1%) size_with_ext_deps 54.6 kB 54.7 kB +70 B (+0.1%) -
EmailAuthCredential
Size
Type Base (f5d122a) Head (f6e4264) Diff size 45.8 kB 45.8 kB +42 B (+0.1%) size_with_ext_deps 56.4 kB 56.5 kB +70 B (+0.1%) -
EmailAuthProvider
Size
Type Base (f5d122a) Head (f6e4264) Diff size 47.1 kB 47.2 kB +42 B (+0.1%) size_with_ext_deps 57.8 kB 57.8 kB +70 B (+0.1%) -
FacebookAuthProvider
Size
Type Base (f5d122a) Head (f6e4264) Diff size 47.1 kB 47.2 kB +42 B (+0.1%) size_with_ext_deps 57.8 kB 57.8 kB +70 B (+0.1%) -
GithubAuthProvider
Size
Type Base (f5d122a) Head (f6e4264) Diff size 47.1 kB 47.2 kB +42 B (+0.1%) size_with_ext_deps 57.8 kB 57.8 kB +70 B (+0.1%) -
GoogleAuthProvider
Size
Type Base (f5d122a) Head (f6e4264) Diff size 47.1 kB 47.2 kB +42 B (+0.1%) size_with_ext_deps 57.8 kB 57.8 kB +70 B (+0.1%) -
OAuthCredential
Size
Type Base (f5d122a) Head (f6e4264) Diff size 45.8 kB 45.9 kB +42 B (+0.1%) size_with_ext_deps 56.4 kB 56.5 kB +70 B (+0.1%) -
OAuthProvider
Size
Type Base (f5d122a) Head (f6e4264) Diff size 46.5 kB 46.6 kB +42 B (+0.1%) size_with_ext_deps 57.1 kB 57.2 kB +70 B (+0.1%) -
PhoneAuthCredential
Size
Type Base (f5d122a) Head (f6e4264) Diff size 45.7 kB 45.8 kB +42 B (+0.1%) size_with_ext_deps 56.4 kB 56.4 kB +70 B (+0.1%) -
PhoneAuthProvider
Size
Type Base (f5d122a) Head (f6e4264) Diff size 47.5 kB 47.5 kB +42 B (+0.1%) size_with_ext_deps 58.1 kB 58.2 kB +70 B (+0.1%) -
PhoneMultiFactorGenerator
Size
Type Base (f5d122a) Head (f6e4264) Diff size 44.7 kB 44.7 kB +42 B (+0.1%) size_with_ext_deps 55.3 kB 55.4 kB +70 B (+0.1%) -
RecaptchaVerifier
Size
Type Base (f5d122a) Head (f6e4264) Diff size 50.2 kB 50.3 kB +66 B (+0.1%) size_with_ext_deps 60.8 kB 60.9 kB +94 B (+0.2%) -
TwitterAuthProvider
Size
Type Base (f5d122a) Head (f6e4264) Diff size 47.1 kB 47.2 kB +42 B (+0.1%) size_with_ext_deps 57.8 kB 57.9 kB +70 B (+0.1%) -
applyActionCode
Size
Type Base (f5d122a) Head (f6e4264) Diff size 43.9 kB 43.9 kB +42 B (+0.1%) size_with_ext_deps 54.5 kB 54.6 kB +70 B (+0.1%) -
browserLocalPersistence
Size
Type Base (f5d122a) Head (f6e4264) Diff size 46.7 kB 46.7 kB +48 B (+0.1%) size_with_ext_deps 57.4 kB 57.4 kB +76 B (+0.1%) -
browserPopupRedirectResolver
Size
Type Base (f5d122a) Head (f6e4264) Diff size 55.6 kB 55.7 kB +70 B (+0.1%) size_with_ext_deps 66.4 kB 66.5 kB +98 B (+0.1%) -
browserSessionPersistence
Size
Type Base (f5d122a) Head (f6e4264) Diff size 44.4 kB 44.4 kB +42 B (+0.1%) size_with_ext_deps 55.0 kB 55.1 kB +70 B (+0.1%) -
checkActionCode
Size
Type Base (f5d122a) Head (f6e4264) Diff size 44.9 kB 44.9 kB +42 B (+0.1%) size_with_ext_deps 55.5 kB 55.6 kB +70 B (+0.1%) -
confirmPasswordReset
Size
Type Base (f5d122a) Head (f6e4264) Diff size 43.9 kB 43.9 kB +42 B (+0.1%) size_with_ext_deps 54.5 kB 54.6 kB +70 B (+0.1%) -
createUserWithEmailAndPassword
Size
Type Base (f5d122a) Head (f6e4264) Diff size 44.8 kB 44.8 kB +42 B (+0.1%) size_with_ext_deps 55.4 kB 55.5 kB +70 B (+0.1%) -
deleteUser
Size
Type Base (f5d122a) Head (f6e4264) Diff size 43.8 kB 43.8 kB +42 B (+0.1%) size_with_ext_deps 54.4 kB 54.5 kB +70 B (+0.1%) -
fetchSignInMethodsForEmail
Size
Type Base (f5d122a) Head (f6e4264) Diff size 44.1 kB 44.1 kB +42 B (+0.1%) size_with_ext_deps 54.7 kB 54.8 kB +70 B (+0.1%) -
getAdditionalUserInfo
Size
Type Base (f5d122a) Head (f6e4264) Diff size 45.0 kB 45.0 kB +42 B (+0.1%) size_with_ext_deps 55.6 kB 55.7 kB +70 B (+0.1%) -
getAuth
Size
Type Base (f5d122a) Head (f6e4264) Diff size 61.4 kB 61.5 kB +96 B (+0.2%) size_with_ext_deps 72.9 kB 73.0 kB +124 B (+0.2%) -
getIdToken
Size
Type Base (f5d122a) Head (f6e4264) Diff size 43.8 kB 43.8 kB +42 B (+0.1%) size_with_ext_deps 54.4 kB 54.5 kB +70 B (+0.1%) -
getIdTokenResult
Size
Type Base (f5d122a) Head (f6e4264) Diff size 43.8 kB 43.8 kB +42 B (+0.1%) size_with_ext_deps 54.4 kB 54.4 kB +70 B (+0.1%) -
getMultiFactorResolver
Size
Type Base (f5d122a) Head (f6e4264) Diff size 46.6 kB 46.7 kB +46 B (+0.1%) size_with_ext_deps 57.3 kB 57.3 kB +74 B (+0.1%) -
getRedirectResult
Size
Type Base (f5d122a) Head (f6e4264) Diff size 49.2 kB 49.3 kB +46 B (+0.1%) size_with_ext_deps 59.9 kB 59.9 kB +74 B (+0.1%) -
inMemoryPersistence
Size
Type Base (f5d122a) Head (f6e4264) Diff size 43.8 kB 43.8 kB +42 B (+0.1%) size_with_ext_deps 54.4 kB 54.4 kB +70 B (+0.1%) -
indexedDBLocalPersistence
Size
Type Base (f5d122a) Head (f6e4264) Diff size 46.8 kB 46.9 kB +62 B (+0.1%) size_with_ext_deps 57.4 kB 57.5 kB +90 B (+0.2%) -
initializeAuth
Size
Type Base (f5d122a) Head (f6e4264) Diff size 44.1 kB 44.1 kB +42 B (+0.1%) size_with_ext_deps 55.3 kB 55.4 kB +70 B (+0.1%) -
isSignInWithEmailLink
Size
Type Base (f5d122a) Head (f6e4264) Diff size 44.8 kB 44.9 kB +42 B (+0.1%) size_with_ext_deps 55.5 kB 55.5 kB +70 B (+0.1%) -
linkWithCredential
Size
Type Base (f5d122a) Head (f6e4264) Diff size 44.8 kB 44.8 kB +46 B (+0.1%) size_with_ext_deps 55.4 kB 55.5 kB +74 B (+0.1%) -
linkWithPhoneNumber
Size
Type Base (f5d122a) Head (f6e4264) Diff size 48.3 kB 48.4 kB +48 B (+0.1%) size_with_ext_deps 59.0 kB 59.0 kB +76 B (+0.1%) -
linkWithPopup
Size
Type Base (f5d122a) Head (f6e4264) Diff size 52.3 kB 52.3 kB +50 B (+0.1%) size_with_ext_deps 62.9 kB 63.0 kB +78 B (+0.1%) -
linkWithRedirect
Size
Type Base (f5d122a) Head (f6e4264) Diff size 47.3 kB 47.4 kB +46 B (+0.1%) size_with_ext_deps 58.0 kB 58.0 kB +74 B (+0.1%) -
multiFactor
Size
Type Base (f5d122a) Head (f6e4264) Diff size 45.8 kB 45.9 kB +48 B (+0.1%) size_with_ext_deps 56.5 kB 56.5 kB +76 B (+0.1%) -
onAuthStateChanged
Size
Type Base (f5d122a) Head (f6e4264) Diff size 43.8 kB 43.9 kB +42 B (+0.1%) size_with_ext_deps 54.4 kB 54.5 kB +70 B (+0.1%) -
onIdTokenChanged
Size
Type Base (f5d122a) Head (f6e4264) Diff size 43.8 kB 43.8 kB +42 B (+0.1%) size_with_ext_deps 54.4 kB 54.5 kB +70 B (+0.1%) -
parseActionCodeURL
Size
Type Base (f5d122a) Head (f6e4264) Diff size 44.8 kB 44.8 kB +42 B (+0.1%) size_with_ext_deps 55.4 kB 55.5 kB +70 B (+0.1%) -
reauthenticateWithCredential
Size
Type Base (f5d122a) Head (f6e4264) Diff size 45.4 kB 45.5 kB +44 B (+0.1%) size_with_ext_deps 56.0 kB 56.1 kB +72 B (+0.1%) -
reauthenticateWithPhoneNumber
Size
Type Base (f5d122a) Head (f6e4264) Diff size 48.9 kB 48.9 kB +46 B (+0.1%) size_with_ext_deps 59.5 kB 59.6 kB +74 B (+0.1%) -
reauthenticateWithPopup
Size
Type Base (f5d122a) Head (f6e4264) Diff size 52.3 kB 52.3 kB +50 B (+0.1%) size_with_ext_deps 62.9 kB 63.0 kB +78 B (+0.1%) -
reauthenticateWithRedirect
Size
Type Base (f5d122a) Head (f6e4264) Diff size 47.1 kB 47.1 kB +42 B (+0.1%) size_with_ext_deps 57.7 kB 57.8 kB +70 B (+0.1%) -
reload
Size
Type Base (f5d122a) Head (f6e4264) Diff size 43.7 kB 43.8 kB +42 B (+0.1%) size_with_ext_deps 54.4 kB 54.4 kB +70 B (+0.1%) -
sendEmailVerification
Size
Type Base (f5d122a) Head (f6e4264) Diff size 44.4 kB 44.4 kB +42 B (+0.1%) size_with_ext_deps 55.0 kB 55.0 kB +70 B (+0.1%) -
sendPasswordResetEmail
Size
Type Base (f5d122a) Head (f6e4264) Diff size 44.3 kB 44.3 kB +42 B (+0.1%) size_with_ext_deps 54.9 kB 55.0 kB +70 B (+0.1%) -
sendSignInLinkToEmail
Size
Type Base (f5d122a) Head (f6e4264) Diff size 44.3 kB 44.3 kB +42 B (+0.1%) size_with_ext_deps 54.9 kB 55.0 kB +70 B (+0.1%) -
setPersistence
Size
Type Base (f5d122a) Head (f6e4264) Diff size 43.8 kB 43.8 kB +42 B (+0.1%) size_with_ext_deps 54.4 kB 54.5 kB +70 B (+0.1%) -
signInAnonymously
Size
Type Base (f5d122a) Head (f6e4264) Diff size 44.9 kB 44.9 kB +42 B (+0.1%) size_with_ext_deps 55.5 kB 55.6 kB +70 B (+0.1%) -
signInWithCredential
Size
Type Base (f5d122a) Head (f6e4264) Diff size 45.1 kB 45.2 kB +44 B (+0.1%) size_with_ext_deps 55.7 kB 55.8 kB +72 B (+0.1%) -
signInWithCustomToken
Size
Type Base (f5d122a) Head (f6e4264) Diff size 44.8 kB 44.8 kB +42 B (+0.1%) size_with_ext_deps 55.4 kB 55.5 kB +70 B (+0.1%) -
signInWithEmailAndPassword
Size
Type Base (f5d122a) Head (f6e4264) Diff size 48.6 kB 48.6 kB +44 B (+0.1%) size_with_ext_deps 59.2 kB 59.3 kB +72 B (+0.1%) -
signInWithEmailLink
Size
Type Base (f5d122a) Head (f6e4264) Diff size 48.8 kB 48.8 kB +44 B (+0.1%) size_with_ext_deps 59.4 kB 59.5 kB +72 B (+0.1%) -
signInWithPhoneNumber
Size
Type Base (f5d122a) Head (f6e4264) Diff size 48.6 kB 48.6 kB +46 B (+0.1%) size_with_ext_deps 59.2 kB 59.3 kB +74 B (+0.1%) -
signInWithPopup
Size
Type Base (f5d122a) Head (f6e4264) Diff size 52.2 kB 52.3 kB +50 B (+0.1%) size_with_ext_deps 62.9 kB 63.0 kB +78 B (+0.1%) -
signInWithRedirect
Size
Type Base (f5d122a) Head (f6e4264) Diff size 46.8 kB 46.8 kB +42 B (+0.1%) size_with_ext_deps 57.4 kB 57.5 kB +70 B (+0.1%) -
signOut
Size
Type Base (f5d122a) Head (f6e4264) Diff size 43.8 kB 43.8 kB +42 B (+0.1%) size_with_ext_deps 54.4 kB 54.5 kB +70 B (+0.1%) -
unlink
Size
Type Base (f5d122a) Head (f6e4264) Diff size 44.4 kB 44.4 kB +48 B (+0.1%) size_with_ext_deps 55.0 kB 55.1 kB +76 B (+0.1%) -
updateCurrentUser
Size
Type Base (f5d122a) Head (f6e4264) Diff size 43.8 kB 43.8 kB +42 B (+0.1%) size_with_ext_deps 54.4 kB 54.5 kB +70 B (+0.1%) -
updateEmail
Size
Type Base (f5d122a) Head (f6e4264) Diff size 44.1 kB 44.1 kB +42 B (+0.1%) size_with_ext_deps 54.7 kB 54.7 kB +70 B (+0.1%) -
updatePassword
Size
Type Base (f5d122a) Head (f6e4264) Diff size 44.1 kB 44.1 kB +42 B (+0.1%) size_with_ext_deps 54.7 kB 54.7 kB +70 B (+0.1%) -
updatePhoneNumber
Size
Type Base (f5d122a) Head (f6e4264) Diff size 44.5 kB 44.5 kB +42 B (+0.1%) size_with_ext_deps 55.1 kB 55.2 kB +70 B (+0.1%) -
updateProfile
Size
Type Base (f5d122a) Head (f6e4264) Diff size 44.2 kB 44.3 kB +44 B (+0.1%) size_with_ext_deps 54.9 kB 54.9 kB +72 B (+0.1%) -
useDeviceLanguage
Size
Type Base (f5d122a) Head (f6e4264) Diff size 43.8 kB 43.8 kB +42 B (+0.1%) size_with_ext_deps 54.4 kB 54.5 kB +70 B (+0.1%) -
verifyBeforeUpdateEmail
Size
Type Base (f5d122a) Head (f6e4264) Diff size 44.4 kB 44.4 kB +42 B (+0.1%) size_with_ext_deps 55.0 kB 55.1 kB +70 B (+0.1%) -
verifyPasswordResetCode
Size
Type Base (f5d122a) Head (f6e4264) Diff size 44.9 kB 45.0 kB +42 B (+0.1%) size_with_ext_deps 55.6 kB 55.6 kB +70 B (+0.1%)
@firebase/functions-exp
-
getFunctions
Size
Type Base (f5d122a) Head (f6e4264) Diff size 1.99 kB 2.00 kB +10 B (+0.5%) size_with_ext_deps 5.87 kB 5.89 kB +18 B (+0.3%) -
httpsCallable
Size
Type Base (f5d122a) Head (f6e4264) Diff size 5.34 kB 5.36 kB +22 B (+0.4%) size_with_ext_deps 9.93 kB 9.96 kB +32 B (+0.3%) -
useFunctionsEmulator
Size
Type Base (f5d122a) Head (f6e4264) Diff size 1.95 kB 1.96 kB +10 B (+0.5%) size_with_ext_deps 5.80 kB 5.82 kB +18 B (+0.3%)
@firebase/installations-exp
-
deleteInstallations
Size
Type Base (f5d122a) Head (f6e4264) Diff size 8.90 kB 8.92 kB +20 B (+0.2%) size_with_ext_deps 17.3 kB 17.4 kB +30 B (+0.2%) -
getId
Size
Type Base (f5d122a) Head (f6e4264) Diff size 8.34 kB 8.36 kB +16 B (+0.2%) size_with_ext_deps 16.8 kB 16.8 kB +26 B (+0.2%) -
getInstallations
Size
Type Base (f5d122a) Head (f6e4264) Diff size 8.43 kB 8.44 kB +16 B (+0.2%) size_with_ext_deps 16.9 kB 16.9 kB +26 B (+0.2%) -
getToken
Size
Type Base (f5d122a) Head (f6e4264) Diff size 8.35 kB 8.36 kB +16 B (+0.2%) size_with_ext_deps 16.8 kB 16.8 kB +26 B (+0.2%) -
onIdChange
Size
Type Base (f5d122a) Head (f6e4264) Diff size 8.60 kB 8.62 kB +16 B (+0.2%) size_with_ext_deps 17.0 kB 17.1 kB +26 B (+0.2%)
@firebase/performance-exp
-
getPerformance
Size
Type Base (f5d122a) Head (f6e4264) Diff size 17.2 kB 17.3 kB +72 B (+0.4%) size_with_ext_deps 34.2 kB 34.3 kB +100 B (+0.3%) -
trace
Size
Type Base (f5d122a) Head (f6e4264) Diff size 17.1 kB 17.2 kB +72 B (+0.4%) size_with_ext_deps 34.1 kB 34.2 kB +100 B (+0.3%)
Test Logs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This core logic looks good.
Couple more homework items:
- This should have an integration test that uses this flag.
- There should be a changelog entry.
- Please undo all unrelated formatting changes.
@@ -146,6 +147,7 @@ const DEFAULT_HOST = 'firestore.googleapis.com'; | |||
const DEFAULT_SSL = true; | |||
const DEFAULT_TIMESTAMPS_IN_SNAPSHOTS = true; | |||
const DEFAULT_FORCE_LONG_POLLING = false; | |||
const DEFAULT_FORCE_AUTO_DETECT_LONG_POLLING = true; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please set this to false and use https://github.com/firebase/firebase-js-sdk/blob/master/packages/firestore/test/integration/util/helpers.ts#L160 to pass custom settings.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should I set this for both the emulator and prod settings in https://github.com/firebase/firebase-js-sdk/blob/master/packages/firestore/test/integration/util/settings.ts#L35 or should I be passing this in differently?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the only place you need to set it to false. What you have now applies to all settings, unless it is overridden by the user.
Co-authored-by: Sebastian Schmidt <[email protected]>
🦋 Changeset detectedLatest commit: c972e4c The changes in this PR will be included in the next version bump. This PR includes changesets to release 11 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Binary Size ReportAffected SDKs
Test Logs |
Co-authored-by: Sebastian Schmidt <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice! Landing 2 days before the quarter cutoff too :)
Can you follow the link that "changeset-bot" posted and add a short changelog?
Co-authored-by: Sebastian Schmidt <[email protected]>
Co-authored-by: Sebastian Schmidt <[email protected]>
@schmidt-sebastian - Thanks for the reminder on changesets. I've added the file but am not sure if this is a patch release vs minor. |
Co-authored-by: Sebastian Schmidt <[email protected]>
Co-authored-by: Sebastian Schmidt <[email protected]>
Changeset File Check ✅No modified packages are missing from the changeset file. |
Added @egilmorez as reviewer for documentation change to packages/firebase/index.d.ts |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One nit, otherwise everything in index.d.ts looks fine, thanks!
Adding back-ticks for literal
Bumping firebase minor version
Adding support for
experimentalAutoDetectLongPolling
. This PR includes validation to ensure mutual exclusive use withexperimentalForceLongPolling
flag and a unit test to ensure that behavior.In this PR the default value is
true
so that the code path gets hit during test runs; however, we don't want this in release builds yet. Need feedback on how to configure this correctly.