Skip to content

Breaking TypeScript definition changes in SemVer patch (4.8.1) release #392

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
colinskow opened this issue Dec 20, 2017 · 4 comments
Closed

Comments

@colinskow
Copy link

It appears that between 4.8.0 and 4.8.1 you did some major refactoring which affects the import of TypeScript definitions. The most common error is Cannot find namespace 'firebase'.

See: angular/angularfire#1387

This should ideally be done at a SemVer major release since basically everyone who imports TS definitions from Firebase now needs to refactor the imports because the build is broken. At bare minimum it should be a SemVer minor release so that ~4.8.0 will prevent builds from breaking.

Feel free to close this issue but I just wanted to point out the impact of the changes to developers. Many TypeScript projects aren't SemVer compliant and I think it benefits the community quite a bit when they are.

@google-oss-bot
Copy link
Contributor

Hey there! I couldn't figure out what this issue is about, so I've labeled it for a human to triage. Hang tight.

@google-oss-bot
Copy link
Contributor

Hmmm this issue does not seem to follow the issue template. Make sure you provide all the required information.

@LostOnEast
Copy link

LostOnEast commented Dec 21, 2017

Same problem, I find it when read this tutorial
https://github.com/angular/angularfire2/blob/master/docs/install-and-setup.md
solved by downgrading firebase to 4.8.0 in my package.json

@jshcrowthe
Copy link
Contributor

Hey @colinskow thanks for the issue and we appreciate your patience 😄 .

We're going to rollback the part of the typings refactor exposed by the NPM firebase package which should fix this issue (see #401). Thanks so much for your help!

@firebase firebase locked and limited conversation to collaborators Oct 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants