Skip to content
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

chore(): lean only on firebase types and compatibility with 5.0.4 #1729

Merged
merged 2 commits into from
Jun 20, 2018

Conversation

jamesdaniels
Copy link
Member

@jamesdaniels jamesdaniels commented Jun 13, 2018

Checklist

  • Issue number for this PR: Angular 6 SSR build issue #1705
  • Docs included?: n/a
  • Test units included?: yes
  • In a clean directory, yarn install, yarn test run successfully? yes

Description

  • Was mistakenly using types exported from firebase/* which are pulled in from @firebase/*-types hence unstable, now using the more verbose but public firebase types
  • Similarly importing apps and initializeApp from firebase/app is reaching through to @firebase/app which isn't stable (and the exports aren't available in all the entry-points). Again here use the public firebase.apps and firebase.initializeApp. Angular 6 SSR build issue #1705
  • Sprinkled some <any>s in there to make our build green, rather than rehauling our types due to the breaks in 5.0.4.

Added a 5.0.0-rc.11 changelog entry and updated the package.json so I can tag + cut immediately once approved.

@jamesdaniels jamesdaniels requested a review from davideast June 13, 2018 23:24
@jamesdaniels
Copy link
Member Author

@davideast going to check on more regressions with SSR + put a test in; may have some follow on commits w/ changelog entries on this PR. That said, it seems a low risk bump that I want to get out ASAP due to 5.0.4, so I'll see what I get done before you have a chance to review.

Sorry for the delay here.

@hiepxanh
Copy link
Contributor

hiepxanh commented Jun 14, 2018

can you check this error out sir ? maybe we can make an small update for this error in 5.0-RC-11 too. the firebase make some update and that logger tell me to update code because Firestore (5.0.4) have breaking changes. Is that the problem for that issue above?

@yharaskrik
Copy link
Contributor

Wondering what the status is on this commit. My application does not serve and this commit seems to have fixed the issue.

Copy link
Member

@davideast davideast left a comment

Choose a reason for hiding this comment

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

LGTM

@davideast davideast merged commit 30db0aa into master Jun 20, 2018
@davideast davideast deleted the 504_and_type_fixes branch June 20, 2018 11:31
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.

5 participants