Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: firebase/firebase-admin-node
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v11.11.1
Choose a base ref
...
head repository: firebase/firebase-admin-node
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v12.0.0
Choose a head ref
  • 11 commits
  • 19 files changed
  • 3 contributors

Commits on Nov 29, 2023

  1. 1
    Copy the full SHA
    e7c4258 View commit details

Commits on Nov 30, 2023

  1. change(ml): Drop the feature to publish from an AutoML Model (#1974)

    * Deprecating the feature to publish from an AutoML Model
    
    * Empty-Commit to trigger CI
    
    ---------
    
    Co-authored-by: Lahiru Maramba <llahiru@gmail.com>
    pavelgj and lahirumaramba authored Nov 30, 2023
    Copy the full SHA
    ffae70c View commit details
  2. Copy the full SHA
    b9bdb47 View commit details
  3. Copy the full SHA
    bc1e522 View commit details

Commits on Dec 4, 2023

  1. fix(firestore): Export new aggregate types (#2396)

    * fix(firestore): Export new aggregate types
    
    * Run api extractor
    lahirumaramba authored Dec 4, 2023
    Copy the full SHA
    de00635 View commit details

Commits on Dec 5, 2023

  1. build(deps-dev): bump @types/mocha from 10.0.1 to 10.0.6 (#2400)

    Bumps [@types/mocha](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mocha) from 10.0.1 to 10.0.6.
    - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
    - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mocha)
    
    ---
    updated-dependencies:
    - dependency-name: "@types/mocha"
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Dec 5, 2023
    Copy the full SHA
    8b98b79 View commit details
  2. Copy the full SHA
    653f014 View commit details
  3. Copy the full SHA
    b334dca View commit details

Commits on Dec 6, 2023

  1. build(deps): Bump typescript, database-compat (#2403)

    Upgraded @firebase/database-compat to v1.0.2 and @firebase/database-types to v1.0.0
    Upgraded typescript to ^5.1.6
    Upgraded @types/node to ^20.10.3
    Upgraded @google-cloud/storage to ^7.7.0
    lahirumaramba authored Dec 6, 2023
    Copy the full SHA
    14dea58 View commit details
  2. Copy the full SHA
    a8d9d42 View commit details

Commits on Dec 7, 2023

  1. Copy the full SHA
    6bde095 View commit details
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -87,7 +87,7 @@ information on using pull requests.

### Prerequisites

1. Node.js 14 or higher.
1. Node.js 16 or higher.
2. `npm` 6 or higher.
3. Google Cloud SDK ([`gcloud`](https://cloud.google.com/sdk/downloads) utility).

3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -59,7 +59,8 @@ requests, code review feedback, and also pull requests.

## Supported Environments

We support Node.js 14 and higher.
We support Node.js 14 and higher. However, Node.js 14 support is deprecated. We strongly encourage
you to use Node.js 16 or higher as we will drop support for Node.js 14 in the next major version.

Please also note that the Admin SDK should only
be used in server-side/back-end environments controlled by the app developer.
40 changes: 21 additions & 19 deletions docgen/extras/firebase-admin.firestore.md
Original file line number Diff line number Diff line change
@@ -4,30 +4,32 @@ The following externally defined APIs are re-exported from this module entry poi

| Symbol | Description |
| --- | --- |
| [BulkWriter](https://googleapis.dev/nodejs/firestore/latest/BulkWriter.html) | `BulkWriter` type from the `@google-cloud/firestore` package. |
| [BulkWriterOptions](https://googleapis.dev/nodejs/firestore/latest/global.html#BulkWriterOptions) | `BulkWriterOptions` type from the `@google-cloud/firestore` package. |
| [BulkWriter](https://cloud.google.com/nodejs/docs/reference/firestore/latest/firestore/bulkwriter) | `BulkWriter` type from the `@google-cloud/firestore` package. |
| [AggregateField](https://cloud.google.com/nodejs/docs/reference/firestore/latest/firestore/aggregatefield) | `AggregateField` type from the `@google-cloud/firestore` package. |
| [BulkWriterOptions](https://cloud.google.com/nodejs/docs/reference/firestore/latest/firestore/bulkwriter) | `BulkWriterOptions` type from the `@google-cloud/firestore` package. |
| [BundleBuilder](https://googleapis.dev/nodejs/firestore/latest/BundleBuilder.html) | `BundleBuilder` type from the `@google-cloud/firestore` package. |
| [CollectionGroup](https://googleapis.dev/nodejs/firestore/latest/CollectionGroup.html) | `CollectionGroup` type from the `@google-cloud/firestore` package. |
| [CollectionReference](https://googleapis.dev/nodejs/firestore/latest/CollectionReference.html) | `CollectionReference` type from the `@google-cloud/firestore` package. |
| [DocumentChange](https://googleapis.dev/nodejs/firestore/latest/DocumentChange.html) | `DocumentChange` type from the `@google-cloud/firestore` package. |
| [CollectionGroup](https://cloud.google.com/nodejs/docs/reference/firestore/latest/firestore/collectiongroup) | `CollectionGroup` type from the `@google-cloud/firestore` package. |
| [CollectionReference](https://cloud.google.com/nodejs/docs/reference/firestore/latest/firestore/collectionreference) | `CollectionReference` type from the `@google-cloud/firestore` package. |
| [DocumentChange](https://cloud.google.com/nodejs/docs/reference/firestore/latest/firestore/documentchange) | `DocumentChange` type from the `@google-cloud/firestore` package. |
| [DocumentData](https://googleapis.dev/nodejs/firestore/latest/global.html#DocumentData) | `DocumentData` type from the `@google-cloud/firestore` package. |
| [DocumentReference](https://googleapis.dev/nodejs/firestore/latest/DocumentReference.html) | `DocumentReference` type from the `@google-cloud/firestore` package. |
| [DocumentSnapshot](https://googleapis.dev/nodejs/firestore/latest/DocumentSnapshot.html) | `DocumentSnapshot` type from the `@google-cloud/firestore` package. |
| [FieldPath](https://googleapis.dev/nodejs/firestore/latest/FieldPath.html) | `FieldPath` type from the `@google-cloud/firestore` package. |
| [FieldValue](https://googleapis.dev/nodejs/firestore/latest/FieldValue.html) | `FieldValue` type from the `@google-cloud/firestore` package. |
| [Firestore](https://googleapis.dev/nodejs/firestore/latest/Firestore.html) | `Firestore` type from the `@google-cloud/firestore` package. |
| [DocumentReference](https://cloud.google.com/nodejs/docs/reference/firestore/latest/firestore/documentreference) | `DocumentReference` type from the `@google-cloud/firestore` package. |
| [DocumentSnapshot](https://cloud.google.com/nodejs/docs/reference/firestore/latest/firestore/documentsnapshot) | `DocumentSnapshot` type from the `@google-cloud/firestore` package. |
| [FieldPath](https://cloud.google.com/nodejs/docs/reference/firestore/latest/firestore/fieldpath) | `FieldPath` type from the `@google-cloud/firestore` package. |
| [FieldValue](https://cloud.google.com/nodejs/docs/reference/firestore/latest/firestore/fieldvalue) | `FieldValue` type from the `@google-cloud/firestore` package. |
| [Filter](https://cloud.google.com/nodejs/docs/reference/firestore/latest/firestore/filter) | `Filter` type from the `@google-cloud/firestore` package. |
| [Firestore](https://cloud.google.com/nodejs/docs/reference/firestore/latest/firestore/firestore) | `Firestore` type from the `@google-cloud/firestore` package. |
| [FirestoreDataConverter](https://googleapis.dev/nodejs/firestore/latest/global.html#FirestoreDataConverter) | `FirestoreDataConverter` type from the `@google-cloud/firestore` package. |
| [GeoPoint](https://googleapis.dev/nodejs/firestore/latest/GeoPoint.html) | `GeoPoint` type from the `@google-cloud/firestore` package. |
| [GeoPoint](https://cloud.google.com/nodejs/docs/reference/firestore/latest/firestore/geopoint) | `GeoPoint` type from the `@google-cloud/firestore` package. |
| [GrpcStatus](https://googleapis.dev/nodejs/firestore/latest/global.html#GrpcStatus) | `GrpcStatus` type from the `@google-cloud/firestore` package. |
| [Precondition](https://googleapis.dev/nodejs/firestore/latest/global.html#Precondition) | `Precondition` type from the `@google-cloud/firestore` package. |
| [Query](https://googleapis.dev/nodejs/firestore/latest/Query.html) | `Query` type from the `@google-cloud/firestore` package. |
| [QueryDocumentSnapshot](https://googleapis.dev/nodejs/firestore/latest/QueryDocumentSnapshot.html) | `QueryDocumentSnapshot` type from the `@google-cloud/firestore` package. |
| [QueryPartition](https://googleapis.dev/nodejs/firestore/latest/QueryPartition.html) | `QueryPartition` type from the `@google-cloud/firestore` package. |
| [QuerySnapshot](https://googleapis.dev/nodejs/firestore/latest/QuerySnapshot.html) | `QuerySnapshot` type from the `@google-cloud/firestore` package. |
| [Query](https://cloud.google.com/nodejs/docs/reference/firestore/latest/firestore/query) | `Query` type from the `@google-cloud/firestore` package. |
| [QueryDocumentSnapshot](https://cloud.google.com/nodejs/docs/reference/firestore/latest/firestore/querydocumentsnapshot) | `QueryDocumentSnapshot` type from the `@google-cloud/firestore` package. |
| [QueryPartition](https://cloud.google.com/nodejs/docs/reference/firestore/latest/firestore/querypartition) | `QueryPartition` type from the `@google-cloud/firestore` package. |
| [QuerySnapshot](https://cloud.google.com/nodejs/docs/reference/firestore/latest/firestore/querysnapshot) | `QuerySnapshot` type from the `@google-cloud/firestore` package. |
| [ReadOptions](https://googleapis.dev/nodejs/firestore/latest/global.html#ReadOptions) | `ReadOptions` type from the `@google-cloud/firestore` package. |
| [SetOptions](https://googleapis.dev/nodejs/firestore/latest/global.html#SetOptions) | `SetOptions` type from the `@google-cloud/firestore` package. |
| [Timestamp](https://googleapis.dev/nodejs/firestore/latest/Timestamp.html) | `Timestamp` type from the `@google-cloud/firestore` package. |
| [Transaction](https://googleapis.dev/nodejs/firestore/latest/Transaction.html) | `Transaction` type from the `@google-cloud/firestore` package. |
| [WriteBatch](https://googleapis.dev/nodejs/firestore/latest/WriteBatch.html) | `WriteBatch` type from the `@google-cloud/firestore` package. |
| [WriteResult](https://googleapis.dev/nodejs/firestore/latest/WriteResult.html) | `WriteResult` type from the `@google-cloud/firestore` package. |
| [Timestamp](https://cloud.google.com/nodejs/docs/reference/firestore/latest/firestore/timestamp) | `Timestamp` type from the `@google-cloud/firestore` package. |
| [Transaction](https://cloud.google.com/nodejs/docs/reference/firestore/latest/firestore/transaction) | `Transaction` type from the `@google-cloud/firestore` package. |
| [WriteBatch](https://cloud.google.com/nodejs/docs/reference/firestore/latest/firestore/writebatch) | `WriteBatch` type from the `@google-cloud/firestore` package. |
| [WriteResult](https://cloud.google.com/nodejs/docs/reference/firestore/latest/firestore/writeresult) | `WriteResult` type from the `@google-cloud/firestore` package. |
| [setLogFunction](https://googleapis.dev/nodejs/firestore/latest/global.html#setLogFunction) | `setLogFunction` function from the `@google-cloud/firestore` package. |
11 changes: 7 additions & 4 deletions etc/firebase-admin.api.md
Original file line number Diff line number Diff line change
@@ -243,6 +243,13 @@ export function firestore(app?: App): _firestore.Firestore;
export namespace firestore {
import v1beta1 = _firestore.v1beta1;
import v1 = _firestore.v1;
import AggregateField = _firestore.AggregateField;
import AggregateFieldType = _firestore.AggregateFieldType;
import AggregateQuery = _firestore.AggregateQuery;
import AggregateQuerySnapshot = _firestore.AggregateQuerySnapshot;
import AggregateSpecData = _firestore.AggregateSpecData;
import AggregateSpec = _firestore.AggregateSpec;
import AggregateType = _firestore.AggregateType;
import BulkWriter = _firestore.BulkWriter;
import BulkWriterOptions = _firestore.BulkWriterOptions;
import BundleBuilder = _firestore.BundleBuilder;
@@ -320,10 +327,6 @@ export function machineLearning(app?: App): machineLearning.MachineLearning;

// @public (undocumented)
export namespace machineLearning {
// Warning: (ae-forgotten-export) The symbol "AutoMLTfliteModelOptions" needs to be exported by the entry point default-namespace.d.ts
//
// @deprecated
export type AutoMLTfliteModelOptions = AutoMLTfliteModelOptions;
// Warning: (ae-forgotten-export) The symbol "GcsTfliteModelOptions" needs to be exported by the entry point default-namespace.d.ts
export type GcsTfliteModelOptions = GcsTfliteModelOptions;
// Warning: (ae-forgotten-export) The symbol "ListModelsOptions" needs to be exported by the entry point default-namespace.d.ts
21 changes: 21 additions & 0 deletions etc/firebase-admin.firestore.api.md
Original file line number Diff line number Diff line change
@@ -8,6 +8,13 @@

import { AddPrefixToKeys } from '@google-cloud/firestore';
import { Agent } from 'http';
import { AggregateField } from '@google-cloud/firestore';
import { AggregateFieldType } from '@google-cloud/firestore';
import { AggregateQuery } from '@google-cloud/firestore';
import { AggregateQuerySnapshot } from '@google-cloud/firestore';
import { AggregateSpec } from '@google-cloud/firestore';
import { AggregateSpecData } from '@google-cloud/firestore';
import { AggregateType } from '@google-cloud/firestore';
import { BulkWriter } from '@google-cloud/firestore';
import { BulkWriterOptions } from '@google-cloud/firestore';
import { BundleBuilder } from '@google-cloud/firestore';
@@ -53,6 +60,20 @@ import { WriteResult } from '@google-cloud/firestore';

export { AddPrefixToKeys }

export { AggregateField }

export { AggregateFieldType }

export { AggregateQuery }

export { AggregateQuerySnapshot }

export { AggregateSpec }

export { AggregateSpecData }

export { AggregateType }

export { BulkWriter }

export { BulkWriterOptions }
12 changes: 1 addition & 11 deletions etc/firebase-admin.machine-learning.api.md
Original file line number Diff line number Diff line change
@@ -8,14 +8,6 @@

import { Agent } from 'http';

// @public @deprecated (undocumented)
export interface AutoMLTfliteModelOptions extends ModelOptionsBase {
// (undocumented)
tfliteModel: {
automlModel: string;
};
}

// @public (undocumented)
export interface GcsTfliteModelOptions extends ModelOptionsBase {
// (undocumented)
@@ -74,7 +66,7 @@ export class Model {
}

// @public (undocumented)
export type ModelOptions = ModelOptionsBase | GcsTfliteModelOptions | AutoMLTfliteModelOptions;
export type ModelOptions = ModelOptionsBase | GcsTfliteModelOptions;

// @public
export interface ModelOptionsBase {
@@ -86,8 +78,6 @@ export interface ModelOptionsBase {

// @public
export interface TFLiteModel {
// @deprecated
readonly automlModel?: string;
readonly gcsTfliteUri?: string;
readonly sizeBytes: number;
}
4 changes: 2 additions & 2 deletions etc/firebase-admin.storage.api.md
Original file line number Diff line number Diff line change
@@ -8,10 +8,10 @@

import { Agent } from 'http';
import { Bucket } from '@google-cloud/storage';
import { File } from '@google-cloud/storage';
import { File as File_2 } from '@google-cloud/storage';

// @public
export function getDownloadURL(file: File): Promise<string>;
export function getDownloadURL(file: File_2): Promise<string>;

// Warning: (ae-forgotten-export) The symbol "App" needs to be exported by the entry point index.d.ts
//
Loading