-
Notifications
You must be signed in to change notification settings - Fork 205
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
Missing migration guide for usage of getBindings()
#585
Comments
Hey! 👋 Thanks for raising this. With Miniflare 3, we're now using the open-source Workers runtime Alternatively, it would be good to investigate whether the SvelteKit server could run inside |
@mrbbot Are you planning to continue support for v2? The switch to While having an identical runtime is nice (no more
Hopefully the answer to all of these questions is yes because the v3 release feels incomplete and premature. Not trying to disparage all of your hard work. You have definitely made workers 1000000x better to work with and I appreciate you thoroughly. Its just that the v3 release was an emotional roller coaster. I saw a new version available, got super excited, started upgrading my project, was quickly disappointed, and had to roll back. It always feels icky running an outdated version of a dependency. 😢 |
Actually, let me relocate this to a discussion. Probably better place for it. |
Do you mean something like this example? I managed to get the basic KV
I'm not too sure myself, but I believe it relies on Vite's dev server to run and that requires node(?). PS: Appreciate your time taken to reply and for the great work on miniflare v3 |
closed by #639 |
Previously in V2, the
getBindings()
method was useful for working with SvelteKit and KV, D1, etc. locally. However, this method has been removed without new recommendations for retrieving the bindings.The link below provides an example of how Miniflare V2 enabled local development of SvelteKit projects. I'm also wondering if this change has affected other fullstack frameworks.
sveltejs/kit#2966 (comment)
The text was updated successfully, but these errors were encountered: