Dylan Conway
a3585ff961
node:crypto: implement hkdf and hkdfSync (#18312 )
2025-03-21 01:03:01 -07:00
pfg
fdd181d68d
Even more child process tests passing ( #18052 )
2025-03-11 22:52:12 -07:00
chloe caruso
832cf91e88
remove a memory leak in bun.String.concat/createFromConcat ( #18084 )
2025-03-11 20:30:51 -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
Meghan Denny
1574df835e
zig: make JSValue.toBunString use JSError ( #17648 )
2025-02-25 13:04:44 -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
Don Isaac
cdf62b35ff
refactor: move string-like structs into string module ( #17369 )
2025-02-15 21:52:43 -08:00
Don Isaac
59f3d1ca31
refactor: remove BunString.fromJSRef ( #17367 )
2025-02-15 21:52:13 -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
Jarred Sumner
06a7499853
Add a couple more assertions ( #16791 )
2025-01-27 02:48:37 -08:00
Jarred Sumner
cfbb62df16
Implement fs.statfs, fs.statfsSync fs.promises.statfs ( #16519 )
2025-01-20 00:39:18 -08:00
Jarred Sumner
a2f1a87f0d
Fix under-reporting string memory usage to GC ( #16426 )
2025-01-15 23:45:33 -08:00
Meghan Denny
68089a099f
zig: else branch is implicitly void ( #16406 )
2025-01-15 15:14:43 -08:00
chloe caruso
834ad11d48
get node:fs tests passing part 1 ( #16270 )
2025-01-14 20:53:02 -08:00
Don Isaac
0372ca5c0a
test(node): get test-assert.js working ( #15698 )
...
Co-authored-by: Don Isaac <don@bun.sh >
Co-authored-by: DonIsaac <DonIsaac@users.noreply.github.com >
2025-01-10 00:45:43 +00:00
Jarred Sumner
76bfceae81
Support jsonb, idle_timeout, connection_timeout, max_lifetime timeouts in bun:sql. Add onopen and onclose callbacks. Fix missing "code" property appearing in errors. Add error codes for postgres. ( #16045 )
2024-12-30 13:25:01 -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
Jarred Sumner
aada6f930f
Fix heap snapshots memory usage stats. Introduce estimateDirectMemoryUsageOf function in "bun:jsc" ( #15790 )
2024-12-16 20:16:23 -08:00
dave caruso
b39632c921
feat: new binding generator ( #15638 )
2024-12-10 12:43:17 -08:00
Jarred Sumner
8ca0eb831d
Clean up some error handling code ( #15368 )
...
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
2024-11-25 15:42:02 -08:00
Meghan Denny
0e3e33072b
zig: rename CallFrame.arguments to .arguments_old to free up decl name ( #15296 )
2024-11-20 16:18:56 -08:00
Meghan Denny
befb269b2d
zig: align fromJS methods to using JSError ( #15165 )
2024-11-15 22:14:18 -08:00
Meghan Denny
fdd8d35845
allow zig js host functions to return JSError ( #15120 )
2024-11-13 21:11:56 -08:00
dave caruso
32ddf343ee
bake: csr, streaming ssr, serve integration, safer jsvalue functions, &more ( #14900 )
...
Co-authored-by: paperdave <paperdave@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-11-13 18:19:12 -08:00
Meghan Denny
f8979b05b1
rid nearly all use of ExceptionRef in zig ( #15100 )
...
Co-authored-by: nektro <nektro@users.noreply.github.com >
2024-11-13 15:23:52 -08:00
Dylan Conway
62881ee36b
Redact secrets in bunfig.toml and npmrc logs ( #14919 )
2024-10-31 18:44:24 -07:00
Jarred Sumner
b1e9e3b31b
Add bytesWritten property to Bun.Socket, fix encoding issue in node:net ( #14516 )
...
Co-authored-by: Ciro Spaciari <ciro.spaciari@gmail.com >
2024-10-31 17:54:07 -07:00
Meghan Denny
80db770521
rework node:zlib to match internal js api and properly support async writes ( #14079 )
...
Co-authored-by: nektro <nektro@users.noreply.github.com >
2024-09-25 15:55:53 -07:00
Dylan Conway
267afa2934
implement bun pm pack ( #13723 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: dylan-conway <dylan-conway@users.noreply.github.com >
2024-09-07 03:55:09 -07:00
Meghan Denny
8cd515f533
node:zlib: move deflate and gzip into native code ( #11770 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-09-06 18:49:19 -07:00
Jarred Sumner
3a245dd248
upgrade webkit ( #13192 )
...
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
Co-authored-by: Zack Radisic <zack@theradisic.com >
2024-08-12 23:17:17 -07:00
Dylan Conway
9302b42919
revert 84c91bf7e1 ( #13214 )
2024-08-09 19:28:08 -07:00
Jarred Sumner
7aaf935711
Handle OOM better ( #13142 )
2024-08-09 00:43:54 -07:00
Ashcon Partovi
84c91bf7e1
Revert TextDecoderStream until next release ( #13151 )
2024-08-07 12:34:04 -07:00
Dylan Conway
9f7c6e34cb
Add TextDecoderStream, TextEncoderStream, and TextDecoder.decode("", { stream: true}) ( #13115 )
2024-08-07 02:36:29 -07:00
Jarred Sumner
cacbaba524
Make signal.abort() from native code fast ( #13064 )
2024-08-05 15:50:36 -07:00
dave caruso
bf8b6922bb
Fix memory leak when printing any error's source code. ( #12831 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-07-26 14:14:16 -07:00
Jarred Sumner
37ee951448
Add unusable postgres client behind a canary-or-debug-only feature flag ( #11920 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-07-07 09:43:48 -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
e98c235e30
feat: load sourcemaps at runtime when using a bun build --target=bun bundle ( #10998 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-05-21 14:41:53 -07:00
Jarred Sumner
e58d67b468
Fixes #10588 & upgrade WebKit ( #10596 )
2024-04-28 01:10:52 -07:00
Ashcon Partovi
589f941aea
UDP support ( #7271 )
...
Co-authored-by: Georgijs Vilums <georgijs@bun.sh >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: gvilums <gvilums@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Georgijs <48869301+gvilums@users.noreply.github.com >
Co-authored-by: Georgijs Vilums <=>
2024-04-26 15:25:24 -07:00
Meghan Denny
ff624147ad
existsSync should never throw ENAMETOOLONG ( #10446 )
...
* existsSync should never throw ENAMETOOLONG
* undo PathLike change and use better guard
* Apply formatting changes
* await promise
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-04-23 15:33:37 -07:00
Jarred Sumner
c604c57a32
Upgrade to LLVM 17, fix linux debug build, upgrade JSC, remove some C API usages ( #10161 )
...
* Upgrade to LLVM 17, JSC, remove more C API usages
* [autofix.ci] apply automated fixes
* Update scripts/setup.sh
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
* more
* update
* bump
* Fix unused variable
* Fix merge conflict
* [autofix.ci] apply automated fixes
* Increase limit
* double the limit
* CI
* Update CMakeLists.txt
* Update CMakeLists.txt
* Upgrade
* Upgrade more things
* Bump
* Remove ld64 flag
* typo
* Update Dockerfile
* update
* Update
* Up
* asd
* up
* Upgrade
* Bump!
* Fix crash
* Remove unnecessary cahnge
* Propagate canary flag + bump macOS 13
* Upgrades
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
2024-04-21 19:03:01 -07:00
Jarred Sumner
688844b472
refactor: ban std.debug.assert ( #10168 )
...
* Ban `std.debug.assert`
* Create .clangd
* Update lint.yml
* Update linter.ts
* update
* lint
* Update linter.ts
* Update linter.ts
* update
* Update linter.ts
* update
* Update linter.ts
* more
* Update install.zig
* words
* Remove UB
2024-04-11 17:52:29 -07:00
Jarred Sumner
5735feac5d
Redo file watcher + Fix EBUSY when saving lockfile on Windows ( #9972 )
...
* Fix `EBUSY` when saving lockfile on Windows
* Redo file watcher wrapper on Windows
* Update lockfile.zig
* Update win_watcher.zig
* Update src/bun.js/node/node_fs.zig
Co-authored-by: Ciro Spaciari <ciro.spaciari@gmail.com >
* Add retry logic
* Comments
* more careful
* smaller
* Fix garbage
* Normalize the paths
* hmmm
* [autofix.ci] apply automated fixes
* try
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Ciro Spaciari <ciro.spaciari@gmail.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-04-05 15:40:05 -07:00
dave caruso
81badbac4c
fix(ipc): add json ipc type + buffer incoming messages until a listener is attached. ( #8733 )
...
* fix a few ipc issues
* a
* my own revisions
* remove none as a valid type
* a
* fix windows build
* remove comment
* make it work !!!!!!!!
* a
* formatter nonsense
* blah
* huge update refactor
* awa
* wow
* okay
2024-04-01 01:51:15 -07:00
dave caruso
d712254128
internal: remove secret hidden internals and introduce new way to call native code from js ( #8166 )
...
* oooooh magic
* stuff
* run format
* ok
* yippee
* run the formatter back
* finish things up
* fix webkit
* more
* [autofix.ci] apply automated fixes
* fix compile
* fix compilation on windows, it seems to not work though :(
* update
* a
* v
* ok
* [autofix.ci] apply automated fixes
* OOPS
* bump bun to reduce ci bugs
* a
* js2native is done!
* improve array binding
* rebase
* some final stuff
* wasi fixes
* os
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-03-29 21:47:11 -07:00
dave caruso
3047c9005e
fix: add a better error message for fetch when it fails with an unknown code ( #9663 )
...
* add a better error message for fetch when it fails with an unknown code
* Update src/bun.js/webcore/response.zig
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
* [autofix.ci] apply automated fixes
* fix compilation
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-03-29 14:18:11 -07:00