44 Commits
Author SHA1 Message Date
Mark DuckworthandGitHub fb22a1b4fd fix: Resolve duplicate assertion ID and add check to Firestore CI (#10138) 2026-07-09 11:40:10 -06:00
Mark DuckworthandGitHub bdb465b265 ci(firestore): skip timestamp tests in safari that were failing due to rounding behavior (#10115) 2026-06-24 14:11:48 -06:00
Mark DuckworthandGitHub 291d852787 chore: add _customHeader setting for console (#10108) 2026-06-23 12:04:34 -06:00
Mark DuckworthandGitHub e5515101c2 fix(firestore): improved robustness and logging in query listen stream creation and re-creation (#9985) 2026-05-22 10:37:10 -06:00
116b971d19 feature(firestore): added minimum and maximum FieldValue operations (#9913)
Co-authored-by: Hanzo Dev <[email protected]>
2026-05-19 09:23:10 -06:00
991671952c 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

* 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: Hanzo Dev <[email protected]>
2026-05-01 11:44:17 -06:00
e327557a2a feat(firestore): Added search stage support for languageCode, offset, limit, and retrievalDepth (#9884)
* feat(firestore): Added search stage support for languageCode, offset, limit, and retrievalDepth

* Create four-bottles-marry.md

* docgen

* PR feedback

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

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

* Improve ref doc

* More search refDoc improvements

* Consistent capitalization of search within ref docs

* remove deleted rut file

* docs devsite

---------

Co-authored-by: Daniel La Rocque <[email protected]>
2026-04-29 13:55:37 -06:00
3dcdae71e8 feat(firestore): add public preview support for full-text search and geo search (#9734)
---------

Co-authored-by: Daniel La Rocque <[email protected]>
2026-04-02 08:42:13 -06:00
Mark DuckworthandGitHub 1df6402fae ci: Updated named db tests to run against enterprise db (#9770) 2026-03-27 11:19:42 -04:00
Mark DuckworthandGitHub acee049ca2 Fix syntax in Pipeline examples in TSDoc (#9712) 2026-03-11 10:06:59 -06:00
Mark DuckworthandGitHub ea1254b400 fix: Workaround rollup terser-plugin's inconsistent property naming when using multiple entry points (#9622)
* fix: Workaround rollup terser-plugin's inconsistent property naming when using multiple entrypoints

* Create spotty-hornets-thank.md

* Update rollup.config.lite.js

Removed the `-[hash]` from the intermediate builds on the lite pipelines, both for consistency and to limit the amount of extraneous files created.
2026-03-06 10:52:53 -07:00
Mark DuckworthandGitHub 615b22d0f4 TSDoc tag cleanup (#9442) 2026-01-08 14:53:53 -07:00
Mark DuckworthandGitHub d096720646 feat/pipelines to main (#9356) 2026-01-07 19:05:34 -07:00
Mark DuckworthandGitHub 38783a4b23 chore(firestore): Update closure-net dependency to the latest release (#9242)
* Update closure-net dependency to the latest release (6f48f578d3e80fe7a85e530a5d95b9351433d135)
2025-09-16 15:07:28 -06:00
Mark DuckworthandGitHub b0cfef0c1b Revert "firestore: minor refactor of listener registration of "versionchange" indexedb events (#9087) (#9168)
* Revert "firestore: minor refactor of listener registration of "versionchange" indexedb events (#9087)"

This reverts commit a9b1432664.

* Create hungry-icons-dream.md
2025-07-16 12:02:38 -06:00
Mark DuckworthandGitHub 0f77d4839e Reorder reporters to prevent log message duplication in CI (#9040) 2025-05-22 12:17:01 -06:00
Mark DuckworthandGitHub 9c2ae92675 Close webchannel instances on terminate (#9041)
Explicitly close any unclosed WebChannel instances on Firestore#terminate()
2025-05-22 10:40:43 -06:00
Mark DuckworthandGitHub a028af9859 Fix encoding of CSI keys in Safari (#8993) 2025-05-09 14:45:08 -06:00
Mark DuckworthandGitHub 759115c2b0 Add assertion IDs that will be included in production log statements for fail and hardAsserts (#8313) 2025-04-14 10:52:23 -06:00
Mark DuckworthandGitHub 5071e43713 Fix for 8474 - Prevent a possible condition of slow snapshots, caused by a rapid series of document update(s) followed by a delete. (#8595) 2024-10-30 10:05:19 -06:00
Mark DuckworthandGitHub 866847b9e0 Re-enable useFetchStreams in the updated WebChannel release (#8259)
* Re-enable useFetchStreams in the updated WebChannel release. Added a test for the fixed WebChannel issue with reading multi-byte characters that are split across multiple streaming chunks.
2024-09-18 09:59:38 -06:00
Mark DuckworthandGitHub 4e0567c63c Vector Type (#8215)
Implement VectorValue type support.
2024-08-12 07:38:01 -06:00
Mark DuckworthandGitHub 4a04447489 Fix terraform steps in CI PR #2 (#8147)
Attempt to conditionally run terraform steps only if secrets are available. Add fromJSON to convert env var string value to boolean.
2024-04-10 10:04:35 -06:00
Mark DuckworthandGitHub 2e15435a2d Conditionally run terraform CI steps only if secrets are available. (#8144) 2024-04-09 15:40:49 -06:00
Mark DuckworthandGitHub 9a58768ee9 Fix internal assertion encountered when testing with jsdom. (#8142)
Fix internal assertion due to Buffer value not evaluating to instanceof Uint8Array, encountered when testing with jsdom.
2024-04-09 12:52:22 -06:00
dd52422804 Update invokeRun*QueryRpc functions to support paths with special characters (#7402)
Update invokeRun*QueryRpc functions to support paths with special characters.

---------

Co-authored-by: Denver Coneybeare <[email protected]>
2023-12-20 10:24:07 -07:00
Mark DuckworthandGitHub 017073ed9b Fix documentation links for function overloads and improve readability of function headings (#7864)
* Support function links to function overloads.

* Improve readability of headings for functions.
2023-12-15 16:17:10 -07:00
Mark DuckworthandGitHub c09fc98b9b Improved handling of reads after writes in transactions if the get is… (#7715)
* Improved handling of reads after writes in transactions if the get is not awaited or returned.
2023-12-15 09:49:40 -07:00
Mark DuckworthandGitHub bf10b5f905 Fix: Leak of grpc resources on terminate. (#7847)
* Fix: Leak of grpc resources on terminate.
2023-12-11 13:31:38 -07:00
Mark DuckworthandGitHub e7f2d14dba Hanging query follow up (#7771)
* google-closure-library: git://github.com/google/closure-library.git#7818ff7

* Tests and hard asserts for hanging query issue - #7652

* Re-enable useFetchStreams

* Create orange-pianos-push.md

* Revert change to yarn.lock for rules-unit-testing/functions/

* git+https for google-closure-library

* Update yarn.lock

* Yarn.lock again

* git+https in yarn.lock

* Increase timeout setting up the repro for hanging queries.

* Clean up error message for hardAssert based on peer feedback.
2023-11-17 15:58:10 -07:00
Mark DuckworthandGitHub 400084c359 Rolling back the use of useFetchStreams, which has lead to hanging queries. (#7729)
* Rolling back the use of useFetchStreams, which has lead to hanging queries.
2023-10-26 18:31:17 -06:00
Mark DuckworthandGitHub 9f8db2d836 sum avg (#7502)
* Support sum and average aggregations.
2023-10-10 14:10:59 -04:00
Mark DuckworthandGitHub 122c1d9be9 Fix: Aggregate query order-by normalization (#7507)
Fix aggregate query order-by normalization to support future aggregate operations.
2023-08-04 08:53:28 -06:00
Mark DuckworthandGitHub 14eebd1385 Changing UpdateData<T> to expand support for types with index signatures. (#7318)
Changing UpdateData<T> to expand support for types with index signatures.
2023-06-30 15:34:30 -06:00
Mark DuckworthandGitHub d29a010155 Tests for the v9 implementation of UpdateData<T> (#7319)
Tests for UpdateData
2023-06-30 07:51:51 -06:00
Mark DuckworthandGitHub 8812e7b344 Aggregation implementation and test improvements (#7170)
* Updating sum/avg tests.
* Back-porting: return aggregation results as a map from the remote layer instead of as an ObjectValue.
* Add long-alias support for aggregations.
2023-04-25 10:54:22 -06:00
Mark DuckworthandGitHub 3dfa5981fb Updated the changeset for OR queries to be more descriptive (#7121)
* Updated change set to match Android release notes.
2023-03-14 09:18:55 -06:00
Mark DuckworthandGitHub 303ccf7e2a OR Query public API (#7053)
* Relaxing in restrictions.

* Additional testing.

* Relaxing query restrictions.

* Code cleanup.

* Removing compat tests that perform validation on the old query restrictions.

* Making OR Queries public.

* Enabling tests for or queries and configuring tests that require composite indexes to only run against the emulator.

* Create sweet-rats-compete.md

* Fixing documentation errors revealed by the doc change check.

* Removing and renaming tests based on PR feedback.

* Correcting the change type in the changeset file.

* Disable tests that have multiple ins or array-contains-any per query.
2023-03-06 09:43:44 -08:00
Mark DuckworthandGitHub 8f8c0b805f Downgrading version bump type from minor to patch (#7071) 2023-03-01 13:10:13 -05:00
Mark DuckworthandGitHub 520312cd2f Correcting the changeset's version bump type. (#7067) 2023-02-28 16:50:03 -07:00
Mark DuckworthandGitHub 22b4c39ff2 OR queries - relaxing in restrictions (#7024)
Relaxing query validations performed by the Firestore SDK package
2023-02-23 08:19:21 -07:00
0d1c3c521a Sum and average (#6952)
Refactoring aggregations in Firestore to support sum and average. Sum and average are not public.

---------

Co-authored-by: MarkDuckworth <[email protected]>
2023-02-09 16:05:53 -07:00
Mark DuckworthandGitHub 912e4c2e18 Markduckworth/or queries 4274 (#6896)
* Updated the canonical ID of flat conjunctions to match the canonical ID of old style implicit flat conjunctions.

* Updated documentation of or() and and() to match the latest API docs in the Android implementation.
2022-12-21 15:29:29 -07:00
Mark DuckworthandGitHub ccc89a5fc2 Fix documentation for getDocsFromCache. (#6879)
Fix documentation for getDocsFromCache.
2022-12-12 15:48:19 -07:00