309 Commits
Author SHA1 Message Date
sedanah-mandGitHub e88c1c4126 feat(ai): support text-to-speech capabilities (single & multi-speaker configurations) for non-Live API models (#10145)
* feat(ai): implementmulti-speaker speech config; includes tests

* add changeset, fix typo

* fix: yarn format

* fix changeset

* fix changeset typo

* remove unnecessary tests; fix interface description to match proposal

* Generate documentation

* fix: yarn format & lint fix

* add more descriptive changeset

* Adds tests for speech config to check if its correctly passed through to the API requests for both generateContent and generateContentStream methods

* yarn format

* yarn format

* Refine changeset file description

* Fix typo

* format fix

* update description BaseSpeechConfig

* update descriptions

* format doc

* yarn format

* fix @ typo over MultiSpeakerSpeechConfig

* fix: adjusted description wording for the interfaces; fix: public tags to beta

* fix: formatting using @remarks

* fix: typo

* yarn format

* run yarn docgen:all

* update SpeechConfig to beta

* update speech config to beta

* upd SingleSpeakerSpeechConfig description

* doc generation
2026-07-27 13:40:50 -07:00
Christina HollandandGitHub d4366fcff5 fix(app-check,app): Revert app check default provider initialization (#10210) 2026-07-24 09:44:16 -07:00
Christina HollandandGitHub 811a603573 feat(ai): Add AgentPlatformBackend and deprecate VertexAIBackend (#10184) 2026-07-23 14:52:53 -07:00
Daniel La RocqueandGitHub e6df33b459 feat(firestore): Increase HTTP/2 flow control window (#10116) 2026-07-15 13:08:50 -04:00
Tushar KhandelwalandGitHub 74eb167774 Support realtime updates for Rollouts (#10106)
* Support realtime updates for Rollouts

* Map optimization and lint

* update changeset
2026-06-26 00:06:40 +05:30
DellaBittaandGitHub dd03437dbb feat(ai): Deprecate Google Maps Grounding enableWidget (#10035)
### Discussion

Marks the `enableWidget` field of the `GoogleMaps` interface as deprecated.

### Testing

None.

### API Changes

See `Discussion` above.
2026-06-16 10:47:02 -04:00
6e6fe20243 docs(firestore): fix formatting for pipelines docs (#9908)
* docs(firestore): fix formatting for docs code snippets

- Fixes `findNearest` example doc formatting, which was causing
  formatting to be lost for all subsequent APIs in the TOC in devsite.
- Removes `Example:` and `<p>Example:` from before all code examples,
  since we use `@example` for this.

* add changeset firebase

* Update packages/firestore/src/lite-api/pipeline.ts

* update docs

* docs(firestore): fix ref doc issues for piplines (#9912)

* docs(firestore): fix ref doc issues for piplines

* Update packages/firestore/src/lite-api/pipeline.ts

* Update packages/firestore/src/lite-api/pipeline.ts

* docs-devsite

---------

* docs(firestore): add missing `typescript` formatting to docs (#9909)

Adds `typescript` code formatting to the code examples in docs, where
they're missing.

* cleanup

* remove changeset

---------

Co-authored-by: Mark Duckworth <[email protected]>

Co-authored-by: Hanzo Dev <[email protected]>
2026-06-09 11:48:42 -05:00
wu-huiandGitHub 4703c99e12 merge off pipeline into main (#9929)
* chore(ci): make all firestore integration tests optional

* fix: align expressions and pipelines, address review comments, update yarn.lock, and fix package versions

* chore: update yarn.lock after merge

* fix: restore firestore package version and devDependencies to 4.15.0
2026-06-05 10:28:06 -04:00
Christina HollandandGitHub 3c3a1c1598 feat(app-check,app): Add ability for App Check to initialize with a default provider (#10023) 2026-06-03 13:45:20 -07:00
Christina HollandandGitHub f623ba3737 feat(ai): Update tags to mark hybrid inference features as GA (#9926) 2026-05-26 11:29:27 -07:00
Christina HollandandGitHub 013797f6df feat(ai)!: Add explicit initializeDeviceModel() method when using hybrid (#9800) 2026-05-26 10:04:04 -07:00
Christina HollandandGitHub 7398eedf58 fix(app-check): Fix getLimitedUseToken() (#9987) 2026-05-21 15:52:49 -07:00
Kai WuandGitHub 2f0f360ac8 Feat/messaging api series (#9917) 2026-05-19 14:30:28 -07:00
116b971d19 feature(firestore): added minimum and maximum FieldValue operations (#9913)
Co-authored-by: Hanzo Dev <[email protected]>
2026-05-19 09:23:10 -06:00
Paul BeusterienandGitHub 5d5fcc48cd feat(ai): ImageConfig and FinishReasons (#9819) 2026-04-29 13:28:51 -07:00
e327557a2a feat(firestore): Added search stage support for languageCode, offset, limit, and retrievalDepth (#9884)
* feat(firestore): Added search stage support for languageCode, offset, limit, and retrievalDepth

* Create four-bottles-marry.md

* docgen

* PR feedback

* Update packages/firestore/src/lite-api/stage_options.ts

Co-authored-by: Daniel La Rocque <[email protected]>

* Improve ref doc

* More search refDoc improvements

* Consistent capitalization of search within ref docs

* remove deleted rut file

* docs devsite

---------

Co-authored-by: Daniel La Rocque <[email protected]>
2026-04-29 13:55:37 -06:00
DellaBittaandGitHub ed491d18fc feat(ai) Google Maps Grounding Support (#9458)
### Discussion

Implement new tools to use Grounding with Google Maps, similar to how Grounding with Google Search works.

### Testing

Integration tests.
Unit tests.
Node standalone app.
Updated Quickstart React-based app (not part of this PR).

### API Changes

 - Grounding with Google Maps support, see internal doc: go/fal-maps-grounding-api
 - TemplateToolConfig, see internal doc: go/firebase-ai-server-prompt-template
2026-04-23 15:47:21 -04:00
Christina HollandandGitHub bc76f4ac9e feat(ai): Implement session resumption and context window compression for live api (#9795) 2026-04-23 11:55:31 -07:00
Christina HollandandGitHub 35b4614569 fix(ai): Update code execution and URL context doc comments to reflect they are public now (#9817) 2026-04-17 12:13:25 -07:00
Christina HollandandGitHub 35cabc6656 fix(ai): Fix TemplateChatSession type (#9840) 2026-04-17 11:50:31 -07:00
Christina HollandandGitHub e24ea18f35 feat(ai): Chat history and auto function calling for server templates (#9763) 2026-04-08 13:14:49 -07:00
Christina HollandandGitHub 3ea56bab25 fix(ai): deprecate topK and temperature for hybrid (#9816) 2026-04-08 13:09:08 -07:00
MilaandGitHub c85b8aa674 feat(firestore): Add array expressions (#9788) 2026-04-08 11:37:48 -04:00
Daniel La RocqueandGitHub aadbe5244e feat(firestore): replace Type enum with raw string. (#9725) 2026-04-07 11:34:10 -04:00
3bb8c3b518 feat(firestore): add the parent expression (#9773)
* Add support for parent expression

* Add documentation and fix formatting

* Add changeset

* Change path in tests as suggested by gemini auto review

* Update docs-devsite/firestore_pipelines.md

* Update docs-devsite/firestore_pipelines.md

* Update docs-devsite/firestore_lite_pipelines.md

* Update docs-devsite/firestore_lite_pipelines.md

* Update docs-devsite/firestore_pipelines.md

* Update docs-devsite/firestore_pipelines.md

* fix formatting and documentation

* Update documentation to make the return value clearer

* remove the ts ignore notation

* Remove beta notation and timeout for tests and regenerate documentation

---------

Co-authored-by: Hanzo Dev <[email protected]>
2026-04-07 11:14:35 -04:00
Daniel La RocqueandGitHub a2d9c81d87 feat(firestore): Add support for pipeline subqueries (#9720) 2026-04-02 11:46:25 -04:00
3dcdae71e8 feat(firestore): add public preview support for full-text search and geo search (#9734)
---------

Co-authored-by: Daniel La Rocque <[email protected]>
2026-04-02 08:42:13 -06:00
wu-huiandGitHub 8164654092 feat(firestore): remove beta tags for pipelines. (#9772) 2026-03-31 19:05:43 -04:00
Christina HollandandGitHub 0ebc209d60 docs(ai): Imagen deprecation comments (#9771) 2026-03-31 13:09:00 -07:00
MilaandGitHub d45c45dc76 feat(firestore): Add ifNull and coalesce expressions (#9753) 2026-03-31 12:13:12 -04:00
Yvonne PanandGitHub 1afa1c5e55 fix(firestore): Refactor the parameters for timestamp expressions and fix bug for timeGranularity lowercase (#9750)
* Add timestampTrunc, timestampDiff and timestampExtract expressions

* Add changeset

* Fix formatting

* Fix variable names to follow camelCase

* Generate documentation

* Fix the int64 documentation error

* Fix formatting

* Add a test for isoWeek for timestampTruncate

* Refactor the parameters for timestamp expressions and change all timegranularity value to lowercase

* Remove duplicate timePart variables

* Fix documentation error
2026-03-26 13:34:18 -04:00
Yvonne PanandGitHub 74553f7dd1 feat(firestore): add timestamp expressions (#9728)
* Add timestampTrunc, timestampDiff and timestampExtract expressions

* Add changeset

* Fix formatting

* Fix variable names to follow camelCase

* Generate documentation

* Fix the int64 documentation error

* Fix formatting

* Add a test for isoWeek for timestampTruncate
2026-03-25 12:19:17 -04:00
MilaandGitHub a739a0d2a0 feat(firestore): Add logical expressions (#9702) 2026-03-25 11:56:28 -04:00
Christina HollandandGitHub c129628062 feat(ai): Add responseJsonSchema (#9693)
Adds `responseJsonSchema` field, which takes an object in JSON Schema format.

Gemini docs examples show how to use the zod library to easily generate this object (https://ai.google.dev/gemini-api/docs/structured-output?example=recipe), and we should follow this with an example of how to do the same, somewhere in the Firebase guides. Maybe this page? https://firebase.google.com/docs/ai-logic/generate-structured-output?api=dev

Tested manually with Developer API and Vertex and both work.

Doc changes: Added text for `responseJsonSchema` and used `@remarks` to remove bulk of text of both `responseSchema` and `responseJsonSchema` from table of contents (full text is still in the section below).

Fixes #9625
2026-03-17 10:49:44 -04:00
Stephen RosaandGitHub 73865e5d1a feat(data-connect): Add validateArgsWithOptions() (#9614)
* update validateArgs to handle new options arguments

* add validateArgs unit tests

* split functionality into separate functions, add changeset

* add hasVars argument to help differentiate first argument

* update changelog

* export validateArgs

* remove vestigial console log

* update changeset
2026-03-17 07:40:26 -07:00
Daniel La RocqueandGitHub a9592e876d fix(firestore): read and write user data on pipeline execute (#9715) 2026-03-16 11:41:48 -04:00
Christina HollandandGitHub c2436a9aec Remove updateEmulatorBanner (#9608) 2026-03-03 09:36:05 -08:00
MilaandGitHub c73b799152 feat(firestore): Add array expressions (#9492) 2026-03-02 10:21:25 -05:00
Daniel La RocqueandGitHub a60183417a feat(firestore): add support for remaining map pipeline expressions (#9483) 2026-02-24 12:18:21 -05:00
Maneesh TewaniandGitHub 3182609bb2 feat(data-connect): Caching for FDC (#9439) 2026-02-23 15:30:27 -08:00
Daniel La RocqueandGitHub 7e2be93c09 feat(firestore): add isType expression (#9484) 2026-02-23 14:36:00 -05:00
Yvonne PanandGitHub 9469aec4de feat(firestore): add accumulators expressions (#9576)
* add first and last aggregation expressions

* add array_agg aggregation expression

* add array_agg_distinct aggregation expression

* Add changeset and documentation

* fix formatting

* add remark documentation for array_agg and array_agg_distinct
2026-02-23 11:44:14 -05:00
e53c4a66fd feat(firestore): add rand and trunc expressions (#9498)
* add rand and trunc expressions and tests

* Update packages/firestore/src/lite-api/expressions.ts

Co-authored-by: Daniel La Rocque <[email protected]>

* Update packages/firestore/src/lite-api/expressions.ts

Co-authored-by: Daniel La Rocque <[email protected]>

* Update packages/firestore/src/lite-api/expressions.ts

Co-authored-by: Daniel La Rocque <[email protected]>

---------

Co-authored-by: Daniel La Rocque <[email protected]>
2026-02-23 10:57:04 -05:00
Daniel La RocqueandGitHub 2791b5d283 feat(firestore): add string pipeline expressions (#9479) 2026-02-20 19:26:08 -05:00
Christina HollandandGitHub 58691f4fa2 feat(ai): Automatic function calling (#9489) 2026-02-18 11:38:38 -08:00
Christina HollandandGitHub 25f8814306 feat(ai): Remove preview tags from code execution and URL context features (#9475) 2026-01-30 09:59:13 -08:00
DellaBittaandGitHub 1ede45b3c5 feat(ai) Live Service Going Away notifications (#9461)
### Discussion

Support the handling of Going Away notifications in the Live Service. The service may send this event when the session is coming to a close due to timeout or nearing a token limit.

### Testing

Unit tests added.
Manual testing.

### API Changes

See internal [API proposal](https://goto.google.com/fal-firebase-api-live-api-goaway-message).
2026-01-29 16:06:21 -05:00
Christina HollandandGitHub 0af7345706 feat(ai): implicit caching feature (#9462) 2026-01-29 11:22:11 -08:00
Daniel La RocqueandGitHub 8fbee98eca feat(firestore): add support for regexFind and regexFindAll (#9459) 2026-01-26 12:56:52 -05:00
c2bea8d6f6 feat(rc): Web support for ABT & Rollouts (#9449)
Co-authored-by: Athira M <[email protected]>
2026-01-13 07:41:24 -08:00