Skip to content

Vaihi exp google ai rebase #9001

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

Closed
wants to merge 25 commits into from
Closed
Show file tree
Hide file tree
Changes from 9 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
1363ecc
Fix languageCode parameter in action_code_url (#8912)
pashanka Apr 16, 2025
a0bcc9a
Merge main into release
google-oss-bot Apr 22, 2025
20b45d3
test(vertexai): update mock responses to v10 (#8959)
dlarocque Apr 23, 2025
730f460
Cleanup
dlarocque Apr 23, 2025
b204e71
Version Packages (#8956)
google-oss-bot Apr 24, 2025
9952dbc
Merge branch 'release'
dlarocque Apr 24, 2025
0e94110
fix(vertexai): pass `GenerativeModel`'s `BaseParams` to `ChatSession`
dlarocque Apr 24, 2025
15d9699
Fix generative model tests to use fakeAI
dlarocque Apr 28, 2025
0e2558a
Improve the integration test coverage for online vs offline compariso…
ehsannas Apr 28, 2025
dd6a8f0
fix(vertexai): add missing quote to chat role error message (#8979)
dlarocque Apr 29, 2025
ea1f913
Auto Enable SSL for Firebase Studio (#8980)
maneesht Apr 29, 2025
6a1e02d
Add `packages/firebase/ai` directory for legacy resolvers
dlarocque Apr 29, 2025
dbdb762
Cleanup docs
dlarocque Apr 29, 2025
41b0385
[vertexai] Use json of unary-success-citations (#8981)
rlazo Apr 29, 2025
1d3b922
Use default location if location is empty string
dlarocque Apr 30, 2025
ee3e2a1
Merge branch 'main' into dl/genai
dlarocque Apr 30, 2025
44870ba
Merge branch 'dl/genai' of https://github.com/firebase/firebase-js-sd…
dlarocque Apr 30, 2025
0e12766
Add support for running the emulators in Cloud Workstation (#8968)
maneesht Apr 30, 2025
080a90d
Add Cookie Support For Firebase Studio (#8986)
maneesht May 1, 2025
4b6ab32
Replace 'vertexAI' error prefix with 'AI'
dlarocque May 1, 2025
1a41a92
Use Gemini Developer API and Gemini API in Vertex AI naming in docs
dlarocque May 2, 2025
cc1726d
update changeset
dlarocque May 2, 2025
6d8b119
Merge branch 'main' into dl/genai
dlarocque May 2, 2025
a516771
Update to Vertex AI Gemini API
dlarocque May 2, 2025
5ddf24c
Complete Hybrid inference impl
pashanka Apr 16, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions .changeset/cyan-frogs-relate.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/gentle-rocks-repeat.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/hungry-snails-drive.md

This file was deleted.

10 changes: 10 additions & 0 deletions .changeset/nice-plants-thank.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
"@firebase/database-compat": patch
"@firebase/database": patch
"@firebase/firestore": patch
"@firebase/functions": patch
"@firebase/storage": patch
"@firebase/util": patch
---

Auto Enable SSL for Firebase Studio
5 changes: 0 additions & 5 deletions .changeset/odd-wolves-sit.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/slow-students-fry.md

This file was deleted.

3 changes: 3 additions & 0 deletions common/api-review/util.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,9 @@ export function isBrowserExtension(): boolean;
// @public
export function isCloudflareWorker(): boolean;

// @public
export function isCloudWorkstation(host: string): boolean;

// Warning: (ae-missing-release-tag) "isElectron" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
Expand Down
8 changes: 4 additions & 4 deletions integration/compat-interop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
"test:debug": "karma start --browsers Chrome --auto-watch"
},
"dependencies": {
"@firebase/app": "0.11.4",
"@firebase/app-compat": "0.2.53",
"@firebase/app": "0.11.5",
"@firebase/app-compat": "0.2.54",
"@firebase/analytics": "0.10.12",
"@firebase/analytics-compat": "0.2.18",
"@firebase/auth": "1.10.0",
"@firebase/auth-compat": "0.5.20",
"@firebase/auth": "1.10.1",
"@firebase/auth-compat": "0.5.21",
"@firebase/functions": "0.12.3",
"@firebase/functions-compat": "0.3.20",
"@firebase/messaging": "0.12.17",
Expand Down
4 changes: 2 additions & 2 deletions integration/firestore/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"test:memory:debug": "yarn build:memory; karma start --auto-watch --browsers Chrome"
},
"dependencies": {
"@firebase/app": "0.11.4",
"@firebase/firestore": "4.7.10"
"@firebase/app": "0.11.5",
"@firebase/firestore": "4.7.11"
},
"devDependencies": {
"@types/mocha": "9.1.1",
Expand Down
2 changes: 1 addition & 1 deletion integration/messaging/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"test:manual": "mocha --exit"
},
"devDependencies": {
"firebase": "11.6.0",
"firebase": "11.6.1",
"chai": "4.5.0",
"chromedriver": "119.0.1",
"express": "4.21.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/analytics-compat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"@firebase/app-compat": "0.x"
},
"devDependencies": {
"@firebase/app-compat": "0.2.53",
"@firebase/app-compat": "0.2.54",
"rollup": "2.79.2",
"@rollup/plugin-json": "6.1.0",
"rollup-plugin-typescript2": "0.36.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/analytics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
},
"license": "Apache-2.0",
"devDependencies": {
"@firebase/app": "0.11.4",
"@firebase/app": "0.11.5",
"rollup": "2.79.2",
"@rollup/plugin-commonjs": "21.1.0",
"@rollup/plugin-json": "6.1.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/app-check-compat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
},
"license": "Apache-2.0",
"devDependencies": {
"@firebase/app-compat": "0.2.53",
"@firebase/app-compat": "0.2.54",
"rollup": "2.79.2",
"@rollup/plugin-commonjs": "21.1.0",
"@rollup/plugin-json": "6.1.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/app-check/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
},
"license": "Apache-2.0",
"devDependencies": {
"@firebase/app": "0.11.4",
"@firebase/app": "0.11.5",
"rollup": "2.79.2",
"@rollup/plugin-commonjs": "21.1.0",
"@rollup/plugin-json": "6.1.0",
Expand Down
7 changes: 7 additions & 0 deletions packages/app-compat/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @firebase/app-compat

## 0.2.54

### Patch Changes

- Updated dependencies []:
- @firebase/[email protected]

## 0.2.53

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/app-compat/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@firebase/app-compat",
"version": "0.2.53",
"version": "0.2.54",
"description": "The primary entrypoint to the Firebase JS SDK",
"author": "Firebase <[email protected]> (https://firebase.google.com/)",
"main": "dist/index.cjs.js",
Expand Down Expand Up @@ -37,7 +37,7 @@
},
"license": "Apache-2.0",
"dependencies": {
"@firebase/app": "0.11.4",
"@firebase/app": "0.11.5",
"@firebase/util": "1.11.0",
"@firebase/logger": "0.4.4",
"@firebase/component": "0.6.13",
Expand Down
6 changes: 6 additions & 0 deletions packages/app/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @firebase/app

## 0.11.5

### Patch Changes

- Update SDK_VERSION.

## 0.11.4

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@firebase/app",
"version": "0.11.4",
"version": "0.11.5",
"description": "The primary entrypoint to the Firebase JS SDK",
"author": "Firebase <[email protected]> (https://firebase.google.com/)",
"main": "dist/index.cjs.js",
Expand Down
7 changes: 7 additions & 0 deletions packages/auth-compat/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @firebase/auth-compat

## 0.5.21

### Patch Changes

- Updated dependencies [[`1363ecc`](https://github.com/firebase/firebase-js-sdk/commit/1363ecc533de0ba5bfcae206a831acc33f9020a6)]:
- @firebase/[email protected]

## 0.5.20

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions packages/auth-compat/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@firebase/auth-compat",
"version": "0.5.20",
"version": "0.5.21",
"description": "FirebaseAuth compatibility package that uses API style compatible with Firebase@8 and prior versions",
"author": "Firebase <[email protected]> (https://firebase.google.com/)",
"main": "dist/index.node.cjs.js",
Expand Down Expand Up @@ -49,15 +49,15 @@
"@firebase/app-compat": "0.x"
},
"dependencies": {
"@firebase/auth": "1.10.0",
"@firebase/auth": "1.10.1",
"@firebase/auth-types": "0.13.0",
"@firebase/component": "0.6.13",
"@firebase/util": "1.11.0",
"tslib": "^2.1.0"
},
"license": "Apache-2.0",
"devDependencies": {
"@firebase/app-compat": "0.2.53",
"@firebase/app-compat": "0.2.54",
"@rollup/plugin-json": "6.1.0",
"rollup": "2.79.2",
"rollup-plugin-replace": "2.2.0",
Expand Down
6 changes: 6 additions & 0 deletions packages/auth/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @firebase/auth

## 1.10.1

### Patch Changes

- [`1363ecc`](https://github.com/firebase/firebase-js-sdk/commit/1363ecc533de0ba5bfcae206a831acc33f9020a6) [#8912](https://github.com/firebase/firebase-js-sdk/pull/8912) - Fixed: `ActionCodeURL` not populating `languageCode` from the url.

## 1.10.0

### Minor Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/auth/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@firebase/auth",
"version": "1.10.0",
"version": "1.10.1",
"description": "The Firebase Authenticaton component of the Firebase JS SDK.",
"author": "Firebase <[email protected]> (https://firebase.google.com/)",
"main": "dist/node/index.js",
Expand Down Expand Up @@ -131,7 +131,7 @@
},
"license": "Apache-2.0",
"devDependencies": {
"@firebase/app": "0.11.4",
"@firebase/app": "0.11.5",
"@rollup/plugin-json": "6.1.0",
"@rollup/plugin-strip": "2.1.0",
"@types/express": "4.17.21",
Expand Down
14 changes: 7 additions & 7 deletions packages/auth/src/core/action_code_url.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ describe('core/action_code_url', () => {
'oobCode=CODE&mode=signIn&apiKey=API_KEY&' +
'continueUrl=' +
encodeURIComponent(continueUrl) +
'&languageCode=en&tenantId=TENANT_ID&state=bla';
'&lang=en&tenantId=TENANT_ID&state=bla';
const actionCodeUrl = ActionCodeURL.parseLink(actionLink);
expect(actionCodeUrl!.operation).to.eq(ActionCodeOperation.EMAIL_SIGNIN);
expect(actionCodeUrl!.code).to.eq('CODE');
Expand All @@ -46,7 +46,7 @@ describe('core/action_code_url', () => {
const actionLink =
'https://www.example.com/finishSignIn?' +
'oobCode=CODE&mode=signIn&apiKey=API_KEY&' +
'languageCode=en';
'lang=en';
const actionCodeUrl = ActionCodeURL.parseLink(actionLink);
expect(actionCodeUrl!.operation).to.eq(
ActionCodeOperation.EMAIL_SIGNIN
Expand All @@ -57,7 +57,7 @@ describe('core/action_code_url', () => {
const actionLink =
'https://www.example.com/finishSignIn?' +
'oobCode=CODE&mode=verifyAndChangeEmail&apiKey=API_KEY&' +
'languageCode=en';
'lang=en';
const actionCodeUrl = ActionCodeURL.parseLink(actionLink);
expect(actionCodeUrl!.operation).to.eq(
ActionCodeOperation.VERIFY_AND_CHANGE_EMAIL
Expand All @@ -68,7 +68,7 @@ describe('core/action_code_url', () => {
const actionLink =
'https://www.example.com/finishSignIn?' +
'oobCode=CODE&mode=verifyEmail&apiKey=API_KEY&' +
'languageCode=en';
'lang=en';
const actionCodeUrl = ActionCodeURL.parseLink(actionLink);
expect(actionCodeUrl!.operation).to.eq(
ActionCodeOperation.VERIFY_EMAIL
Expand All @@ -79,7 +79,7 @@ describe('core/action_code_url', () => {
const actionLink =
'https://www.example.com/finishSignIn?' +
'oobCode=CODE&mode=recoverEmail&apiKey=API_KEY&' +
'languageCode=en';
'lang=en';
const actionCodeUrl = ActionCodeURL.parseLink(actionLink);
expect(actionCodeUrl!.operation).to.eq(
ActionCodeOperation.RECOVER_EMAIL
Expand All @@ -90,7 +90,7 @@ describe('core/action_code_url', () => {
const actionLink =
'https://www.example.com/finishSignIn?' +
'oobCode=CODE&mode=resetPassword&apiKey=API_KEY&' +
'languageCode=en';
'lang=en';
const actionCodeUrl = ActionCodeURL.parseLink(actionLink);
expect(actionCodeUrl!.operation).to.eq(
ActionCodeOperation.PASSWORD_RESET
Expand All @@ -101,7 +101,7 @@ describe('core/action_code_url', () => {
const actionLink =
'https://www.example.com/finishSignIn?' +
'oobCode=CODE&mode=revertSecondFactorAddition&apiKey=API_KEY&' +
'languageCode=en';
'lang=en';
const actionCodeUrl = ActionCodeURL.parseLink(actionLink);
expect(actionCodeUrl!.operation).to.eq(
ActionCodeOperation.REVERT_SECOND_FACTOR_ADDITION
Expand Down
2 changes: 1 addition & 1 deletion packages/auth/src/core/action_code_url.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const enum QueryField {
API_KEY = 'apiKey',
CODE = 'oobCode',
CONTINUE_URL = 'continueUrl',
LANGUAGE_CODE = 'languageCode',
LANGUAGE_CODE = 'lang',
MODE = 'mode',
TENANT_ID = 'tenantId'
}
Expand Down
6 changes: 6 additions & 0 deletions packages/data-connect/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
## Unreleased

## 0.3.4

### Patch Changes

- [`1df3d26`](https://github.com/firebase/firebase-js-sdk/commit/1df3d26fbfb4db24b74d5d779825017e9ec40eaa) [#8898](https://github.com/firebase/firebase-js-sdk/pull/8898) - Fix DataConnectOperationError.

## 0.3.3

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/data-connect/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@firebase/data-connect",
"version": "0.3.3",
"version": "0.3.4",
"description": "",
"author": "Firebase <[email protected]> (https://firebase.google.com/)",
"main": "dist/index.node.cjs.js",
Expand Down Expand Up @@ -55,7 +55,7 @@
"tslib": "^2.1.0"
},
"devDependencies": {
"@firebase/app": "0.11.4",
"@firebase/app": "0.11.5",
"rollup": "2.79.2",
"rollup-plugin-typescript2": "0.36.0",
"typescript": "5.5.4"
Expand Down
2 changes: 1 addition & 1 deletion packages/database-compat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"tslib": "^2.1.0"
},
"devDependencies": {
"@firebase/app-compat": "0.2.53",
"@firebase/app-compat": "0.2.54",
"typescript": "5.5.4"
},
"repository": {
Expand Down
11 changes: 11 additions & 0 deletions packages/database-compat/test/database.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,17 @@ describe('Database Tests', () => {
expect((db as any)._delegate._repo.repoInfo_.isUsingEmulator).to.be.false;
});

it('uses ssl when useEmulator is called with ssl specified', () => {
const db = firebase.database();
const cloudWorkstation = 'abc.cloudworkstations.dev';
db.useEmulator(cloudWorkstation, 80);
expect((db as any)._delegate._repo.repoInfo_.isUsingEmulator).to.be.true;
expect((db as any)._delegate._repo.repoInfo_.host).to.equal(
`${cloudWorkstation}:80`
);
expect((db as any)._delegate._repo.repoInfo_.secure).to.be.true;
});

it('cannot call useEmulator after use', () => {
const db = (firebase as any).database();

Expand Down
2 changes: 1 addition & 1 deletion packages/database/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"tslib": "^2.1.0"
},
"devDependencies": {
"@firebase/app": "0.11.4",
"@firebase/app": "0.11.5",
"rollup": "2.79.2",
"rollup-plugin-typescript2": "0.36.0",
"typescript": "5.5.4"
Expand Down
Loading