Skip to content

Commit 5e32afd

Browse files
[chore] Release 11.0.0 (#1770)
Breaking change: Dropped support for Node.js 12. Developers should use Node.js 14 or higher when deploying the Admin SDK. Breaking change: Upgraded TypeScript to v4.6.4. Breaking change: Upgraded the @google-cloud/firestore package to v5. This contains breaking changes. Refer to the Cloud Firestore release notes for more details. Breaking change: Upgraded the @google-cloud/storage package to v6. This contains breaking changes. Refer to the Cloud Storage release notes for more details.
1 parent 6afd6dc commit 5e32afd

File tree

3 files changed

+6
-11
lines changed

3 files changed

+6
-11
lines changed

.github/workflows/ci.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99

1010
strategy:
1111
matrix:
12-
node-version: [14.x]
12+
node-version: [14.x, 16.x]
1313

1414
steps:
1515
- uses: actions/checkout@v1
@@ -27,7 +27,6 @@ jobs:
2727
- name: Run api-extractor
2828
run: npm run api-extractor
2929
- name: Run emulator-based integration tests
30-
if: matrix.node-version == '14.x'
3130
run: |
3231
npm install -g firebase-tools
3332
firebase emulators:exec --project fake-project-id --only auth,database,firestore \

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "firebase-admin",
3-
"version": "10.3.0",
3+
"version": "11.0.0",
44
"description": "Firebase admin SDK for Node.js",
55
"author": "Firebase <[email protected]> (https://firebase.google.com/)",
66
"license": "Apache-2.0",

test/unit/machine-learning/machine-learning.spec.ts

+4-8
Original file line numberDiff line numberDiff line change
@@ -581,8 +581,7 @@ describe('MachineLearning', () => {
581581
.resolves(null as any);
582582
stubs.push(stub);
583583
return machineLearning.createModel(MODEL_OPTIONS_WITH_GCS)
584-
.should.eventually.be.rejected.and.have.property(
585-
'message', 'Cannot read property \'done\' of null');
584+
.should.eventually.be.rejected;
586585
});
587586

588587
it('should reject when API response does not contain a name', () => {
@@ -698,8 +697,7 @@ describe('MachineLearning', () => {
698697
.resolves(null as any);
699698
stubs.push(stub);
700699
return machineLearning.updateModel(MODEL_ID, MODEL_OPTIONS_WITH_GCS)
701-
.should.eventually.be.rejected.and.have.property(
702-
'message', 'Cannot read property \'done\' of null');
700+
.should.eventually.be.rejected;
703701
});
704702

705703
it('should reject when API response does not contain a name', () => {
@@ -802,8 +800,7 @@ describe('MachineLearning', () => {
802800
.resolves(null as any);
803801
stubs.push(stub);
804802
return machineLearning.publishModel(MODEL_ID)
805-
.should.eventually.be.rejected.and.have.property(
806-
'message', 'Cannot read property \'done\' of null');
803+
.should.eventually.be.rejected;
807804
});
808805

809806
it('should reject when API response does not contain a name', () => {
@@ -906,8 +903,7 @@ describe('MachineLearning', () => {
906903
.resolves(null as any);
907904
stubs.push(stub);
908905
return machineLearning.unpublishModel(MODEL_ID)
909-
.should.eventually.be.rejected.and.have.property(
910-
'message', 'Cannot read property \'done\' of null');
906+
.should.eventually.be.rejected;
911907
});
912908

913909
it('should reject when API response does not contain a name', () => {

0 commit comments

Comments
 (0)