-
Notifications
You must be signed in to change notification settings - Fork 928
Add a stopgap idb replacement #6061
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
Conversation
🦋 Changeset detectedLatest commit: 89dd970 The changes in this PR will be included in the next version bump. This PR includes changesets to release 28 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Size Report 1Affected Products
Test Logs |
Size Analysis Report 1This report is too large (151,151 characters) to be displayed here in a GitHub comment. Please use the below link to see the full report on Google Cloud Storage.Test Logs |
Hey folks, loyal firebase user here. Just wondering if we have an ETA on merging? Not trying to rush you at all but a few of us can't build our code right now. We are relying on many of the features in V9 that make it difficult to roll back. |
Same here, we have stopped working on our current project until the fix. |
Also kinda helpless without a fix. |
Waiting :) |
Hi everyone, while waiting for the merge I tried the 9.6.3 version and it works. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
If we get approvals this should go out in Thursday's release (March 17). |
No such luck for me |
please release this stopgap for version 8 as well. |
Hi there, new firebase user and I'm encountering the error "Can't find variable: IDBIndex" error. Is this what is being discussed on here...? |
@JamesOwen7 Yes |
Has this been fixed? I tried downgrading to older packages but nothing is working for me. |
Can confirm this is fixed in production Use version 9.6.9 (The latest as of this post) and you should be all good to go! |
Yes, all working fine. Now can someone please look into #5848 ? It’s really affecting everyone who uses firebase storage in RN .. |
Is this also released for firebase version 8 ? |
Sry I receive still the following error: thx |
I also get the issue on version 9.6.9 and 9.6.10 |
Replace
idb
dependency with a temporary set of methods in@firebase/util
. This is to address an increasing amount of mostly Node ESM module related problems caused by depending on an old version ofidb
. Upgrading to idb 7+ may also fix many of these problems but would require dropping IE support.In the interest of reducing the amount of surface area for error, I have only filled in the minimum idb methods and properties currently being used by our consuming libraries. We are planning on extracting a more fully featured idb promise wrapper library from Firestore in the near future.
Although these methods won't work in Node, I am exporting them from the
@firebase/util
Node entry point also, otherwise if an app compiles in Node mode (like an SSR app), it'll break on build when the packages try to import these methods. Errors can be avoided by using isSupported() to prevent initialization of relevant products.