Skip to content

Version Packages - #10080

Merged
hsubox76 merged 1 commit into
releasefrom
changeset-release/release
Jun 16, 2026
Merged

hsubox76 merged 1 commit into
releasefrom
changeset-release/release

Conversation

@google-oss-bot

@google-oss-bot google-oss-bot commented Jun 15, 2026 •

Copy link
Copy Markdown
Collaborator

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to release, this PR will be updated.

Releases

@firebase/app@0.15.0

Minor Changes

  • 420156e #10023 - Add ability to call initializeAppCheck without a provider. If no provider is passed to initializeAppCheck, App Check will attempt to initialize with a ReCaptchaEnterpriseProvider using the site key found in the recaptchaSiteKey field of the Firebase project config.

@firebase/app-check@0.12.0

Minor Changes

  • 420156e #10023 - Add ability to call initializeAppCheck without a provider. If no provider is passed to initializeAppCheck, App Check will attempt to initialize with a ReCaptchaEnterpriseProvider using the site key found in the recaptchaSiteKey field of the Firebase project config.

Patch Changes

  • e389f70 #9991 (fixes #9405) - Fix error causing Auth and AppCheck conflict when both are using ReCAPTCHA Enterprise.

firebase@12.15.0

Minor Changes

  • 043c0ab #9929 - Merge offline pipeline implementation with one minor API change

  • 420156e #10023 - Add ability to call initializeAppCheck without a provider. If no provider is passed to initializeAppCheck, App Check will attempt to initialize with a ReCaptchaEnterpriseProvider using the site key found in the recaptchaSiteKey field of the Firebase project config.

Patch Changes

  • Updated dependencies [043c0ab, e389f70, 420156e, 9bef5ab, 33521f2, 6a9d3d1, 712091c]:
    • @firebase/firestore@4.16.0
    • @firebase/app-check@0.12.0
    • @firebase/auth@1.13.3
    • @firebase/app@0.15.0
    • @firebase/ai@2.13.1
    • @firebase/remote-config@0.8.5
    • @firebase/auth-compat@0.6.8
    • @firebase/firestore-compat@0.4.11
    • @firebase/app-check-compat@0.4.5
    • @firebase/app-compat@0.5.14
    • @firebase/remote-config-compat@0.2.26

@firebase/firestore@4.16.0

Minor Changes

  • 043c0ab #9929 - Merge offline pipeline implementation with one minor API change

@firebase/ai@2.13.1

Patch Changes

  • 9bef5ab #10035 - Deprecated GoogleMaps.enableWidget, following the announcement by the Grounding for Google Maps service.

  • 6a9d3d1 #10026 (fixes #9006) - Wrap params.systemInstruction with formatSystemInstruction() in the ChatSession constructor.

@firebase/app-check-compat@0.4.5

Patch Changes

@firebase/app-compat@0.5.14

Patch Changes

  • Updated dependencies [420156e]:
    • @firebase/app@0.15.0

@firebase/auth@1.13.3

Patch Changes

  • e389f70 #9991 (fixes #9405) - Fix error causing Auth and AppCheck conflict when both are using ReCAPTCHA Enterprise.

  • 712091c #10049 - Update referrer policy for auth API requests from no-referrer to strict-origin-when-cross-origin to support HTTP Referrer-restricted API keys in browser environments.

@firebase/auth-compat@0.6.8

Patch Changes

  • 712091c #10049 - Update referrer policy for auth API requests from no-referrer to strict-origin-when-cross-origin to support HTTP Referrer-restricted API keys in browser environments.

  • Updated dependencies [e389f70, 712091c]:

    • @firebase/auth@1.13.3

@firebase/firestore-compat@0.4.11

Patch Changes

  • Updated dependencies [043c0ab]:
    • @firebase/firestore@4.16.0

@firebase/remote-config@0.8.5

Patch Changes

  • 33521f2 #10000 - Support ABT realtime when variant value matches default value of parameter

@firebase/remote-config-compat@0.2.26

Patch Changes

  • Updated dependencies [33521f2]:
    • @firebase/remote-config@0.8.5

@google-cla

google-cla Bot commented Jun 15, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request performs a release-related update across multiple Firebase packages, including bumping versions, updating dependencies, and removing changeset files. Key changes documented in the changelogs include merging the offline pipeline implementation in Firestore, adding the ability to initialize App Check without a provider, resolving a conflict between Auth and App Check when using ReCAPTCHA Enterprise, and updating the referrer policy for Auth API requests. There are no review comments to address, and I have no feedback to provide.

@github-actions

Copy link
Copy Markdown
Contributor

Vertex AI Mock Responses Check ⚠️

A newer major version of the mock responses for Vertex AI unit tests is available. update_vertexai_responses.sh should be updated to clone the latest version of the responses: v17.0

