Skip to content

Commit c9b0dde

Browse files
Merge main into release
2 parents 4271d24 + 479226b commit c9b0dde

File tree

294 files changed

+6195
-3588
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

294 files changed

+6195
-3588
lines changed

.changeset/beige-roses-cross.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@firebase/data-connect': patch
3+
---
4+
5+
- Throw error when calling `executeQuery` with mutations

.changeset/large-snakes-march.md

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'firebase': major
3+
'@firebase/vertexai': major
4+
---
5+
6+
Release VertexAI in Firebase for general availability.

.changeset/little-cows-tie.md

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
'@firebase/installations-compat': patch
3+
'@firebase/remote-config-compat': patch
4+
'@firebase/performance-compat': patch
5+
'@firebase/rules-unit-testing': patch
6+
'@firebase/webchannel-wrapper': patch
7+
'@firebase/analytics-compat': patch
8+
'@firebase/app-check-compat': patch
9+
'@firebase/firestore-compat': patch
10+
'@firebase/functions-compat': patch
11+
'@firebase/messaging-compat': patch
12+
'@firebase/database-compat': patch
13+
'@firebase/storage-compat': patch
14+
'@firebase/installations': patch
15+
'@firebase/remote-config': patch
16+
'@firebase/auth-compat': patch
17+
'@firebase/performance': patch
18+
'@firebase/app-compat': patch
19+
'@firebase/analytics': patch
20+
'@firebase/app-check': patch
21+
'@firebase/component': patch
22+
'@firebase/firestore': patch
23+
'@firebase/functions': patch
24+
'@firebase/messaging': patch
25+
'@firebase/database': patch
26+
'firebase': patch
27+
'@firebase/template': patch
28+
'@firebase/vertexai': patch
29+
'@firebase/storage': patch
30+
'@firebase/logger': patch
31+
'@firebase/auth': patch
32+
'@firebase/util': patch
33+
'@firebase/app': patch
34+
---
35+
36+
Remove ES5 bundles. The minimum required ES version is now ES2017.

.changeset/plenty-beers-decide.md

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
'@firebase/rules-unit-testing': patch
3+
'@firebase/firestore-compat': patch
4+
'@firebase/functions-compat': patch
5+
'@firebase/storage-compat': patch
6+
'@firebase/auth-compat': patch
7+
'@firebase/firestore': patch
8+
'@firebase/functions': patch
9+
'@firebase/storage': patch
10+
'@firebase/auth': patch
11+
---
12+
13+
Removed dependency on undici and node-fetch in our node bundles, replacing them with the native fetch implementation.

.changeset/shy-bikes-explain.md

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'@firebase/auth': minor
3+
'firebase': minor
4+
---
5+
6+
[feature] Added reCAPTCHA Enterprise support for app verification during phone authentication.

.changeset/slimy-cups-promise.md

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'@firebase/functions-compat': patch
3+
'@firebase/functions': patch
4+
---
5+
6+
Remove node bundle from the functions SDK as the node-specific fetch code has been removed in favor of using native fetch throughout the SDK.

.changeset/tall-birds-protect.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@firebase/data-connect": patch
3+
---
4+
5+
- Modified user agent to use language instead of platform

.changeset/tender-tips-hammer.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@firebase/functions': patch
3+
---
4+
5+
Make the `FunctionsError` class publicly exported.

.github/CODEOWNERS

+3
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ packages/database @maneesht @aashishpatil-g @firebase/jssdk-global-approvers
1515
packages/database-compat @maneesht @aashishpatil-g @firebase/jssdk-global-approvers
1616
packages/database-types @maneesht @aashishpatil-g @firebase/jssdk-global-approvers
1717

18+
# Data Connect Code
19+
packages/data-connect @maneesht @aashishpatil-g @firebase/jssdk-global-approvers
20+
1821
# Firestore Code
1922
packages/firestore @firebase/firestore-js-team @firebase/jssdk-global-approvers
2023
packages/firestore-compat @firebase/firestore-js-team @firebase/jssdk-global-approvers

.github/workflows/canary-deploy.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
NPM_TOKEN_STORAGE: ${{secrets.NPM_TOKEN_STORAGE}}
7272
NPM_TOKEN_STORAGE_TYPES: ${{secrets.NPM_TOKEN_STORAGE_TYPES}}
7373
NPM_TOKEN_UTIL: ${{secrets.NPM_TOKEN_UTIL}}
74-
NPM_TOKEN_VERTEXAI_PREVIEW: ${{secrets.NPM_TOKEN_VERTEXAI_PREVIEW}}
74+
NPM_TOKEN_VERTEXAI: ${{secrets.NPM_TOKEN_VERTEXAI}}
7575
NPM_TOKEN_WEBCHANNEL_WRAPPER: ${{secrets.NPM_TOKEN_WEBCHANNEL_WRAPPER}}
7676
NPM_TOKEN_FIREBASE: ${{secrets.NPM_TOKEN_FIREBASE}}
7777
NPM_TOKEN_APP_COMPAT: ${{ secrets.NPM_TOKEN_APP_COMPAT }}

.github/workflows/prerelease-manual-deploy.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
NPM_TOKEN_STORAGE: ${{secrets.NPM_TOKEN_STORAGE}}
7575
NPM_TOKEN_STORAGE_TYPES: ${{secrets.NPM_TOKEN_STORAGE_TYPES}}
7676
NPM_TOKEN_UTIL: ${{secrets.NPM_TOKEN_UTIL}}
77-
NPM_TOKEN_VERTEXAI_PREVIEW: ${{secrets.NPM_TOKEN_VERTEXAI_PREVIEW}}
77+
NPM_TOKEN_VERTEXAI: ${{secrets.NPM_TOKEN_VERTEXAI}}
7878
NPM_TOKEN_WEBCHANNEL_WRAPPER: ${{secrets.NPM_TOKEN_WEBCHANNEL_WRAPPER}}
7979
NPM_TOKEN_FIREBASE: ${{secrets.NPM_TOKEN_FIREBASE}}
8080
NPM_TOKEN_APP_COMPAT: ${{ secrets.NPM_TOKEN_APP_COMPAT }}

