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

Firebase version 9 #233

Closed
jafarijason opened this issue Sep 7, 2021 · 17 comments
Closed

Firebase version 9 #233

jafarijason opened this issue Sep 7, 2021 · 17 comments

Comments

@jafarijason
Copy link

Do you have a plan to support firebase v9 modular?
https://firebase.google.com/docs/web/modular-upgrade

I can contribute for using v9

@puf
Copy link
Collaborator

puf commented Sep 8, 2021

It looks like @samtstern started on this at some point: #217.

This would break all backwards compatibility though, so we might need to branch into two releases.

@samtstern
Copy link
Contributor

Breaking backwards compatibility is pretty normal. We do that for FirebaseUI, etc. As long as they're compatible with the latest major SDK version at the time of their release.

Right now geofire is not forwards compatible, to use it you have to use V8 or earlier. That's not good.

@puf
Copy link
Collaborator

puf commented Sep 8, 2021 via email

@samtstern
Copy link
Contributor

@puf yes they should work well with compat for those using GeoFire via CDN. If you're building into a modern webapp via NPM ... I'm not sure.

I doubt my CL is complete, it was an experiment I did months ago. @jhuleatt can probably advise.

@jafarijason
Copy link
Author

It looks like @samtstern started on this at some point: #217.

This would break all backwards compatibility though, so we might need to branch into two releases.

I think if we have something like this for exporting module

export { GeoCallbackRegistration, GeoCallbackRegistrationModular } from './GeoCallbackRegistration';
export { GeoFire, GeoFireModular } from './GeoFire';
export { GeoQuery, GeoQueryModular  } from './GeoQuery';
export * from './GeoFireTypes';

and support both compact and modular will works fine and I saw in #217 @samtstern is try ing only suppor firebase modular but with ^^^ aproach we can supoort both

@zchwyng
Copy link

zchwyng commented Nov 29, 2021

+1

2 similar comments
@PanamaDonne
Copy link

+1

@isakb
Copy link

isakb commented Nov 29, 2021

+1

@spotvin42
Copy link

Any news on this?

@tobias74
Copy link

tobias74 commented Jan 13, 2022

I have implemented a quick and dirty upgrade to version 9 "modular".

This is the branch: https://github.com/tobias74/geofire-js/tree/upgrade-to-v9-modular

Sadly I currently do not have the time to make this into a proper pull request.

I just quickly replaced the v8 statements with the v9 counterparts. Along the way I had to remove some of the types and use "any". I believe the settings in my tsconfig are not compatible, the compiler kept complaining constantly.

Also I did not have the time to use proper typings for the parts that I introduced. (I know, there is no excuse for that) but I had to rush things just to get it working in my own (non-typescript) project.

Again, appologies for this half-baked attempt. Maybe someone can help me finish it?

(I did not even run the tests, I just used it directly in my project and everything seemed to be ok)

@evdama
Copy link

evdama commented Feb 26, 2022

Hi folks... what's the current status on supporting fb v9?

@AliMohammad93
Copy link

is there any solution for that ?

@anckaertv
Copy link

Any news on this ? Thanks in advance

@rashearth
Copy link

Hi, first, thanks for the good app! I would also like to use the version9, looking forward!!

@thatfiredev
Copy link
Member

Hey all!
We have just released geofire version 6.0.0 which now supports the v9 sdk :)
Thanks patiently waiting on this! 🙏

@isakb
Copy link

isakb commented Jul 14, 2022 via email

@PanamaDonne
Copy link

PanamaDonne commented Jul 14, 2022 via email

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

No branches or pull requests