This fixes a bug we missed in Bun v0.5.2. Otherwise, it's the same as Bun v0.5.2
Read Bun v0.5.2's release notes on Bun's blog
This release is a follow up to Bun v0.5 and Bun v0.5.1
To install:
curl https://bun.sh/install | bash
# or you can use npm
# npm install -g bun
To upgrade:
bun upgrade
What's Changed
- constructor parameter properties are lowered in class expressions by @dylan-conway in #1867
- [semver] parse
^
&~
expressions correctly by @alexlamsl in #1854 - minor clean-ups by @alexlamsl in #1869
- feat(dns) resolveSrv by @cirospaciari in #1870
- enhancement(fetch): Merge parameters from request parameter with the second parameter for fetch, move verbose and proxy options to second parameter, add non-TLS tests for fetch by @cirospaciari in #1862
- fix constructor statement order by @dylan-conway in #1883
- fix child process node test hang by @dylan-conway in #1884
- fix(Buffer) Fix arguments in buffer.write, fix size returned from buffer.write for utf16, fix size calc for base64, fix calc for hex byte size by @cirospaciari in #1881
npm install bun
by @Electroid in #1874- support
bun link
of scoped packages by @alexlamsl in #1892 - support GitHub URLs as dependencies by @alexlamsl in #1875
- Add FileSystemRouter + React example by @scally in #1894
- parse package-spec from CLI correctly by @alexlamsl in #1895
- fix(WebSocket) Fix large packages receive for WS client by @cirospaciari in #1909
- fix websocket hang by @dylan-conway in #1910
- Implement all pending resolve methods in DNS by @cirospaciari in #1903
- fix(Express.js) Express.js try to use function as hostname by @cirospaciari in #1914
- ensure name is allocated with
toSliceClone
by @dylan-conway in #1917 - [WIP] append GitHub package after fully parsed by @alexlamsl in #1911
- fix(bench): Fix if condition always being true by @u9g in #1923
- fix corner cases with aliased dependencies by @alexlamsl in #1927
- normalise
bun add
package specifiers by @alexlamsl in #1924 - parse
git+https://github.com/
as GitHub URLs by @alexlamsl in #1926 - Support running WASI (WebAssembly) files using
bun run
by @Jarred-Sumner in #1929 - [bun add] fix more corner cases by @alexlamsl in #1930
- Update README.md by @Ygnys in #1934
- [bunx] fix version parsing by @alexlamsl in #1937
- report invalid input file as test failure by @alexlamsl in #1938
- fix
assert()
crash by @alexlamsl in #1941 - fix utf16le fill and utf8 partial write of utf16 by @cirospaciari in #1943
New Contributors
Full Changelog: bun-v0.5.1...bun-v0.5.2