Meghan Denny
5b830c73a5
adress ci
2025-07-23 03:09:15 -07:00
Meghan Denny
12e07537e6
Merge remote-tracking branch 'origin/main' into nektro-patch-3330
...
49 merge conflicts later...
2025-07-23 02:08:21 -07:00
Meghan Denny
4af456a717
catch promise termination exception and handle errors at the event loop top
2025-07-22 21:04:06 -07:00
pfg
60faa8696f
Auto cpp->zig bindings ( #20881 )
...
Co-authored-by: pfgithub <6010774+pfgithub@users.noreply.github.com >
Co-authored-by: Ben Grant <ben@bun.sh >
Co-authored-by: Claude <noreply@anthropic.com >
2025-07-21 16:26:07 -07:00
Meghan Denny
5383dd8db6
safety: fix more exception check verification
2025-07-21 16:24:28 -07:00
Meghan Denny
875604a42b
safety: a lot more exception checker progress ( #20956 )
2025-07-16 00:11:19 -07:00
Michael H
8898c4c455
Vscode test runner support ( #20645 )
2025-07-13 21:57:44 -07:00
Meghan Denny
6c5b863530
safety: a lot more exception checker progress ( #20817 )
2025-07-10 15:34:51 -07:00
Meghan Denny
068997b529
make node:dns,net,cluster,tls exception checker clear ( #20658 )
...
Co-authored-by: nektro <5464072+nektro@users.noreply.github.com >
2025-07-03 18:28:38 -07:00
Jarred Sumner
010e715902
Upgrade Webkit to 29bbdff0f94f ( #20780 )
2025-07-02 20:50:15 -07:00
Jarred Sumner
dd67cda545
Fixes #20615 ( #20616 )
2025-06-27 22:05:20 -07:00
Meghan Denny
f9712ce309
make node:buffer,zlib,stream,fs exception checker clear ( #20494 )
2025-06-25 18:36:08 -07:00
Meghan Denny
2072fa1d59
cpp: audit redundant and problematic uses of JSValue constructor ( #20623 )
2025-06-24 20:58:44 -07:00
Jarred Sumner
e30d6d21f5
Bump WebKit - June 23rd edition ( #20598 )
2025-06-23 17:17:32 -07:00
Meghan Denny
bb55b2596d
fix passing nested object to macro" ( #20497 )
...
Co-authored-by: nektro <5464072+nektro@users.noreply.github.com >
2025-06-19 17:13:27 -07:00
Meghan Denny
d4ccba67f2
Revert "fix passing nested object to macro" ( #20495 )
2025-06-19 13:14:46 -07:00
Meghan Denny
43777cffee
fix passing nested object to macro ( #20467 )
...
Co-authored-by: nektro <5464072+nektro@users.noreply.github.com >
2025-06-19 12:56:27 -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
190n
c6deb4527c
Fix crash when FFI pointers are encoded as ints ( #20351 )
...
Co-authored-by: 190n <7763597+190n@users.noreply.github.com >
Co-authored-by: Ciro Spaciari <ciro.spaciari@gmail.com >
2025-06-13 19:46:26 +02:00
Jarred Sumner
8e7cdb8493
Delete some dead code ( #20218 )
2025-06-05 19:01:30 -07:00
Ciro Spaciari
24bc236eb7
compat(http2) fix flow protocol ( #20051 )
...
Co-authored-by: cirospaciari <6379399+cirospaciari@users.noreply.github.com >
2025-06-05 17:34:30 -07:00
Jarred Sumner
5a025abddf
Address clang warnings on newer clang ( #20054 )
2025-05-31 19:44:36 -07:00
Jarred Sumner
e58df65a75
Bump WebKit ( #19882 )
2025-05-26 18:56:32 -07:00
Jarred Sumner
69be630aea
WebKit Upgrade ( #19839 )
...
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Ben Grant <ben@bun.sh >
Co-authored-by: 190n <7763597+190n@users.noreply.github.com >
2025-05-22 21:12:43 -07:00
Dylan Conway
a844957eb3
Use operationMathPow for parser constant folding ( #19853 )
2025-05-22 20:16:37 -07:00
Jarred Sumner
83a825edff
More efficient protect/unprotect ( #19621 )
2025-05-14 18:49:35 -07:00
Meghan Denny
d774baa28a
tidyings from 18962 ( #19644 )
2025-05-14 18:47:51 -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
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
e9c653a1b6
Reduce CPU usage when using Bun.spawnSync with inherit ( #19105 )
2025-05-03 20:33:57 -07:00
Jarred Sumner
d8a69d6823
Enable ASAN with linux-x64-asan in CI
2025-05-02 10:44:09 -07:00
Dylan Conway
465379d96a
add Timeout.prototype.close, _idleTimeout and _onTimeout ( #19318 )
2025-04-28 00:25:25 -07:00
Dylan Conway
1ee7bab0e7
fix test-parse-args.mjs ( #19308 )
2025-04-26 23:27:50 -07:00
pfg
ea681fa9ec
test-assert-typedarray-deepequal ( #19285 )
2025-04-25 23:36:07 -07:00
chloe caruso
903706dccf
file descriptor rewrite ( #18790 )
2025-04-15 09:37:11 -07:00
Don Isaac
caeea11706
fix(bun/test): it.failing for tests using done callbacks ( #19018 )
2025-04-14 19:29:05 -07:00
190n
35025fe161
Fix m_terminationException assertion failure with spawnSync ( #18936 )
2025-04-10 19:42:39 -07:00
Don Isaac
44f252539a
fix: mark JSPromise.rejectedPromiseValue as deprecated ( #18549 )
...
### What does this PR do?
`JSPromise.rejectedPromiseValue` does not notify the VM about the promise it creates, meaning unhandled rejections created this way do not trigger `unhandledRejection`. This is leading to accidental error suppression in (likely) a lot of places. Additionally it returns a `JSValue` when really it should be returning a `*JSPromise`, making Zig bindings more type-safe.
This PR renames `rejectedPromiseValue` to `dangerouslyCreateRejectedPromiseValueWithoutNotifyingVM` and marks it as deprecated. It does _not_ modify code calling this function, meaning no behavior changes should occur. We should slowly start replacing its usages with `rejectedPromise`
## Changelog
- Rename `rejectedPromiseValue` to `dangerouslyCreateRejectedPromiseValueWithoutNotifyingVM`
- Mark `JSPromise.asValue` as deprecated. It takes a `*JSGlobalObject` but never uses it. New code should use `toJS()`
- Refactors `blob` to make null checks over `destination_blob.source` a release assertion
- `ErrorBuilder.reject` uses `rejectedPromiseValue` when 1.3 feature flag is enabled
2025-04-09 13:27:51 -07:00
Jarred Sumner
49ca2c86e7
More robust Bun.Cookie & Bun.CookieMap ( #18359 )
...
Co-authored-by: pfg <pfg@pfg.pw >
2025-03-26 02:51:41 -07:00
Dylan Conway
687a0ab5a4
node:crypto: fix test-crypto-scrypt.js (#18396 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-03-22 01:18:27 -07:00
Jarred Sumner
60ae19bded
Revert "Introduce Bun.Cookie & Bun.CookieMap & request.cookies (in BunRequest) ( #18073 )"
...
This reverts commit 9888570456 .
We will add it in Bun v1.2.7
2025-03-21 22:17:28 -07:00
chloe caruso
ddd87fef12
module.children and Module.runMain ( #18343 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: 190n <ben@bun.sh >
2025-03-21 16:57:10 -07:00
Ashcon Partovi
f36d480919
fix: test-http-header-obstext.js ( #18371 )
2025-03-21 15:28:12 -07:00
Meghan Denny
f2c8e63ae1
update to llvm 19 and c++ 23 ( #18317 )
...
Co-authored-by: nektro <5464072+nektro@users.noreply.github.com >
2025-03-20 21:44:19 -07:00
Jarred Sumner
9888570456
Introduce Bun.Cookie & Bun.CookieMap & request.cookies (in BunRequest) ( #18073 )
...
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
Co-authored-by: pfg <pfg@pfg.pw >
2025-03-20 21:29:00 -07:00
nmarks
27cf0d5eaf
Remove references to developers former name ( #18319 )
...
Co-authored-by: chloe caruso <git@paperclover.net >
2025-03-20 00:53:46 -07:00
chloe caruso
b5cbf16cb8
module pr 2 ( #18266 )
2025-03-20 00:45:44 -07:00
Meghan Denny
2024fa09d7
js: fix many typescript errors ( #18272 )
...
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
2025-03-19 22:39:24 -07:00
Don Isaac
c47e402025
fix: crash in Bun.inspect.table ( #18256 )
...
Co-authored-by: DonIsaac <22823424+DonIsaac@users.noreply.github.com >
2025-03-18 18:56:56 -07:00
Dylan Conway
c820b0c5e1
node:crypto: implement generatePrime(Sync) and checkPrime(Sync) (#18268 )
2025-03-18 11:48:24 -07:00