Meghan Denny
875604a42b
safety: a lot more exception checker progress ( #20956 )
2025-07-16 00:11:19 -07:00
Zack Radisic
ac61b1d471
Use better function names for bun.String ( #20999 )
2025-07-12 18:19:16 -07:00
Meghan Denny
6c5b863530
safety: a lot more exception checker progress ( #20817 )
2025-07-10 15:34:51 -07:00
Jarred Sumner
55a9cccac0
bun.sh -> bun.com ( #20909 )
2025-07-10 00:10:43 -07:00
Dylan Conway
f24e8cb98a
implement "nodeLinker": "isolated" in bun install ( #20440 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-07-09 00:19:57 -07:00
Jarred Sumner
454316ffc3
Implement "node:module"'s findSourceMap and SourceMap class ( #20863 )
...
Co-authored-by: Claude <claude@anthropic.ai >
Co-authored-by: Claude <noreply@anthropic.com >
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2025-07-07 23:08:12 -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
Zack Radisic
0b9bab34d8
SSG ( #20745 )
...
Co-authored-by: Alistair Smith <hi@alistair.sh >
2025-07-02 20:06:43 -07:00
Meghan Denny
2072fa1d59
cpp: audit redundant and problematic uses of JSValue constructor ( #20623 )
2025-06-24 20:58:44 -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
6b4662ff55
zig: .jsUndefined -> .js_undefined ( #20377 )
...
Co-authored-by: nektro <5464072+nektro@users.noreply.github.com >
2025-06-13 16:14:57 -07: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
connerlphillippi
09d0846d1b
Fix use-after-free segfault in DevServer has_tailwind_plugin_hack map ( #20214 )
...
Co-authored-by: Conner Phillippi <conner@Conners-MacBook-Air.local >
Co-authored-by: Claude <noreply@anthropic.com >
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
2025-06-05 19:37:15 -07:00
Jarred Sumner
773484a628
Split uSockets/uWS <> Zig bindings into many different files ( #20138 )
...
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2025-06-02 02:10:57 -07:00
Meghan Denny
284de53f26
safety: audit and add missing exception checks to JSC::constructArray+constructEmptyArray ( #20119 )
2025-05-31 20:05:02 -07:00
Roman A
13ea970852
A couple grammar fixes ( #20096 )
2025-05-31 19:14:51 -07:00
Meghan Denny
ba78d5b2c3
ci: pass the src directory to 'zig fmt' ( #20114 )
...
Co-authored-by: nektro <5464072+nektro@users.noreply.github.com >
2025-05-31 18: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
Dylan Conway
8e80afbce1
Replace string runtime flags with enum ( #19827 )
2025-05-22 22:36:46 -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
9bee7a64a2
Support method-specific routes for html & static routes ( #19710 )
2025-05-17 00:28:01 -07:00
Meghan Denny
d774baa28a
tidyings from 18962 ( #19644 )
2025-05-14 18:47:51 -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
Jarred Sumner
d291b56f8b
Fixes #19475 ( #19495 )
...
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
2025-05-06 20:17:23 -07:00
Jarred Sumner
5a58c02ed8
Normalize websocket URL in HMR to support older versions of Chrome ( #19469 )
2025-05-05 19:41:40 -07:00
Jarred Sumner
8e829e1cd9
Fix windows release build
2025-05-03 04:13:40 -07:00
Jarred Sumner
570e6b7e6a
Add WebKit Inspector support to Bun's HTTP Server ( #19340 )
2025-05-03 03:11:55 -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
67f0c3e016
dev server: reference counted source map partials ( #19447 )
2025-05-02 20:02:00 -07:00
Jarred Sumner
7521e45b17
--console & console: true ( #19427 )
...
Co-authored-by: Zack Radisic <56137411+zackradisic@users.noreply.github.com >
2025-05-02 12:55:57 -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
190n
7e63a7e228
restore "remove most static initializers" and investigate test ( #19374 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-04-30 15:05:38 -07:00
Jarred Sumner
44c97fa591
Add WebKit Inspector support for Bun's Dev Server ( #19320 )
...
Co-authored-by: chloe caruso <git@paperclover.net >
Co-authored-by: Zack Radisic <56137411+zackradisic@users.noreply.github.com >
2025-04-29 18:34:26 -07:00
Jarred Sumner
3ea7953474
Revert "investigate static-initializers.test.ts ( #19352 )"
...
This reverts commit b97cc6cb6c .
2025-04-29 14:24:31 -07:00
190n
b97cc6cb6c
investigate static-initializers.test.ts ( #19352 )
2025-04-29 14:23:20 -07:00
chloe caruso
26e296a7e8
devserver: fix cases where source maps would not remap ( #19289 )
2025-04-28 17:56:35 -07:00
190n
7b134693d6
Revert "Remove most static initializers ( #19298 )" ( #19353 )
2025-04-28 15:54:31 -07:00
Jarred Sumner
9ca2e1445c
Remove most static initializers ( #19298 )
2025-04-26 04:03:59 -07:00
chloe caruso
be65720f71
introduce basic devserver stress testing, fix two crashes ( #19237 )
2025-04-23 22:24:39 -07:00
chloe caruso
80aff24951
fix: require.extensions uses Strong instead of being clever ( #19231 )
2025-04-23 17:52:41 -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
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
chloe caruso
c1dc5f1b73
remove some usingnamespaces ( #18765 )
2025-04-10 14:16:30 -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
chloe caruso
5f9f200e7e
require.resolve with paths option ( #18851 )
2025-04-08 14:07:03 -07:00