Jarred Sumner
5f1b569c52
Fix crash when creating a new Worker with a numeric environment varia… ( #12810 )
2024-07-25 18:10:57 -07:00
Dylan Conway
2da57f6d7b
napi_threadsafe_function async tracker (#12780 )
2024-07-24 15:27:51 -07:00
Jarred Sumner
57c6a7db35
libdeflate ( #12741 )
2024-07-24 01:30:31 -07:00
Ciro Spaciari
5a5f3d6b30
fix(http) timeout ( #12728 )
...
Co-authored-by: cirospaciari <cirospaciari@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-07-23 01:13:43 -07:00
Jarred Sumner
1a6ead667b
Introduce bun --fetch-preconnect <url> ./my-script.ts ( #12698 )
2024-07-22 03:41:59 -07:00
Ciro Spaciari
96d19fcfe2
fix(fetch.tls.test) make test more reliable ( #12499 )
2024-07-10 21:52:34 -07:00
Ciro Spaciari
4c87406391
fix(ssl) fix ssl shutdown ( #12492 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-07-10 20:29:54 -07:00
Jarred Sumner
41a5ebe09f
Fix memory leak in new Request(request) ( #12387 )
2024-07-05 22:11:09 -07:00
Jarred Sumner
b0018465cc
WebKit upgrade ( #12246 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-07-01 23:27:59 -07:00
Ashcon Partovi
d105b048b1
Use Buildkite for CI ( #11477 )
2024-06-27 14:56:07 -07:00
Jarred Sumner
ff2080da1e
Fixes #12045 ( #12051 )
2024-06-21 22:45:28 -07:00
Jarred Sumner
8c548d2593
Deflake weboscket.test.js
2024-06-20 18:34:41 -07:00
Ciro Spaciari
48cefe14bd
fix(WebSocket) don't touch casing on custom headers and don't use lowercased versions of well know headers ( #11855 )
2024-06-14 11:36:33 -07:00
Ciro Spaciari
2f7cd38d81
fix(SSL) Fix clients write retry ( #11849 )
2024-06-13 13:00:24 -07:00
Ciro Spaciari
b8ca523bfb
fix(Blob/stream) blob from fetch now reliable returns type, blob name can be set ( #11815 )
2024-06-13 12:55:41 -07:00
Ciro Spaciari
6ff074ae27
followup on PR #11788 organize test imports and assert ( #11791 )
...
Co-authored-by: cirospaciari <cirospaciari@users.noreply.github.com >
2024-06-11 13:31:47 -07:00
Ciro Spaciari
7c8701c96e
fix(WebSocket) fix ref count so finalize is called ( #11788 )
2024-06-11 11:49:12 -07:00
Ciro Spaciari
27d0912f9d
fix(AbortSignal.any) fire dependents signals ( #11789 )
2024-06-11 11:42:48 -07:00
Ludvig Hozman
ee30e8660c
feat(https/fetch): Support custom ca/cert/key in fetch ( #11322 )
...
Co-authored-by: Liz3 (Yann HN) <accs@liz3.net >
2024-06-11 10:36:32 -03:00
Dylan Conway
5b48bb1d5d
Fix cloning File with structuredClone ( #11766 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-06-10 19:35:09 -07:00
Ciro Spaciari
1ba57351b0
fix(Bun.serve) fix mimetype with utf16 ( #11695 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-06-08 22:34:06 -07:00
Jarred Sumner
6a756bf979
Implement blob: URLs in fetch, import, and Worker ( #11537 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
Co-authored-by: dave caruso <me@paperdave.net >
2024-06-05 18:49:03 -07:00
Jarred Sumner
16d08564e1
Fix speculative race in fetch ( #11579 )
2024-06-03 19:15:31 -07:00
Jarred Sumner
656ad7c7ae
Fix port exhaustion issue ( #11512 )
2024-06-03 02:16:58 -07:00
Jarred Sumner
323011980c
Add fuzzer-like test of methods ( #11436 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Zack Radisic <zack@theradisic.com >
2024-05-30 15:12:29 -07:00
Jarred Sumner
45d0c1432b
rewrite timers for setTimeout, setInterval, setImmediate ( #11419 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Georgijs Vilums <=>
Co-authored-by: Georgijs <48869301+gvilums@users.noreply.github.com >
Co-authored-by: Georgijs Vilums <georgijs.vilums@gmail.com >
Co-authored-by: gvilums <gvilums@users.noreply.github.com >
2024-05-30 02:11:12 -07:00
Jarred Sumner
e1eb4a4753
Improve unhandled error reporting in bun:test ( #11386 )
2024-05-27 01:55:33 -07:00
Дмитрий Заводской
ad5574b86f
Run deinit() on CallbackJob regardless of result type ( #11379 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-05-26 20:02:32 -07:00
Jarred Sumner
af4e844b62
Deflake test
2024-05-26 04:15:39 -07:00
Jarred Sumner
fdbccef110
Speed up a couple tests ( #11369 )
2024-05-26 04:09:28 -07:00
Jarred Sumner
12bb5d03a2
Always propagate error in EventEmitter ( #11210 )
...
Co-authored-by: Ciro Spaciari <ciro.spaciari@gmail.com >
2024-05-22 16:39:42 -07:00
Ciro Spaciari
096cfeebc0
fix(fetch) allow Response to be GC'd before all the request body is received ( #10933 )
...
Co-authored-by: cirospaciari <cirospaciari@users.noreply.github.com >
2024-05-22 15:42:30 -07:00
Meghan Denny
5caca9cd48
add .bytes() method to various readables ( #11104 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: nektro <nektro@users.noreply.github.com >
2024-05-16 19:10:50 -07:00
Meghan Denny
ac6eaac403
test: use resource disposal to ensure servers shutdown even if tests fail ( #11106 )
2024-05-16 17:26:13 -07:00
Jarred Sumner
b5dff55ef3
Upgrade SIMDUTF, 8x faster atob ( #11085 )
2024-05-15 03:42:36 -07:00
Meghan Denny
4efe026b5f
test: unify how all files create a temp directory ( #11057 )
...
Co-authored-by: nektro <nektro@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-05-14 20:19:35 -07:00
Jarred Sumner
ce07eca2a2
Support overriding headers property in Request subclass ( #10969 )
2024-05-10 00:18:48 -07:00
dave caruso
f1fbf54b0a
fix(win): do not allow exitcode==1 and signalCode to be set at once ( #10907 )
2024-05-08 16:00:35 -07:00
dave caruso
3c082012b7
fix %i formatter with missing argument ( #10910 )
2024-05-07 23:51:10 -07:00
rcaselles
c4fa1e38dc
Fix confirm is never true in windows ( #10802 )
...
Co-authored-by: rcaselles <rcaselles@ganaenergia.com >
2024-05-07 14:51:02 -07:00
Jarred Sumner
3970339483
Use error handling callback in more places, emit 1015 when WSS TLS handshaking fails, micro-optimize ServerWebSocket, fix bug in util.inspect exceptions ( #10633 )
2024-04-29 13:57:23 -07:00
Dylan Conway
fbbc20fe83
fix flaky setTimeout test ( #10656 )
2024-04-29 12:47:08 -07:00
Meghan Denny
9416ee49b2
windows: patch setTimeout.test.js flakiness ( #10564 )
2024-04-26 21:08:40 -07:00
Jarred Sumner
4b87e1a909
Fixes #4718 ( #10543 )
2024-04-26 14:56:22 -07:00
John-David Dalton
769d7a1680
fix: null is not an object at readableStreamCancel ( #10091 )
...
* fix: null is not an object at readableStreamCancel
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-04-09 14:02:23 -07:00
dave caruso
81badbac4c
fix(ipc): add json ipc type + buffer incoming messages until a listener is attached. ( #8733 )
...
* fix a few ipc issues
* a
* my own revisions
* remove none as a valid type
* a
* fix windows build
* remove comment
* make it work !!!!!!!!
* a
* formatter nonsense
* blah
* huge update refactor
* awa
* wow
* okay
2024-04-01 01:51:15 -07:00
Ciro Spaciari
a2835ef098
fix(websockets) fix socket/websockets ( #9645 )
...
* repro
* cleanup
* avoid shutdownRead on SSL
* still dont fix
* more
* some ssl
* cleanup
* handle shutdown
* make actually pass the tests
* fix STATUS_STACK_BUFFER_OVERRUN?
* revert some, cleanup fetch.tls.test
* make clear why we need on_handshake when closing
* more
* revert
* cleanup
* cleanup + less Bun.gc
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-03-30 16:32:19 -07:00
PondWader
9ecb691380
Fix URL.canParse.length ( #9710 )
...
* Fix URL.canParse.length
* Add URL.canParse.length test
---------
Co-authored-by: John-David Dalton <john.david.dalton@gmail.com >
2024-03-29 12:21:49 -07:00
Jarred Sumner
4512a04820
Add missing code to TextDecoder "Invalid byte sequence" error ( #9700 )
...
* Fix missing `ERR_ENCODING_INVALID_ENCODED_DATA` code in TextDecoder
* Update text-decoder.test.js
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2024-03-28 22:06:40 -07:00
dave caruso
73a55cf075
windows: make more windows tests pass ( #9370 )
...
* run-eval.test.ts
* transpiler-cache.test.ts
* node net
* some open things
* a
* a
* yikes
* incredible
* run it back
* a
* this code is what i like to call, incorrect
* ok its all worng
* remove an assertion that is wrong again
* update test things and rebase
* performance test
* mark filesink with mkfifo as todo. see #8166
* hehe
* not done
* awa
* fs test pass
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-03-22 23:40:45 -07:00