Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
4080bfb
introduce pipeline proto changes
wu-hui Jun 6, 2024
608a75e
Add expressions, stages, and pipeline
wu-hui Jun 12, 2024
25ee91a
can run pipelines
wu-hui Jul 25, 2024
9ad2614
pipeline impl
wu-hui Jul 30, 2024
a514c65
Fix routing headers
wu-hui Aug 22, 2024
e957017
Basic initial converter support
wu-hui Aug 22, 2024
50f061b
Converter cleanup
wu-hui Aug 26, 2024
5947337
Address some feedbacks and add more nested field test.
wu-hui Aug 26, 2024
84e5eab
License header and tests fix
wu-hui Aug 26, 2024
eff4589
License header and tests fix
wu-hui Aug 26, 2024
0dd8b09
Merge remote-tracking branch 'origin/wuandy/PplPP' into wuandy/PplPP
wu-hui Aug 29, 2024
a3e62b5
Addressing comments.
wu-hui Sep 3, 2024
997c6c5
DTS + some other fixes.
wu-hui Sep 3, 2024
f0fdad5
FindNearest update
wu-hui Sep 5, 2024
f0ba8da
pipeline and stage dts fix done. expr to go.
wu-hui Sep 10, 2024
38b3981
fixing expression.ts type decl
wu-hui Sep 11, 2024
3aa8edd
length to strLength
wu-hui Sep 11, 2024
c97ed97
remove __path__ hack
wu-hui Sep 12, 2024
9116488
resync with expressions catelog
wu-hui Sep 25, 2024
670a124
comment out bit operations
wu-hui Sep 25, 2024
773bcd7
more syncs
wu-hui Sep 25, 2024
c22a2db
Fix rest connection by correct url endpoint.
wu-hui Oct 1, 2024
a0fb269
documentation fix
wu-hui Oct 1, 2024
b43de57
Fix system tests build error by not using `instanceof firestore.Expr`…
wu-hui Oct 1, 2024
1d9c585
remove __path__
wu-hui Oct 2, 2024
d9194b7
add reference test
wu-hui Oct 3, 2024
091ddf0
added transaction support.
wu-hui Oct 4, 2024
14b67dd
Add comments
wu-hui Oct 4, 2024
0c04b48
add remove_fields support
wu-hui Oct 24, 2024
91bd76e
add d.ts change for removeFields
wu-hui Oct 24, 2024
cb9d692
fix build
MarkDuckworth Nov 18, 2024
5db7307
Rename cond, *minimum, *maximum, eqAny, and notEqAny. New tests. Impl…
MarkDuckworth Nov 20, 2024
61fc782
chore: Merge main and resolve conflicts. (#2240)
tom-andersen Dec 9, 2024
db8a43b
feature: New Pipeline Stages (#2236)
tom-andersen Jan 17, 2025
7511ff9
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] Jan 17, 2025
8edd4d4
Merge remote-tracking branch 'origin' into feat/pipelines
MarkDuckworth Apr 15, 2025
db0c60f
Building
MarkDuckworth Apr 17, 2025
1276253
Passing main set of integration tests
MarkDuckworth Apr 18, 2025
628f432
Ignore unused params named '_', do not generate eslint warning.
MarkDuckworth Apr 22, 2025
28163d4
Implement query to pipeline tests and fixes. Also corrected many lint…
MarkDuckworth Apr 22, 2025
7d4277f
pipelines proto update (#2373)
MarkDuckworth Jul 1, 2025
8f9d636
feat: separate pipelines API into a subpackage '@google-cloud/firesto…
MarkDuckworth Jul 23, 2025
08b0682
pipeline options with explain-analyze (#2372)
MarkDuckworth Jul 23, 2025
0e5b45e
Merge branch 'main' of github.com:googleapis/nodejs-firestore into fe…
MarkDuckworth Jul 23, 2025
731dfe6
Test error propagation for pipelines (#2390)
MarkDuckworth Jul 31, 2025
689a03d
More expressions and API cleanup (#2393)
MarkDuckworth Oct 21, 2025
c5f20bc
API audit edits (#2441)
MarkDuckworth Oct 29, 2025
747f8fc
Merge branch 'main' of github.com:googleapis/nodejs-firestore into fe…
MarkDuckworth Oct 29, 2025
e60cedf
add split, type, timestampTrunc, and fix trim
MarkDuckworth Oct 31, 2025
826ac65
Merge branch 'main' of github.com:googleapis/nodejs-firestore into fe…
MarkDuckworth Nov 3, 2025
9e7d183
Add pre-release version identifier
MarkDuckworth Nov 3, 2025
19bafde
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] Nov 4, 2025
3ed8a6f
fix copyright header year
MarkDuckworth Nov 4, 2025
9c3e496
update version number of pipelines prerelease: 8.1.0-eap-pipelines.2
MarkDuckworth Nov 7, 2025
3a6e952
Add export ./build/src/path for backward compatible support for fireb…
MarkDuckworth Nov 8, 2025
2943461
Merge branch 'feat/pipelines' of github.com:googleapis/nodejs-firesto…
MarkDuckworth Nov 10, 2025
67a3730
Update readme-partials to include samples for using the Pipelines API
MarkDuckworth Dec 12, 2025
73eaef6
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] Dec 13, 2025
d36bb0c
Tweaking the readme-partials to get syntax highlighting
MarkDuckworth Dec 13, 2025
f27a6a3
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] Dec 13, 2025
fe0ce84
Merge branch 'main' of github.com:googleapis/nodejs-firestore into fe…
MarkDuckworth Dec 15, 2025
0bcef58
Ignore lint errors in generated code
MarkDuckworth Dec 16, 2025
8468a7a
Fixing and skipping tests when running against enterprise
MarkDuckworth Dec 16, 2025
c23f53d
fix mocha_extensions
MarkDuckworth Dec 17, 2025
24de65e
Improve TODO message on listCollections test
MarkDuckworth Dec 18, 2025
3be33ea
Port BooleanExpression subclasses from Web
MarkDuckworth Dec 29, 2025
4f4abbe
Fixing failing CI tests: includes fixes for query to pipeline conversion
MarkDuckworth Dec 30, 2025
866ad0e
PR comments
MarkDuckworth Jan 8, 2026
4c7086d
Update copyright on new files
MarkDuckworth Jan 8, 2026
c85b00f
doc tag cleanup and standardization
MarkDuckworth Jan 9, 2026
fb36e6a
Merge branch 'main' of github.com:googleapis/nodejs-firestore into ma…
MarkDuckworth Jan 9, 2026
eaa3d9c
revert unintended change to traceUtil call
MarkDuckworth Jan 9, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,685 changes: 1 addition & 1,684 deletions api-report/firestore.api.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dev/src/aggregate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export class AggregateField<T> implements firestore.AggregateField<T> {
* `other` performs the same kind of aggregation on the same field (if any).
*
* @param other The object to compare to this object for equality.
* @return `true` if this object is "equal" to the given object, as
* @returns `true` if this object is "equal" to the given object, as
* defined above, or `false` otherwise.
*/
isEqual(other: AggregateField<T>): boolean {
Expand Down
2 changes: 1 addition & 1 deletion dev/src/backoff.ts
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ export class ExponentialBackoff {
* Returns a promise that resolves after currentDelayMs, and increases the
* delay for any subsequent attempts.
*
* @return A Promise that resolves when the current delay elapsed.
* @returns A Promise that resolves when the current delay elapsed.
* @private
* @internal
*/
Expand Down
4 changes: 2 additions & 2 deletions dev/src/bulk-writer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -865,7 +865,7 @@ export class BulkWriter {
* for writes that were added after the method is called. If you want to wait
* for additional writes, call `flush()` again.
*
* @return {Promise<void>} A promise that resolves when all enqueued writes
* @returns {Promise<void>} A promise that resolves when all enqueued writes
* up to this point have been committed.
*
* @example
Expand Down Expand Up @@ -906,7 +906,7 @@ export class BulkWriter {
* Promise will never be rejected. Calling this method will send all requests.
* The promise resolves immediately if there are no pending writes.
*
* @return {Promise<void>} A promise that resolves when all enqueued writes
* @returns {Promise<void>} A promise that resolves when all enqueued writes
* up to this point have been committed.
*
* @example
Expand Down
4 changes: 2 additions & 2 deletions dev/src/collection-group.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export class CollectionGroup<
* @param {number} desiredPartitionCount The desired maximum number of
* partition points. The number must be strictly positive. The actual number
* of partitions returned may be fewer.
* @return {AsyncIterable<QueryPartition>} An AsyncIterable of
* @returns {AsyncIterable<QueryPartition>} An AsyncIterable of
* `QueryPartition`s.
*/
async *getPartitions(
Expand Down Expand Up @@ -198,7 +198,7 @@ export class CollectionGroup<
* ```
* @param {FirestoreDataConverter | null} converter Converts objects to and
* from Firestore. Passing in `null` removes the current converter.
* @return {CollectionGroup} A `CollectionGroup` that uses the provided
* @returns {CollectionGroup} A `CollectionGroup` that uses the provided
* converter.
*/
withConverter<
Expand Down
12 changes: 6 additions & 6 deletions dev/src/convert.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ import {RESERVED_MAP_KEY, RESERVED_MAP_KEY_VECTOR_VALUE} from './map-type';
* @param timestampValue The value to convert.
* @param argumentName The argument name to use in the error message if the
* conversion fails. If omitted, 'timestampValue' is used.
* @return The value as expected by Protobuf JS or undefined if no input was
* @returns The value as expected by Protobuf JS or undefined if no input was
* provided.
*/
export function timestampFromJson(
Expand Down Expand Up @@ -94,7 +94,7 @@ export function timestampFromJson(
* @private
* @internal
* @param bytesValue The value to convert.
* @return The value as expected by Protobuf JS.
* @returns The value as expected by Protobuf JS.
*/
function bytesFromJson(bytesValue: string | Uint8Array): Uint8Array {
if (typeof bytesValue === 'string') {
Expand All @@ -110,7 +110,7 @@ function bytesFromJson(bytesValue: string | Uint8Array): Uint8Array {
* @private
* @internal
* @param proto The `firestore.v1.Value` proto.
* @return The string value for 'valueType'.
* @returns The string value for 'valueType'.
*/
export function detectValueType(proto: ProtobufJsValue): string {
let valueType: string | undefined;
Expand Down Expand Up @@ -187,7 +187,7 @@ export function detectValueType(proto: ProtobufJsValue): string {
* @private
* @internal
* @param proto The `firestore.v1.Value` proto.
* @return The string value for 'valueType'.
* @returns The string value for 'valueType'.
*/
export function detectGoogleProtobufValueType(
proto: google.protobuf.IValue,
Expand Down Expand Up @@ -229,7 +229,7 @@ export function detectGoogleProtobufValueType(
* @private
* @internal
* @param fieldValue The `firestore.v1.Value` in Proto3 JSON format.
* @return The `firestore.v1.Value` in Protobuf JS format.
* @returns The `firestore.v1.Value` in Protobuf JS format.
*/
export function valueFromJson(fieldValue: api.IValue): api.IValue {
const valueType = detectValueType(fieldValue);
Expand Down Expand Up @@ -288,7 +288,7 @@ export function valueFromJson(fieldValue: api.IValue): api.IValue {
* @private
* @internal
* @param document An object with IValues in Proto3 JSON format.
* @return The object in Protobuf JS format.
* @returns The object in Protobuf JS format.
*/
export function fieldsFromJson(document: ApiMapValue): ApiMapValue {
const result: ApiMapValue = {};
Expand Down
2 changes: 1 addition & 1 deletion dev/src/document-change.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ export class DocumentChange<
* value.
*
* @param {*} other The value to compare against.
* @return true if this `DocumentChange` is equal to the provided value.
* @returns true if this `DocumentChange` is equal to the provided value.
*/
isEqual(other: firestore.DocumentChange<AppModelType, DbModelType>): boolean {
if (this === other) {
Expand Down
12 changes: 6 additions & 6 deletions dev/src/document.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ export class DocumentSnapshot<
* @internal
* @param ref The reference to the document.
* @param obj The object to store in the DocumentSnapshot.
* @return The created DocumentSnapshot.
* @returns The created DocumentSnapshot.
*/
static fromObject<AppModelType, DbModelType extends firestore.DocumentData>(
ref: DocumentReference<AppModelType, DbModelType>,
Expand All @@ -177,7 +177,7 @@ export class DocumentSnapshot<
* @internal
* @param ref The reference to the document.
* @param data The field/value map to expand.
* @return The created DocumentSnapshot.
* @returns The created DocumentSnapshot.
*/
static fromUpdateMap<
AppModelType,
Expand Down Expand Up @@ -552,7 +552,7 @@ export class DocumentSnapshot<
* equal to the provided value.
*
* @param {*} other The value to compare against.
* @return {boolean} true if this `DocumentSnapshot` is equal to the provided
* @returns {boolean} true if this `DocumentSnapshot` is equal to the provided
* value.
*/
isEqual(
Expand Down Expand Up @@ -783,7 +783,7 @@ export class DocumentMask {
*
* @private
* @internal
* @return {boolean} Whether this document mask is empty.
* @returns {boolean} Whether this document mask is empty.
*/
get isEmpty(): boolean {
return this._sortedPaths.length === 0;
Expand Down Expand Up @@ -835,7 +835,7 @@ export class DocumentMask {
* @private
* @internal
* @param fieldPath The field path to test.
* @return Whether this document mask contains 'fieldPath'.
* @returns Whether this document mask contains 'fieldPath'.
*/
contains(fieldPath: FieldPath): boolean {
for (const sortedPath of this._sortedPaths) {
Expand All @@ -858,7 +858,7 @@ export class DocumentMask {
* @private
* @internal
* @param data An object to filter.
* @return A shallow copy of the object filtered by this document mask.
* @returns A shallow copy of the object filtered by this document mask.
*/
applyTo(data: firestore.DocumentData): firestore.DocumentData {
/*!
Expand Down
12 changes: 6 additions & 6 deletions dev/src/field-value.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ export class FieldValue implements firestore.FieldValue {
* Returns a sentinel used with set(), create() or update() to include a
* server-generated timestamp in the written data.
*
* @return {FieldValue} The FieldValue sentinel for use in a call to set(),
* @returns {FieldValue} The FieldValue sentinel for use in a call to set(),
* create() or update().
*
* @example
Expand Down Expand Up @@ -164,7 +164,7 @@ export class FieldValue implements firestore.FieldValue {
* not yet exist, the transformation will set the field to the given value.
*
* @param {number} n The value to increment by.
* @return {FieldValue} The FieldValue sentinel for use in a call to set(),
* @returns {FieldValue} The FieldValue sentinel for use in a call to set(),
* create() or update().
*
* @example
Expand Down Expand Up @@ -195,7 +195,7 @@ export class FieldValue implements firestore.FieldValue {
* exactly the specified elements.
*
* @param {...*} elements The elements to union into the array.
* @return {FieldValue} The FieldValue sentinel for use in a call to set(),
* @returns {FieldValue} The FieldValue sentinel for use in a call to set(),
* create() or update().
*
* @example
Expand Down Expand Up @@ -224,7 +224,7 @@ export class FieldValue implements firestore.FieldValue {
* an array it will be overwritten with an empty array.
*
* @param {...*} elements The elements to remove from the array.
* @return {FieldValue} The FieldValue sentinel for use in a call to set(),
* @returns {FieldValue} The FieldValue sentinel for use in a call to set(),
* create() or update().
*
* @example
Expand All @@ -249,7 +249,7 @@ export class FieldValue implements firestore.FieldValue {
* Returns true if this `FieldValue` is equal to the provided value.
*
* @param {*} other The value to compare against.
* @return {boolean} true if this `FieldValue` is equal to the provided value.
* @returns {boolean} true if this `FieldValue` is equal to the provided value.
*
* @example
* ```
Expand Down Expand Up @@ -316,7 +316,7 @@ export abstract class FieldTransform extends FieldValue {
*
* @param serializer The Firestore serializer.
* @param fieldPath The field path to apply this transformation to.
* @return The 'FieldTransform' proto message.
* @returns The 'FieldTransform' proto message.
*/
abstract toProto(
serializer: Serializer,
Expand Down
2 changes: 1 addition & 1 deletion dev/src/geo-point.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export class GeoPoint implements Serializable, firestore.GeoPoint {
* Returns true if this `GeoPoint` is equal to the provided value.
*
* @param {*} other The value to compare against.
* @return {boolean} true if this `GeoPoint` is equal to the provided value.
* @returns {boolean} true if this `GeoPoint` is equal to the provided value.
*/
isEqual(other: firestore.GeoPoint): boolean {
return (
Expand Down
12 changes: 6 additions & 6 deletions dev/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -950,7 +950,7 @@ export class Firestore implements firestore.Firestore {

/**
* @beta
* Creates and returns a new PipelineSource, which allows specifying the source stage of a {@link Pipeline}.
* Creates and returns a new PipelineSource, which allows specifying the source stage of a `Pipeline`.
*
* @example
* ```
Expand Down Expand Up @@ -991,7 +991,7 @@ export class Firestore implements firestore.Firestore {
* multiple writes in parallel. Gradually ramps up writes as specified
* by the 500/50/5 rule.
*
* If you pass [BulkWriterOptions]{@link BulkWriterOptions}, you can
* If you pass `BulkWriterOptions`, you can
* configure the throttling rates for the created BulkWriter.
*
* @see [500/50/5 Documentation]{@link https://firebase.google.com/docs/firestore/best-practices#ramping_up_traffic}
Expand Down Expand Up @@ -1436,7 +1436,7 @@ export class Firestore implements firestore.Firestore {
* @param ref The reference of a document or collection to delete.
* @param bulkWriter A custom BulkWriter instance used to perform the
* deletes.
* @return A promise that resolves when all deletes have been performed.
* @returns A promise that resolves when all deletes have been performed.
* The promise is rejected if any of the deletes fail.
*
* @example
Expand Down Expand Up @@ -1502,7 +1502,7 @@ export class Firestore implements firestore.Firestore {
/**
* Terminates the Firestore client and closes all open streams.
*
* @return A Promise that resolves when the client is terminated.
* @returns A Promise that resolves when the client is terminated.
*/
async terminate(): Promise<void> {
if (this._bulkWriter) {
Expand All @@ -1524,7 +1524,7 @@ export class Firestore implements firestore.Firestore {
* Returns the Project ID to serve as the JSON representation of this
* Firestore instance.
*
* @return An object that contains the project ID (or `undefined` if not yet
* @returns An object that contains the project ID (or `undefined` if not yet
* available).
*/
toJSON(): object {
Expand All @@ -1538,7 +1538,7 @@ export class Firestore implements firestore.Firestore {
* @internal
* @param requestTag A unique client-assigned identifier that caused this
* initialization.
* @return A Promise that resolves when the client is initialized.
* @returns A Promise that resolves when the client is initialized.
*/
async initializeIfNeeded(requestTag: string): Promise<void> {
this._settingsFrozen = true;
Expand Down
6 changes: 3 additions & 3 deletions dev/src/path.ts
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ abstract class Path<T> {
* @private
* @internal
* @param other The value to compare against.
* @return true if this `Path` is equal to the provided value.
* @returns true if this `Path` is equal to the provided value.
*/
isEqual(other: Path<T>): boolean {
return this === other || this.compareTo(other) === 0;
Expand Down Expand Up @@ -387,7 +387,7 @@ export class ResourcePath extends Path<ResourcePath> {
* @private
* @internal
* @param projectId The project ID of the current Firestore project.
* @return A fully-qualified resource path pointing to the same element.
* @returns A fully-qualified resource path pointing to the same element.
*/
toQualifiedResourcePath(
projectId: string,
Expand Down Expand Up @@ -774,7 +774,7 @@ export class FieldPath extends Path<FieldPath> implements firestore.FieldPath {
* Returns true if this `FieldPath` is equal to the provided value.
*
* @param {*} other The value to compare against.
* @return {boolean} true if this `FieldPath` is equal to the provided value.
* @returns {boolean} true if this `FieldPath` is equal to the provided value.
*/
isEqual(other: FieldPath): boolean {
return super.isEqual(other);
Expand Down
Loading
Loading