Jarred Sumner
d1562a7670
Fix flickering in bun updated --interactive ( #21964 )
...
### What does this PR do?
Use
https://gist.github.com/christianparpart/d8a62cc1ab659194337d73e399004036
like we do in `bun run --filter`
### How did you verify your code works?
tried in next.js repo and in debug build it no longer flickers
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-18 20:02:08 -07:00
taylor.fish
41b1efe12c
Rename disabled parameter in Output.scoped ( #21769 )
...
It's very confusing.
(For internal tracking: fixes STAB-977)
2025-08-11 20:19:34 -07:00
pfg
a72d74e09a
Split JS parser into multiple files ( #20880 )
...
Splits up js_parser.zig into multiple files. Also changes visitExprInOut
to use function calls rather than switch
Not ready:
- [ ] P.zig is ~70,000 tokens, still needs to get smaller
- [x] ~~measure zig build time before & after (is it slower?)~~ no
significant impact
---------
Co-authored-by: pfgithub <6010774+pfgithub@users.noreply.github.com >
2025-08-05 20:52:16 -07:00
taylor.fish
07cd45deae
Refactor Zig imports and file structure (part 1) ( #21270 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-07-22 17:51:38 -07:00
pfg
83760fc446
Sort imports in all files ( #21119 )
...
Co-authored-by: taylor.fish <contact@taylor.fish >
2025-07-21 13:26:47 -07:00
robobun
aad3abeadd
Update interactive spacing ( #21156 )
...
Co-authored-by: Claude Bot <claude-bot@bun.sh >
Co-authored-by: Claude <noreply@anthropic.com >
Co-authored-by: RiskyMH <git@riskymh.dev >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-07-19 04:11:28 -07:00
Jarred Sumner
6d5637b568
Remove debug logs
2025-07-19 04:04:24 -07:00
Jarred Sumner
eb0b0db8fd
Rename IS_CODE_AGENT -> AGENT
2025-07-19 03:59:47 -07:00
Dylan Conway
1a9bc5da09
fix(install): isolated install aliased dependency name fix ( #21138 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Ciro Spaciari <ciro.spaciari@gmail.com >
Co-authored-by: Meghan Denny <meghan@bun.sh >
2025-07-19 01:59:52 -07:00
robobun
851fa7d3e6
Add support for AI agent environment variables to quiet test output ( #21135 )
...
Co-authored-by: Claude Bot <claude-bot@bun.sh >
Co-authored-by: Claude <noreply@anthropic.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-07-17 21:20:50 -07:00
Jarred Sumner
0ce70df96b
Buffer stdout when printing summary + check for dir/package.json + npmrc link-workspace-packages + npmrc save-exact ( #20907 )
2025-07-15 22:15:41 -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
af0704b35a
Fix race condition in debug build logs ( #19414 )
2025-05-01 16:36:04 -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
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
903706dccf
file descriptor rewrite ( #18790 )
2025-04-15 09:37:11 -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
Don Isaac
11bb3573ea
build: shave 30s off debug builds ( #18516 )
...
Co-authored-by: DonIsaac <22823424+DonIsaac@users.noreply.github.com >
2025-03-26 21:42:13 -07:00
Don Isaac
1ed87f4e83
fix: deadlock in Cow debug checks ( #18173 )
...
Co-authored-by: DonIsaac <22823424+DonIsaac@users.noreply.github.com >
2025-03-13 16:42:06 -07:00
Don Isaac
4ef7a43939
chore: add assertf and releaseAssert ( #17859 )
...
Co-authored-by: DonIsaac <22823424+DonIsaac@users.noreply.github.com >
Co-authored-by: chloe caruso <git@paperclover.net >
2025-03-04 12:50:59 -08:00
chloe caruso
25c95f3bdc
hmr stability fixes ( #17794 )
2025-03-01 00:07:20 -08:00
Jarred Sumner
1de31292fb
Add react, tailwind, react+tailwind+shadcn to bun init ( #17282 )
...
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
2025-02-18 10:38:37 -08:00
Jarred Sumner
ba8573494a
Add shadcn, tailwind and react detection & templates to bun create. Also: bun install --analyze <files...> ( #17035 )
2025-02-09 09:36:57 -08:00
Minsoo Choo
fa502506e5
Fix formatting for extern "c" ( #16983 )
2025-02-02 21:34:58 -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
chloe caruso
5819fe49a7
node fs compat pr #2 ( #16422 )
...
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
Co-authored-by: Meghan Denny <meghan@bun.sh >
Co-authored-by: dylan-conway <35280289+dylan-conway@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-01-21 10:28:35 -08:00
Meghan Denny
2d481e7bcb
fix more node:stream ( #16385 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-01-16 22:40:39 -08:00
chloe caruso
834ad11d48
get node:fs tests passing part 1 ( #16270 )
2025-01-14 20:53:02 -08:00
Jarred Sumner
c69aa3cb68
Fix console.error left in builtins ( #16304 )
2025-01-10 07:48:09 +00:00
Jarred Sumner
2465ccae53
Re-sync our Mutex implementation with zig stdlib ( #16271 )
2025-01-08 21:09:27 -08:00
Jarred Sumner
2b2ca3275c
Improve stack overflow, show more properties in Error objects ( #15985 )
...
Co-authored-by: Dave Caruso <me@paperdave.net >
2024-12-25 21:47:13 -08:00
dave caruso
b39632c921
feat: new binding generator ( #15638 )
2024-12-10 12:43:17 -08:00
dave caruso
8aa451c2dc
bake(dev): plugins in dev server, with other fixes ( #15467 )
...
Co-authored-by: paperdave <paperdave@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-11-29 19:07:56 -08:00
dave caruso
dc01a5d6a8
feat(DevServer): batch bundles & run them asynchronously ( #15181 )
...
Co-authored-by: Ashcon Partovi <ashcon@partovi.net >
2024-11-25 18:55:47 -08:00
Jarred Sumner
b49f6d143e
Postgres client - more progress ( #15086 )
2024-11-11 14:40:02 -08:00
Dylan Conway
39b1c0111e
add docs for bun publish ( #14327 )
2024-10-03 03:41:11 -07:00
dave caruso
dd6554294e
bake: release to canary only ( #14258 )
...
Co-authored-by: paperdave <paperdave@users.noreply.github.com >
2024-10-03 00:52:14 -07:00
Zack Radisic
274e5a2022
CSS Parser ( #14122 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-09-26 13:39:26 -07:00
Jarred Sumner
8f5d78f498
Fix default value for zlib options ( #13800 )
2024-09-09 17:06:41 -07:00
Jake Bailey
e6b30a90de
Use more compatible screen clearing ANSI escape ( #13553 )
2024-08-26 18:17:31 -07:00
Jarred Sumner
cacbaba524
Make signal.abort() from native code fast ( #13064 )
2024-08-05 15:50:36 -07:00
dave caruso
688ddbda74
feat(bundler): implement enum inlining / more constant folding ( #12144 )
...
Co-authored-by: paperdave <paperdave@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-07-03 04:23:17 -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
dave caruso
b76376f8a6
chore: upgrade zig to 0.13.0 ( #9965 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Grigory <grigory.orlov.set@gmail.com >
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
Co-authored-by: Meghan Denny <hello@nektro.net >
Co-authored-by: Kenta Iwasaki <63115601+lithdew@users.noreply.github.com >
Co-authored-by: John-David Dalton <john.david.dalton@gmail.com >
Co-authored-by: Dale Seo <5466341+DaleSeo@users.noreply.github.com >
Co-authored-by: Zack Radisic <56137411+zackradisic@users.noreply.github.com >
Co-authored-by: paperdave <paperdave@users.noreply.github.com >
Co-authored-by: Georgijs Vilums <georgijs.vilums@gmail.com >
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
2024-06-20 13:48:39 -07:00
dave caruso
ae656e8a4c
fix(windows): dont call SetConsoleMode on stdin ( #11927 )
2024-06-17 15:11:01 -07:00
Zack Radisic
c85dd4e3bf
feat: bun patch ( #11470 )
...
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
Co-authored-by: zackradisic <zackradisic@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-06-06 17:48:05 -07:00
dave caruso
c3157e2c50
fix(windows spawn): use Job Object to manage subprocesses of subprocesses ( #11240 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-05-23 19:59:39 -07:00
dave caruso
4c0d69af93
fix(windows): build all dependencies with proper cpu target ( #10884 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-05-07 17:36:19 -07:00