Skip to content

feat: update AngularFire to be compatible with Firebase JS SDK v8#2620

Closed
sarunint wants to merge 3 commits into
angular:masterfrom
sarunint:firebase-v8
Closed

feat: update AngularFire to be compatible with Firebase JS SDK v8#2620
sarunint wants to merge 3 commits into
angular:masterfrom
sarunint:firebase-v8

Conversation

@sarunint

@sarunint sarunint commented Oct 27, 2020

Copy link
Copy Markdown
Contributor

BREAKING CHANGE: AngularFire now requires firebase@^8.0.0

Closes #2619

Checklist

Description

Make AngularFire compatible with Firebase JS SDK v8.

BREAKING CHANGE: AngularFire now requires `firebase@^8.0.0`
@google-cla google-cla Bot added the cla: yes label Oct 27, 2020
@sarunint sarunint marked this pull request as ready for review October 27, 2020 13:33
Comment thread package.json
"@types/inquirer": "^0.0.44",
"@types/jasmine": "^3.3.13",
"@types/node": "^12.6.2",
"@types/node": "^12.6.2 < 12.12.42",

@sarunint sarunint Oct 27, 2020

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This is needed because DefinitelyTyped/DefinitelyTyped#44700, which is published to @types/node@12.12.42. Zone.js v0.10.2 has a type definition of global that is different to the @types/node one. The fix for Zone.js has already been merge (angular/angular#37861), but waiting for 0.11.3 release cut. (angular/angular#39440)

I've also tried upgrade Zone.js to 0.11.2 (latest at the time of writing), I've got 2 test failures. So we might need to fix the broken code to be compatible with the new Zone.js to remove this weird constraint.

@jamesdaniels

Copy link
Copy Markdown
Contributor

Thanks for kicking this off! I'm wondering if we can support both v7 and 8 with this change-set so we don't have to bump our major.

@jamesdaniels

Copy link
Copy Markdown
Contributor

@sarunint I went ahead and made suggested changes in #2624, thanks for your help here!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AngularFire is not compatible with Firebase JS SDK v8

2 participants