.github/workflows/release-prod.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
NPM_TOKEN_STORAGE: ${{secrets.NPM_TOKEN_STORAGE}}
8585
NPM_TOKEN_STORAGE_TYPES: ${{secrets.NPM_TOKEN_STORAGE_TYPES}}
8686
NPM_TOKEN_UTIL: ${{secrets.NPM_TOKEN_UTIL}}
87-
NPM_TOKEN_VERTEXAI_PREVIEW: ${{secrets.NPM_TOKEN_VERTEXAI_PREVIEW}}
87+
NPM_TOKEN_VERTEXAI: ${{secrets.NPM_TOKEN_VERTEXAI}}
8888
NPM_TOKEN_WEBCHANNEL_WRAPPER: ${{secrets.NPM_TOKEN_WEBCHANNEL_WRAPPER}}
8989
NPM_TOKEN_FIREBASE: ${{secrets.NPM_TOKEN_FIREBASE}}
9090
NPM_TOKEN_APP_COMPAT: ${{ secrets.NPM_TOKEN_APP_COMPAT }}

.github/workflows/release-staging.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ jobs:
110110
NPM_TOKEN_STORAGE: ${{secrets.NPM_TOKEN_STORAGE}}
111111
NPM_TOKEN_STORAGE_TYPES: ${{secrets.NPM_TOKEN_STORAGE_TYPES}}
112112
NPM_TOKEN_UTIL: ${{secrets.NPM_TOKEN_UTIL}}
113-
NPM_TOKEN_VERTEXAI_PREVIEW: ${{secrets.NPM_TOKEN_VERTEXAI_PREVIEW}}
113+
NPM_TOKEN_VERTEXAI: ${{secrets.NPM_TOKEN_VERTEXAI}}
114114
NPM_TOKEN_WEBCHANNEL_WRAPPER: ${{secrets.NPM_TOKEN_WEBCHANNEL_WRAPPER}}
115115
NPM_TOKEN_FIREBASE: ${{secrets.NPM_TOKEN_FIREBASE}}
116116
NPM_TOKEN_APP_COMPAT: ${{ secrets.NPM_TOKEN_APP_COMPAT }}

common/api-review/auth.api.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ export function isSignInWithEmailLink(auth: Auth, emailLink: string): boolean;
445445
export function linkWithCredential(user: User, credential: AuthCredential): Promise<UserCredential>;
446446

447447
// @public
448-
export function linkWithPhoneNumber(user: User, phoneNumber: string, appVerifier: ApplicationVerifier): Promise<ConfirmationResult>;
448+
export function linkWithPhoneNumber(user: User, phoneNumber: string, appVerifier?: ApplicationVerifier): Promise<ConfirmationResult>;
449449

450450
// @public
451451
export function linkWithPopup(user: User, provider: AuthProvider, resolver?: PopupRedirectResolver): Promise<UserCredential>;
@@ -625,7 +625,7 @@ export class PhoneAuthProvider {
625625
static readonly PHONE_SIGN_IN_METHOD: 'phone';
626626
static readonly PROVIDER_ID: 'phone';
627627
readonly providerId: "phone";
628-
verifyPhoneNumber(phoneOptions: PhoneInfoOptions | string, applicationVerifier: ApplicationVerifier): Promise<string>;
628+
verifyPhoneNumber(phoneOptions: PhoneInfoOptions | string, applicationVerifier?: ApplicationVerifier): Promise<string>;
629629
}
630630

631631
// @public
@@ -692,7 +692,7 @@ export interface ReactNativeAsyncStorage {
692692
export function reauthenticateWithCredential(user: User, credential: AuthCredential): Promise<UserCredential>;
693693

694694
// @public
695-
export function reauthenticateWithPhoneNumber(user: User, phoneNumber: string, appVerifier: ApplicationVerifier): Promise<ConfirmationResult>;
695+
export function reauthenticateWithPhoneNumber(user: User, phoneNumber: string, appVerifier?: ApplicationVerifier): Promise<ConfirmationResult>;
696696

697697
// @public
698698
export function reauthenticateWithPopup(user: User, provider: AuthProvider, resolver?: PopupRedirectResolver): Promise<UserCredential>;
@@ -778,7 +778,7 @@ export function signInWithEmailAndPassword(auth: Auth, email: string, password:
778778
export function signInWithEmailLink(auth: Auth, email: string, emailLink?: string): Promise<UserCredential>;
779779

780780
// @public
781-
export function signInWithPhoneNumber(auth: Auth, phoneNumber: string, appVerifier: ApplicationVerifier): Promise<ConfirmationResult>;
781+
export function signInWithPhoneNumber(auth: Auth, phoneNumber: string, appVerifier?: ApplicationVerifier): Promise<ConfirmationResult>;
782782

783783
// @public
784784
export function signInWithPopup(auth: Auth, provider: AuthProvider, resolver?: PopupRedirectResolver): Promise<UserCredential>;

common/api-review/functions.api.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,10 @@ export interface Functions {
1818
}
1919

2020
// @public
21-
export interface FunctionsError extends FirebaseError {
22-
readonly code: FunctionsErrorCode;
21+
export class FunctionsError extends FirebaseError {
22+
constructor(
23+
code: FunctionsErrorCodeCore, message?: string,
24+
details?: unknown);
2325
readonly details?: unknown;
2426
}
2527

0 commit comments

Comments
 (0)