Releases: oven-sh/bun
Bun v0.6.2
This is a couple bugfixes to the bundler & minifier and performance improvements to JavaScript thanks to JavaScriptCore team members @Constellation and @shvaikalesh
Read Bun v0.6.2's release notes on Bun's blog
To install:
curl https://bun.sh/install | bash
# or you can use npm
# npm install -g bunTo upgrade:
bun upgradeWhat's Changed
- fix asset naming output paths by @dylan-conway in #2904
- Fix segfault on passing undefined to bun.build by @paperdave in #2902
- fix: broken link by @okisdev in #2897
- fix template folding rope strings by @dylan-conway in #2909
- do not fail bundles on warnings by @paperdave in #2920
- fix: bun-plugin-server-components name by @BRKalow in #2919
New Contributors
Full Changelog: bun-v0.6.1...bun-v0.6.2
Bun v0.6.1
This is a bugfix release for bun build --compile
Read Bun v0.6.0's release notes on Bun's blog
To install:
curl https://bun.sh/install | bash
# or you can use npm
# npm install -g bunTo upgrade:
bun upgradeBun v0.6.0
Read Bun v0.6.0's release notes on Bun's blog
To install:
curl https://bun.sh/install | bash
# or you can use npm
# npm install -g bunTo upgrade:
bun upgradeWhat's Changed
- Add npm benchmark by @colinhacks in #2555
- Dylan/fix some failing tests by @Jarred-Sumner in #2544
- Implement
import.meta.mainby @Jarred-Sumner in #2556 - fix: modules to have null prototype by @privatenumber in #2561
- fix
deepEqualswith array holes and accessors by @dylan-conway in #2557 - In Documentation, move --watch before the script name by @Lawlzer in #2569
- fix: build warnings by @privatenumber in #2562
- fix(fetch.proxy) fix proxy authentication by @cirospaciari in #2554
- Add tests for
bun testwith preload scripts by @jakeboone02 in #2566 - Update
typecheckby @colinhacks in #2572 - bun-types: infer strict
SubprocessfromBun.spawn()options by @paperdave in #1501 - docs(CONTRIBUTING): reference development guide by @privatenumber in #2576
- fix(ws): export Server by @privatenumber in #2575
- move resolve tests to another process by @dylan-conway in #2578
- bun-types: infer strict
SubprocessfromBun.spawn()options, part 2 by @paperdave in #2573 - Add last modify field "mtime" for FileBlob (#1431) by @zhongweiy in #2491
- Fix
toEqualwhen the second array has extra array holes by @dylan-conway in #2580 - docs(cli/bunx): add notice by @xHyroM in #2574
- docs: add a section on uninstalling bun by @paperdave in #2560
- fix: export
constantsfromfs/promisesby @paperdave in #2567 - feat(tls.Server) basic support (cert, key, rejectUnauthorized, requestCert, ca) #2412 by @cirospaciari in #2552
FileBlob->BunFile, addBunFile.lastModifiedby @colinhacks in #2581- chore(prettier): simplify glob and enable cache by @privatenumber in #2589
- Add TSConfig object type to TranspilerOptions interface by @jakeboone02 in #2545
- Bun gets a new bundler by @Jarred-Sumner in #2312
- Rewrite Developer Docs, Improve DX for new users, moving away from Devcontainer by @paperdave in #2588
- Fix callout tag on development docs by @paperdave in #2595
- Update TypeScript parsing to 5.0 by @Jarred-Sumner in #2593
- Fixes #2594 by @Jarred-Sumner in #2600
- Implement TOML & JSON support in Bun's new bundler by @Jarred-Sumner in #2609
- Fix symbol renaming bug by @dylan-conway in #2613
- fix(sockets) always safe deinit socket context by @cirospaciari in #2611
- docs: remove dev container section by @privatenumber in #2610
- Update development.md by @rmorey in #2625
- continue refining bundler tests 1 by @paperdave in #2623
- fix string escaping by @dylan-conway in #2639
- fix(fs): remove
promises.readfileby @privatenumber in #2630 - bundler bug fixes by @dylan-conway in #2637
- more bundler tests by @paperdave in #2635
- fix(net) types and add more reliable tests by @cirospaciari in #2621
- fix bundling many entry points by @dylan-conway in #2640
- fix expectBundled precheck by @paperdave in #2641
- import file path and fix disabled browser require by @dylan-conway in #2642
- Upgrade WebKit by @Jarred-Sumner in #2643
- Fix typo in development.md by @marktani in #2647
- fix(server) fixes UAF of uWS headers by @cirospaciari in #2648
- fix node-net-test hang by @cirospaciari in #2649
- fix ambiguous import by @dylan-conway in #2654
- Docs restructuring by @colinhacks in #2638
- use a lazyily initialized stream for
node:cryptocreateHashby @paperdave in #2652 - Support
@jsx,@jsxRuntime,@jsxImportSource, and@jsxFragmentpragmas by @Jarred-Sumner in #2655 - Upgrade Zig by @Jarred-Sumner in #2656
- [nit] minor typo in tcp.md by @Kruithne in #2657
- Support importing
.txtfiles as strings by @Jarred-Sumner in #2660 - toBeFalsy expect counter and test scope check by @will-richards-ii in #2661
- more work on bundler tests by @paperdave in #2667
- fix(cli): replace unknown unzip link with bun docs by @xHyroM in #2669
- more bundler tests by @paperdave in #2670
- Get axios working by @Jarred-Sumner in #2673
- docs: fix code block by @simon04 in #2662
- fix typescript decorators with index and number keys by @dylan-conway in #2677
- fix parsing
withkeyword by @dylan-conway in #2680 - fix package json exports visit by @dylan-conway in #2687
- clarify file io docs by @paperdave in #2689
- implement
node:eventsin javascript by @paperdave in #2604 - fix
make setupby @alexlamsl in #2693 - Fix typo in benchmarking docs by @flakey5 in #2702
- Symbol minification by @dylan-conway in #2695
- template string folding bug fix by @dylan-conway in #2705
- chore(docs): add xcode runtime install to docs by @MaanuVazquez in #2706
- Add
tsconfig.jsontobun-typesby @colinhacks in #2587 - Update
typescript.mdby @colinhacks in #2590 - Make
Bun.buildmore reliable by @Jarred-Sumner in #2718 - Reduce friction for building with npm by @Plecra in #2723
- Support plugins in
Bun.buildby @Jarred-Sumner in #2720 - Continue bundler tests by @paperdave in #2691
- [install] fix
bun addon non-aliased dependency by @alexlamsl in #2728 - fix
make setupby @alexlamsl in #2731 - Implement
onResolveplugins inBun.build(), support multiple onLoad and onResolve plugins by @Jarred-Sumner in #2739 - bundler tests, testing plugins by @paperdave in #2740
- Implement
fileloader inBun.buildby @Jarred-Sumner in #2745 - Basic types for Bun.build by @colinhacks in #2713
- Add bundler documentation by @colinhacks in #2753
- docs hotfix by @paperdave in #2755
- second hotfix to build docs by @paperdave in #2756
- Fixes #2746 by @Jarred-Sumner in #2748
- ensure
super()is not merged with adjacent statements by @dylan-conway in #2757 - Use Ninja to build mimalloc and gitignore test/bun.lockb by @silversquirl in #2750
- bundler tests! by @paperdave in #2741
- very slightly faster open() and writeFileSync() by @Jarred-Sumner in #2759
- Remove extra word in docs/index.md by @beeburrt in #2758
- fix: make node:crypto Hash.copy work correctly by @silversquirl in #2761
- address unicode issue by @Jarred-Sumner in #2763
- Bundler docs updates + support for
namingstring by @colinhacks in #2767 - Improves Body.Value life cycle and Signal life cycle on server.zig by @cirospaciari in #2752
- bundler tests: rest of default.test.ts and starting jsx tests by @paperdave in #2765
- [install] handle repeated in...
Bun v0.5.9
Read Bun v0.5.9's release notes on Bun's blog
To install:
curl https://bun.sh/install | bash
# or you can use npm
# npm install -g bunTo upgrade:
bun upgradeWhat's Changed
- Fix example for "bun pm ls" by @jq170727 in #2440
- Support directories in ZSH run completions by @JacksonKearl in #2425
- "bun-create" example "postinstall"→"preinstall" by @jq170727 in #2441
- docs: update moduleResolution to bundler by @johnnyreilly in #2429
- Make event emitter type-safe by @gaurishhs in #2414
- docs: Buchta Docs Page by @Fire-The-Fox in #2378
- Fix typo in
CONTRIBUTING.mdby @bnzone in #2446 - Fix: SQLite benchmark source pointing to wrong URL by @JokerQyou in #2452
- Fix types by @colinhacks in #2453
- A couple bug fixes by @dylan-conway in #2458
- Use PATH instead of sudo to install bun for testing by @jsoref in #2460
- test(undici): rm external http reqs from tests by @ThatOneBro in #2459
- Fixes #2462 by @Jarred-Sumner in #2463
- [install] fix tests by @alexlamsl in #2488
- fix https default port on http.request by @cirospaciari in #2490
- Fix for latest zig by @Jarred-Sumner in #2495
- Remove extra 's' on keep by @andres039 in #2498
- [install] support tarball URLs by @alexlamsl in #2497
- More bug fixes by @Jarred-Sumner in #2486
bun --watchandbun test --watchby @Jarred-Sumner in #2500- Add doc on watch mode by @Jarred-Sumner in #2502
- Fixes #2499 by @Jarred-Sumner in #2501
- Fix some yarn.lock printing issues by @Validark in #2506
- Fix date format (#2422) by @adrien-zinger in #2474
- [install] fix re-run of tarball URL from lockfile by @alexlamsl in #2507
- Generate dependency files in
make bindingsby @dylan-conway in #2510 - [install] fix re-install of git dependency by @alexlamsl in #2519
- [install] fix stale pointer with tarball URLs by @alexlamsl in #2520
- report timed-out test as failure by @alexlamsl in #2523
- Remove debug symbols from release webcrypto bindings by @dylan-conway in #2527
- Update NodeJS LTS version in run_command.zig by @jakeboone02 in #2533
- Add stubs for missing node builtins by @Jarred-Sumner in #2534
- [install] reduce parallel HTTP requests under heavy load by @alexlamsl in #2536
New Contributors
- @jq170727 made their first contribution in #2440
- @JacksonKearl made their first contribution in #2425
- @Fire-The-Fox made their first contribution in #2378
- @bnzone made their first contribution in #2446
- @JokerQyou made their first contribution in #2452
- @andres039 made their first contribution in #2498
- @adrien-zinger made their first contribution in #2474
Full Changelog: bun-v0.5.8...bun-v0.5.9
Bun v0.5.8
Read Bun v0.5.8's release notes on Bun's blog
To install:
curl https://bun.sh/install | bash
# or you can use npm
# npm install -g bunTo upgrade:
bun upgradeWhat's Changed
- Upgrade Zig by @dylan-conway in #2151
- prefer
bun.copy()overstd.mem.copy()by @alexlamsl in #2152 - [docs] Minor syntax correction in test.md by @jakeboone02 in #2153
- fix(zig-build): disable stack probing on x86_64 so no
compiler_rtneeded by @ThatOneBro in #2159 - fix(body) Make Request/Reponse empty body to be null by @cirospaciari in #2156
- Implement
os.cpusfor Darwin (OS X) by @jwhear in #2115 - Fix #2024 by @jwhear in #2161
- fix(dns) Fix resolve4 and resolve6 behavior by @cirospaciari in #2144
- fix
compiler_rtlinking failure onx86_64by @alexlamsl in #2163 - Fix typo in
developing.mdby @charliermarsh in #2166 - fix(zig-build): disable stack probing when building other objs too by @ThatOneBro in #2165
- Add missing "that" in
modules.mdby @charliermarsh in #2167 - Docs tweaks by @colinhacks in #2160
- Fixes by @colinhacks in #2168
- Docs by @colinhacks in #2170
- Update hono.md by @ThatOneBro in #2171
- Docs: Fixes broken link in express docs by @BrettBlox in #2173
- docs: use proper CSS property in React examples by @damianstasik in #2177
- docs: Fix sqlite.md
.serializetypo by @Sheraff in #2178 - docs: consistent indentation for post install commands by @johnnyreilly in #2175
- docs: fix typo in install.md file by @fdaciuk in #2179
- fix: fixes typo in docs/index.md by @akash-joshi in #2182
- docs: improved language in yaml loader example by @TommasoAmici in #2172
- docs: Fix the link to Node.js ecosystem by @raxityo in #2181
- Replace docs/runtime/nodejs with docs/ecosystem/nodejs by @charliermarsh in #2185
- fix: Broken link to Node.js support status page by @DreierF in #2183
- Fix broken link in developing.md by @rmorey in #2188
- improve
bun pm lsby @alexlamsl in #2192 - Update
node:httpcompatibility by @ThatOneBro in #2184 - docs: fix
globalThis.reloadCount++;toglobalThis.count++;by @cunzaizhuyi in #2198 - fix ANSI escape codes piped from
stdoutto file by @alexlamsl in #2202 - docs(configuration): update misleading comment by @rodoabad in #2205
- resolve duplicated dependency correctly by @alexlamsl in #2213
- Feat/os.network interfaces by @jwhear in #2142
- Bundler uses incorrect port when dev server is listening on non-default port #1885 by @xjmdoo in #2191
- Update module statuses in docs by @gaurishhs in #2219
- fix(fetch.signal) capture socket and shutdown on abort signal by @cirospaciari in #2143
- add signal on http.Server.listen by @cirospaciari in #2223
- use abort signal on http.ClientRequest by @cirospaciari in #2222
- fix(bun:sqlite): fix
sqliteDb.run(' ')throwingnot an errorby @ThatOneBro in #2226 - Update file-io.md by @maor-benami in #2229
- Update file-io.md by @maor-benami in #2230
- Implement
preloadsupport (likenode -rexcept in a config file) by @Jarred-Sumner in #2231 - Update clap by @jwhear in #2238
- Add
-D,--devflags for bun install by @jwhear in #2240 - fix (globals.d.ts) some comments fix by @cirospaciari in #2237
- docs(ecosystem): Update FormData added vers by @ThatOneBro in #2236
- Force a specific libdir for c-ares by @jwhear in #2241
- fix Bun.file.arrayBuffer() segmentation fault on empty file #2248 by @cirospaciari in #2249
- fix deinit behavior when connection is aborted using ResponseStream and abort event behavior by @cirospaciari in #2252
- avoids segfault after aborted onReject in Bun.serve streams by @cirospaciari in #2256
- fix(node:http/https): fix passing
URLobjs tohttp.request(#2253) by @ThatOneBro in #2258 - fix(node:http): match Node
http.request()GET/HEAD w/ body by @ThatOneBro in #2262 - fix bun server segfault with abortsignal by @cirospaciari in #2261
- Add page descriptions by @colinhacks in #2260
- fix(bindings): mark
JSCInitializeby @ThatOneBro in #2265 - Fix
Bun.sleepSyncto actually use milliseconds by @jwhear in #2242 - only free HTTPServerWritable sink after promises solves by @cirospaciari in #2268
- place AbortSignal in WebCore namespace like it should by @cirospaciari in #2267
- Remake typings for FFI dlopen/linkSymbols + introduce Pointer type by @u9g in #2227
- fix tmp dir in fetch.tests.js by @cirospaciari in #2270
- add tests for scoped dependency aliasing by @alexlamsl in #2271
- Add separate bun-types release CI by @colinhacks in #2275
- fix(os.tmpdir()) strip trailing slash on *unix machines by @cirospaciari in #2276
- Add
fs/promisestypes. Migratefs.test.jsto TypeScript. by @colinhacks in #2279 - Add a zig fmt action by @Jarred-Sumner in #2277
- Fix update zls version in devcontainer by @zhiyuang in #2280
- docs: Fix variable name in transpiler API docs by @aabccd021 in #2281
- Fix http server req url by @zhiyuang in #2285
- Fix broken async test example by @hanneskaeufler in #2291
- Improve types for
node:httpby @colinhacks in #2284 - fix(bunx): Show usage when calling bunx without arguments by @Zeko369 in #2295
- fix(node:http): match Node headers casing (lowercase only) by @ThatOneBro in #2288
- fix(bunx): can't resolve executable for scoped packages by @Zeko369 in #2293
- [install] use
latesttagged version if in range by @alexlamsl in #2302 - docs(websocket): change server port on example to default port by @aabccd021 in #2301
- docs: Fix invalid default port on bun-types docs by @aabccd021 in #2300
- Test action comment by @Jarred-Sumner in #2310
- [install] fix connection error detection by @alexlamsl in #2307
- consider current working directory when resolving relative paths by @alexlamsl in #2313
- support
expect().toThrow(/pattern/)by @alexlamsl in #2314 - fix missing
Bloberror messages on Linux by @alexlamsl in #2315 - fix & clean up tests by @alexlamsl in #2318
- feat(tty): add some
tty.WriteStreammethods toprocess.{stdout, stderr}by @ThatOneBro in #2320 bun teston macOS in GitHub Actions by @alexlamsl in #2322- throw invalid parameter errors in
crypto.scryptSyncby @dylan-conway in #2331 - Add reference documentation for bun:test by @Electroid in #2327
- Reorganize tests by @Electroid in #2332
- Fix the --hot example code by @pfgithub in #2334
- Improve Benchmarking page, small fixes by @colinhacks in #2339
- improve
Buffercompatibility with Node.js by @alexlamsl in #2341 - run
bun testafter macOS builds by @alexlamsl in #2343 - More spec compliant
Blob.prototype.typeby @Jarred-Sumner in #2340 - docs(react): add the missing props.message to
<Component />by...
Bun v0.5.7
Read Bun v0.5.7's release notes on Bun's blog
To install:
curl https://bun.sh/install | bash
# or you can use npm
# npm install -g bunTo upgrade:
bun upgrade
What's Changed
- [streams] fix byte accounting by @alexlamsl in #2029
- [simdutf] workaround validation OOB access by @alexlamsl in #2031
- [install] fix flaky tests by @alexlamsl in #2032
- fix assertion failure by @alexlamsl in #2033
- drop ASCII double-scan and other minor clean-ups by @alexlamsl in #2038
- [install] fix duplicate check on
peerDependenciesby @alexlamsl in #2039 - fix(string_immutable): fix
toUTF16Allocfor bindgen by @ThatOneBro in #2042 - Fix PATH setup in macOS setup instructions by @ekzhang in #2044
- Fix #631: bun add throwing JSON lexer bug by @jwhear in #2041
- [WIP] feat(napi): add
napi-fatal-exceptionby @ThatOneBro in #2054 - fix segfault during non-install script execution by @alexlamsl in #2045
- fix string corruption in FS entry cache by @alexlamsl in #2055
- Return server on listen (node:http) by @michalwarda in #2057
- [install] support
git://github.com/dependencies by @alexlamsl in #2059 - Implement
FormDataby @Jarred-Sumner in #2051 - feat(napi): add
napi_get_value_bigint_wordsby @ThatOneBro in #2061 - Add dynamic port assigning to Bun.serve by @michalwarda in #2062
- fix(FormData): add string literal operator by @ThatOneBro in #2064
- fix(FormData): make String explicit, thanks @dylan-conway by @ThatOneBro in #2065
- Reject with error when invalid fetch() body by @ekzhang in #2047
- [WIP] fix(node:fs): export
fs.ReadStreamandfs.WriteStreamby @ThatOneBro in #1798 - [install] improve
package.jsonvalidation by @alexlamsl in #2074 - [install] link network-delayed
.binscripts correctly by @alexlamsl in #2076 - ED25519 WebCrypto by @Jarred-Sumner in #1971
- Fix 2063 by @jwhear in #2079
- fix(webcrypto): fix ed25519 CryptoKey.algorithm by @ThatOneBro in #2082
- feat(fetch) AbortSignal by @cirospaciari in #2019
- Clarify and clean up macOS build process by @controversial in #2087
- Fix #1516 by @jwhear in #2089
- Implement
machinefor Linux by @jwhear in #2088 - Support yarn-like
"workspaces"."packages": string[]by @Jarred-Sumner in #2086 - allow
bun addof packages with capital letters by @alexlamsl in #2095 - Fix #2005 by @jwhear in #2096
- [install] support git dependencies by @alexlamsl in #2094
- Fix #1602 by @jwhear in #2066
- use
bun.loggerinstead ofbun.Outputby @alexlamsl in #2099 - update
bun.lockbs by @alexlamsl in #2101 - feat(node/os): implement
os.machine()by @sno2 in #1378 - fix: Print URL as object in by @MichaReiser in #2104
- Fix Deno SQLite benchmark by @mlafeldt in #2112
- docs(bunx): add initial documentation to readme by @AgentEnder in #2106
- Add mention of
bunx --buntoREADMEby @ThatOneBro in #2114 - Update test runner output with colors and diffs by @dylan-conway in #2122
- [install] support SCP-style
gitdependencies by @alexlamsl in #2124 - Add runtime layer to run Bun on AWS Lambda by @Electroid in #2009
- fix(child_process): match Node's promisified exec fn by @ThatOneBro in #2128
- fix(child_process): import from primordials by @ThatOneBro in #2132
- wiptest -> test by @dylan-conway in #2131
- Fix glibc error in latest alpine by @WebReflection in #2126
- format options and fix quote strings regression by @dylan-conway in #2134
- Various type fixes by @colinhacks in #2135
- feat(Request.signal) Initial support for signal in Request + fetch and Request + Bun.serve by @cirospaciari in #2097
- feat(undici): add
undici.requestby @ThatOneBro in #2136 - Update README.md by @beeburrt in #2138
- Update README.md - Delete unnecessary selection by @N0N1m3 in #2145
- fix illegal memory reference in
bun linkby @alexlamsl in #2147 - Add documentation by @colinhacks in #2148
New Contributors
- @ekzhang made their first contribution in #2044
- @controversial made their first contribution in #2087
- @MichaReiser made their first contribution in #2104
- @mlafeldt made their first contribution in #2112
- @AgentEnder made their first contribution in #2106
- @beeburrt made their first contribution in #2138
- @N0N1m3 made their first contribution in #2145
Full Changelog: bun-v0.5.6...bun-v0.5.7
Bun v0.5.6
Read Bun v0.5.6's release notes on Bun's blog
This release is a follow up to Bun v0.5
To install:
curl https://bun.sh/install | bash
# or you can use npm
# npm install -g bunTo upgrade:
bun upgrade
What's Changed
- Fix/Update Typescript types by @gaurishhs in #1972
- Implement os.cpus() for Linux by @jwhear in #1977
- Bump querystring-es3 by @gaurishhs in #1988
- Fix URL of wasi-js by @TerrorJack in #1997
- Add types for node:console and node:perf_hooks by @colinhacks in #1982
- fix(uWS:capi) uws_req_set_yield typo and uws_res_override_write_offset by @cirospaciari in #1996
- Expose Dirent and Stats by @michalwarda in #1998
- Fix gaps in types by @colinhacks in #2003
- [WIP] fix corner cases with aliases dependencies by @alexlamsl in #2000
- [install] assorted fixes & improvements by @alexlamsl in #2011
- Fix minor version bug for README.md by @RobViren in #2013
- utf16 to utf8 conversion validation by @dylan-conway in #2001
- [install] pick
latesttagged version by default by @alexlamsl in #2016
New Contributors
- @jwhear made their first contribution in #1977
- @TerrorJack made their first contribution in #1997
- @michalwarda made their first contribution in #1998
- @RobViren made their first contribution in #2013
Full Changelog: bun-v0.5.5...bun-v0.5.6
Bun v0.5.5
Read Bun v0.5.5's release notes on Bun's blog
This release is a follow up to Bun v0.5
To install:
curl https://bun.sh/install | bash
# or you can use npm
# npm install -g bunTo upgrade:
bun upgrade
What's Changed
- Add filePath property on MatchedRoute by @gaurishhs in #1964
- resolve duplicate npm dependencies correctly by @alexlamsl in #1970
- fix text encoding for utf8 by @dylan-conway in #1967
- feat: add
http.requestby @ThatOneBro in #1959
New Contributors
- @gaurishhs made their first contribution in #1964
Full Changelog: bun-v0.5.4...bun-v0.5.5
Bun v0.5.4
This fixes a couple bugs from 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 bunTo 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 bunby @Electroid in #1874- support
bun linkof 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
toSliceCloneby @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 addpackage specifiers by @alexlamsl in #1924 - parse
git+https://github.com/as GitHub URLs by @alexlamsl in #1926 - Support running WASI (WebAssembly) files using
bun runby @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
Bun v0.5.3
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 bunTo 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 bunby @Electroid in #1874- support
bun linkof 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
toSliceCloneby @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 addpackage specifiers by @alexlamsl in #1924 - parse
git+https://github.com/as GitHub URLs by @alexlamsl in #1926 - Support running WASI (WebAssembly) files using
bun runby @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