Bun 1.3.5 (Dec 17) fixes native modules failing with “symbol ‘napi_register_module_v1’ not found” during hot reload or when loading in both main thread and workers.
I was wondering this as well! I think it would be awesome if Vercel allowed you to specify the Bun version to use (or at least have some options). Bun support is in beta, and the docs say 1.x is the only valid value for bunVersion in the config, but hopefully that will change later
Unfortunately this probably won’t land until after the holidays, they keep quite an extensive testing process before rolling out new runtime versions but likely in mid-January or so
I see, thanks! I upgraded to Bun a bit too quickly . Thankfully I’m in a situation where I can delay the next build. Keeping an eye out for it, is there any way to get notified on this (I’m thinking since it’s an internal runtime update it might go live before an official Changeloge update)?
Thanks for reaching out. I am checking this with the relevant team and will update you once I have more information. You will likely hear back from us in the early week of January.
We’ll be bumping Bun for both builds and runtime later this week. I’ll update back when it’s fully released, which will require redeployments of your projects.
Quick update, Bun 1.3.5 has been rolled out for new deployments, both for builds and at runtime, for all Hobby and Pro customers. It will be fully available by tomorrow for Enterprise customers.