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
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
Meghan Denny
809992229f
node:net rework ( #18962 )
...
Co-authored-by: nektro <5464072+nektro@users.noreply.github.com >
2025-05-28 17:04:37 -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
Jarred Sumner
14b439a115
Fix formatters not running in CI + delete unnecessary files ( #19433 )
2025-05-08 23:22:16 -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
Dylan Conway
a0819e9d02
fix more node:timers tests ( #19432 )
...
Co-authored-by: 190n <ben@bun.sh >
2025-05-02 20:50:02 -07:00
chloe caruso
32c1dcb70d
dev server: unref source maps ( #19371 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
2025-05-02 04:13:54 -07:00
Meghan Denny
9e201eff9e
node:net: implement BlockList ( #19277 )
2025-05-01 16:09:44 -07:00
Meghan Denny
2a2247bbb6
js: fix serialization of non-transferable objects ( #19351 )
2025-04-29 18:23:26 -07:00
chloe caruso
26e296a7e8
devserver: fix cases where source maps would not remap ( #19289 )
2025-04-28 17:56:35 -07:00
Jarred Sumner
93ff4d97da
Add assertion about returning pointers in constructors ( #19332 )
2025-04-28 02:12:59 -07:00
Dylan Conway
465379d96a
add Timeout.prototype.close, _idleTimeout and _onTimeout ( #19318 )
2025-04-28 00:25:25 -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
032713c58c
Fix several lints ( #19121 )
2025-04-19 05:41:34 -07:00
chloe caruso
7d7512076b
remove more usingnamespace ( #19042 )
2025-04-17 19:04:05 -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
c1dc5f1b73
remove some usingnamespaces ( #18765 )
2025-04-10 14:16:30 -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
chloe caruso
9a329c04cc
pass test-module-globalpaths-nodepath.js ( #18879 )
2025-04-08 21:32:19 -07:00
Jarred Sumner
ec87a27d87
Introduce Bun.redis - a builtin Redis client for Bun ( #18812 )
2025-04-08 03:34:00 -07:00
Meghan Denny
2bbdf4f950
codegen: fix this ModuleLoader enum ( #18769 )
2025-04-03 19:49:06 -07:00
Meghan Denny
f505cf6f66
js: $isPromise* fixes ( #18763 )
2025-04-03 18:42: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
chloe caruso
a199b85f2b
remove many usingnamespace, introduce new ref count and ref leak debugging tools ( #18353 )
2025-03-31 17:17:38 -07:00
Jarred Sumner
f38d35f7c9
Revert #18562 #18478 ( #18610 )
2025-03-28 20:23:49 -07:00
chloe caruso
70ddfb55e6
implement require.extensions ( #18478 )
2025-03-27 14:58:24 -07:00
Don Isaac
75144ab881
fix: reflect-metadata import order ( #18086 )
...
Co-authored-by: DonIsaac <22823424+DonIsaac@users.noreply.github.com >
2025-03-26 16:19:45 -07:00
Jarred Sumner
8e246e1e67
Add precompiled header ( #18321 )
2025-03-20 19:27: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
Jarred Sumner
46b2a58c25
Small improvements to internal types
2025-03-19 19:26:13 -07:00
chloe caruso
d1c77f5061
fix dev server regressions from 1.2.5's hmr rewrite ( #18109 )
...
Co-authored-by: Zack Radisic <zack@theradisic.com >
Co-authored-by: zackradisic <56137411+zackradisic@users.noreply.github.com >
2025-03-14 21:24:14 -07:00
Kai Tamkun
4a0e982bb2
node:http improvements ( #17093 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Pham Minh Triet <92496972+Nanome203@users.noreply.github.com >
Co-authored-by: snwy <snwy@snwy.me >
Co-authored-by: Ciro Spaciari <ciro.spaciari@gmail.com >
Co-authored-by: cirospaciari <cirospaciari@users.noreply.github.com >
Co-authored-by: Ben Grant <ben@bun.sh >
2025-03-10 20:19:29 -07:00
chloe caruso
66cf62c3c4
dev server: rewrite HMRModule, support sync esm + hot.accept ( #17954 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-03-07 15:12:16 -08:00
chloe caruso
e7790894d9
elaborate on error "Expected Sink" ( #15234 )
...
Co-authored-by: paperdave <paperdave@users.noreply.github.com >
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
2025-02-27 17:08:00 -08:00
190n
b3edef5989
node:timers fixes ( #16855 )
2025-02-26 16:45:02 -08:00
pfg
a8c8fa15b9
Fix bake codegen on windows ( #17654 )
2025-02-24 19:57:35 -08:00
Don Isaac
61edc58362
feat(node/net): add SocketAddress ( #17154 )
...
Co-authored-by: DonIsaac <22823424+DonIsaac@users.noreply.github.com >
2025-02-24 11:18:16 -08:00
chloe caruso
b082572dcb
DevServer: source map and error modal improvements ( #17476 )
2025-02-20 16:40:57 -08:00
190n
ea65a2ad48
Bump WebKit ( #17095 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-02-12 22:08:53 -08:00
chloe caruso
e22c6c5dbe
fix a crash when trying to throw the error for onEnd ($notImplementedIssueFn) ( #17271 )
2025-02-11 19:38:10 -08:00
Meghan Denny
bdccbbc828
node: fix Buffer.from(arrayBuffer) ( #17267 )
2025-02-11 18:10:43 -08:00
chloe caruso
f912e0abc4
hot module reloading for HTML import development mode ( #16955 )
2025-02-08 00:31:30 -08:00
Meghan Denny
26d3688e53
zig: update to 0.14.0-dev ( #16862 )
...
Co-authored-by: nektro <5464072+nektro@users.noreply.github.com >
2025-02-01 01:11:02 -08:00
Meghan Denny
29839737df
cpp: synchronize on JSC::getVM since its more likely to be forward compatible ( #16688 )
2025-01-29 15:50:57 -08:00
Jarred Sumner
f7c5b0d5fc
Fix Stat constructor, remove native code allocation for stat objects ( #16694 )
2025-01-24 04:40:00 -08:00