bun-v0.5.3
版本发布时间: 2023-01-31 16:03:13
oven-sh/bun最新发布版本:bun-v1.1.20(2024-07-13 14:04:45)
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 https://github.com/oven-sh/bun/pull/1867
- [semver] parse
^
&~
expressions correctly by @alexlamsl in https://github.com/oven-sh/bun/pull/1854 - minor clean-ups by @alexlamsl in https://github.com/oven-sh/bun/pull/1869
- feat(dns) resolveSrv by @cirospaciari in https://github.com/oven-sh/bun/pull/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 https://github.com/oven-sh/bun/pull/1862
- fix constructor statement order by @dylan-conway in https://github.com/oven-sh/bun/pull/1883
- fix child process node test hang by @dylan-conway in https://github.com/oven-sh/bun/pull/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 https://github.com/oven-sh/bun/pull/1881
-
npm install bun
by @Electroid in https://github.com/oven-sh/bun/pull/1874 - support
bun link
of scoped packages by @alexlamsl in https://github.com/oven-sh/bun/pull/1892 - support GitHub URLs as dependencies by @alexlamsl in https://github.com/oven-sh/bun/pull/1875
- Add FileSystemRouter + React example by @scally in https://github.com/oven-sh/bun/pull/1894
- parse package-spec from CLI correctly by @alexlamsl in https://github.com/oven-sh/bun/pull/1895
- fix(WebSocket) Fix large packages receive for WS client by @cirospaciari in https://github.com/oven-sh/bun/pull/1909
- fix websocket hang by @dylan-conway in https://github.com/oven-sh/bun/pull/1910
- Implement all pending resolve methods in DNS by @cirospaciari in https://github.com/oven-sh/bun/pull/1903
- fix(Express.js) Express.js try to use function as hostname by @cirospaciari in https://github.com/oven-sh/bun/pull/1914
- ensure name is allocated with
toSliceClone
by @dylan-conway in https://github.com/oven-sh/bun/pull/1917 - [WIP] append GitHub package after fully parsed by @alexlamsl in https://github.com/oven-sh/bun/pull/1911
- fix(bench): Fix if condition always being true by @u9g in https://github.com/oven-sh/bun/pull/1923
- fix corner cases with aliased dependencies by @alexlamsl in https://github.com/oven-sh/bun/pull/1927
- normalise
bun add
package specifiers by @alexlamsl in https://github.com/oven-sh/bun/pull/1924 - parse
git+https://github.com/
as GitHub URLs by @alexlamsl in https://github.com/oven-sh/bun/pull/1926 - Support running WASI (WebAssembly) files using
bun run
by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/1929 - [bun add] fix more corner cases by @alexlamsl in https://github.com/oven-sh/bun/pull/1930
- Update README.md by @Ygnys in https://github.com/oven-sh/bun/pull/1934
- [bunx] fix version parsing by @alexlamsl in https://github.com/oven-sh/bun/pull/1937
- report invalid input file as test failure by @alexlamsl in https://github.com/oven-sh/bun/pull/1938
- fix
assert()
crash by @alexlamsl in https://github.com/oven-sh/bun/pull/1941 - fix utf16le fill and utf8 partial write of utf16 by @cirospaciari in https://github.com/oven-sh/bun/pull/1943
New Contributors
- @scally made their first contribution in https://github.com/oven-sh/bun/pull/1894
- @Ygnys made their first contribution in https://github.com/oven-sh/bun/pull/1934
Full Changelog: https://github.com/oven-sh/bun/compare/bun-v0.5.1...bun-v0.5.2
1、 bun-darwin-aarch64-profile.zip 16.16MB
2、 bun-darwin-aarch64.zip 15.15MB
3、 bun-darwin-x64-baseline-profile.zip 18.72MB
4、 bun-darwin-x64-baseline.zip 17.73MB
5、 bun-darwin-x64-profile.zip 19.07MB
6、 bun-darwin-x64.zip 18.08MB
7、 bun-linux-aarch64-profile.zip 58.39MB
8、 bun-linux-aarch64.zip 30.15MB
9、 bun-linux-x64-baseline-profile.zip 60.97MB
10、 bun-linux-x64-baseline.zip 32.46MB
11、 bun-linux-x64-profile.zip 61.51MB
12、 bun-linux-x64.zip 32.79MB
13、 SHASUMS256.txt 1.09KB
14、 SHASUMS256.txt.asc 1.36KB