Claude Bot
381411d298
Add SOCKS proxy support for Bun HTTP client
...
Implements SOCKS5 and SOCKS5h proxy support as requested in issue #16812 .
This adds native SOCKS proxy functionality to Bun's HTTP client:
- Support for socks5:// and socks5h:// protocols
- Environment variable support (http_proxy, https_proxy)
- Direct proxy option support in fetch()
- Full SOCKS5 handshake implementation
- Integration with existing HTTP proxy infrastructure
Key changes:
- Add SOCKSProxy.zig implementing SOCKS5 protocol
- Update HTTPThread.zig to recognize SOCKS protocols
- Modify HTTP client to handle SOCKS proxy tunneling
- Add URL helpers for SOCKS protocol detection
- Include comprehensive test coverage
Resolves issue #16812
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-07-20 06:51:27 +00: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
Michael H
be03a537df
make bun ci work as alias of --frozen-lockfile (like npm ci) ( #20590 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-07-17 05:41:06 -07:00
Jarred Sumner
664506474a
Reduce stack space usage in Cli.start function ( #21133 )
2025-07-17 05:34:37 -07:00
Jarred Sumner
804e76af22
Introduce bun update --interactive ( #20850 )
...
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: Jarred Sumner <Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Claude <noreply@anthropic.com >
Co-authored-by: Claude Bot <claude-bot@bun.sh >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-07-17 04:33:30 -07:00
Michael H
67bed87795
followups from recent merged pr's ( #21109 )
2025-07-17 03:14:26 -07:00
Michael H
d181e19952
bun bake templates: --source-map -> --sourcemap ( #21130 )
2025-07-17 03:13:48 -07:00
190n
6b14f77252
fix nonsense test name and elapsed time when beforeEach callback has thrown ( #21118 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-07-17 02:02:57 -07:00
Dylan Conway
0bb7132f61
[ENG-15045] add --linker and copyfile fallback for isolated installs ( #21122 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-07-16 23:02:52 -07:00
Zack Radisic
45a0559374
Fix some shell things ( #20649 )
...
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: Zack Radisic <zackradisic@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: robobun <robobun@oven.sh >
2025-07-16 19:46:31 -07:00
Michael H
15b7cd8c18
node:fs.glob support array of excludes and globs ( #20883 )
2025-07-16 03:08:54 -07:00
Meghan Denny
fae0a64d90
small 20956 followup ( #21103 )
2025-07-16 02:26:40 -07:00
Michael H
0ee633663e
Implement bun why ( #20847 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-07-16 02:00:53 -07:00
Michael H
a717679fb3
support $variables in test.each ( #21061 )
2025-07-16 01:42:19 -07:00
Dylan Conway
36ce7b0203
comment
2025-07-16 01:08:30 -07:00
Dylan Conway
2bc75a87f4
fix(install): fix resolving duplicate dependencies ( #21059 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-07-16 01:01:10 -07:00
Jarred Sumner
fdec7fc6e3
Simpler version of #20813 ( #21102 )
...
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: Jarred Sumner <Jarred-Sumner@users.noreply.github.com >
2025-07-16 00:14:33 -07:00
Meghan Denny
875604a42b
safety: a lot more exception checker progress ( #20956 )
2025-07-16 00:11:19 -07:00
Jarred Sumner
d8b37bf408
Shrink MimeType list ( #21004 )
...
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Meghan Denny <meghan@bun.sh >
2025-07-15 22:37:09 -07:00
jarred-sumner-bot
32ce9a3890
Add Windows PE codesigning support for standalone executables ( #21091 )
...
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-15 22:31:54 -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
b0a5728b37
Allow "catalog" and "catalogs" in top-level package.json if it wasn't provided in "workspaces" object ( #21009 )
2025-07-15 22:14:27 -07:00
Michael H
20db4b636e
implement bun pm pkg ( #21046 )
2025-07-15 22:14:00 -07:00
jarred-sumner-bot
1cef9399e4
fix: CSS parser crashes with calc() NaN values and system colors in color-mix() ( #21079 )
...
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: Zack Radisic <56137411+zackradisic@users.noreply.github.com >
2025-07-15 22:02:03 -07:00
Michael H
f4444c0e4d
fix --tsconfig-override ( #21045 )
2025-07-15 22:00:17 -07:00
Dylan Conway
577b327fe5
[ENG-15008] fix #21086 ( #21093 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-07-15 21:59:41 -07:00
pfg
9d2eb78544
Fetch redirect fix ( #21064 )
...
Co-authored-by: pfgithub <6010774+pfgithub@users.noreply.github.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Ciro Spaciari <ciro.spaciari@gmail.com >
2025-07-15 20:51:52 -07:00
Ciro Spaciari
93cc51c974
fix(s3) handle slashs at end and start of bucket name ( #20997 )
2025-07-15 16:52:47 -07:00
190n
528ee8b673
cleanup main.zig ( #21085 )
2025-07-15 16:29:03 -07:00
Jarred Sumner
df7b6b4813
Add NODE_NO_WARNINGS ( #21075 )
2025-07-15 16:27:21 -07:00
jarred-sumner-bot
81b4b8ca94
fix(s3): ensure correct alphabetical query parameter order in presigned URLs ( #21050 )
...
Co-authored-by: Claude Bot <claude-bot@bun.sh >
Co-authored-by: Claude <noreply@anthropic.com >
Co-authored-by: jarred-sumner-bot <220441119+jarred-sumner-bot@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-07-15 16:20:34 -07:00
taylor.fish
77af8729c1
Fix potential buffer overflow in which.isValid ( #21062 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-07-15 01:20:34 -07:00
taylor.fish
3b2289d76c
Sync Mutex and Futex with upstream and port std.Thread.Condition ( #21060 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-07-15 01:16:40 -07:00
jarred-sumner-bot
803181ae7c
Add --quiet flag to bun pm pack command ( #21053 )
...
Co-authored-by: Claude Bot <claude-bot@bun.sh >
Co-authored-by: Claude <noreply@anthropic.com >
Co-authored-by: jarred-sumner-bot <220441119+jarred-sumner-bot@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-07-15 01:14:58 -07:00
Jarred Sumner
89aae0bdc0
Add flag to disable sql auto pipelining ( #21067 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-07-15 01:13:35 -07:00
Alistair Smith
b75eb0c7c6
Updates to bun init React templates: Electric boogaloo ( #21066 )
2025-07-15 00:10:02 -07:00
Ciro Spaciari
6efb346e68
feature(postgres) add pipelining support ( #20986 )
...
Co-authored-by: cirospaciari <6379399+cirospaciari@users.noreply.github.com >
2025-07-14 21:59:16 -07:00
jarred-sumner-bot
5fe0c034e2
fix: respect user-provided Connection header in fetch() requests ( #21049 )
...
Co-authored-by: Claude Bot <claude-bot@bun.sh >
Co-authored-by: Claude <noreply@anthropic.com >
Co-authored-by: jarred-sumner-bot <220441119+jarred-sumner-bot@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: Jarred Sumner <Jarred-Sumner@users.noreply.github.com >
2025-07-14 20:53:46 -07:00
jarred-sumner-bot
7f29446d9b
fix(install): handle lifecycle script spawn failures gracefully instead of crashing ( #21054 )
...
Co-authored-by: Claude Bot <claude-bot@bun.sh >
Co-authored-by: Claude <noreply@anthropic.com >
Co-authored-by: jarred-sumner-bot <220441119+jarred-sumner-bot@users.noreply.github.com >
2025-07-14 20:50:32 -07:00
jarred-sumner-bot
e9ccc81e03
Add --sql-preconnect CLI flag for PostgreSQL startup connections ( #21035 )
...
Co-authored-by: Claude Bot <claude-bot@bun.sh >
Co-authored-by: Claude <noreply@anthropic.com >
Co-authored-by: jarred-sumner-bot <220441119+jarred-sumner-bot@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2025-07-14 15:05:30 -07:00
Jarred Sumner
70ebe75e6c
Fixes #21011 ( #21014 )
2025-07-14 14:18:18 -07:00
jarred-sumner-bot
44a7e6279e
Make --console-depth=0 enable infinite depth instead of zero depth ( #21038 )
...
Co-authored-by: Claude Bot <claude-bot@bun.sh >
Co-authored-by: Claude <noreply@anthropic.com >
2025-07-14 07:45:20 -07:00
Jarred Sumner
7bb9a94d68
Implement test.coveragePathIgnorePatterns ( #21013 )
...
Co-authored-by: Claude Bot <claude-bot@bun.sh >
Co-authored-by: Claude <noreply@anthropic.com >
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2025-07-14 05:08:32 -07:00
jarred-sumner-bot
3bba4e1446
Add --console-depth CLI flag and console.depth bunfig option ( #21016 )
...
Co-authored-by: Claude Bot <claude-bot@bun.sh >
Co-authored-by: Claude <noreply@anthropic.com >
Co-authored-by: jarred-sumner-bot <220441119+jarred-sumner-bot@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2025-07-14 04:58:41 -07:00
Michael H
3ba9b5710e
fix Bun.build with { sourcemap: true } ( #21029 )
2025-07-14 03:52:26 -07:00
Michael H
e8289cc3ab
fix os.networkInterfaces where scope_id should be scopeid ( #21026 )
2025-07-14 02:48:20 -07:00
jarred-sumner-bot
a69a9b4ea1
Fix test output filtering for skipped and todo tests ( #21021 )
...
Co-authored-by: Claude Bot <claude-bot@bun.sh >
Co-authored-by: Claude <noreply@anthropic.com >
Co-authored-by: jarred-sumner-bot <220441119+jarred-sumner-bot@users.noreply.github.com >
2025-07-14 02:46:55 -07:00
Jarred Sumner
3f283680dd
Buffer stderr and stdout in bun:test reporting ( #21023 )
2025-07-14 00:55:35 -07:00
Michael H
8898c4c455
Vscode test runner support ( #20645 )
2025-07-13 21:57:44 -07:00
Jarred Sumner
499eac0d49
Enable SIMD multiline comment optimization ( #13844 )
...
Co-authored-by: Meghan Denny <meghan@bun.sh >
Co-authored-by: nektro <5464072+nektro@users.noreply.github.com >
2025-07-13 04:46:07 -07:00