Bun v0.0.44
Jarred-Sumner
released this
03 Nov 10:22
·
9775 commits
to main
since this release
To upgrade:
bun upgrade
Next.js 12
Bun works with Next.js 12 now. Before, it only supported 11.1.2. This includes support for React 18 (react@alpha
). React Server Components is not supported yet, but it will be. I promise :)
Other stuff
- (
bun run
) ZSH completions should auto-install correctly now. This will automatically apply when you runbun upgrade
- (
bun dev
) Fixed a mistranspilation when usingrequire
from app code to a bundled module (e.g.require("relay-devtools")
) - (
bun bun
) Fixed an issue with symlinked workspace packages when usingalwaysBundle
that prevented them from being correctly imported if enough levels of indirection were added - Fixed undefined behavior when invalid UTF-8 codepoints were inside source code text printed in an error message
- (
bun-macro-relay
) Worked around a bug that could cause it to not correctly importgraphql
depending on the environment - (
bun create
) bumped the hardcoded Next.js version set to12.0.2
- Bun.js: rename
Bun.sleep
->Bun.sleepSync
Full Changelog: Jarred-Sumner/bun@bun-v0.0.42...bun-v0.0.44