Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from

Conversation

sarunint
Copy link
Contributor

@sarunint sarunint commented Oct 27, 2020

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
@@ -82,7 +82,7 @@
"@types/gzip-size": "^5.1.1",
"@types/inquirer": "^0.0.44",
"@types/jasmine": "^3.3.13",
"@types/node": "^12.6.2",
"@types/node": "^12.6.2 < 12.12.42",
Copy link
Contributor Author

@sarunint sarunint Oct 27, 2020

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/[email protected]. 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
Member

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
Member

@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