denobot
08274e0621
chore: forward v2.2.7 release commit to main ( #28746 )
...
This is the release commit being forwarded back to main for 2.2.7
Signed-off-by: Divy Srivastava <dj.srivastava23@gmail.com>
Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com>
2025-04-04 16:14:30 +05:30
Yoshiya Hinosawa
f2d73abdd7
fix(ext/node): better dns.lookup compatibility ( #27936 )
2025-04-02 11:38:07 +09:00
Divy Srivastava
5bc4266101
fix(ext/node): sqlite handle empty blob being NULL ( #28674 )
...
Fixes https://github.com/denoland/deno/issues/28672
2025-04-01 13:50:26 +00:00
Jake Champion
0f40ee7ff4
fix(ext/node): support the optional previousValue
parameter for process.cpuUsage() ( #28550 )
2025-04-01 20:48:09 +09:00
Benjamin Swerdlow
cf4afb9c9c
refactor(ext/node): export GlobalsStorage
( #28683 )
2025-03-31 14:00:05 -04:00
Asher Gomez
3aaa86b5c8
fix(ext/node): use primordials in ext/node/polyfills/_fs/_fs_lstat.ts
( #28644 )
...
Towards #24236
2025-03-28 10:52:33 -07:00
Asher Gomez
9a13bafa0e
fix(ext/node): use primordials in ext/node/polyfills/_fs/_fs_realpath.ts
( #28652 )
...
Towards #24236
2025-03-28 09:48:19 +01:00
Asher Gomez
512cf558d4
fix(ext/node): use primordials in ext/node/polyfills/_fs/_fs_readv.ts
( #28645 )
...
Towards #24236
2025-03-28 09:47:36 +01:00
denobot
a1724f5d5a
chore: forward v2.2.6 release commit to main ( #28657 )
...
This is the release commit being forwarded back to main for 2.2.6
Co-authored-by: littledivy <littledivy@users.noreply.github.com>
2025-03-28 13:32:27 +05:30
Yoshiya Hinosawa
6c2f7835c0
fix(ext/node): emit 'close' event on ServerResponse object when client aborted the request ( #28601 )
2025-03-27 10:45:04 +09:00
Ryan Dahl
7aaec6a5af
chore: upgrade some dependencies ( #28627 )
2025-03-26 09:49:51 -07:00
Divy Srivastava
52d528d21d
fix(ext/node): mkdir()
parse file mode ( #28609 )
...
Fixes https://github.com/denoland/deno/issues/28604
2025-03-25 09:33:41 +05:30
Yoshiya Hinosawa
d07b7ea6f6
fix(ext/node): propagate 'close' event of IncomingMessage to Socket ( #28582 )
2025-03-24 10:56:34 +09:00
c00kie17
208992ad53
fix(ext/node): sqlite error details ( #28431 )
...
Improves SQLite error reporting by including `err_code`, `err_str`,
matching Node.js behavior.
Fixes #28289
2025-03-22 07:52:22 +05:30
denobot
43f6137d92
chore: forward v2.2.5 release commit to main ( #28579 )
...
NOTE: Commit 27363d389
was incorrectly landed in main before the release
completed and is not included in v2.2.5. The official v2.2.5 release was made
from the v2.2 branch.
2025-03-21 06:25:03 -07:00
snek
d4ee94962f
feat: upgrade deno_core and V8 ( #28562 )
...
includes V8 upgrade to 135
2025-03-21 00:19:44 +01:00
Yoshiya Hinosawa
6420e50cd0
fix(ext/node): add util.getCallSites ( #28546 )
...
This PR adds
[getCallSites](https://nodejs.org/api/util.html#utilgetcallsitesframecount-options )
API to "node:util".
This unblocks https://github.com/denoland/deno/issues/28318 . Currently
the task is blocked by the unavailability of `util.getCallSites` because
it's used in
[`test/common/index.js`](8846b5392f/test/common/index.js (L31)
)
2025-03-20 21:39:04 +00:00
Divy Srivastava
fb3df15fc8
fix(ext/node): restrict ATTACH DATABASE statement ( #28513 )
...
Disable `ATTACH DATABASE` statement in `node:sqlite` since it is not
supervised by Deno's permission system
2025-03-18 22:03:35 +05:30
Jake Champion
5aeb04f443
fix: add stackTraceLimit to ErrorConstructor interface and removed ErrorWithStackTraceLimit interface ( #28539 )
...
Signed-off-by: Jake Champion <me@jakechampion.name>
2025-03-18 09:56:39 -04:00
Paolo Barbolini
1516e3ef58
refactor: reduce dependency on futures
crate ( #28515 )
...
Over time many `futures` APIs have been stabilized in `std`. This
migrates most uses to the std variants.
2025-03-17 14:14:19 +00:00
Divy Srivastava
c638f9ade1
fix(ext/node): reset statement immidiately in run() ( #28506 )
...
Fixes https://github.com/denoland/deno/issues/28492
2025-03-15 20:14:24 +05:30
denobot
5f00b9700f
chore: forward v2.2.4 release commit to main ( #28500 )
2025-03-14 15:40:38 -07:00
Luke Edwards
424a2f3b57
fix(ext/node): correct STATUS_CODES
strings ( #28489 )
...
Matches Node.js `http.STATUS_CODES` values now. Deno is currently
exporting an enum directly, which 1) adds keys like `BadRequest` and 2)
ships the status-text strings as non-space-delimited values (eg,
`'BadRequest`` instead of `'Bad Request'`)
Signed-off-by: Luke Edwards <luke.edwards05@gmail.com>
2025-03-13 14:21:08 -04:00
Leo Kettmeir
28e5c388b4
feat(otel): span context propagators ( #28460 )
...
Co-authored-by: Luca Casonato <hello@lcas.dev>
2025-03-13 16:32:45 +01:00
Yoshiya Hinosawa
c9930c591a
feat(unstable/otel): add otel tracing to node:http.request ( #28463 )
2025-03-13 17:43:37 +09:00
Toma
64f810d45c
fix(ext/node): use primordials in ext/node/polyfills/path/_util.ts
( #28432 )
...
Towards https://github.com/denoland/deno/issues/24236
2025-03-10 06:37:20 -07:00
denobot
d91402ae20
chore: forward v2.2.3 release commit to main ( #28391 )
...
This is the release commit being forwarded back to main for 2.2.3
Co-authored-by: littledivy <littledivy@users.noreply.github.com>
2025-03-05 05:57:04 +00:00
David Sherret
bf060427b9
fix(node): require esm should prefer module.exports
export ( #28376 )
2025-03-03 15:03:12 -05:00
Dimitris Apostolou
cdf6ea32c4
chore: prefer workspace dependencies in order to avoid duplicate crates ( #28281 )
2025-02-26 14:55:47 +00:00
Muthuraj Ramalingakumar
1a30b7450b
fix(ext/node): node compatibility issue missing fd in createServer callback socket object ( #27789 )
2025-02-26 14:52:18 +09:00
Nathan Whitaker
9a2386c82d
chore: fix linter error on main
( #28301 )
...
3779830822
2025-02-25 18:11:00 +00:00
Nathan Whitaker
ee4c14a550
chore: update to rust 1.85 ( #28236 )
...
Updates to use rust 1.85. Doesn't move to the 2024 edition, as that's a
fair bit more involved.
A nice side benefit is that the new rustc version seems to lead to a
slight reduction in binary size (at least on mac):
```
FILE SIZE
--------------
+4.3% +102Ki __DATA_CONST,__const
[NEW] +69.3Ki __TEXT,__literals
[NEW] +68.5Ki Rebase Info
+5.0% +39.9Ki __TEXT,__unwind_info
+57% +8.85Ki [__TEXT]
[NEW] +8.59Ki Lazy Binding Info
[NEW] +5.16Ki __TEXT,__stub_helper
[NEW] +3.58Ki Export Info
[NEW] +3.42Ki __DATA,__la_symbol_ptr
-0.1% -726 [12 Others]
-21.4% -3.10Ki [__DATA_CONST]
-95.8% -3.39Ki __DATA_CONST,__got
-20.9% -3.43Ki [__DATA]
-0.5% -4.52Ki Code Signature
-100.0% -11.6Ki [__LINKEDIT]
-1.0% -43.5Ki Symbol Table
-1.6% -44.0Ki __TEXT,__gcc_except_tab
-0.2% -48.1Ki __TEXT,__const
-3.3% -78.6Ki __TEXT,__eh_frame
-0.7% -320Ki __TEXT,__text
-1.5% -334Ki String Table
-0.5% -586Ki TOTAL
```
2025-02-25 08:50:01 -08:00
Divy Srivastava
e66ef32a8f
fix(ext/node): SQLite reset guards to prevent database locks ( #28298 )
...
Fixes https://github.com/denoland/deno/issues/28295
2025-02-25 19:27:55 +05:30
denobot
b9cffda7c9
chore: forward v2.2.2 release commit to main ( #28292 )
...
This is the release commit being forwarded back to main for 2.2.2
Co-authored-by: littledivy <littledivy@users.noreply.github.com>
2025-02-25 14:36:11 +05:30
Divy Srivastava
7fa8fc4b26
fix(ext/node): descriptive sqlite error messages ( #28272 )
...
Fixes https://github.com/denoland/deno/issues/28259
2025-02-24 17:55:36 +05:30
Leo Kettmeir
f800f5444a
chore: remove unused dependencies ( #28204 )
2025-02-21 02:46:56 -08:00
Divy Srivastava
648ee8f0e7
fix(ext/node): decipherIv() range error on invalid final block length ( #28215 )
...
Fixes https://github.com/denoland/deno/issues/28208
2025-02-21 04:48:38 +00:00
denobot
84fabecc9b
chore: forward v2.2.1 release commit to main ( #28213 )
...
This is the release commit being forwarded back to main for 2.2.1
Co-authored-by: bartlomieju <bartlomieju@users.noreply.github.com>
2025-02-21 01:35:34 +00:00
Divy Srivastava
c1276d8fa0
fix(ext/node): rewrite SQLite named parameter handing ( #28197 )
...
Allow bare named params and handle invalid param name. Also adds
`StatementSync#setAllowBareNamedParameters`
Fixes https://github.com/denoland/deno/issues/28183
2025-02-20 18:34:34 +05:30
Divy Srivastava
664d50fab8
fix(ext/node): Fix handling of sqlite large integers ( #28193 )
...
Use `v8::Number` instead of `v8::Integer` to handle > i32::MAX.
Fixes https://github.com/denoland/deno/issues/28187
2025-02-20 16:32:46 +05:30
denobot
2968816863
2.2.0 ( #28175 )
...
Bumped versions for 2.2.0
---------
Co-authored-by: bartlomieju <bartlomieju@users.noreply.github.com>
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2025-02-18 23:12:17 +00:00
Gowtham K
9b9eeabcc8
fix(node/sqlite): sqlite named parameters ( #28154 )
...
This PR introduces support for named parameters in SQLite queries, as
outlined in #28134
2025-02-18 22:03:39 +05:30
Divy Srivastava
4ab380e0a7
fix(ext/node): implement StatementSync#iterate ( #28168 )
...
Fixes https://github.com/denoland/deno/issues/28130
2025-02-18 21:26:17 +05:30
Rajhans Jadhao
45777b8eca
fix(ext/node): use primordials in ext/node/polyfills/path/common.ts
( #28164 )
...
Related to https://github.com/denoland/deno/issues/24236
2025-02-18 12:51:14 +01:00
David Sherret
fe55e3e573
refactor: better sys trait impls ( #28140 )
2025-02-16 22:15:53 +01:00
snek
979e2f7158
feat: Upgrade V8 to 13.4 ( #28080 )
...
- upgrade v8 to 13.4
- turbocall conversion for arraybuffers is now much more complex, so use
cranelift
- misc updates for deprecated fns
- v8 default stack size is too small now, causing stack overflow
exceptions in some tests
- add syscall shim to support new syscall in old sysroot
2025-02-14 11:26:47 +00:00
denobot
4921411bb2
chore: forward v2.1.10 release commit to main ( #28099 )
...
This is the release commit being forwarded back to main for 2.1.10
---------
Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com>
2025-02-13 08:33:19 +00:00
Divy Srivastava
196ceb76bb
fix(ext/node): DatabaseSync#exec
should execute batch statements ( #28053 )
...
Fixes https://github.com/denoland/deno/issues/28050
2025-02-11 19:52:33 +05:30
Divy Srivastava
4a2b8fc22d
fix(ext/node): expose sqlite changeset constants ( #27992 )
...
https://nodejs.org/api/sqlite.html#sqliteconstants
2025-02-06 13:08:40 +05:30
Yoshiya Hinosawa
78fceb4a33
fix(ext/node): fix twitter-api-v2 compatibility ( #27971 )
2025-02-06 16:35:55 +09:00