Upgrade to the Firebase 3.x.x SDK
I'm just reading the web API reference, but what about integrating angular?
I just imported one of my projects to the new console and the web app still works fine with firebase 2.4.2 and angularfire 1.2.0. I will test upgrading firebase to 3.0.0 later today and see if it breaks.
ok, so you can import your project on the console, what about the support for firebase 2, the docs for the 2 versions appears as deprecated so i would like to know for how long this version will be supported because i am just finishing an app and is not cool to release a new app that uses a deprecated firebase version.
Upgrading to Firebase 3.0.0 modifies some of the sintaxis to save and read data, besides the use of the Firebase reference and child events.
You can import the database to the new console and most of the queries are done the same way. But with Firebase 3 you have to use firebase.database(), and it sure affects this library right? I would also assume $firebaseRef no longer works with version 3.
I would love to know how long this new legacy version, Firebase 2.x, will be supported. Most of my projects use angularfire heavily. It would be a shame to migrate everything to Firebase Web API and stop using angularfire, to come back to it later if a new version is released.
Interesting, on Firebase migration guide, they are talking about Angularfire 2.x to support Firebase 3.x: https://firebase.google.com/support/guides/firebase-web#update_your_firebase_libraries_numbered
But it looks like this Angularfire 2.x doesn't exist yet.
You are correct, 1.2.0 $firebaseRef no longer works with firebase 3.0.0. I cannot even authenticate after upgrading.
ReferenceError: Firebase is not defined
at FirebaseRef.$$createMultipleRefs [as $$createRefsFromUrlConfig]
Okay, lots of different discussions going on here. Let's see if I can set things straight.
We are upgrading this AngularFire library (compatible with Angular 1.x) to the new 3.0.0 Firebase SDK in #717. We will be following semver and release it as version 2.0.0 since it contains breaking changes (the auth stuff, not the database stuff). This does not imply that it will work with Angular 2.
If you want to use AngularFire in Angular 2, check out AngularFire2. It will be upgraded to the Firebase 3.0.0 SDK in the coming days to weeks. @davideast and @jeffbcross are leading the AngularFire2 effort.
The existing AngularFire library (and all Firebase apps) will continue to work if you simply keep using the libraries you are using today. If you migrate your app to the new console, you existing apps will continue to work. We've worked really hard to ensure backwards compatibility with our existing libraries.
If you do decide to upgrade to the new Firebase JavaScript SDK, there are in fact a handful of breaking changes. Please check out our migration guide.
@jwngr thanks for your time. I really appreciate the effort handling this update. Really, great work. Are there estimated times for these releases?
I would suspect in the hours to days timeline - but no promises :)
I noticed that in order to use the new "Sign up confirmation" auth feature you have to be using Firebase SDK 3.0.0 so I'm looking forward to the AngularFire upgrade as well!
@abehaskins the firebasearray code update is working pretty well with firebase 3 :)
Hi. We've updated Firebase to v3 but our application does not work because all calls to DB are made with AngularFire 1.2 which currently does not support v3. Is it right?
@jwngr could you please give any estimate/date when #717 will be merged (which means the new version of AngularFire will support Firebase v3, right?). I just need to give a report to my client when I can finish migration to Firebase v3.
And thank you guys for great work
Thank you
We should be able to review, test, merge, and publish a new version by the end of next week. Hopefully sooner. In the meantime, please continue with the existing libraries against the 2.x.x Firebase SDKs.
@jwngr Thanks Jacob! Really appreciate your hard work!
what we want? Merge!, when we want? Now! Thx your guys for the hard work.
To give an update here: @abehaskins and I are fighting with some test failures and trying to make sure the library works as expected with the 3.x.x SDK. This lib is a bit trickier to update than the other *Fire libs since the code is old, there are more tests, and it uses more parts of the underlying Firebase SDK (like auth). Hang tight and hopefully we can get a new version out to you sometime this week.
The new version of AngularFire which is compatible with the Firebase 3.x.x SDK is out! 🎉