@github-actions
github-actions Bot force-pushed the changeset-release/release branch from 2e1b6eb to b267863 Compare June 16, 2026 18:01
@hsubox76
hsubox76 merged commit 05c2691 into release Jun 16, 2026
8 of 9 checks passed
@hsubox76
hsubox76 deleted the changeset-release/release branch June 16, 2026 18:41
macastelaz added a commit that referenced this pull request Jul 9, 2026
…h into main. (#10140)

* 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

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* 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

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

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

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* docs-devsite

---------

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* 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: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Mark Duckworth <1124037+MarkDuckworth@users.noreply.github.com>

* Support API key referrer restrictions by changing the Auth SDK referrer policy (#10049)

* feat(auth): Update referrer policy to strict-origin-when-cross-origin

* chore: Add changeset tame-yaks-yawn.md

* Fix querystring to always use apiKey even if a key is specified in the request (#10048)

* Fix querystring to always use apiKey even if a key is specified in the request

* Update packages/auth/src/api/index.ts

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* Fix test helper URL generation to match new querystring order

* Run yarn format

---------

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* Revert "chore(ci): make all firestore integration tests optional (#10028)" (#10073)

Also trigger Firestore tests when Firestore workflow files are modified.

* run ratchet (#10064)

* 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.

* Change setup-node@master to v4 (#10090)

* Version Packages (#10080)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* chore: add _customHeader setting for console (#10108)

* Fix querySnapshotFromJSON to preserve query sort order (#10107) (#10109)

* optimize linting speed repo-wide (#10110)

Enable eslint caching (--cache) across all package lint scripts and centralize cache files inside the root node_modules/.cache/eslint/ directory using the --cache-location option to prevent repository clutter.

Update the root lint script to run concurrently without topological sorting (--no-sort) to maximize CPU core usage.

Performance Data:
- Package-level (e.g. firestore):
  - Before: ~15-18s
  - After: ~4s (4x speedup)
- Repo-wide (yarn lint):
  - Before: ~35-40s
  - After: ~8.6s (4.3x speedup)

* ci(firestore): skip timestamp tests in safari that were failing due to rounding behavior (#10115)

* chore(format): optimize code formatting speed repo-wide (#10111)

Enable prettier caching (--cache) across all package prettier scripts and the main format script, and optimize the custom license header checker to read only the first 1000 bytes of each file.

Performance Data:
- Repo-wide formatting (yarn format --all):
  - Before caching: ~35-40s (uncached formatting + full license check)
  - After caching: ~5.8s (cached formatting + header-only license check)
  - Speedup: ~6x speedup

* Support realtime updates for Rollouts (#10106)

* Support realtime updates for Rollouts

* Map optimization and lint

* update changeset

* chore(auth): rm auth-commpat/demo and auth/cordova/demo (#10118)

* Security Audit & Remediation: repo-scripts/api-documenter (#10112)

* security-audit(api-documenter): purge abandonware colors and resolve dependencies

* security-audit(api-documenter): address review comments and update yarn.lock

* fix zizmor findings (#10044)

* don't persist unused credentials

* fix zizmor findings

* remove one persistence

* build(deps): Upgrade Lerna to 9.0.6 (#10032)

### Discussion

Upgrade `lerna` from `4.x` to `9.x`. This newer version of `lerna` is powered by `NX`, which also requires a newer minor version bump of `node` in our workflows, and slight changes our test execution parms.

The new version of Lerna is said to improve performance, and that seems to have exacerbated race conditions in the Auth test suites (@firebase/auth and @firebase/auth-compat). To resolve intermittent CI failures caused by these race conditions, I've configured these tests to run in serial instead of concurrently.

Also I needed to bump the node version of our workflows by 2 minor versions (20.10.0 -> 2.12.0) because Lerna 9.0.6 isn't supported in Node 20.10.0.

### Testing
 - Clean repo, clean cache, clean dependency installs.
 - CI, local builds and tests. 

Note: The Firestore WebKit failure in the optional CI execution list is a known issue (b/524995481).

### API Changes

None.

* build(deps): update deps with security issues (pass 1) (#10119)

* fix(ai): update deprecated gemini models strings" (#10043)

* update gemini models

* fix extra bracket error

* remove extra duplicate line

* fix lint error

* fix lint

* fix lint error

* fix prettier errors

* update gemini model in e2e

* revert tests

* yarn format

* Update AI integration tests and add new models

* yarn format

* chore: add minor changeset for hybrid fallback model update and revert generate-content.test

* revert old file: got rid of URL context and fixed tests

* revert cloud model change in src/constants to put in another PR

* delete changeset

* chore(data-connect): refactor streaming tests and change idle timeout back to 15s (#10133)

* re-organize tests, introduce helper function to flush microtask queue

* fix some formatting and ordering

* return idle timeout to 15 seconds

* address reviewer comments

* run yarn format

* address reviewer comments

* fix tests calling closeConnection twice

* update changeset to patch

---------

Co-authored-by: Daniel La Rocque <dlarocque@google.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Mark Duckworth <1124037+MarkDuckworth@users.noreply.github.com>
Co-authored-by: Google Open Source Bot <firebase-oss-bot@google.com>
Co-authored-by: wu-hui <53845758+wu-hui@users.noreply.github.com>
Co-authored-by: Morgan Chen <morganchen12@gmail.com>
Co-authored-by: DellaBitta <DellaBitta@users.noreply.github.com>
Co-authored-by: Christina Holland <chholland@google.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Tushar Khandelwal <64364243+tusharkhandelwal8@users.noreply.github.com>
Co-authored-by: Thomas Bouldin <inlined@users.noreply.github.com>
Co-authored-by: sedanah-m <mashhour@google.com>
Co-authored-by: Stephen Rosa <84193009+stephenarosaj@users.noreply.github.com>
ssakhamu added a commit that referenced this pull request Jul 10, 2026
* 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 <dlarocque@google.com>

* 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 <dlarocque@google.com>

* chore: Update picomatch and rollup-plugin-typescript2 (#9892)

* build(deps): bump picomatch from 2.3.1 to 2.3.2

Bumps [picomatch](https://github.com/micromatch/picomatch) from 2.3.1 to 2.3.2.
- [Release notes](https://github.com/micromatch/picomatch/releases)
- [Changelog](https://github.com/micromatch/picomatch/blob/master/CHANGELOG.md)
- [Commits](micromatch/picomatch@2.3.1...2.3.2)

---
updated-dependencies:
- dependency-name: picomatch
  dependency-version: 2.3.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* Upgrade picomatch and rollup-plugin-typescript2

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* feat(ai): ImageConfig and FinishReasons (#9819)

* fix(firestore): Assertion ID: ca9 (pendingResponses less than 0) caused by target creation race condition (#9842)

* implement remote store target mapping

* Add spec test for removeTarget race condition

* cleanup

* Update packages/firestore/src/remote/remote_store.ts

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* cleanup

* Create loud-camels-cross.md

* Fix PR concerns and new tests

* Cleanup possible leak in watchChangeAggregator

* fix build issue with spec tests

* Fix integration test failure when running against public api

* another build fix

* Update spec test builder and runner to allow the spec test to specify the index of a target ID used for a query for some watch message types

* lint

* add Remote and SDK TargetID types

* Fix tests for SDK and Remote TargetId types

* refactor spec test to add step watchUsesTargetIndex and remove steps where the target index is passed to individual steps

* Remove unnecessary  values passed to watchRemoves

* Removed unused helpers

---------

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* build(deps): bump axios from 1.13.5 to 1.15.2 (#9860)

Bumps [axios](https://github.com/axios/axios) from 1.13.5 to 1.15.2.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](axios/axios@v1.13.5...v1.15.2)

---
updated-dependencies:
- dependency-name: axios
  dependency-version: 1.15.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: migrate test functions to v2 (#9910)

* feat(data-connect): add de-duplication, resume, and intelligent reconnection with backoff (#9905)

* chore(data-connect): update documentation and names in stream transport (#9846)

* rename in preparation for future changes

* finish renaming + updating comments

* minor typo fix

* feat(data-connect): add query de-duplication to stream transport (#9850)

* rename in preparation for future changes

* finish renaming + updating comments

* minor typo fix

* add de-duping - now for tests

* add de-duplication tests for invokeQuery

* finish invoke operation dedupe tests

* add subscribe de-duping as well

* add more query dedupe tests

* chore(data-connect): clean up streaming tests a bit (#9851)

* rename in preparation for future changes

* finish renaming + updating comments

* minor typo fix

* add de-duping - now for tests

* add de-duplication tests for invokeQuery

* finish invoke operation dedupe tests

* add subscribe de-duping as well

* add more query dedupe tests

* clean up stream tests

* clean up promise types in streaming tests

* Pasta/bucatini resume refactor (#9885)

* add test changes

* add transportchanges

* finalize changes, run yarn format

* finalize changes based on reviewer feedback

* feat(data-connect): add prefer resume over execute optimization to stream transport (#9879)

* initial implementation - now for testing

* finish tests

* merge pasta/bucatini-resume-refactor

* address reviewer comments

* remove old comments

* address reviewer comments

* feat(data-connect): add intelligent reconnection to streaming transport and harden disconnect/cleanup functionality (#9893)

* WIP

* first pass

* fixing names

* tidying up, fixing tests

* fixed tests

* address reviewer comments

* address reviewer comments and harden close/cleanup lifecycle

* address reviewer comments

* make listener registering and unregistering more robust

* merge main, add changeset

* chore: fix e2e tests for functions and AI (#9924)

* Version Packages (#9923)

Release v12.13.0

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* fix(messaging): wire Firelog delivery metrics flush (startLoggingService) (#9916)

* fix(data-connect): Reduce Stream Transport Idle Timeout to Instant (#9936)

* reduce idle cooldown to instant

* run yarn format and add changeset

* update changelog

* fix(ai): Fix sendMessageStream bug that sends duplicate user turns (#9956)

* build(deps): bump protobufjs from 7.5.5 to 7.5.8 in /e2e/smoke-tests (#9958)

Bumps [protobufjs](https://github.com/protobufjs/protobuf.js) from 7.5.5 to 7.5.8.
- [Release notes](https://github.com/protobufjs/protobuf.js/releases)
- [Changelog](https://github.com/protobufjs/protobuf.js/blob/protobufjs-v7.5.8/CHANGELOG.md)
- [Commits](protobufjs/protobuf.js@protobufjs-v7.5.5...protobufjs-v7.5.8)

---
updated-dependencies:
- dependency-name: protobufjs
  dependency-version: 7.5.8
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* test(firestore): skip database source test that is timing out (#9966)

* test(firestore): skip database source test that is timing out

The test database keeps growing, causing this tests executionn time to
keep growing, repeatedly exceeding new timeouts we set. For now, let's
just skip this test.

* add eslint disable

* fix(auth): retry IndexedDB availability check on startup failure (#9845)

* fix(auth): retry IndexedDB availability check on startup failure

In environments like Chrome Extension Manifest V3 Service Workers, the initial IndexedDB transaction upon a cold start can sometimes drop or timeout. Previously, `_isAvailable()` would immediately catch the error, assume IndexedDB is broken, and silently fall back to `inMemoryPersistence`.

This updates `_isAvailable()` to use the `_withRetries()` helper, ensuring it benefits from the same retry logic as actual storage operations. This prevents the SDK from incorrectly abandoning existing IndexedDB auth state.

Fixes #9732

* style(auth): run yarn format

* chore: add changeset for IndexedDB availability check retry

* fix(auth): robust IndexedDB connection handling and test stability

* build(deps-dev): bump protobufjs in /packages/firestore (#9960)

Merge rules bypassed due to errant format diff.

Bumps [protobufjs](https://github.com/protobufjs/protobuf.js) from 7.5.5 to 7.5.6.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/protobufjs/protobuf.js/releases">protobufjs's releases</a>.</em></p>
<blockquote>
<h2>protobufjs: v7.5.6</h2>
<h2><a href="https://github.com/protobufjs/protobuf.js/compare/protobufjs-v7.5.5...protobufjs-v7.5.6">7.5.6</a> (2026-04-27)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>Backport input hardening and CLI fixes to 7.x (<a href="https://redirect.github.com/protobufjs/protobuf.js/issues/2173">#2173</a>) (<a href="https://github.com/protobufjs/protobuf.js/commit/75392ea1b78bdc4faba027b5db44ad7c50e9c454">75392ea</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/protobufjs/protobuf.js/blob/protobufjs-v7.5.6/CHANGELOG.md">protobufjs's changelog</a>.</em></p>
<blockquote>
<h2><a href="https://github.com/protobufjs/protobuf.js/compare/protobufjs-v7.5.5...protobufjs-v7.5.6">7.5.6</a> (2026-04-27)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>Backport input hardening and CLI fixes to 7.x (<a href="https://redirect.github.com/protobufjs/protobuf.js/issues/2173">#2173</a>) (<a href="https://github.com/protobufjs/protobuf.js/commit/75392ea1b78bdc4faba027b5db44ad7c50e9c454">75392ea</a>)</li>
</ul>
<h2><a href="https://github.com/protobufjs/protobuf.js/compare/protobufjs-v7.5.3...protobufjs-v7.5.4">7.5.4</a> (2025-08-15)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>invalid syntax in descriptor.proto (<a href="https://redirect.github.com/protobufjs/protobuf.js/issues/2092">#2092</a>) (<a href="https://github.com/protobufjs/protobuf.js/commit/5a3769a465fead089a533ad55c21d069299df760">5a3769a</a>)</li>
</ul>
<h2><a href="https://github.com/protobufjs/protobuf.js/compare/protobufjs-v7.5.2...protobufjs-v7.5.3">7.5.3</a> (2025-05-28)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>descriptor extensions handling post-editions (<a href="https://redirect.github.com/protobufjs/protobuf.js/issues/2075">#2075</a>) (<a href="https://github.com/protobufjs/protobuf.js/commit/6e255d4ad6982cc857f26e1731c2cedcf5796f68">6e255d4</a>)</li>
</ul>
<h2><a href="https://github.com/protobufjs/protobuf.js/compare/protobufjs-v7.5.1...protobufjs-v7.5.2">7.5.2</a> (2025-05-14)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>ensure that types are always resolved (<a href="https://redirect.github.com/protobufjs/protobuf.js/issues/2068">#2068</a>) (<a href="https://github.com/protobufjs/protobuf.js/commit/4b51cb2b8450b77f9f5de1c562e7fae93b19d040">4b51cb2</a>)</li>
</ul>
<h2><a href="https://github.com/protobufjs/protobuf.js/compare/protobufjs-v7.5.0...protobufjs-v7.5.1">7.5.1</a> (2025-05-08)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>optimize regressions from editions implementations (<a href="https://redirect.github.com/protobufjs/protobuf.js/issues/2066">#2066</a>) (<a href="https://github.com/protobufjs/protobuf.js/commit/6406d4c18afae309fc7b5f4a24d9674d85da180b">6406d4c</a>)</li>
<li>reserved field inside group blocks fail parsing (<a href="https://redirect.github.com/protobufjs/protobuf.js/issues/2058">#2058</a>) (<a href="https://github.com/protobufjs/protobuf.js/commit/56782bff0c4b5132806eb1a6bc4d08f930c4aaad">56782bf</a>)</li>
</ul>
<h2><a href="https://github.com/protobufjs/protobuf.js/compare/protobufjs-v7.4.0...protobufjs-v7.5.0">7.5.0</a> (2025-04-15)</h2>
<h3>Features</h3>
<ul>
<li>add Edition 2023 Support (<a href="https://github.com/protobufjs/protobuf.js/commit/f04ded3a03a3ddd383f0228e2fe2627a51f31aa3">f04ded3</a>)</li>
<li>add Edition 2023 Support (<a href="https://github.com/protobufjs/protobuf.js/commit/ac9a3b9fe3134d48187e41b08d54ffaceddc6c1b">ac9a3b9</a>)</li>
<li>add Edition 2023 Support (<a href="https://github.com/protobufjs/protobuf.js/commit/e5ca5c84e326699e10258367883a54934e0bfe14">e5ca5c8</a>)</li>
<li>add Edition 2023 Support (<a href="https://github.com/protobufjs/protobuf.js/commit/a84409b47f9ba0dba56da1af8054fb54f85d85a1">a84409b</a>)</li>
<li>add Edition 2023 Support (<a href="https://github.com/protobufjs/protobuf.js/commit/9c5a178c4b59e0aa65ecac0bd7420171213b2ff9">9c5a178</a>)</li>
<li>add Edition 2023 Support (<a href="https://github.com/protobufjs/protobuf.js/commit/b2c686721e3b63d092419fa1cbe58e1deb89534e">b2c6867</a>)</li>
<li>add Edition 2023 Support (<a href="https://github.com/protobufjs/protobuf.js/commit/60f3e51087ca2c247473410f39331e1c766aefef">60f3e51</a>)</li>
<li>add Edition 2023 Support (<a href="https://github.com/protobufjs/protobuf.js/commit/a6563617de04d510d6e8865eb6c5067f10247f64">a656361</a>)</li>
<li>add Edition 2023 Support (<a href="https://github.com/protobufjs/protobuf.js/commit/869a95b1e5f553c76243aac45619061407a41084">869a95b</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/protobufjs/protobuf.js/commit/2189e5beeca6a70e4c104dfdb9fb8200bc5f81fe"><code>2189e5b</code></a> chore: release protobufjs-v7.x (<a href="https://redirect.github.com/protobufjs/protobuf.js/issues/2174">#2174</a>)</li>
<li><a href="https://github.com/protobufjs/protobuf.js/commit/75392ea1b78bdc4faba027b5db44ad7c50e9c454"><code>75392ea</code></a> fix: Backport input hardening and CLI fixes to 7.x (<a href="https://redirect.github.com/protobufjs/protobuf.js/issues/2173">#2173</a>)</li>
<li><a href="https://github.com/protobufjs/protobuf.js/commit/8af8d7c0e9800879625f7d0d4a7fb51beb4410cd"><code>8af8d7c</code></a> chore(ci): Fix 7.x release please configuration (<a href="https://redirect.github.com/protobufjs/protobuf.js/issues/2169">#2169</a>)</li>
<li><a href="https://github.com/protobufjs/protobuf.js/commit/e92ca42244ad67203b48d836290062dae037ead6"><code>e92ca42</code></a> chore(ci): Enable release-please for 7.x (<a href="https://redirect.github.com/protobufjs/protobuf.js/issues/2166">#2166</a>)</li>
<li>See full diff in <a href="https://github.com/protobufjs/protobuf.js/compare/protobufjs-v7.5.5...protobufjs-v7.5.6">compare view</a></li>
</ul>
</details>
<details>
<summary>Maintainer changes</summary>
<p>This version was pushed to npm by <a href="https://www.npmjs.com/~GitHub%20Actions">GitHub Actions</a>, a new releaser for protobufjs since your current version.</p>
</details>
<br />

* build(deps): bump @protobufjs/utf8 (#9952)

Bumps [@protobufjs/utf8](https://github.com/dcodeIO/protobuf.js) from 1.1.0 to 1.1.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/dcodeIO/protobuf.js/releases">@​protobufjs/utf8's releases</a>.</em></p>
<blockquote>
<h2>protobufjs-cli: v1.1.1</h2>
<h2><a href="https://github.com/protobufjs/protobuf.js/compare/protobufjs-cli-v1.1.0...protobufjs-cli-v1.1.1">1.1.1</a> (2023-02-02)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>cli:</strong> fix relative path to Google pb files (<a href="https://redirect.github.com/protobufjs/protobuf.js/issues/1859">#1859</a>) (<a href="https://github.com/protobufjs/protobuf.js/commit/e42eea4868b11f4a07934804a56683321ed191e2">e42eea4</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/protobufjs/protobuf.js/commit/644d588c0495da6a570344248e1b5af901bc3b0c"><code>644d588</code></a> chore: release master (<a href="https://redirect.github.com/dcodeIO/protobuf.js/issues/1865">#1865</a>)</li>
<li><a href="https://github.com/protobufjs/protobuf.js/commit/e42eea4868b11f4a07934804a56683321ed191e2"><code>e42eea4</code></a> fix(cli): fix relative path to Google pb files (<a href="https://redirect.github.com/dcodeIO/protobuf.js/issues/1859">#1859</a>)</li>
<li><a href="https://github.com/protobufjs/protobuf.js/commit/dce9a2ef92d363752e40b295b0da9bd178f82e83"><code>dce9a2e</code></a> fix: use bundled filename to fix common pb includes (<a href="https://redirect.github.com/dcodeIO/protobuf.js/issues/1860">#1860</a>)</li>
<li><a href="https://github.com/protobufjs/protobuf.js/commit/64e8936ad9f73c68b3fa1e57857dd38323b5a745"><code>64e8936</code></a> fix: use ES5 style function syntax (<a href="https://redirect.github.com/dcodeIO/protobuf.js/issues/1830">#1830</a>)</li>
<li><a href="https://github.com/protobufjs/protobuf.js/commit/4489fa771464bcb49b57149760e9cc4131e8077e"><code>4489fa7</code></a> Revert &quot;fix: error should be thrown (<a href="https://redirect.github.com/dcodeIO/protobuf.js/issues/1817">#1817</a>)&quot; (<a href="https://redirect.github.com/dcodeIO/protobuf.js/issues/1864">#1864</a>)</li>
<li>See full diff in <a href="https://github.com/dcodeIO/protobuf.js/compare/protobufjs-cli-v1.1.0...protobufjs-cli-v1.1.1">compare view</a></li>
</ul>
</details>
<br />

* build(deps): bump @protobufjs/utf8 (#9949)

Bumps [@protobufjs/utf8](https://github.com/dcodeIO/protobuf.js) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/dcodeIO/protobuf.js/releases)
- [Changelog](https://github.com/protobufjs/protobuf.js/blob/master/CHANGELOG.md)
- [Commits](protobufjs/protobuf.js@protobufjs-cli-v1.1.0...protobufjs-cli-v1.1.1)

---
updated-dependencies:
- dependency-name: "@protobufjs/utf8"
  dependency-version: 1.1.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump protobufjs from 7.5.5 to 7.5.8 (#9973)

Bumps [protobufjs](https://github.com/protobufjs/protobuf.js) from 7.5.5 to 7.5.8.
- [Release notes](https://github.com/protobufjs/protobuf.js/releases)
- [Changelog](https://github.com/protobufjs/protobuf.js/blob/protobufjs-v7.5.8/CHANGELOG.md)
- [Commits](protobufjs/protobuf.js@protobufjs-v7.5.5...protobufjs-v7.5.8)

---
updated-dependencies:
- dependency-name: protobufjs
  dependency-version: 7.5.8
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): bump protobufjs-cli from 1.1.3 to 1.2.1 (#9955)

Bumps [protobufjs-cli](https://github.com/protobufjs/protobuf.js) from 1.1.3 to 1.2.1.
- [Release notes](https://github.com/protobufjs/protobuf.js/releases)
- [Changelog](https://github.com/protobufjs/protobuf.js/blob/master/CHANGELOG.md)
- [Commits](protobufjs/protobuf.js@protobufjs-cli-v1.1.3...protobufjs-cli-v1.2.1)

---
updated-dependencies:
- dependency-name: protobufjs-cli
  dependency-version: 1.2.1
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump protobufjs from 7.4.0 to 7.5.9 in /e2e/data-connect (#9977)

Bumps [protobufjs](https://github.com/protobufjs/protobuf.js) from 7.4.0 to 7.5.9.
- [Release notes](https://github.com/protobufjs/protobuf.js/releases)
- [Changelog](https://github.com/protobufjs/protobuf.js/blob/protobufjs-v7.5.9/CHANGELOG.md)
- [Commits](protobufjs/protobuf.js@protobufjs-v7.4.0...protobufjs-v7.5.9)

---
updated-dependencies:
- dependency-name: protobufjs
  dependency-version: 7.5.9
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* feature(firestore): added minimum and maximum FieldValue operations (#9913)

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* fix(changelog-generator): fix postinstall build failure (#9948)

The fix has two parts:

1. Add `"types": ["node"]` to tsconfig.

2. Fix an incorrect type cast in `index.ts`. The parsed GitHub API response
   was being cast to the DOM `Response` type to access its `.body` property,
   which is wrong — `Response.body` is a `ReadableStream`, not a string. The
   actual value is the parsed JSON from the GitHub PR API, whose `body` field
   is `string | null` per the API schema. Updated the cast accordingly.

Resolves #9947

* Feat/messaging api series (#9917)

* fix(app-check): Fix getLimitedUseToken() (#9987)

* fix(remoteconfig): Stopping last running experiment must call updateActiveExperiments (#9981)

Context: Currently, experiments are updated at activation only if the fetch response explicitly contains an experiments payload.

Problem: When the last running experiment is stopped, the fetch response returns experiments as undefined. This causes the client to skip the update call entirely, meaning the local state never registers that the experiment was stopped.

Fix: If fetch response does not contain experiments, pass an empty list to update

* fix(firestore): improved robustness and logging in query listen stream creation and re-creation (#9985)

* implement onSubChange for FID-based registration (#9996)

* implement onSubChange for FID-based registration

* Persist VAPID key in FID registration metadata to fix re-registration issue

* Enforce mutual exclusivity of token and FID registrations in DB layer

* Notify clients in onSubChange on successful FID refresh

- Update onSubChange to notify window clients when FID registration is refreshed. Previously it did not notify clients.
- Update refreshFidRegistrationIfStored to return the current FID.
- Update onSubChange to use the returned FID and only notify if the refresh was successful.
- Add unit tests to verify client notification on success, failure, and when not registered.
- Fix a lint error in window-listener.ts by adding the FidRegisteredPayload interface.

---------

Co-authored-by: Kai Wu <zwu52@users.noreply.github.com>

* feat(ai)!: Add explicit `initializeDeviceModel()` method when using hybrid (#9800)

* feat(ai): Update tags to mark hybrid inference features as GA (#9926)

* Version Packages (#10004)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* fix(auth,app-check): Fix Auth/AppCheck ReCAPTCHA Enterprise conflict (#9991)

* fix(remoteconfig) Support ABT realtime when variant value matches default value of parameter

When an experiment is added whose variant value matches default value, the parameter key is not listed as updated. This becomes a problem when the client app calls activate only on config change as the experiment will not get started

Before fix - https://screencast.googleplex.com/cast/NDgxNTYwNjU0NDA3MjcwNHxiOWY1MmIyNy1iMQ
After fix - https://screencast.googleplex.com/cast/NDcxODUwODQ0MDAyNzEzNnwzODc2YTRlMC01MA

* chore: Add explicit types to tsconfig (#10015)

* Update CODEOWNERS for auth packages (#10001)

* feat(app-check,app): Add ability for App Check to initialize with a default provider (#10023)

* chore(ci): make all firestore integration tests optional (#10028)

* 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

* fix(ai): format systemInstruction string in ChatSession constructor (#10026)

* fix(ai): format systemInstruction string in ChatSession constructor

* adding a changeset file

* test(ai): verify systemInstruction in sendMessage and sendMessageStream

* remove extra folder in changeset

* remove extra changeset file

* restore deleted file

* adding check if systemInstruction is not null/undefined

* simplify systemInstruction assignment

* fix lint error

* revert to original structure

* 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

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* 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

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

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

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* docs-devsite

---------

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* 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: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Mark Duckworth <1124037+MarkDuckworth@users.noreply.github.com>

* Support API key referrer restrictions by changing the Auth SDK referrer policy (#10049)

* feat(auth): Update referrer policy to strict-origin-when-cross-origin

* chore: Add changeset tame-yaks-yawn.md

* Fix querystring to always use apiKey even if a key is specified in the request (#10048)

* Fix querystring to always use apiKey even if a key is specified in the request

* Update packages/auth/src/api/index.ts

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* Fix test helper URL generation to match new querystring order

* Run yarn format

---------

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* Revert "chore(ci): make all firestore integration tests optional (#10028)" (#10073)

Also trigger Firestore tests when Firestore workflow files are modified.

* run ratchet (#10064)

* 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.

* Change setup-node@master to v4 (#10090)

* Version Packages (#10080)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* chore: add _customHeader setting for console (#10108)

* Fix querySnapshotFromJSON to preserve query sort order (#10107) (#10109)

* optimize linting speed repo-wide (#10110)

Enable eslint caching (--cache) across all package lint scripts and centralize cache files inside the root node_modules/.cache/eslint/ directory using the --cache-location option to prevent repository clutter.

Update the root lint script to run concurrently without topological sorting (--no-sort) to maximize CPU core usage.

Performance Data:
- Package-level (e.g. firestore):
  - Before: ~15-18s
  - After: ~4s (4x speedup)
- Repo-wide (yarn lint):
  - Before: ~35-40s
  - After: ~8.6s (4.3x speedup)

* ci(firestore): skip timestamp tests in safari that were failing due to rounding behavior (#10115)

* chore(format): optimize code formatting speed repo-wide (#10111)

Enable prettier caching (--cache) across all package prettier scripts and the main format script, and optimize the custom license header checker to read only the first 1000 bytes of each file.

Performance Data:
- Repo-wide formatting (yarn format --all):
  - Before caching: ~35-40s (uncached formatting + full license check)
  - After caching: ~5.8s (cached formatting + header-only license check)
  - Speedup: ~6x speedup

* Support realtime updates for Rollouts (#10106)

* Support realtime updates for Rollouts

* Map optimization and lint

* update changeset

* chore(auth): rm auth-commpat/demo and auth/cordova/demo (#10118)

* Security Audit & Remediation: repo-scripts/api-documenter (#10112)

* security-audit(api-documenter): purge abandonware colors and resolve dependencies

* security-audit(api-documenter): address review comments and update yarn.lock

* fix zizmor findings (#10044)

* don't persist unused credentials

* fix zizmor findings

* remove one persistence

* build(deps): Upgrade Lerna to 9.0.6 (#10032)

### Discussion

Upgrade `lerna` from `4.x` to `9.x`. This newer version of `lerna` is powered by `NX`, which also requires a newer minor version bump of `node` in our workflows, and slight changes our test execution parms.

The new version of Lerna is said to improve performance, and that seems to have exacerbated race conditions in the Auth test suites (@firebase/auth and @firebase/auth-compat). To resolve intermittent CI failures caused by these race conditions, I've configured these tests to run in serial instead of concurrently.

Also I needed to bump the node version of our workflows by 2 minor versions (20.10.0 -> 2.12.0) because Lerna 9.0.6 isn't supported in Node 20.10.0.

### Testing
 - Clean repo, clean cache, clean dependency installs.
 - CI, local builds and tests. 

Note: The Firestore WebKit failure in the optional CI execution list is a known issue (b/524995481).

### API Changes

None.

* build(deps): update deps with security issues (pass 1) (#10119)

* fix(ai): update deprecated gemini models strings" (#10043)

* update gemini models

* fix extra bracket error

* remove extra duplicate line

* fix lint error

* fix lint

* fix lint error

* fix prettier errors

* update gemini model in e2e

* revert tests

* yarn format

* Update AI integration tests and add new models

* yarn format

* chore: add minor changeset for hybrid fallback model update and revert generate-content.test

* revert old file: got rid of URL context and fixed tests

* revert cloud model change in src/constants to put in another PR

* delete changeset

* chore(data-connect): refactor streaming tests and change idle timeout back to 15s (#10133)

* re-organize tests, introduce helper function to flush microtask queue

* fix some formatting and ordering

* return idle timeout to 15 seconds

* address reviewer comments

* run yarn format

* address reviewer comments

* fix tests calling closeConnection twice

* update changeset to patch

* fix: Resolve duplicate assertion ID and add check to Firestore CI (#10138)

* Update re2js version (#10104)

* Update re2js

* Update re2js, add changeset

* chore(changeset): use @firebase/firestore patch bump per review comment (#10104)

---------

Co-authored-by: wu-hui <wu.hui.github@gmail.com>

* build: put include-dependencies flag back (#10137)

* Merge release into main

version 12.16.0

Co-authored-by: Google Open Source Bot <firebase-oss-bot@google.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update crashlytics package.json with new firebase dependency versions

* yarn format

* adding removed @firebase/crashlytics dependency back in

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Mark Duckworth <1124037+MarkDuckworth@users.noreply.github.com>
Co-authored-by: Daniel La Rocque <dlarocque@google.com>
Co-authored-by: Christina Holland <chholland@google.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Paul Beusterien <paulbeusterien@google.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Google Open Source Bot <firebase-oss-bot@google.com>
Co-authored-by: Stephen Rosa <84193009+stephenarosaj@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: DellaBitta <drsanta@google.com>
Co-authored-by: Kai Wu <zwu52@users.noreply.github.com>
Co-authored-by: macastelaz <34776182+macastelaz@users.noreply.github.com>
Co-authored-by: swseverance <swseverance@gmail.com>
Co-authored-by: Athira M <athiramanu9400@gmail.com>
Co-authored-by: Doris-Ge <dorisge@google.com>
Co-authored-by: wu-hui <53845758+wu-hui@users.noreply.github.com>
Co-authored-by: sedanah-m <mashhour@google.com>
Co-authored-by: Morgan Chen <morganchen12@gmail.com>
Co-authored-by: DellaBitta <DellaBitta@users.noreply.github.com>
Co-authored-by: Tushar Khandelwal <64364243+tusharkhandelwal8@users.noreply.github.com>
Co-authored-by: Thomas Bouldin <inlined@users.noreply.github.com>
Co-authored-by: Oleksii Vasyliev <le0pard@users.noreply.github.com>
Co-authored-by: wu-hui <wu.hui.github@gmail.com>
tonybaroneee added a commit that referenced this pull request Jul 13, 2026
* 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 <dlarocque@google.com>

* 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 <dlarocque@google.com>

* chore: Update picomatch and rollup-plugin-typescript2 (#9892)

* build(deps): bump picomatch from 2.3.1 to 2.3.2

Bumps [picomatch](https://github.com/micromatch/picomatch) from 2.3.1 to 2.3.2.
- [Release notes](https://github.com/micromatch/picomatch/releases)
- [Changelog](https://github.com/micromatch/picomatch/blob/master/CHANGELOG.md)
- [Commits](micromatch/picomatch@2.3.1...2.3.2)

---
updated-dependencies:
- dependency-name: picomatch
  dependency-version: 2.3.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* Upgrade picomatch and rollup-plugin-typescript2

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* feat(ai): ImageConfig and FinishReasons (#9819)

* fix(firestore): Assertion ID: ca9 (pendingResponses less than 0) caused by target creation race condition (#9842)

* implement remote store target mapping

* Add spec test for removeTarget race condition

* cleanup

* Update packages/firestore/src/remote/remote_store.ts

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* cleanup

* Create loud-camels-cross.md

* Fix PR concerns and new tests

* Cleanup possible leak in watchChangeAggregator

* fix build issue with spec tests

* Fix integration test failure when running against public api

* another build fix

* Update spec test builder and runner to allow the spec test to specify the index of a target ID used for a query for some watch message types

* lint

* add Remote and SDK TargetID types

* Fix tests for SDK and Remote TargetId types

* refactor spec test to add step watchUsesTargetIndex and remove steps where the target index is passed to individual steps

* Remove unnecessary  values passed to watchRemoves

* Removed unused helpers

---------

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* build(deps): bump axios from 1.13.5 to 1.15.2 (#9860)

Bumps [axios](https://github.com/axios/axios) from 1.13.5 to 1.15.2.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](axios/axios@v1.13.5...v1.15.2)

---
updated-dependencies:
- dependency-name: axios
  dependency-version: 1.15.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: migrate test functions to v2 (#9910)

* feat(data-connect): add de-duplication, resume, and intelligent reconnection with backoff (#9905)

* chore(data-connect): update documentation and names in stream transport (#9846)

* rename in preparation for future changes

* finish renaming + updating comments

* minor typo fix

* feat(data-connect): add query de-duplication to stream transport (#9850)

* rename in preparation for future changes

* finish renaming + updating comments

* minor typo fix

* add de-duping - now for tests

* add de-duplication tests for invokeQuery

* finish invoke operation dedupe tests

* add subscribe de-duping as well

* add more query dedupe tests

* chore(data-connect): clean up streaming tests a bit (#9851)

* rename in preparation for future changes

* finish renaming + updating comments

* minor typo fix

* add de-duping - now for tests

* add de-duplication tests for invokeQuery

* finish invoke operation dedupe tests

* add subscribe de-duping as well

* add more query dedupe tests

* clean up stream tests

* clean up promise types in streaming tests

* Pasta/bucatini resume refactor (#9885)

* add test changes

* add transportchanges

* finalize changes, run yarn format

* finalize changes based on reviewer feedback

* feat(data-connect): add prefer resume over execute optimization to stream transport (#9879)

* initial implementation - now for testing

* finish tests

* merge pasta/bucatini-resume-refactor

* address reviewer comments

* remove old comments

* address reviewer comments

* feat(data-connect): add intelligent reconnection to streaming transport and harden disconnect/cleanup functionality (#9893)

* WIP

* first pass

* fixing names

* tidying up, fixing tests

* fixed tests

* address reviewer comments

* address reviewer comments and harden close/cleanup lifecycle

* address reviewer comments

* make listener registering and unregistering more robust

* merge main, add changeset

* chore: fix e2e tests for functions and AI (#9924)

* Version Packages (#9923)

Release v12.13.0

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* fix(messaging): wire Firelog delivery metrics flush (startLoggingService) (#9916)

* fix(data-connect): Reduce Stream Transport Idle Timeout to Instant (#9936)

* reduce idle cooldown to instant

* run yarn format and add changeset

* update changelog

* fix(ai): Fix sendMessageStream bug that sends duplicate user turns (#9956)

* build(deps): bump protobufjs from 7.5.5 to 7.5.8 in /e2e/smoke-tests (#9958)

Bumps [protobufjs](https://github.com/protobufjs/protobuf.js) from 7.5.5 to 7.5.8.
- [Release notes](https://github.com/protobufjs/protobuf.js/releases)
- [Changelog](https://github.com/protobufjs/protobuf.js/blob/protobufjs-v7.5.8/CHANGELOG.md)
- [Commits](protobufjs/protobuf.js@protobufjs-v7.5.5...protobufjs-v7.5.8)

---
updated-dependencies:
- dependency-name: protobufjs
  dependency-version: 7.5.8
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* test(firestore): skip database source test that is timing out (#9966)

* test(firestore): skip database source test that is timing out

The test database keeps growing, causing this tests executionn time to
keep growing, repeatedly exceeding new timeouts we set. For now, let's
just skip this test.

* add eslint disable

* fix(auth): retry IndexedDB availability check on startup failure (#9845)

* fix(auth): retry IndexedDB availability check on startup failure

In environments like Chrome Extension Manifest V3 Service Workers, the initial IndexedDB transaction upon a cold start can sometimes drop or timeout. Previously, `_isAvailable()` would immediately catch the error, assume IndexedDB is broken, and silently fall back to `inMemoryPersistence`.

This updates `_isAvailable()` to use the `_withRetries()` helper, ensuring it benefits from the same retry logic as actual storage operations. This prevents the SDK from incorrectly abandoning existing IndexedDB auth state.

Fixes #9732

* style(auth): run yarn format

* chore: add changeset for IndexedDB availability check retry

* fix(auth): robust IndexedDB connection handling and test stability

* build(deps-dev): bump protobufjs in /packages/firestore (#9960)

Merge rules bypassed due to errant format diff.

Bumps [protobufjs](https://github.com/protobufjs/protobuf.js) from 7.5.5 to 7.5.6.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/protobufjs/protobuf.js/releases">protobufjs's releases</a>.</em></p>
<blockquote>
<h2>protobufjs: v7.5.6</h2>
<h2><a href="https://github.com/protobufjs/protobuf.js/compare/protobufjs-v7.5.5...protobufjs-v7.5.6">7.5.6</a> (2026-04-27)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>Backport input hardening and CLI fixes to 7.x (<a href="https://redirect.github.com/protobufjs/protobuf.js/issues/2173">#2173</a>) (<a href="https://github.com/protobufjs/protobuf.js/commit/75392ea1b78bdc4faba027b5db44ad7c50e9c454">75392ea</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/protobufjs/protobuf.js/blob/protobufjs-v7.5.6/CHANGELOG.md">protobufjs's changelog</a>.</em></p>
<blockquote>
<h2><a href="https://github.com/protobufjs/protobuf.js/compare/protobufjs-v7.5.5...protobufjs-v7.5.6">7.5.6</a> (2026-04-27)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>Backport input hardening and CLI fixes to 7.x (<a href="https://redirect.github.com/protobufjs/protobuf.js/issues/2173">#2173</a>) (<a href="https://github.com/protobufjs/protobuf.js/commit/75392ea1b78bdc4faba027b5db44ad7c50e9c454">75392ea</a>)</li>
</ul>
<h2><a href="https://github.com/protobufjs/protobuf.js/compare/protobufjs-v7.5.3...protobufjs-v7.5.4">7.5.4</a> (2025-08-15)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>invalid syntax in descriptor.proto (<a href="https://redirect.github.com/protobufjs/protobuf.js/issues/2092">#2092</a>) (<a href="https://github.com/protobufjs/protobuf.js/commit/5a3769a465fead089a533ad55c21d069299df760">5a3769a</a>)</li>
</ul>
<h2><a href="https://github.com/protobufjs/protobuf.js/compare/protobufjs-v7.5.2...protobufjs-v7.5.3">7.5.3</a> (2025-05-28)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>descriptor extensions handling post-editions (<a href="https://redirect.github.com/protobufjs/protobuf.js/issues/2075">#2075</a>) (<a href="https://github.com/protobufjs/protobuf.js/commit/6e255d4ad6982cc857f26e1731c2cedcf5796f68">6e255d4</a>)</li>
</ul>
<h2><a href="https://github.com/protobufjs/protobuf.js/compare/protobufjs-v7.5.1...protobufjs-v7.5.2">7.5.2</a> (2025-05-14)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>ensure that types are always resolved (<a href="https://redirect.github.com/protobufjs/protobuf.js/issues/2068">#2068</a>) (<a href="https://github.com/protobufjs/protobuf.js/commit/4b51cb2b8450b77f9f5de1c562e7fae93b19d040">4b51cb2</a>)</li>
</ul>
<h2><a href="https://github.com/protobufjs/protobuf.js/compare/protobufjs-v7.5.0...protobufjs-v7.5.1">7.5.1</a> (2025-05-08)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>optimize regressions from editions implementations (<a href="https://redirect.github.com/protobufjs/protobuf.js/issues/2066">#2066</a>) (<a href="https://github.com/protobufjs/protobuf.js/commit/6406d4c18afae309fc7b5f4a24d9674d85da180b">6406d4c</a>)</li>
<li>reserved field inside group blocks fail parsing (<a href="https://redirect.github.com/protobufjs/protobuf.js/issues/2058">#2058</a>) (<a href="https://github.com/protobufjs/protobuf.js/commit/56782bff0c4b5132806eb1a6bc4d08f930c4aaad">56782bf</a>)</li>
</ul>
<h2><a href="https://github.com/protobufjs/protobuf.js/compare/protobufjs-v7.4.0...protobufjs-v7.5.0">7.5.0</a> (2025-04-15)</h2>
<h3>Features</h3>
<ul>
<li>add Edition 2023 Support (<a href="https://github.com/protobufjs/protobuf.js/commit/f04ded3a03a3ddd383f0228e2fe2627a51f31aa3">f04ded3</a>)</li>
<li>add Edition 2023 Support (<a href="https://github.com/protobufjs/protobuf.js/commit/ac9a3b9fe3134d48187e41b08d54ffaceddc6c1b">ac9a3b9</a>)</li>
<li>add Edition 2023 Support (<a href="https://github.com/protobufjs/protobuf.js/commit/e5ca5c84e326699e10258367883a54934e0bfe14">e5ca5c8</a>)</li>
<li>add Edition 2023 Support (<a href="https://github.com/protobufjs/protobuf.js/commit/a84409b47f9ba0dba56da1af8054fb54f85d85a1">a84409b</a>)</li>
<li>add Edition 2023 Support (<a href="https://github.com/protobufjs/protobuf.js/commit/9c5a178c4b59e0aa65ecac0bd7420171213b2ff9">9c5a178</a>)</li>
<li>add Edition 2023 Support (<a href="https://github.com/protobufjs/protobuf.js/commit/b2c686721e3b63d092419fa1cbe58e1deb89534e">b2c6867</a>)</li>
<li>add Edition 2023 Support (<a href="https://github.com/protobufjs/protobuf.js/commit/60f3e51087ca2c247473410f39331e1c766aefef">60f3e51</a>)</li>
<li>add Edition 2023 Support (<a href="https://github.com/protobufjs/protobuf.js/commit/a6563617de04d510d6e8865eb6c5067f10247f64">a656361</a>)</li>
<li>add Edition 2023 Support (<a href="https://github.com/protobufjs/protobuf.js/commit/869a95b1e5f553c76243aac45619061407a41084">869a95b</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/protobufjs/protobuf.js/commit/2189e5beeca6a70e4c104dfdb9fb8200bc5f81fe"><code>2189e5b</code></a> chore: release protobufjs-v7.x (<a href="https://redirect.github.com/protobufjs/protobuf.js/issues/2174">#2174</a>)</li>
<li><a href="https://github.com/protobufjs/protobuf.js/commit/75392ea1b78bdc4faba027b5db44ad7c50e9c454"><code>75392ea</code></a> fix: Backport input hardening and CLI fixes to 7.x (<a href="https://redirect.github.com/protobufjs/protobuf.js/issues/2173">#2173</a>)</li>
<li><a href="https://github.com/protobufjs/protobuf.js/commit/8af8d7c0e9800879625f7d0d4a7fb51beb4410cd"><code>8af8d7c</code></a> chore(ci): Fix 7.x release please configuration (<a href="https://redirect.github.com/protobufjs/protobuf.js/issues/2169">#2169</a>)</li>
<li><a href="https://github.com/protobufjs/protobuf.js/commit/e92ca42244ad67203b48d836290062dae037ead6"><code>e92ca42</code></a> chore(ci): Enable release-please for 7.x (<a href="https://redirect.github.com/protobufjs/protobuf.js/issues/2166">#2166</a>)</li>
<li>See full diff in <a href="https://github.com/protobufjs/protobuf.js/compare/protobufjs-v7.5.5...protobufjs-v7.5.6">compare view</a></li>
</ul>
</details>
<details>
<summary>Maintainer changes</summary>
<p>This version was pushed to npm by <a href="https://www.npmjs.com/~GitHub%20Actions">GitHub Actions</a>, a new releaser for protobufjs since your current version.</p>
</details>
<br />

* build(deps): bump @protobufjs/utf8 (#9952)

Bumps [@protobufjs/utf8](https://github.com/dcodeIO/protobuf.js) from 1.1.0 to 1.1.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/dcodeIO/protobuf.js/releases">@​protobufjs/utf8's releases</a>.</em></p>
<blockquote>
<h2>protobufjs-cli: v1.1.1</h2>
<h2><a href="https://github.com/protobufjs/protobuf.js/compare/protobufjs-cli-v1.1.0...protobufjs-cli-v1.1.1">1.1.1</a> (2023-02-02)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>cli:</strong> fix relative path to Google pb files (<a href="https://redirect.github.com/protobufjs/protobuf.js/issues/1859">#1859</a>) (<a href="https://github.com/protobufjs/protobuf.js/commit/e42eea4868b11f4a07934804a56683321ed191e2">e42eea4</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/protobufjs/protobuf.js/commit/644d588c0495da6a570344248e1b5af901bc3b0c"><code>644d588</code></a> chore: release master (<a href="https://redirect.github.com/dcodeIO/protobuf.js/issues/1865">#1865</a>)</li>
<li><a href="https://github.com/protobufjs/protobuf.js/commit/e42eea4868b11f4a07934804a56683321ed191e2"><code>e42eea4</code></a> fix(cli): fix relative path to Google pb files (<a href="https://redirect.github.com/dcodeIO/protobuf.js/issues/1859">#1859</a>)</li>
<li><a href="https://github.com/protobufjs/protobuf.js/commit/dce9a2ef92d363752e40b295b0da9bd178f82e83"><code>dce9a2e</code></a> fix: use bundled filename to fix common pb includes (<a href="https://redirect.github.com/dcodeIO/protobuf.js/issues/1860">#1860</a>)</li>
<li><a href="https://github.com/protobufjs/protobuf.js/commit/64e8936ad9f73c68b3fa1e57857dd38323b5a745"><code>64e8936</code></a> fix: use ES5 style function syntax (<a href="https://redirect.github.com/dcodeIO/protobuf.js/issues/1830">#1830</a>)</li>
<li><a href="https://github.com/protobufjs/protobuf.js/commit/4489fa771464bcb49b57149760e9cc4131e8077e"><code>4489fa7</code></a> Revert &quot;fix: error should be thrown (<a href="https://redirect.github.com/dcodeIO/protobuf.js/issues/1817">#1817</a>)&quot; (<a href="https://redirect.github.com/dcodeIO/protobuf.js/issues/1864">#1864</a>)</li>
<li>See full diff in <a href="https://github.com/dcodeIO/protobuf.js/compare/protobufjs-cli-v1.1.0...protobufjs-cli-v1.1.1">compare view</a></li>
</ul>
</details>
<br />

* build(deps): bump @protobufjs/utf8 (#9949)

Bumps [@protobufjs/utf8](https://github.com/dcodeIO/protobuf.js) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/dcodeIO/protobuf.js/releases)
- [Changelog](https://github.com/protobufjs/protobuf.js/blob/master/CHANGELOG.md)
- [Commits](protobufjs/protobuf.js@protobufjs-cli-v1.1.0...protobufjs-cli-v1.1.1)

---
updated-dependencies:
- dependency-name: "@protobufjs/utf8"
  dependency-version: 1.1.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump protobufjs from 7.5.5 to 7.5.8 (#9973)

Bumps [protobufjs](https://github.com/protobufjs/protobuf.js) from 7.5.5 to 7.5.8.
- [Release notes](https://github.com/protobufjs/protobuf.js/releases)
- [Changelog](https://github.com/protobufjs/protobuf.js/blob/protobufjs-v7.5.8/CHANGELOG.md)
- [Commits](protobufjs/protobuf.js@protobufjs-v7.5.5...protobufjs-v7.5.8)

---
updated-dependencies:
- dependency-name: protobufjs
  dependency-version: 7.5.8
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): bump protobufjs-cli from 1.1.3 to 1.2.1 (#9955)

Bumps [protobufjs-cli](https://github.com/protobufjs/protobuf.js) from 1.1.3 to 1.2.1.
- [Release notes](https://github.com/protobufjs/protobuf.js/releases)
- [Changelog](https://github.com/protobufjs/protobuf.js/blob/master/CHANGELOG.md)
- [Commits](protobufjs/protobuf.js@protobufjs-cli-v1.1.3...protobufjs-cli-v1.2.1)

---
updated-dependencies:
- dependency-name: protobufjs-cli
  dependency-version: 1.2.1
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump protobufjs from 7.4.0 to 7.5.9 in /e2e/data-connect (#9977)

Bumps [protobufjs](https://github.com/protobufjs/protobuf.js) from 7.4.0 to 7.5.9.
- [Release notes](https://github.com/protobufjs/protobuf.js/releases)
- [Changelog](https://github.com/protobufjs/protobuf.js/blob/protobufjs-v7.5.9/CHANGELOG.md)
- [Commits](protobufjs/protobuf.js@protobufjs-v7.4.0...protobufjs-v7.5.9)

---
updated-dependencies:
- dependency-name: protobufjs
  dependency-version: 7.5.9
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* feature(firestore): added minimum and maximum FieldValue operations (#9913)

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* fix(changelog-generator): fix postinstall build failure (#9948)

The fix has two parts:

1. Add `"types": ["node"]` to tsconfig.

2. Fix an incorrect type cast in `index.ts`. The parsed GitHub API response
   was being cast to the DOM `Response` type to access its `.body` property,
   which is wrong — `Response.body` is a `ReadableStream`, not a string. The
   actual value is the parsed JSON from the GitHub PR API, whose `body` field
   is `string | null` per the API schema. Updated the cast accordingly.

Resolves #9947

* Feat/messaging api series (#9917)

* fix(app-check): Fix getLimitedUseToken() (#9987)

* fix(remoteconfig): Stopping last running experiment must call updateActiveExperiments (#9981)

Context: Currently, experiments are updated at activation only if the fetch response explicitly contains an experiments payload.

Problem: When the last running experiment is stopped, the fetch response returns experiments as undefined. This causes the client to skip the update call entirely, meaning the local state never registers that the experiment was stopped.

Fix: If fetch response does not contain experiments, pass an empty list to update

* fix(firestore): improved robustness and logging in query listen stream creation and re-creation (#9985)

* implement onSubChange for FID-based registration (#9996)

* implement onSubChange for FID-based registration

* Persist VAPID key in FID registration metadata to fix re-registration issue

* Enforce mutual exclusivity of token and FID registrations in DB layer

* Notify clients in onSubChange on successful FID refresh

- Update onSubChange to notify window clients when FID registration is refreshed. Previously it did not notify clients.
- Update refreshFidRegistrationIfStored to return the current FID.
- Update onSubChange to use the returned FID and only notify if the refresh was successful.
- Add unit tests to verify client notification on success, failure, and when not registered.
- Fix a lint error in window-listener.ts by adding the FidRegisteredPayload interface.

---------

Co-authored-by: Kai Wu <zwu52@users.noreply.github.com>

* feat(ai)!: Add explicit `initializeDeviceModel()` method when using hybrid (#9800)

* feat(ai): Update tags to mark hybrid inference features as GA (#9926)

* Version Packages (#10004)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* fix(auth,app-check): Fix Auth/AppCheck ReCAPTCHA Enterprise conflict (#9991)

* fix(remoteconfig) Support ABT realtime when variant value matches default value of parameter

When an experiment is added whose variant value matches default value, the parameter key is not listed as updated. This becomes a problem when the client app calls activate only on config change as the experiment will not get started

Before fix - https://screencast.googleplex.com/cast/NDgxNTYwNjU0NDA3MjcwNHxiOWY1MmIyNy1iMQ
After fix - https://screencast.googleplex.com/cast/NDcxODUwODQ0MDAyNzEzNnwzODc2YTRlMC01MA

* chore: Add explicit types to tsconfig (#10015)

* Update CODEOWNERS for auth packages (#10001)

* feat(app-check,app): Add ability for App Check to initialize with a default provider (#10023)

* chore(ci): make all firestore integration tests optional (#10028)

* 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

* fix(ai): format systemInstruction string in ChatSession constructor (#10026)

* fix(ai): format systemInstruction string in ChatSession constructor

* adding a changeset file

* test(ai): verify systemInstruction in sendMessage and sendMessageStream

* remove extra folder in changeset

* remove extra changeset file

* restore deleted file

* adding check if systemInstruction is not null/undefined

* simplify systemInstruction assignment

* fix lint error

* revert to original structure

* 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

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* 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

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

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

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* docs-devsite

---------

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* 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: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Mark Duckworth <1124037+MarkDuckworth@users.noreply.github.com>

* Support API key referrer restrictions by changing the Auth SDK referrer policy (#10049)

* feat(auth): Update referrer policy to strict-origin-when-cross-origin

* chore: Add changeset tame-yaks-yawn.md

* Fix querystring to always use apiKey even if a key is specified in the request (#10048)

* Fix querystring to always use apiKey even if a key is specified in the request

* Update packages/auth/src/api/index.ts

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* Fix test helper URL generation to match new querystring order

* Run yarn format

---------

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* Revert "chore(ci): make all firestore integration tests optional (#10028)" (#10073)

Also trigger Firestore tests when Firestore workflow files are modified.

* run ratchet (#10064)

* 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.

* Change setup-node@master to v4 (#10090)

* Version Packages (#10080)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* chore: add _customHeader setting for console (#10108)

* Fix querySnapshotFromJSON to preserve query sort order (#10107) (#10109)

* optimize linting speed repo-wide (#10110)

Enable eslint caching (--cache) across all package lint scripts and centralize cache files inside the root node_modules/.cache/eslint/ directory using the --cache-location option to prevent repository clutter.

Update the root lint script to run concurrently without topological sorting (--no-sort) to maximize CPU core usage.

Performance Data:
- Package-level (e.g. firestore):
  - Before: ~15-18s
  - After: ~4s (4x speedup)
- Repo-wide (yarn lint):
  - Before: ~35-40s
  - After: ~8.6s (4.3x speedup)

* ci(firestore): skip timestamp tests in safari that were failing due to rounding behavior (#10115)

* chore(format): optimize code formatting speed repo-wide (#10111)

Enable prettier caching (--cache) across all package prettier scripts and the main format script, and optimize the custom license header checker to read only the first 1000 bytes of each file.

Performance Data:
- Repo-wide formatting (yarn format --all):
  - Before caching: ~35-40s (uncached formatting + full license check)
  - After caching: ~5.8s (cached formatting + header-only license check)
  - Speedup: ~6x speedup

* Support realtime updates for Rollouts (#10106)

* Support realtime updates for Rollouts

* Map optimization and lint

* update changeset

* chore(auth): rm auth-commpat/demo and auth/cordova/demo (#10118)

* Security Audit & Remediation: repo-scripts/api-documenter (#10112)

* security-audit(api-documenter): purge abandonware colors and resolve dependencies

* security-audit(api-documenter): address review comments and update yarn.lock

* fix zizmor findings (#10044)

* don't persist unused credentials

* fix zizmor findings

* remove one persistence

* build(deps): Upgrade Lerna to 9.0.6 (#10032)

### Discussion

Upgrade `lerna` from `4.x` to `9.x`. This newer version of `lerna` is powered by `NX`, which also requires a newer minor version bump of `node` in our workflows, and slight changes our test execution parms.

The new version of Lerna is said to improve performance, and that seems to have exacerbated race conditions in the Auth test suites (@firebase/auth and @firebase/auth-compat). To resolve intermittent CI failures caused by these race conditions, I've configured these tests to run in serial instead of concurrently.

Also I needed to bump the node version of our workflows by 2 minor versions (20.10.0 -> 2.12.0) because Lerna 9.0.6 isn't supported in Node 20.10.0.

### Testing
 - Clean repo, clean cache, clean dependency installs.
 - CI, local builds and tests. 

Note: The Firestore WebKit failure in the optional CI execution list is a known issue (b/524995481).

### API Changes

None.

* build(deps): update deps with security issues (pass 1) (#10119)

* fix(ai): update deprecated gemini models strings" (#10043)

* update gemini models

* fix extra bracket error

* remove extra duplicate line

* fix lint error

* fix lint

* fix lint error

* fix prettier errors

* update gemini model in e2e

* revert tests

* yarn format

* Update AI integration tests and add new models

* yarn format

* chore: add minor changeset for hybrid fallback model update and revert generate-content.test

* revert old file: got rid of URL context and fixed tests

* revert cloud model change in src/constants to put in another PR

* delete changeset

* chore(data-connect): refactor streaming tests and change idle timeout back to 15s (#10133)

* re-organize tests, introduce helper function to flush microtask queue

* fix some formatting and ordering

* return idle timeout to 15 seconds

* address reviewer comments

* run yarn format

* address reviewer comments

* fix tests calling closeConnection twice

* update changeset to patch

* fix: Resolve duplicate assertion ID and add check to Firestore CI (#10138)

* Update re2js version (#10104)

* Update re2js

* Update re2js, add changeset

* chore(changeset): use @firebase/firestore patch bump per review comment (#10104)

---------

Co-authored-by: wu-hui <wu.hui.github@gmail.com>

* build: put include-dependencies flag back (#10137)

* Merge release into main

version 12.16.0

Co-authored-by: Google Open Source Bot <firebase-oss-bot@google.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* build(deps): bump undici from 6.26.0 to 6.27.0 (#10129)

Bumps [undici](https://github.com/nodejs/undici) from 6.26.0 to 6.27.0.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](nodejs/undici@v6.26.0...v6.27.0)

---
updated-dependencies:
- dependency-name: undici
  dependency-version: 6.27.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump shell-quote from 1.8.1 to 1.8.4 in /e2e/smoke-tests (#10045)

* build(deps): bump shell-quote from 1.8.1 to 1.8.4 in /e2e/smoke-tests

Bumps [shell-quote](https://github.com/ljharb/shell-quote) from 1.8.1 to 1.8.4.
- [Changelog](https://github.com/ljharb/shell-quote/blob/main/CHANGELOG.md)
- [Commits](ljharb/shell-quote@v1.8.1...v1.8.4)

---
updated-dependencies:
- dependency-name: shell-quote
  dependency-version: 1.8.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* trigger CI

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Christina Holland <chholland@google.com>

* chore(deps): Upgrade rollup and gulp (#10136)

* build(deps): bump shell-quote from 1.8.2 to 1.8.4 (#10047)

* build(deps): bump shell-quote from 1.8.2 to 1.8.4

Bumps [shell-quote](https://github.com/ljharb/shell-quote) from 1.8.2 to 1.8.4.
- [Changelog](https://github.com/ljharb/shell-quote/blob/main/CHANGELOG.md)
- [Commits](ljharb/shell-quote@v1.8.2...v1.8.4)

---
updated-dependencies:
- dependency-name: shell-quote
  dependency-version: 1.8.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* trigger CI

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Christina Holland <chholland@google.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Mark Duckworth <1124037+MarkDuckworth@users.noreply.github.com>
Co-authored-by: Daniel La Rocque <dlarocque@google.com>
Co-authored-by: Christina Holland <chholland@google.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Paul Beusterien <paulbeusterien@google.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Google Open Source Bot <firebase-oss-bot@google.com>
Co-authored-by: Stephen Rosa <84193009+stephenarosaj@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: DellaBitta <drsanta@google.com>
Co-authored-by: Kai Wu <zwu52@users.noreply.github.com>
Co-authored-by: macastelaz <34776182+macastelaz@users.noreply.github.com>
Co-authored-by: swseverance <swseverance@gmail.com>
Co-authored-by: Athira M <athiramanu9400@gmail.com>
Co-authored-by: Doris-Ge <dorisge@google.com>
Co-authored-by: wu-hui <53845758+wu-hui@users.noreply.github.com>
Co-authored-by: sedanah-m <mashhour@google.com>
Co-authored-by: Morgan Chen <morganchen12@gmail.com>
Co-authored-by: DellaBitta <DellaBitta@users.noreply.github.com>
Co-authored-by: Tushar Khandelwal <64364243+tusharkhandelwal8@users.noreply.github.com>
Co-authored-by: Thomas Bouldin <inlined@users.noreply.github.com>
Co-authored-by: Oleksii Vasyliev <le0pard@users.noreply.github.com>
Co-authored-by: wu-hui <wu.hui.github@gmail.com>
tonybaroneee added a commit that referenced this pull request Jul 13, 2026
* 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 <dlarocque@google.com>

* 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 <dlarocque@google.com>

* chore: Update picomatch and rollup-plugin-typescript2 (#9892)

* build(deps): bump picomatch from 2.3.1 to 2.3.2

Bumps [picomatch](https://github.com/micromatch/picomatch) from 2.3.1 to 2.3.2.
- [Release notes](https://github.com/micromatch/picomatch/releases)
- [Changelog](https://github.com/micromatch/picomatch/blob/master/CHANGELOG.md)
- [Commits](micromatch/picomatch@2.3.1...2.3.2)

---
updated-dependencies:
- dependency-name: picomatch
  dependency-version: 2.3.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* Upgrade picomatch and rollup-plugin-typescript2

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* feat(ai): ImageConfig and FinishReasons (#9819)

* fix(firestore): Assertion ID: ca9 (pendingResponses less than 0) caused by target creation race condition (#9842)

* implement remote store target mapping

* Add spec test for removeTarget race condition

* cleanup

* Update packages/firestore/src/remote/remote_store.ts

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* cleanup

* Create loud-camels-cross.md

* Fix PR concerns and new tests

* Cleanup possible leak in watchChangeAggregator

* fix build issue with spec tests

* Fix integration test failure when running against public api

* another build fix

* Update spec test builder and runner to allow the spec test to specify the index of a target ID used for a query for some watch message types

* lint

* add Remote and SDK TargetID types

* Fix tests for SDK and Remote TargetId types

* refactor spec test to add step watchUsesTargetIndex and remove steps where the target index is passed to individual steps

* Remove unnecessary  values passed to watchRemoves

* Removed unused helpers

---------

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* build(deps): bump axios from 1.13.5 to 1.15.2 (#9860)

Bumps [axios](https://github.com/axios/axios) from 1.13.5 to 1.15.2.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](axios/axios@v1.13.5...v1.15.2)

---
updated-dependencies:
- dependency-name: axios
  dependency-version: 1.15.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: migrate test functions to v2 (#9910)

* feat(data-connect): add de-duplication, resume, and intelligent reconnection with backoff (#9905)

* chore(data-connect): update documentation and names in stream transport (#9846)

* rename in preparation for future changes

* finish renaming + updating comments

* minor typo fix

* feat(data-connect): add query de-duplication to stream transport (#9850)

* rename in preparation for future changes

* finish renaming + updating comments

* minor typo fix

* add de-duping - now for tests

* add de-duplication tests for invokeQuery

* finish invoke operation dedupe tests

* add subscribe de-duping as well

* add more query dedupe tests

* chore(data-connect): clean up streaming tests a bit (#9851)

* rename in preparation for future changes

* finish renaming + updating comments

* minor typo fix

* add de-duping - now for tests

* add de-duplication tests for invokeQuery

* finish invoke operation dedupe tests

* add subscribe de-duping as well

* add more query dedupe tests

* clean up stream tests

* clean up promise types in streaming tests

* Pasta/bucatini resume refactor (#9885)

* add test changes

* add transportchanges

* finalize changes, run yarn format

* finalize changes based on reviewer feedback

* feat(data-connect): add prefer resume over execute optimization to stream transport (#9879)

* initial implementation - now for testing

* finish tests

* merge pasta/bucatini-resume-refactor

* address reviewer comments

* remove old comments

* address reviewer comments

* feat(data-connect): add intelligent reconnection to streaming transport and harden disconnect/cleanup functionality (#9893)

* WIP

* first pass

* fixing names

* tidying up, fixing tests

* fixed tests

* address reviewer comments

* address reviewer comments and harden close/cleanup lifecycle

* address reviewer comments

* make listener registering and unregistering more robust

* merge main, add changeset

* chore: fix e2e tests for functions and AI (#9924)

* Version Packages (#9923)

Release v12.13.0

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* fix(messaging): wire Firelog delivery metrics flush (startLoggingService) (#9916)

* fix(data-connect): Reduce Stream Transport Idle Timeout to Instant (#9936)

* reduce idle cooldown to instant

* run yarn format and add changeset

* update changelog

* fix(ai): Fix sendMessageStream bug that sends duplicate user turns (#9956)

* build(deps): bump protobufjs from 7.5.5 to 7.5.8 in /e2e/smoke-tests (#9958)

Bumps [protobufjs](https://github.com/protobufjs/protobuf.js) from 7.5.5 to 7.5.8.
- [Release notes](https://github.com/protobufjs/protobuf.js/releases)
- [Changelog](https://github.com/protobufjs/protobuf.js/blob/protobufjs-v7.5.8/CHANGELOG.md)
- [Commits](protobufjs/protobuf.js@protobufjs-v7.5.5...protobufjs-v7.5.8)

---
updated-dependencies:
- dependency-name: protobufjs
  dependency-version: 7.5.8
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* test(firestore): skip database source test that is timing out (#9966)

* test(firestore): skip database source test that is timing out

The test database keeps growing, causing this tests executionn time to
keep growing, repeatedly exceeding new timeouts we set. For now, let's
just skip this test.

* add eslint disable

* fix(auth): retry IndexedDB availability check on startup failure (#9845)

* fix(auth): retry IndexedDB availability check on startup failure

In environments like Chrome Extension Manifest V3 Service Workers, the initial IndexedDB transaction upon a cold start can sometimes drop or timeout. Previously, `_isAvailable()` would immediately catch the error, assume IndexedDB is broken, and silently fall back to `inMemoryPersistence`.

This updates `_isAvailable()` to use the `_withRetries()` helper, ensuring it benefits from the same retry logic as actual storage operations. This prevents the SDK from incorrectly abandoning existing IndexedDB auth state.

Fixes #9732

* style(auth): run yarn format

* chore: add changeset for IndexedDB availability check retry

* fix(auth): robust IndexedDB connection handling and test stability

* build(deps-dev): bump protobufjs in /packages/firestore (#9960)

Merge rules bypassed due to errant format diff.

Bumps [protobufjs](https://github.com/protobufjs/protobuf.js) from 7.5.5 to 7.5.6.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/protobufjs/protobuf.js/releases">protobufjs's releases</a>.</em></p>
<blockquote>
<h2>protobufjs: v7.5.6</h2>
<h2><a href="https://github.com/protobufjs/protobuf.js/compare/protobufjs-v7.5.5...protobufjs-v7.5.6">7.5.6</a> (2026-04-27)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>Backport input hardening and CLI fixes to 7.x (<a href="https://redirect.github.com/protobufjs/protobuf.js/issues/2173">#2173</a>) (<a href="https://github.com/protobufjs/protobuf.js/commit/75392ea1b78bdc4faba027b5db44ad7c50e9c454">75392ea</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/protobufjs/protobuf.js/blob/protobufjs-v7.5.6/CHANGELOG.md">protobufjs's changelog</a>.</em></p>
<blockquote>
<h2><a href="https://github.com/protobufjs/protobuf.js/compare/protobufjs-v7.5.5...protobufjs-v7.5.6">7.5.6</a> (2026-04-27)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>Backport input hardening and CLI fixes to 7.x (<a href="https://redirect.github.com/protobufjs/protobuf.js/issues/2173">#2173</a>) (<a href="https://github.com/protobufjs/protobuf.js/commit/75392ea1b78bdc4faba027b5db44ad7c50e9c454">75392ea</a>)</li>
</ul>
<h2><a href="https://github.com/protobufjs/protobuf.js/compare/protobufjs-v7.5.3...protobufjs-v7.5.4">7.5.4</a> (2025-08-15)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>invalid syntax in descriptor.proto (<a href="https://redirect.github.com/protobufjs/protobuf.js/issues/2092">#2092</a>) (<a href="https://github.com/protobufjs/protobuf.js/commit/5a3769a465fead089a533ad55c21d069299df760">5a3769a</a>)</li>
</ul>
<h2><a href="https://github.com/protobufjs/protobuf.js/compare/protobufjs-v7.5.2...protobufjs-v7.5.3">7.5.3</a> (2025-05-28)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>descriptor extensions handling post-editions (<a href="https://redirect.github.com/protobufjs/protobuf.js/issues/2075">#2075</a>) (<a href="https://github.com/protobufjs/protobuf.js/commit/6e255d4ad6982cc857f26e1731c2cedcf5796f68">6e255d4</a>)</li>
</ul>
<h2><a href="https://github.com/protobufjs/protobuf.js/compare/protobufjs-v7.5.1...protobufjs-v7.5.2">7.5.2</a> (2025-05-14)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>ensure that types are always resolved (<a href="https://redirect.github.com/protobufjs/protobuf.js/issues/2068">#2068</a>) (<a href="https://github.com/protobufjs/protobuf.js/commit/4b51cb2b8450b77f9f5de1c562e7fae93b19d040">4b51cb2</a>)</li>
</ul>
<h2><a href="https://github.com/protobufjs/protobuf.js/compare/protobufjs-v7.5.0...protobufjs-v7.5.1">7.5.1</a> (2025-05-08)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>optimize regressions from editions implementations (<a href="https://redirect.github.com/protobufjs/protobuf.js/issues/2066">#2066</a>) (<a href="https://github.com/protobufjs/protobuf.js/commit/6406d4c18afae309fc7b5f4a24d9674d85da180b">6406d4c</a>)</li>
<li>reserved field inside group blocks fail parsing (<a href="https://redirect.github.com/protobufjs/protobuf.js/issues/2058">#2058</a>) (<a href="https://github.com/protobufjs/protobuf.js/commit/56782bff0c4b5132806eb1a6bc4d08f930c4aaad">56782bf</a>)</li>
</ul>
<h2><a href="https://github.com/protobufjs/protobuf.js/compare/protobufjs-v7.4.0...protobufjs-v7.5.0">7.5.0</a> (2025-04-15)</h2>
<h3>Features</h3>
<ul>
<li>add Edition 2023 Support (<a href="https://github.com/protobufjs/protobuf.js/commit/f04ded3a03a3ddd383f0228e2fe2627a51f31aa3">f04ded3</a>)</li>
<li>add Edition 2023 Support (<a href="https://github.com/protobufjs/protobuf.js/commit/ac9a3b9fe3134d48187e41b08d54ffaceddc6c1b">ac9a3b9</a>)</li>
<li>add Edition 2023 Support (<a href="https://github.com/protobufjs/protobuf.js/commit/e5ca5c84e326699e10258367883a54934e0bfe14">e5ca5c8</a>)</li>
<li>add Edition 2023 Support (<a href="https://github.com/protobufjs/protobuf.js/commit/a84409b47f9ba0dba56da1af8054fb54f85d85a1">a84409b</a>)</li>
<li>add Edition 2023 Support (<a href="https://github.com/protobufjs/protobuf.js/commit/9c5a178c4b59e0aa65ecac0bd7420171213b2ff9">9c5a178</a>)</li>
<li>add Edition 2023 Support (<a href="https://github.com/protobufjs/protobuf.js/commit/b2c686721e3b63d092419fa1cbe58e1deb89534e">b2c6867</a>)</li>
<li>add Edition 2023 Support (<a href="https://github.com/protobufjs/protobuf.js/commit/60f3e51087ca2c247473410f39331e1c766aefef">60f3e51</a>)</li>
<li>add Edition 2023 Support (<a href="https://github.com/protobufjs/protobuf.js/commit/a6563617de04d510d6e8865eb6c5067f10247f64">a656361</a>)</li>
<li>add Edition 2023 Support (<a href="https://github.com/protobufjs/protobuf.js/commit/869a95b1e5f553c76243aac45619061407a41084">869a95b</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/protobufjs/protobuf.js/commit/2189e5beeca6a70e4c104dfdb9fb8200bc5f81fe"><code>2189e5b</code></a> chore: release protobufjs-v7.x (<a href="https://redirect.github.com/protobufjs/protobuf.js/issues/2174">#2174</a>)</li>
<li><a href="https://github.com/protobufjs/protobuf.js/commit/75392ea1b78bdc4faba027b5db44ad7c50e9c454"><code>75392ea</code></a> fix: Backport input hardening and CLI fixes to 7.x (<a href="https://redirect.github.com/protobufjs/protobuf.js/issues/2173">#2173</a>)</li>
<li><a href="https://github.com/protobufjs/protobuf.js/commit/8af8d7c0e9800879625f7d0d4a7fb51beb4410cd"><code>8af8d7c</code></a> chore(ci): Fix 7.x release please configuration (<a href="https://redirect.github.com/protobufjs/protobuf.js/issues/2169">#2169</a>)</li>
<li><a href="https://github.com/protobufjs/protobuf.js/commit/e92ca42244ad67203b48d836290062dae037ead6"><code>e92ca42</code></a> chore(ci): Enable release-please for 7.x (<a href="https://redirect.github.com/protobufjs/protobuf.js/issues/2166">#2166</a>)</li>
<li>See full diff in <a href="https://github.com/protobufjs/protobuf.js/compare/protobufjs-v7.5.5...protobufjs-v7.5.6">compare view</a></li>
</ul>
</details>
<details>
<summary>Maintainer changes</summary>
<p>This version was pushed to npm by <a href="https://www.npmjs.com/~GitHub%20Actions">GitHub Actions</a>, a new releaser for protobufjs since your current version.</p>
</details>
<br />

* build(deps): bump @protobufjs/utf8 (#9952)

Bumps [@protobufjs/utf8](https://github.com/dcodeIO/protobuf.js) from 1.1.0 to 1.1.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/dcodeIO/protobuf.js/releases">@​protobufjs/utf8's releases</a>.</em></p>
<blockquote>
<h2>protobufjs-cli: v1.1.1</h2>
<h2><a href="https://github.com/protobufjs/protobuf.js/compare/protobufjs-cli-v1.1.0...protobufjs-cli-v1.1.1">1.1.1</a> (2023-02-02)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>cli:</strong> fix relative path to Google pb files (<a href="https://redirect.github.com/protobufjs/protobuf.js/issues/1859">#1859</a>) (<a href="https://github.com/protobufjs/protobuf.js/commit/e42eea4868b11f4a07934804a56683321ed191e2">e42eea4</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/protobufjs/protobuf.js/commit/644d588c0495da6a570344248e1b5af901bc3b0c"><code>644d588</code></a> chore: release master (<a href="https://redirect.github.com/dcodeIO/protobuf.js/issues/1865">#1865</a>)</li>
<li><a href="https://github.com/protobufjs/protobuf.js/commit/e42eea4868b11f4a07934804a56683321ed191e2"><code>e42eea4</code></a> fix(cli): fix relative path to Google pb files (<a href="https://redirect.github.com/dcodeIO/protobuf.js/issues/1859">#1859</a>)</li>
<li><a href="https://github.com/protobufjs/protobuf.js/commit/dce9a2ef92d363752e40b295b0da9bd178f82e83"><code>dce9a2e</code></a> fix: use bundled filename to fix common pb includes (<a href="https://redirect.github.com/dcodeIO/protobuf.js/issues/1860">#1860</a>)</li>
<li><a href="https://github.com/protobufjs/protobuf.js/commit/64e8936ad9f73c68b3fa1e57857dd38323b5a745"><code>64e8936</code></a> fix: use ES5 style function syntax (<a href="https://redirect.github.com/dcodeIO/protobuf.js/issues/1830">#1830</a>)</li>
<li><a href="https://github.com/protobufjs/protobuf.js/commit/4489fa771464bcb49b57149760e9cc4131e8077e"><code>4489fa7</code></a> Revert &quot;fix: error should be thrown (<a href="https://redirect.github.com/dcodeIO/protobuf.js/issues/1817">#1817</a>)&quot; (<a href="https://redirect.github.com/dcodeIO/protobuf.js/issues/1864">#1864</a>)</li>
<li>See full diff in <a href="https://github.com/dcodeIO/protobuf.js/compare/protobufjs-cli-v1.1.0...protobufjs-cli-v1.1.1">compare view</a></li>
</ul>
</details>
<br />

* build(deps): bump @protobufjs/utf8 (#9949)

Bumps [@protobufjs/utf8](https://github.com/dcodeIO/protobuf.js) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/dcodeIO/protobuf.js/releases)
- [Changelog](https://github.com/protobufjs/protobuf.js/blob/master/CHANGELOG.md)
- [Commits](protobufjs/protobuf.js@protobufjs-cli-v1.1.0...protobufjs-cli-v1.1.1)

---
updated-dependencies:
- dependency-name: "@protobufjs/utf8"
  dependency-version: 1.1.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump protobufjs from 7.5.5 to 7.5.8 (#9973)

Bumps [protobufjs](https://github.com/protobufjs/protobuf.js) from 7.5.5 to 7.5.8.
- [Release notes](https://github.com/protobufjs/protobuf.js/releases)
- [Changelog](https://github.com/protobufjs/protobuf.js/blob/protobufjs-v7.5.8/CHANGELOG.md)
- [Commits](protobufjs/protobuf.js@protobufjs-v7.5.5...protobufjs-v7.5.8)

---
updated-dependencies:
- dependency-name: protobufjs
  dependency-version: 7.5.8
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): bump protobufjs-cli from 1.1.3 to 1.2.1 (#9955)

Bumps [protobufjs-cli](https://github.com/protobufjs/protobuf.js) from 1.1.3 to 1.2.1.
- [Release notes](https://github.com/protobufjs/protobuf.js/releases)
- [Changelog](https://github.com/protobufjs/protobuf.js/blob/master/CHANGELOG.md)
- [Commits](protobufjs/protobuf.js@protobufjs-cli-v1.1.3...protobufjs-cli-v1.2.1)

---
updated-dependencies:
- dependency-name: protobufjs-cli
  dependency-version: 1.2.1
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump protobufjs from 7.4.0 to 7.5.9 in /e2e/data-connect (#9977)

Bumps [protobufjs](https://github.com/protobufjs/protobuf.js) from 7.4.0 to 7.5.9.
- [Release notes](https://github.com/protobufjs/protobuf.js/releases)
- [Changelog](https://github.com/protobufjs/protobuf.js/blob/protobufjs-v7.5.9/CHANGELOG.md)
- [Commits](protobufjs/protobuf.js@protobufjs-v7.4.0...protobufjs-v7.5.9)

---
updated-dependencies:
- dependency-name: protobufjs
  dependency-version: 7.5.9
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* feature(firestore): added minimum and maximum FieldValue operations (#9913)

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* fix(changelog-generator): fix postinstall build failure (#9948)

The fix has two parts:

1. Add `"types": ["node"]` to tsconfig.

2. Fix an incorrect type cast in `index.ts`. The parsed GitHub API response
   was being cast to the DOM `Response` type to access its `.body` property,
   which is wrong — `Response.body` is a `ReadableStream`, not a string. The
   actual value is the parsed JSON from the GitHub PR API, whose `body` field
   is `string | null` per the API schema. Updated the cast accordingly.

Resolves #9947

* Feat/messaging api series (#9917)

* fix(app-check): Fix getLimitedUseToken() (#9987)

* fix(remoteconfig): Stopping last running experiment must call updateActiveExperiments (#9981)

Context: Currently, experiments are updated at activation only if the fetch response explicitly contains an experiments payload.

Problem: When the last running experiment is stopped, the fetch response returns experiments as undefined. This causes the client to skip the update call entirely, meaning the local state never registers that the experiment was stopped.

Fix: If fetch response does not contain experiments, pass an empty list to update

* fix(firestore): improved robustness and logging in query listen stream creation and re-creation (#9985)

* implement onSubChange for FID-based registration (#9996)

* implement onSubChange for FID-based registration

* Persist VAPID key in FID registration metadata to fix re-registration issue

* Enforce mutual exclusivity of token and FID registrations in DB layer

* Notify clients in onSubChange on successful FID refresh

- Update onSubChange to notify window clients when FID registration is refreshed. Previously it did not notify clients.
- Update refreshFidRegistrationIfStored to return the current FID.
- Update onSubChange to use the returned FID and only notify if the refresh was successful.
- Add unit tests to verify client notification on success, failure, and when not registered.
- Fix a lint error in window-listener.ts by adding the FidRegisteredPayload interface.

---------

Co-authored-by: Kai Wu <zwu52@users.noreply.github.com>

* feat(ai)!: Add explicit `initializeDeviceModel()` method when using hybrid (#9800)

* feat(ai): Update tags to mark hybrid inference features as GA (#9926)

* Version Packages (#10004)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* fix(auth,app-check): Fix Auth/AppCheck ReCAPTCHA Enterprise conflict (#9991)

* fix(remoteconfig) Support ABT realtime when variant value matches default value of parameter

When an experiment is added whose variant value matches default value, the parameter key is not listed as updated. This becomes a problem when the client app calls activate only on config change as the experiment will not get started

Before fix - https://screencast.googleplex.com/cast/NDgxNTYwNjU0NDA3MjcwNHxiOWY1MmIyNy1iMQ
After fix - https://screencast.googleplex.com/cast/NDcxODUwODQ0MDAyNzEzNnwzODc2YTRlMC01MA

* chore: Add explicit types to tsconfig (#10015)

* Update CODEOWNERS for auth packages (#10001)

* feat(app-check,app): Add ability for App Check to initialize with a default provider (#10023)

* chore(ci): make all firestore integration tests optional (#10028)

* 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

* fix(ai): format systemInstruction string in ChatSession constructor (#10026)

* fix(ai): format systemInstruction string in ChatSession constructor

* adding a changeset file

* test(ai): verify systemInstruction in sendMessage and sendMessageStream

* remove extra folder in changeset

* remove extra changeset file

* restore deleted file

* adding check if systemInstruction is not null/undefined

* simplify systemInstruction assignment

* fix lint error

* revert to original structure

* 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

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* 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

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

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

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* docs-devsite

---------

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* 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: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Mark Duckworth <1124037+MarkDuckworth@users.noreply.github.com>

* Support API key referrer restrictions by changing the Auth SDK referrer policy (#10049)

* feat(auth): Update referrer policy to strict-origin-when-cross-origin

* chore: Add changeset tame-yaks-yawn.md

* Fix querystring to always use apiKey even if a key is specified in the request (#10048)

* Fix querystring to always use apiKey even if a key is specified in the request

* Update packages/auth/src/api/index.ts

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* Fix test helper URL generation to match new querystring order

* Run yarn format

---------

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* Revert "chore(ci): make all firestore integration tests optional (#10028)" (#10073)

Also trigger Firestore tests when Firestore workflow files are modified.

* run ratchet (#10064)

* 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.

* Change setup-node@master to v4 (#10090)

* Version Packages (#10080)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* chore: add _customHeader setting for console (#10108)

* Fix querySnapshotFromJSON to preserve query sort order (#10107) (#10109)

* optimize linting speed repo-wide (#10110)

Enable eslint caching (--cache) across all package lint scripts and centralize cache files inside the root node_modules/.cache/eslint/ directory using the --cache-location option to prevent repository clutter.

Update the root lint script to run concurrently without topological sorting (--no-sort) to maximize CPU core usage.

Performance Data:
- Package-level (e.g. firestore):
  - Before: ~15-18s
  - After: ~4s (4x speedup)
- Repo-wide (yarn lint):
  - Before: ~35-40s
  - After: ~8.6s (4.3x speedup)

* ci(firestore): skip timestamp tests in safari that were failing due to rounding behavior (#10115)

* chore(format): optimize code formatting speed repo-wide (#10111)

Enable prettier caching (--cache) across all package prettier scripts and the main format script, and optimize the custom license header checker to read only the first 1000 bytes of each file.

Performance Data:
- Repo-wide formatting (yarn format --all):
  - Before caching: ~35-40s (uncached formatting + full license check)
  - After caching: ~5.8s (cached formatting + header-only license check)
  - Speedup: ~6x speedup

* Support realtime updates for Rollouts (#10106)

* Support realtime updates for Rollouts

* Map optimization and lint

* update changeset

* chore(auth): rm auth-commpat/demo and auth/cordova/demo (#10118)

* Security Audit & Remediation: repo-scripts/api-documenter (#10112)

* security-audit(api-documenter): purge abandonware colors and resolve dependencies

* security-audit(api-documenter): address review comments and update yarn.lock

* fix zizmor findings (#10044)

* don't persist unused credentials

* fix zizmor findings

* remove one persistence

* build(deps): Upgrade Lerna to 9.0.6 (#10032)

### Discussion

Upgrade `lerna` from `4.x` to `9.x`. This newer version of `lerna` is powered by `NX`, which also requires a newer minor version bump of `node` in our workflows, and slight changes our test execution parms.

The new version of Lerna is said to improve performance, and that seems to have exacerbated race conditions in the Auth test suites (@firebase/auth and @firebase/auth-compat). To resolve intermittent CI failures caused by these race conditions, I've configured these tests to run in serial instead of concurrently.

Also I needed to bump the node version of our workflows by 2 minor versions (20.10.0 -> 2.12.0) because Lerna 9.0.6 isn't supported in Node 20.10.0.

### Testing
 - Clean repo, clean cache, clean dependency installs.
 - CI, local builds and tests. 

Note: The Firestore WebKit failure in the optional CI execution list is a known issue (b/524995481).

### API Changes

None.

* build(deps): update deps with security issues (pass 1) (#10119)

* fix(ai): update deprecated gemini models strings" (#10043)

* update gemini models

* fix extra bracket error

* remove extra duplicate line

* fix lint error

* fix lint

* fix lint error

* fix prettier errors

* update gemini model in e2e

* revert tests

* yarn format

* Update AI integration tests and add new models

* yarn format

* chore: add minor changeset for hybrid fallback model update and revert generate-content.test

* revert old file: got rid of URL context and fixed tests

* revert cloud model change in src/constants to put in another PR

* delete changeset

* chore(data-connect): refactor streaming tests and change idle timeout back to 15s (#10133)

* re-organize tests, introduce helper function to flush microtask queue

* fix some formatting and ordering

* return idle timeout to 15 seconds

* address reviewer comments

* run yarn format

* address reviewer comments

* fix tests calling closeConnection twice

* update changeset to patch

* fix: Resolve duplicate assertion ID and add check to Firestore CI (#10138)

* Update re2js version (#10104)

* Update re2js

* Update re2js, add changeset

* chore(changeset): use @firebase/firestore patch bump per review comment (#10104)

---------

Co-authored-by: wu-hui <wu.hui.github@gmail.com>

* build: put include-dependencies flag back (#10137)

* Merge release into main

version 12.16.0

Co-authored-by: Google Open Source Bot <firebase-oss-bot@google.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* build(deps): bump undici from 6.26.0 to 6.27.0 (#10129)

Bumps [undici](https://github.com/nodejs/undici) from 6.26.0 to 6.27.0.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](nodejs/undici@v6.26.0...v6.27.0)

---
updated-dependencies:
- dependency-name: undici
  dependency-version: 6.27.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump shell-quote from 1.8.1 to 1.8.4 in /e2e/smoke-tests (#10045)

* build(deps): bump shell-quote from 1.8.1 to 1.8.4 in /e2e/smoke-tests

Bumps [shell-quote](https://github.com/ljharb/shell-quote) from 1.8.1 to 1.8.4.
- [Changelog](https://github.com/ljharb/shell-quote/blob/main/CHANGELOG.md)
- [Commits](ljharb/shell-quote@v1.8.1...v1.8.4)

---
updated-dependencies:
- dependency-name: shell-quote
  dependency-version: 1.8.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* trigger CI

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Christina Holland <chholland@google.com>

* chore(deps): Upgrade rollup and gulp (#10136)

* build(deps): bump shell-quote from 1.8.2 to 1.8.4 (#10047)

* build(deps): bump shell-quote from 1.8.2 to 1.8.4

Bumps [shell-quote](https://github.com/ljharb/shell-quote) from 1.8.2 to 1.8.4.
- [Changelog](https://github.com/ljharb/shell-quote/blob/main/CHANGELOG.md)
- [Commits](ljharb/shell-quote@v1.8.2...v1.8.4)

---
updated-dependencies:
- dependency-name: shell-quote
  dependency-version: 1.8.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* trigger CI

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Christina Holland <chholland@google.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Mark Duckworth <1124037+MarkDuckworth@users.noreply.github.com>
Co-authored-by: Daniel La Rocque <dlarocque@google.com>
Co-authored-by: Christina Holland <chholland@google.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Paul Beusterien <paulbeusterien@google.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Google Open Source Bot <firebase-oss-bot@google.com>
Co-authored-by: Stephen Rosa <84193009+stephenarosaj@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: DellaBitta <drsanta@google.com>
Co-authored-by: Kai Wu <zwu52@users.noreply.github.com>
Co-authored-by: macastelaz <34776182+macastelaz@users.noreply.github.com>
Co-authored-by: swseverance <swseverance@gmail.com>
Co-authored-by: Athira M <athiramanu9400@gmail.com>
Co-authored-by: Doris-Ge <dorisge@google.com>
Co-authored-by: wu-hui <53845758+wu-hui@users.noreply.github.com>
Co-authored-by: sedanah-m <mashhour@google.com>
Co-authored-by: Morgan Chen <morganchen12@gmail.com>
Co-authored-by: DellaBitta <DellaBitta@users.noreply.github.com>
Co-authored-by: Tushar Khandelwal <64364243+tusharkhandelwal8@users.noreply.github.com>
Co-authored-by: Thomas Bouldin <inlined@users.noreply.github.com>
Co-authored-by: Oleksii Vasyliev <le0pard@users.noreply.github.com>
Co-authored-by: wu-hui <wu.hui.github@gmail.com>
tonybaroneee added a commit that referenced this pull request Jul 13, 2026
* 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 <dlarocque@google.com>

* 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 <dlarocque@google.com>

* chore: Update picomatch and rollup-plugin-typescript2 (#9892)

* build(deps): bump picomatch from 2.3.1 to 2.3.2

Bumps [picomatch](https://github.com/micromatch/picomatch) from 2.3.1 to 2.3.2.
- [Release notes](https://github.com/micromatch/picomatch/releases)
- [Changelog](https://github.com/micromatch/picomatch/blob/master/CHANGELOG.md)
- [Commits](micromatch/picomatch@2.3.1...2.3.2)

---
updated-dependencies:
- dependency-name: picomatch
  dependency-version: 2.3.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* Upgrade picomatch and rollup-plugin-typescript2

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* feat(ai): ImageConfig and FinishReasons (#9819)

* fix(firestore): Assertion ID: ca9 (pendingResponses less than 0) caused by target creation race condition (#9842)

* implement remote store target mapping

* Add spec test for removeTarget race condition

* cleanup

* Update packages/firestore/src/remote/remote_store.ts

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* cleanup

* Create loud-camels-cross.md

* Fix PR concerns and new tests

* Cleanup possible leak in watchChangeAggregator

* fix build issue with spec tests

* Fix integration test failure when running against public api

* another build fix

* Update spec test builder and runner to allow the spec test to specify the index of a target ID used for a query for some watch message types

* lint

* add Remote and SDK TargetID types

* Fix tests for SDK and Remote TargetId types

* refactor spec test to add step watchUsesTargetIndex and remove steps where the target index is passed to individual steps

* Remove unnecessary  values passed to watchRemoves

* Removed unused helpers

---------

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* build(deps): bump axios from 1.13.5 to 1.15.2 (#9860)

Bumps [axios](https://github.com/axios/axios) from 1.13.5 to 1.15.2.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](axios/axios@v1.13.5...v1.15.2)

---
updated-dependencies:
- dependency-name: axios
  dependency-version: 1.15.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: migrate test functions to v2 (#9910)

* feat(data-connect): add de-duplication, resume, and intelligent reconnection with backoff (#9905)

* chore(data-connect): update documentation and names in stream transport (#9846)

* rename in preparation for future changes

* finish renaming + updating comments

* minor typo fix

* feat(data-connect): add query de-duplication to stream transport (#9850)

* rename in preparation for future changes

* finish renaming + updating comments

* minor typo fix

* add de-duping - now for tests

* add de-duplication tests for invokeQuery

* finish invoke operation dedupe tests

* add subscribe de-duping as well

* add more query dedupe tests

* chore(data-connect): clean up streaming tests a bit (#9851)

* rename in preparation for future changes

* finish renaming + updating comments

* minor typo fix

* add de-duping - now for tests

* add de-duplication tests for invokeQuery

* finish invoke operation dedupe tests

* add subscribe de-duping as well

* add more query dedupe tests

* clean up stream tests

* clean up promise types in streaming tests

* Pasta/bucatini resume refactor (#9885)

* add test changes

* add transportchanges

* finalize changes, run yarn format

* finalize changes based on reviewer feedback

* feat(data-connect): add prefer resume over execute optimization to stream transport (#9879)

* initial implementation - now for testing

* finish tests

* merge pasta/bucatini-resume-refactor

* address reviewer comments

* remove old comments

* address reviewer comments

* feat(data-connect): add intelligent reconnection to streaming transport and harden disconnect/cleanup functionality (#9893)

* WIP

* first pass

* fixing names

* tidying up, fixing tests

* fixed tests

* address reviewer comments

* address reviewer comments and harden close/cleanup lifecycle

* address reviewer comments

* make listener registering and unregistering more robust

* merge main, add changeset

* chore: fix e2e tests for functions and AI (#9924)

* Version Packages (#9923)

Release v12.13.0

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* fix(messaging): wire Firelog delivery metrics flush (startLoggingService) (#9916)

* fix(data-connect): Reduce Stream Transport Idle Timeout to Instant (#9936)

* reduce idle cooldown to instant

* run yarn format and add changeset

* update changelog

* fix(ai): Fix sendMessageStream bug that sends duplicate user turns (#9956)

* build(deps): bump protobufjs from 7.5.5 to 7.5.8 in /e2e/smoke-tests (#9958)

Bumps [protobufjs](https://github.com/protobufjs/protobuf.js) from 7.5.5 to 7.5.8.
- [Release notes](https://github.com/protobufjs/protobuf.js/releases)
- [Changelog](https://github.com/protobufjs/protobuf.js/blob/protobufjs-v7.5.8/CHANGELOG.md)
- [Commits](protobufjs/protobuf.js@protobufjs-v7.5.5...protobufjs-v7.5.8)

---
updated-dependencies:
- dependency-name: protobufjs
  dependency-version: 7.5.8
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* test(firestore): skip database source test that is timing out (#9966)

* test(firestore): skip database source test that is timing out

The test database keeps growing, causing this tests executionn time to
keep growing, repeatedly exceeding new timeouts we set. For now, let's
just skip this test.

* add eslint disable

* fix(auth): retry IndexedDB availability check on startup failure (#9845)

* fix(auth): retry IndexedDB availability check on startup failure

In environments like Chrome Extension Manifest V3 Service Workers, the initial IndexedDB transaction upon a cold start can sometimes drop or timeout. Previously, `_isAvailable()` would immediately catch the error, assume IndexedDB is broken, and silently fall back to `inMemoryPersistence`.

This updates `_isAvailable()` to use the `_withRetries()` helper, ensuring it benefits from the same retry logic as actual storage operations. This prevents the SDK from incorrectly abandoning existing IndexedDB auth state.

Fixes #9732

* style(auth): run yarn format

* chore: add changeset for IndexedDB availability check retry

* fix(auth): robust IndexedDB connection handling and test stability

* build(deps-dev): bump protobufjs in /packages/firestore (#9960)

Merge rules bypassed due to errant format diff.

Bumps [protobufjs](https://github.com/protobufjs/protobuf.js) from 7.5.5 to 7.5.6.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/protobufjs/protobuf.js/releases">protobufjs's releases</a>.</em></p>
<blockquote>
<h2>protobufjs: v7.5.6</h2>
<h2><a href="https://github.com/protobufjs/protobuf.js/compare/protobufjs-v7.5.5...protobufjs-v7.5.6">7.5.6</a> (2026-04-27)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>Backport input hardening and CLI fixes to 7.x (<a href="https://redirect.github.com/protobufjs/protobuf.js/issues/2173">#2173</a>) (<a href="https://github.com/protobufjs/protobuf.js/commit/75392ea1b78bdc4faba027b5db44ad7c50e9c454">75392ea</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/protobufjs/protobuf.js/blob/protobufjs-v7.5.6/CHANGELOG.md">protobufjs's changelog</a>.</em></p>
<blockquote>
<h2><a href="https://github.com/protobufjs/protobuf.js/compare/protobufjs-v7.5.5...protobufjs-v7.5.6">7.5.6</a> (2026-04-27)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>Backport input hardening and CLI fixes to 7.x (<a href="https://redirect.github.com/protobufjs/protobuf.js/issues/2173">#2173</a>) (<a href="https://github.com/protobufjs/protobuf.js/commit/75392ea1b78bdc4faba027b5db44ad7c50e9c454">75392ea</a>)</li>
</ul>
<h2><a href="https://github.com/protobufjs/protobuf.js/compare/protobufjs-v7.5.3...protobufjs-v7.5.4">7.5.4</a> (2025-08-15)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>invalid syntax in descriptor.proto (<a href="https://redirect.github.com/protobufjs/protobuf.js/issues/2092">#2092</a>) (<a href="https://github.com/protobufjs/protobuf.js/commit/5a3769a465fead089a533ad55c21d069299df760">5a3769a</a>)</li>
</ul>
<h2><a href="https://github.com/protobufjs/protobuf.js/compare/protobufjs-v7.5.2...protobufjs-v7.5.3">7.5.3</a> (2025-05-28)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>descriptor extensions handling post-editions (<a href="https://redirect.github.com/protobufjs/protobuf.js/issues/2075">#2075</a>) (<a href="https://github.com/protobufjs/protobuf.js/commit/6e255d4ad6982cc857f26e1731c2cedcf5796f68">6e255d4</a>)</li>
</ul>
<h2><a href="https://github.com/protobufjs/protobuf.js/compare/protobufjs-v7.5.1...protobufjs-v7.5.2">7.5.2</a> (2025-05-14)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>ensure that types are always resolved (<a href="https://redirect.github.com/protobufjs/protobuf.js/issues/2068">#2068</a>) (<a href="https://github.com/protobufjs/protobuf.js/commit/4b51cb2b8450b77f9f5de1c562e7fae93b19d040">4b51cb2</a>)</li>
</ul>
<h2><a href="https://github.com/protobufjs/protobuf.js/compare/protobufjs-v7.5.0...protobufjs-v7.5.1">7.5.1</a> (2025-05-08)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>optimize regressions from editions implementations (<a href="https://redirect.github.com/protobufjs/protobuf.js/issues/2066">#2066</a>) (<a href="https://github.com/protobufjs/protobuf.js/commit/6406d4c18afae309fc7b5f4a24d9674d85da180b">6406d4c</a>)</li>
<li>reserved field inside group blocks fail parsing (<a href="https://redirect.github.com/protobufjs/protobuf.js/issues/2058">#2058</a>) (<a href="https://github.com/protobufjs/protobuf.js/commit/56782bff0c4b5132806eb1a6bc4d08f930c4aaad">56782bf</a>)</li>
</ul>
<h2><a href="https://github.com/protobufjs/protobuf.js/compare/protobufjs-v7.4.0...protobufjs-v7.5.0">7.5.0</a> (2025-04-15)</h2>
<h3>Features</h3>
<ul>
<li>add Edition 2023 Support (<a href="https://github.com/protobufjs/protobuf.js/commit/f04ded3a03a3ddd383f0228e2fe2627a51f31aa3">f04ded3</a>)</li>
<li>add Edition 2023 Support (<a href="https://github.com/protobufjs/protobuf.js/commit/ac9a3b9fe3134d48187e41b08d54ffaceddc6c1b">ac9a3b9</a>)</li>
<li>add Edition 2023 Support (<a href="https://github.com/protobufjs/protobuf.js/commit/e5ca5c84e326699e10258367883a54934e0bfe14">e5ca5c8</a>)</li>
<li>add Edition 2023 Support (<a href="https://github.com/protobufjs/protobuf.js/commit/a84409b47f9ba0dba56da1af8054fb54f85d85a1">a84409b</a>)</li>
<li>add Edition 2023 Support (<a href="https://github.com/protobufjs/protobuf.js/commit/9c5a178c4b59e0aa65ecac0bd7420171213b2ff9">9c5a178</a>)</li>
<li>add Edition 2023 Support (<a href="https://github.com/protobufjs/protobuf.js/commit/b2c686721e3b63d092419fa1cbe58e1deb89534e">b2c6867</a>)</li>
<li>add Edition 2023 Support (<a href="https://github.com/protobufjs/protobuf.js/commit/60f3e51087ca2c247473410f39331e1c766aefef">60f3e51</a>)</li>
<li>add Edition 2023 Support (<a href="https://github.com/protobufjs/protobuf.js/commit/a6563617de04d510d6e8865eb6c5067f10247f64">a656361</a>)</li>
<li>add Edition 2023 Support (<a href="https://github.com/protobufjs/protobuf.js/commit/869a95b1e5f553c76243aac45619061407a41084">869a95b</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/protobufjs/protobuf.js/commit/2189e5beeca6a70e4c104dfdb9fb8200bc5f81fe"><code>2189e5b</code></a> chore: release protobufjs-v7.x (<a href="https://redirect.github.com/protobufjs/protobuf.js/issues/2174">#2174</a>)</li>
<li><a href="https://github.com/protobufjs/protobuf.js/commit/75392ea1b78bdc4faba027b5db44ad7c50e9c454"><code>75392ea</code></a> fix: Backport input hardening and CLI fixes to 7.x (<a href="https://redirect.github.com/protobufjs/protobuf.js/issues/2173">#2173</a>)</li>
<li><a href="https://github.com/protobufjs/protobuf.js/commit/8af8d7c0e9800879625f7d0d4a7fb51beb4410cd"><code>8af8d7c</code></a> chore(ci): Fix 7.x release please configuration (<a href="https://redirect.github.com/protobufjs/protobuf.js/issues/2169">#2169</a>)</li>
<li><a href="https://github.com/protobufjs/protobuf.js/commit/e92ca42244ad67203b48d836290062dae037ead6"><code>e92ca42</code></a> chore(ci): Enable release-please for 7.x (<a href="https://redirect.github.com/protobufjs/protobuf.js/issues/2166">#2166</a>)</li>
<li>See full diff in <a href="https://github.com/protobufjs/protobuf.js/compare/protobufjs-v7.5.5...protobufjs-v7.5.6">compare view</a></li>
</ul>
</details>
<details>
<summary>Maintainer changes</summary>
<p>This version was pushed to npm by <a href="https://www.npmjs.com/~GitHub%20Actions">GitHub Actions</a>, a new releaser for protobufjs since your current version.</p>
</details>
<br />

* build(deps): bump @protobufjs/utf8 (#9952)

Bumps [@protobufjs/utf8](https://github.com/dcodeIO/protobuf.js) from 1.1.0 to 1.1.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/dcodeIO/protobuf.js/releases">@​protobufjs/utf8's releases</a>.</em></p>
<blockquote>
<h2>protobufjs-cli: v1.1.1</h2>
<h2><a href="https://github.com/protobufjs/protobuf.js/compare/protobufjs-cli-v1.1.0...protobufjs-cli-v1.1.1">1.1.1</a> (2023-02-02)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>cli:</strong> fix relative path to Google pb files (<a href="https://redirect.github.com/protobufjs/protobuf.js/issues/1859">#1859</a>) (<a href="https://github.com/protobufjs/protobuf.js/commit/e42eea4868b11f4a07934804a56683321ed191e2">e42eea4</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/protobufjs/protobuf.js/commit/644d588c0495da6a570344248e1b5af901bc3b0c"><code>644d588</code></a> chore: release master (<a href="https://redirect.github.com/dcodeIO/protobuf.js/issues/1865">#1865</a>)</li>
<li><a href="https://github.com/protobufjs/protobuf.js/commit/e42eea4868b11f4a07934804a56683321ed191e2"><code>e42eea4</code></a> fix(cli): fix relative path to Google pb files (<a href="https://redirect.github.com/dcodeIO/protobuf.js/issues/1859">#1859</a>)</li>
<li><a href="https://github.com/protobufjs/protobuf.js/commit/dce9a2ef92d363752e40b295b0da9bd178f82e83"><code>dce9a2e</code></a> fix: use bundled filename to fix common pb includes (<a href="https://redirect.github.com/dcodeIO/protobuf.js/issues/1860">#1860</a>)</li>
<li><a href="https://github.com/protobufjs/protobuf.js/commit/64e8936ad9f73c68b3fa1e57857dd38323b5a745"><code>64e8936</code></a> fix: use ES5 style function syntax (<a href="https://redirect.github.com/dcodeIO/protobuf.js/issues/1830">#1830</a>)</li>
<li><a href="https://github.com/protobufjs/protobuf.js/commit/4489fa771464bcb49b57149760e9cc4131e8077e"><code>4489fa7</code></a> Revert &quot;fix: error should be thrown (<a href="https://redirect.github.com/dcodeIO/protobuf.js/issues/1817">#1817</a>)&quot; (<a href="https://redirect.github.com/dcodeIO/protobuf.js/issues/1864">#1864</a>)</li>
<li>See full diff in <a href="https://github.com/dcodeIO/protobuf.js/compare/protobufjs-cli-v1.1.0...protobufjs-cli-v1.1.1">compare view</a></li>
</ul>
</details>
<br />

* build(deps): bump @protobufjs/utf8 (#9949)

Bumps [@protobufjs/utf8](https://github.com/dcodeIO/protobuf.js) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/dcodeIO/protobuf.js/releases)
- [Changelog](https://github.com/protobufjs/protobuf.js/blob/master/CHANGELOG.md)
- [Commits](protobufjs/protobuf.js@protobufjs-cli-v1.1.0...protobufjs-cli-v1.1.1)

---
updated-dependencies:
- dependency-name: "@protobufjs/utf8"
  dependency-version: 1.1.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump protobufjs from 7.5.5 to 7.5.8 (#9973)

Bumps [protobufjs](https://github.com/protobufjs/protobuf.js) from 7.5.5 to 7.5.8.
- [Release notes](https://github.com/protobufjs/protobuf.js/releases)
- [Changelog](https://github.com/protobufjs/protobuf.js/blob/protobufjs-v7.5.8/CHANGELOG.md)
- [Commits](protobufjs/protobuf.js@protobufjs-v7.5.5...protobufjs-v7.5.8)

---
updated-dependencies:
- dependency-name: protobufjs
  dependency-version: 7.5.8
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): bump protobufjs-cli from 1.1.3 to 1.2.1 (#9955)

Bumps [protobufjs-cli](https://github.com/protobufjs/protobuf.js) from 1.1.3 to 1.2.1.
- [Release notes](https://github.com/protobufjs/protobuf.js/releases)
- [Changelog](https://github.com/protobufjs/protobuf.js/blob/master/CHANGELOG.md)
- [Commits](protobufjs/protobuf.js@protobufjs-cli-v1.1.3...protobufjs-cli-v1.2.1)

---
updated-dependencies:
- dependency-name: protobufjs-cli
  dependency-version: 1.2.1
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump protobufjs from 7.4.0 to 7.5.9 in /e2e/data-connect (#9977)

Bumps [protobufjs](https://github.com/protobufjs/protobuf.js) from 7.4.0 to 7.5.9.
- [Release notes](https://github.com/protobufjs/protobuf.js/releases)
- [Changelog](https://github.com/protobufjs/protobuf.js/blob/protobufjs-v7.5.9/CHANGELOG.md)
- [Commits](protobufjs/protobuf.js@protobufjs-v7.4.0...protobufjs-v7.5.9)

---
updated-dependencies:
- dependency-name: protobufjs
  dependency-version: 7.5.9
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* feature(firestore): added minimum and maximum FieldValue operations (#9913)

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* fix(changelog-generator): fix postinstall build failure (#9948)

The fix has two parts:

1. Add `"types": ["node"]` to tsconfig.

2. Fix an incorrect type cast in `index.ts`. The parsed GitHub API response
   was being cast to the DOM `Response` type to access its `.body` property,
   which is wrong — `Response.body` is a `ReadableStream`, not a string. The
   actual value is the parsed JSON from the GitHub PR API, whose `body` field
   is `string | null` per the API schema. Updated the cast accordingly.

Resolves #9947

* Feat/messaging api series (#9917)

* fix(app-check): Fix getLimitedUseToken() (#9987)

* fix(remoteconfig): Stopping last running experiment must call updateActiveExperiments (#9981)

Context: Currently, experiments are updated at activation only if the fetch response explicitly contains an experiments payload.

Problem: When the last running experiment is stopped, the fetch response returns experiments as undefined. This causes the client to skip the update call entirely, meaning the local state never registers that the experiment was stopped.

Fix: If fetch response does not contain experiments, pass an empty list to update

* fix(firestore): improved robustness and logging in query listen stream creation and re-creation (#9985)

* implement onSubChange for FID-based registration (#9996)

* implement onSubChange for FID-based registration

* Persist VAPID key in FID registration metadata to fix re-registration issue

* Enforce mutual exclusivity of token and FID registrations in DB layer

* Notify clients in onSubChange on successful FID refresh

- Update onSubChange to notify window clients when FID registration is refreshed. Previously it did not notify clients.
- Update refreshFidRegistrationIfStored to return the current FID.
- Update onSubChange to use the returned FID and only notify if the refresh was successful.
- Add unit tests to verify client notification on success, failure, and when not registered.
- Fix a lint error in window-listener.ts by adding the FidRegisteredPayload interface.

---------

Co-authored-by: Kai Wu <zwu52@users.noreply.github.com>

* feat(ai)!: Add explicit `initializeDeviceModel()` method when using hybrid (#9800)

* feat(ai): Update tags to mark hybrid inference features as GA (#9926)

* Version Packages (#10004)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* fix(auth,app-check): Fix Auth/AppCheck ReCAPTCHA Enterprise conflict (#9991)

* fix(remoteconfig) Support ABT realtime when variant value matches default value of parameter

When an experiment is added whose variant value matches default value, the parameter key is not listed as updated. This becomes a problem when the client app calls activate only on config change as the experiment will not get started

Before fix - https://screencast.googleplex.com/cast/NDgxNTYwNjU0NDA3MjcwNHxiOWY1MmIyNy1iMQ
After fix - https://screencast.googleplex.com/cast/NDcxODUwODQ0MDAyNzEzNnwzODc2YTRlMC01MA

* chore: Add explicit types to tsconfig (#10015)

* Update CODEOWNERS for auth packages (#10001)

* feat(app-check,app): Add ability for App Check to initialize with a default provider (#10023)

* chore(ci): make all firestore integration tests optional (#10028)

* 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

* fix(ai): format systemInstruction string in ChatSession constructor (#10026)

* fix(ai): format systemInstruction string in ChatSession constructor

* adding a changeset file

* test(ai): verify systemInstruction in sendMessage and sendMessageStream

* remove extra folder in changeset

* remove extra changeset file

* restore deleted file

* adding check if systemInstruction is not null/undefined

* simplify systemInstruction assignment

* fix lint error

* revert to original structure

* 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

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* 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

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

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

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* docs-devsite

---------

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* 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: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Mark Duckworth <1124037+MarkDuckworth@users.noreply.github.com>

* Support API key referrer restrictions by changing the Auth SDK referrer policy (#10049)

* feat(auth): Update referrer policy to strict-origin-when-cross-origin

* chore: Add changeset tame-yaks-yawn.md

* Fix querystring to always use apiKey even if a key is specified in the request (#10048)

* Fix querystring to always use apiKey even if a key is specified in the request

* Update packages/auth/src/api/index.ts

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* Fix test helper URL generation to match new querystring order

* Run yarn format

---------

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* Revert "chore(ci): make all firestore integration tests optional (#10028)" (#10073)

Also trigger Firestore tests when Firestore workflow files are modified.

* run ratchet (#10064)

* 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.

* Change setup-node@master to v4 (#10090)

* Version Packages (#10080)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* chore: add _customHeader setting for console (#10108)

* Fix querySnapshotFromJSON to preserve query sort order (#10107) (#10109)

* optimize linting speed repo-wide (#10110)

Enable eslint caching (--cache) across all package lint scripts and centralize cache files inside the root node_modules/.cache/eslint/ directory using the --cache-location option to prevent repository clutter.

Update the root lint script to run concurrently without topological sorting (--no-sort) to maximize CPU core usage.

Performance Data:
- Package-level (e.g. firestore):
  - Before: ~15-18s
  - After: ~4s (4x speedup)
- Repo-wide (yarn lint):
  - Before: ~35-40s
  - After: ~8.6s (4.3x speedup)

* ci(firestore): skip timestamp tests in safari that were failing due to rounding behavior (#10115)

* chore(format): optimize code formatting speed repo-wide (#10111)

Enable prettier caching (--cache) across all package prettier scripts and the main format script, and optimize the custom license header checker to read only the first 1000 bytes of each file.

Performance Data:
- Repo-wide formatting (yarn format --all):
  - Before caching: ~35-40s (uncached formatting + full license check)
  - After caching: ~5.8s (cached formatting + header-only license check)
  - Speedup: ~6x speedup

* Support realtime updates for Rollouts (#10106)

* Support realtime updates for Rollouts

* Map optimization and lint

* update changeset

* chore(auth): rm auth-commpat/demo and auth/cordova/demo (#10118)

* Security Audit & Remediation: repo-scripts/api-documenter (#10112)

* security-audit(api-documenter): purge abandonware colors and resolve dependencies

* security-audit(api-documenter): address review comments and update yarn.lock

* fix zizmor findings (#10044)

* don't persist unused credentials

* fix zizmor findings

* remove one persistence

* build(deps): Upgrade Lerna to 9.0.6 (#10032)

### Discussion

Upgrade `lerna` from `4.x` to `9.x`. This newer version of `lerna` is powered by `NX`, which also requires a newer minor version bump of `node` in our workflows, and slight changes our test execution parms.

The new version of Lerna is said to improve performance, and that seems to have exacerbated race conditions in the Auth test suites (@firebase/auth and @firebase/auth-compat). To resolve intermittent CI failures caused by these race conditions, I've configured these tests to run in serial instead of concurrently.

Also I needed to bump the node version of our workflows by 2 minor versions (20.10.0 -> 2.12.0) because Lerna 9.0.6 isn't supported in Node 20.10.0.

### Testing
 - Clean repo, clean cache, clean dependency installs.
 - CI, local builds and tests. 

Note: The Firestore WebKit failure in the optional CI execution list is a known issue (b/524995481).

### API Changes

None.

* build(deps): update deps with security issues (pass 1) (#10119)

* fix(ai): update deprecated gemini models strings" (#10043)

* update gemini models

* fix extra bracket error

* remove extra duplicate line

* fix lint error

* fix lint

* fix lint error

* fix prettier errors

* update gemini model in e2e

* revert tests

* yarn format

* Update AI integration tests and add new models

* yarn format

* chore: add minor changeset for hybrid fallback model update and revert generate-content.test

* revert old file: got rid of URL context and fixed tests

* revert cloud model change in src/constants to put in another PR

* delete changeset

* chore(data-connect): refactor streaming tests and change idle timeout back to 15s (#10133)

* re-organize tests, introduce helper function to flush microtask queue

* fix some formatting and ordering

* return idle timeout to 15 seconds

* address reviewer comments

* run yarn format

* address reviewer comments

* fix tests calling closeConnection twice

* update changeset to patch

* fix: Resolve duplicate assertion ID and add check to Firestore CI (#10138)

* Update re2js version (#10104)

* Update re2js

* Update re2js, add changeset

* chore(changeset): use @firebase/firestore patch bump per review comment (#10104)

---------

Co-authored-by: wu-hui <wu.hui.github@gmail.com>

* build: put include-dependencies flag back (#10137)

* Merge release into main

version 12.16.0

Co-authored-by: Google Open Source Bot <firebase-oss-bot@google.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* build(deps): bump undici from 6.26.0 to 6.27.0 (#10129)

Bumps [undici](https://github.com/nodejs/undici) from 6.26.0 to 6.27.0.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](nodejs/undici@v6.26.0...v6.27.0)

---
updated-dependencies:
- dependency-name: undici
  dependency-version: 6.27.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump shell-quote from 1.8.1 to 1.8.4 in /e2e/smoke-tests (#10045)

* build(deps): bump shell-quote from 1.8.1 to 1.8.4 in /e2e/smoke-tests

Bumps [shell-quote](https://github.com/ljharb/shell-quote) from 1.8.1 to 1.8.4.
- [Changelog](https://github.com/ljharb/shell-quote/blob/main/CHANGELOG.md)
- [Commits](ljharb/shell-quote@v1.8.1...v1.8.4)

---
updated-dependencies:
- dependency-name: shell-quote
  dependency-version: 1.8.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* trigger CI

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Christina Holland <chholland@google.com>

* chore(deps): Upgrade rollup and gulp (#10136)

* build(deps): bump shell-quote from 1.8.2 to 1.8.4 (#10047)

* build(deps): bump shell-quote from 1.8.2 to 1.8.4

Bumps [shell-quote](https://github.com/ljharb/shell-quote) from 1.8.2 to 1.8.4.
- [Changelog](https://github.com/ljharb/shell-quote/blob/main/CHANGELOG.md)
- [Commits](ljharb/shell-quote@v1.8.2...v1.8.4)

---
updated-dependencies:
- dependency-name: shell-quote
  dependency-version: 1.8.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* trigger CI

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Christina Holland <chholland@google.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Mark Duckworth <1124037+MarkDuckworth@users.noreply.github.com>
Co-authored-by: Daniel La Rocque <dlarocque@google.com>
Co-authored-by: Christina Holland <chholland@google.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Paul Beusterien <paulbeusterien@google.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Google Open Source Bot <firebase-oss-bot@google.com>
Co-authored-by: Stephen Rosa <84193009+stephenarosaj@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: DellaBitta <drsanta@google.com>
Co-authored-by: Kai Wu <zwu52@users.noreply.github.com>
Co-authored-by: macastelaz <34776182+macastelaz@users.noreply.github.com>
Co-authored-by: swseverance <swseverance@gmail.com>
Co-authored-by: Athira M <athiramanu9400@gmail.com>
Co-authored-by: Doris-Ge <dorisge@google.com>
Co-authored-by: wu-hui <53845758+wu-hui@users.noreply.github.com>
Co-authored-by: sedanah-m <mashhour@google.com>
Co-authored-by: Morgan Chen <morganchen12@gmail.com>
Co-authored-by: DellaBitta <DellaBitta@users.noreply.github.com>
Co-authored-by: Tushar Khandelwal <64364243+tusharkhandelwal8@users.noreply.github.com>
Co-authored-by: Thomas Bouldin <inlined@users.noreply.github.com>
Co-authored-by: Oleksii Vasyliev <le0pard@users.noreply.github.com>
Co-authored-by: wu-hui <wu.hui.github@gmail.com>
@firebase firebase locked and limited conversation to collaborators Jul 17, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants