Ciro Spaciari
964f2a8941
fix(fetch/s3) Handle backpressure when upload large bodies ( #20481 )
...
Co-authored-by: cirospaciari <6379399+cirospaciari@users.noreply.github.com >
2025-06-27 20:52:46 -07:00
Jarred Sumner
1d48f91b5e
Enable ReadableStream as stdin for Bun.spawn ( #20582 )
...
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Cursor Agent <cursoragent@cursor.com >
Co-authored-by: jarred <jarred@bun.sh >
Co-authored-by: pfg <pfg@pfg.pw >
2025-06-27 19:42:03 -07:00
Jarred Sumner
3c1a1b5634
Implement per-message deflate support in WebSocket client ( #20613 )
...
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2025-06-27 00:04:42 -07:00
Meghan Denny
b87cf4f247
zig: handle when coerceToInt32 and coerceToInt64 throw ( #20655 )
2025-06-25 20:44:13 -07:00
Meghan Denny
f9712ce309
make node:buffer,zlib,stream,fs exception checker clear ( #20494 )
2025-06-25 18:36:08 -07:00
Jarred Sumner
ba126fb330
Make node-gyp faster ( #20556 )
2025-06-24 21:07:01 -07:00
Michael H
282dda62c8
Add --import as alias to --preload for nodejs compat ( #20523 )
2025-06-20 19:58:54 -07:00
Jarred Sumner
633f4f593d
Ahead-of-time frontend bundling support for HTML imports & bun build ( #20511 )
...
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
2025-06-20 19:55:52 -07:00
190n
346e97dde2
fix bugs found by exception scope verification ( #20285 )
...
Co-authored-by: 190n <7763597+190n@users.noreply.github.com >
2025-06-18 23:08:19 -07:00
Dylan Conway
3773ceeb7e
Remove PreparePatchPackageInstall ( #20457 )
2025-06-17 17:23:29 -07:00
Jarred Sumner
162a9b66d8
bun pm view -> bun info (#20419 )
...
Co-authored-by: Cursor Agent <cursoragent@cursor.com >
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2025-06-17 13:31:16 -07:00
Jarred Sumner
978540902c
bun init CLAUDE.md (#20443 )
2025-06-17 13:00:28 -07:00
pfg
c44515eaaf
Support --unhandled-rejections flag and rejectionHandled event ( #19874 )
...
Co-authored-by: pfgithub <6010774+pfgithub@users.noreply.github.com >
2025-06-13 19:05:05 -07:00
Meghan Denny
62794850fa
zig: node:zlib: tidy ( #20362 )
...
Co-authored-by: nektro <5464072+nektro@users.noreply.github.com >
2025-06-13 19:43:35 +02:00
Meghan Denny
dedd433cbf
zig: prefer .jsUndefined() over .undefined for JSValue ( #20332 )
2025-06-12 13:18:46 -07:00
Jarred Sumner
6ebad50543
Introduce ahead of time bundling for HTML imports with bun build ( #20265 )
...
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
Co-authored-by: dylan-conway <35280289+dylan-conway@users.noreply.github.com >
2025-06-10 21:26:00 -07:00
Jarred Sumner
8750f0b884
Add FileRoute for serving files ( #20198 )
...
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
Co-authored-by: Ciro Spaciari <ciro.spaciari@gmail.com >
2025-06-10 19:41:21 -07:00
Jarred Sumner
27abb51561
Add fallback for ADDRCONFIG like Chrome's, avoid glibc UDP port 0 hangs ( #19753 )
...
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2025-06-05 20:20:00 -07:00
Dylan Conway
ce8767cdc8
add HTTPParser ( #20049 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-05-31 16:21:08 -07:00
Dylan Conway
5910504aeb
bun pm audit -> bun audit (#19944 )
2025-05-27 19:52:18 -07:00
Jarred Sumner
3ea6133c46
CI: Remove unused top-level decls in formatter in zig ( #19879 )
...
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
2025-05-23 22:49:48 -07:00
Jarred Sumner
9d1eace981
Add bun pm view command ( #19841 )
...
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2025-05-22 23:51:31 -07:00
Jarred Sumner
4ca83be84f
Add Zstd decompression to HTTP client ( #19800 )
...
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
2025-05-20 23:26:47 -07:00
Braden Everson
67b64c3334
Update TextDecoder's constructor to Handle Undefined ( #19708 )
...
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
2025-05-19 16:44:57 -07:00
Jarred Sumner
9bee7a64a2
Support method-specific routes for html & static routes ( #19710 )
2025-05-17 00:28:01 -07:00
pfg
a7b46ebbfe
fastGet can throw ( #19506 )
...
Co-authored-by: Meghan Denny <meghan@bun.sh >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-05-14 22:14:20 -07:00
Dylan Conway
ec865e385a
fix test-webcrypto-random.js ( #19264 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-05-09 18:09:32 -07:00
Dylan Conway
4a210138a9
implement --no-addons flag and "node-addons" export condition ( #19530 )
2025-05-09 18:07:55 -07:00
Jarred Sumner
14b439a115
Fix formatters not running in CI + delete unnecessary files ( #19433 )
2025-05-08 23:22:16 -07:00
Dylan Conway
ff1ff78e77
cmake: change sources from glob-based to file-based ( #19535 )
2025-05-08 16:58:06 -07:00
pfg
00a3cbd977
more child-process ( #18688 )
...
Co-authored-by: pfgithub <6010774+pfgithub@users.noreply.github.com >
2025-05-06 22:12:24 -07:00
Jarred Sumner
0a624bc0a8
Split WebSocket into more files ( #19471 )
2025-05-05 19:38:52 -07:00
Meghan Denny
9e201eff9e
node:net: implement BlockList ( #19277 )
2025-05-01 16:09:44 -07:00
Ciro Spaciari
59b2a60790
compat(node:http) more passing ( #19236 )
...
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
Co-authored-by: 190n <ben@bun.sh >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-04-24 19:26:55 -07:00
chloe caruso
3349c995b5
no usingnamespace, organize jsc namespace, enable -fincremental ( #19122 )
...
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
2025-04-22 16:34:15 -07:00
Jarred Sumner
0471254e4e
Use Highway SIMD ( #19134 )
...
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2025-04-21 23:28:03 -07:00
Jarred Sumner
b117d14650
Avoid u3 ( #19140 )
2025-04-21 22:46:32 -07:00
chloe caruso
7d7512076b
remove more usingnamespace ( #19042 )
2025-04-17 19:04:05 -07:00
chloe caruso
a3809676e9
remove all usingnamespace in css ( #19067 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-04-17 14:17:08 -07:00
chloe caruso
4ec410e0d7
internal: make @import("bun") work in zig ( #19096 )
2025-04-17 12:32:47 -07:00
chloe caruso
be77711a4e
delete usingnamespace in bindings generator ( #19020 )
2025-04-15 12:14:47 -07:00
chloe caruso
903706dccf
file descriptor rewrite ( #18790 )
2025-04-15 09:37:11 -07:00
190n
e9c3f9186e
chore: remove unneeded undefined default ( #18926 )
2025-04-10 15:47:46 -07:00
chloe caruso
c1dc5f1b73
remove some usingnamespaces ( #18765 )
2025-04-10 14:16:30 -07:00
Jarred Sumner
93855bd88c
Fix setImmediate slowness ( #18889 )
2025-04-09 20:03:26 -07:00
Don Isaac
dff1f555b4
test: get zig build test working ( #18207 )
...
### What does this PR do?
Lets us write and run unit tests directly in Zig.
Running Zig unit tests in CI is blocked by https://github.com/ziglang/zig/issues/23281 . We can un-comment relevant code once this is fixed.
#### Workflow
> I'll finish writing this up later, but some initial points are below.
> Tl;Dr: `bun build:test`
Test binaries can be made for any kind of build. They are called `<bun>-test` and live next to their corresponding `bun` bin. For example, debug tests compile to `build/debug/bun-debug-test`.
Test binaries re-use most cmake/zig build steps from normal bun binaries, so building one after a normal bun build is pretty fast.
### How did you verify your code works?
I tested that my tests run tests.
2025-04-08 15:31:53 -07:00
Jarred Sumner
ec87a27d87
Introduce Bun.redis - a builtin Redis client for Bun ( #18812 )
2025-04-08 03:34:00 -07:00
Jarred Sumner
e75d226943
Make shell more reliable ( #18794 )
2025-04-05 02:45:25 -07:00
chloe caruso
c29933f823
implement require.extensions attempt 2 ( #18686 )
2025-04-01 14:31:16 -07:00
Jarred Sumner
4806e84cc1
Revert "remove many usingnamespace, introduce new ref count and ref leak debugging tools ( #18353 )"
...
This reverts commit a199b85f2b . It does not compile on Windows.
2025-04-01 08:35:51 -07:00