denobot
8f59d18202
2.0.6 ( #26803 )
...
Bumped versions for 2.0.6
Signed-off-by: Divy Srivastava <dj.srivastava23@gmail.com>
Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com>
2024-11-10 10:08:11 +05:30
denobot
78a799b494
2.0.5 ( #26753 )
...
Bumped versions for 2.0.5
Co-authored-by: bartlomieju <bartlomieju@users.noreply.github.com>
2024-11-06 01:19:05 +01:00
Divy Srivastava
82ee63f78b
fix: op_run_microtasks crash ( #26718 )
...
Upgrade deno_core to 0.318.0
Fixes https://github.com/denoland/deno_core/issues/951
Fixes https://github.com/denoland/deno/issues/26468
2024-11-06 00:36:26 +01:00
David Sherret
c5887708a9
fix: improved support for cjs and cts modules ( #26558 )
...
* cts support
* better cjs/cts type checking
* deno compile cjs/cts support
* More efficient detect cjs (going towards stabilization)
* Determination of whether .js, .ts, .jsx, or .tsx is cjs or esm is only
done after loading
* Support `import x = require(...);`
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2024-11-06 00:36:24 +01:00
Divy Srivastava
13612e7112
fix: clamp smi in fast calls by default ( #26506 )
...
Fixes https://github.com/denoland/deno/issues/26480
Ref
d2945fb65b
2024-11-06 00:36:22 +01:00
denobot
b7c282d2f8
2.0.4 ( #26630 )
...
Bumped versions for 2.0.4
Co-authored-by: bartlomieju <bartlomieju@users.noreply.github.com>
2024-10-30 01:15:35 +01:00
David Sherret
61598884c1
fix: do not panic when failing to write to http cache ( #26591 )
...
Closes https://github.com/denoland/deno/issues/26189
Closes https://github.com/denoland/deno/issues/26575
2024-10-30 00:16:11 +01:00
David Sherret
8eb3a5f8e2
fix(install): regression - do not panic when config file contains \r\n newlines ( #26547 )
...
This is specifically for `deno install`/`deno add` commands.
* https://github.com/dprint/jsonc-parser/pull/49
Closes https://github.com/denoland/deno/issues/26543
2024-10-30 00:15:37 +01:00
denobot
997bd47fc2
2.0.3 ( #26532 )
...
Bumped versions for 2.0.3
---------
Co-authored-by: bartlomieju <bartlomieju@users.noreply.github.com>
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2024-10-25 02:57:52 +02:00
snek
e1c893fab8
feat: support node-api in denort ( #26389 )
...
exposes node-api symbols in denort so that `deno compile` can run native
addons.
2024-10-25 02:09:38 +02:00
Ronny Chan
7c084f357f
fix: unpin tokio version ( #26457 )
...
Fixes https://github.com/denoland/deno/issues/26455
Signed-off-by: Ronny Chan <ronny.chan@okta.com>
2024-10-25 02:09:36 +02:00
David Sherret
92c1e99c69
fix(npm): support version ranges with && or comma ( #26453 )
2024-10-25 02:09:35 +02:00
David Sherret
21a5d1559a
fix(install): better json editing ( #26450 )
...
1. Respects the formatting of the file (ex. keeps four space indents or
tabs).
2. Handles editing of comments.
3. Handles trailing commas.
4. Code is easier to maintain.
2024-10-25 02:09:34 +02:00
Leo Kettmeir
b21fe64093
chore: update nix crate ( #26422 )
...
Dedupes nix dependency, since `rustyline` depends on a newer version
that what we currently use
2024-10-25 02:09:34 +02:00
Leo Kettmeir
ed1b2db88b
refactor(ext/fs): use concrete error types ( #26317 )
2024-10-25 02:09:32 +02:00
denobot
22a79ea420
2.0.2 ( #26374 )
...
Bumped versions for 2.0.2
Co-authored-by: bartlomieju <bartlomieju@users.noreply.github.com>
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2024-10-18 01:28:36 +02:00
Leo Kettmeir
1da0ee2d14
refactor(ext/net): use concrete error type ( #26227 )
2024-10-18 01:05:02 +02:00
denobot
99c2aa5730
2.0.1 ( #26335 )
...
Bumped versions for 2.0.1
Co-authored-by: bartlomieju <bartlomieju@users.noreply.github.com>
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2024-10-17 00:42:35 +02:00
Bartek Iwańczuk
ee904ec06c
fix: add hint for missing document
global in terminal error ( #26218 )
...
This came up on Discord as a question so I thought it's worth adding a
hint for this as it might be a common pitfall.
---------
Signed-off-by: Bartek Iwańczuk <biwanczuk@gmail.com>
Co-authored-by: David Sherret <dsherret@users.noreply.github.com>
2024-10-15 21:51:39 +00:00
David Sherret
403da30ceb
fix(install): handle pkg with dep on self when pkg part of peer dep resolution ( #26277 )
...
* https://github.com/denoland/deno_npm/pull/71
Closes #26271
2024-10-15 18:48:33 +00:00
Divy Srivastava
e4b52f5a76
fix: panic in prepare_stack_trace_callback
when global interceptor throws ( #26241 )
...
Fixes https://github.com/denoland/deno/issues/26240
Fixes
https://github.com/denoland/deno/pull/24985#issuecomment-2365460210
Fix panic when a global interceptor is misconfigured or throws an
exception.
Updates deno_core to 0.313.0
2024-10-15 14:56:49 +02:00
Divy Srivastava
dfbf03eee7
perf: use fast calls for microtask ops ( #26236 )
...
Updates deno_core to 0.312.0
2024-10-14 12:31:51 +00:00
David Sherret
251840a60d
fix: do not panic on wsl share file paths on windows ( #26081 )
...
A test is going to fail on windows (I'm not on a windows machine atm, so
running the CI to see what fails)
Closes #26080
2024-10-09 18:49:56 +01:00
Bartek Iwańczuk
20ae8db50d
fix(repl): importing json files ( #26053 )
...
Closes https://github.com/denoland/deno/issues/26041
2024-10-09 10:04:44 +02:00
denobot
a62c7e036a
2.0.0 ( #26063 )
...
Bumped versions for 2.0.0
Co-authored-by: bartlomieju <bartlomieju@users.noreply.github.com>
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2024-10-08 07:37:28 -07:00
Leo Kettmeir
94adfeec78
fix: use tree-sitter for deno_doc ( #26066 )
2024-10-08 06:55:44 -07:00
Divy Srivastava
e41df20ad9
fix(npm): root package has peer dependency on itself ( #26022 )
...
https://github.com/denoland/deno_npm/pull/70
Fixes https://github.com/denoland/deno/issues/26006
2024-10-03 14:18:36 +00:00
Divy Srivastava
19a9990f60
chore: remove custom bench
profile ( #26008 )
2024-10-03 16:48:40 +05:30
Divy Srivastava
f5caf9dd1b
perf: Use -O3 for sui in release builds ( #26010 )
2024-10-03 09:33:00 +05:30
Divy Srivastava
93b29b5feb
fix: enable Win32_Security
feature in windows-sys
( #26007 )
...
Fixes https://github.com/denoland/deno/issues/25922
2024-10-03 09:00:11 +05:30
Nathan Whitaker
bbd4ae1bc1
fix(node): implement libuv APIs needed to support npm:sqlite3
( #25893 )
...
Fixes #24740 .
Implements the `uv_mutex_*` and `uv_async_*` APIs.
The mutex API is implemented exactly as libuv, a thin wrapper over the
OS's native mutex.
The async API is implemented in terms of napi_async_work. As documented
in the napi docs, you really shouldn't call `napi_queue_async_work`
multiple times (it is documented as undefined behavior). However, our
implementation doesn't have any issue with this, so I believe it suits
our purpose here.
2024-10-02 10:43:42 -07:00
David Sherret
18beb13f0e
fix(workspace): handle when config has members when specified via --config ( #25988 )
...
Closes #25847
2024-10-02 16:20:51 +01:00
denobot
55c2a88099
chore: release deno_* crates ( #25987 )
...
Testing once again if the crates are being properly released.
---------
Co-authored-by: bartlomieju <bartlomieju@users.noreply.github.com>
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2024-10-02 14:27:34 +00:00
denobot
2d3e0284d9
chore: release deno_* crates ( #25976 )
...
Test run before Deno 2.0 release to make sure that the publishing
process passes correctly.
---------
Co-authored-by: bartlomieju <bartlomieju@users.noreply.github.com>
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2024-10-02 14:44:04 +02:00
Arnau Orriols
7da70f4e58
chore: relax version pinning of deno_package_json ( #25985 )
...
Co-authored-by: David Sherret <dsherret@users.noreply.github.com>
2024-10-02 12:55:56 +02:00
David Sherret
4c8d57db03
BREAKING: rename "deps" remote cache folder to "remote" ( #25969 )
...
Closes https://github.com/denoland/deno/issues/25967
Closes #25968
2024-10-01 14:05:40 -04:00
Marvin Hagemeister
c5c1869992
fix: precompile preserve SVG camelCase attributes ( #25945 )
...
See https://github.com/denoland/deno_ast/pull/278
Fixes https://github.com/denoland/deno/issues/25810
2024-09-30 21:25:30 +02:00
David Sherret
a7d0a5540f
fix: eagerly error for specifier with empty version constraint ( #25944 )
...
Eagerly errors for something like `export * from "jsr:@type/is@";`
(previously it would just fail elsewhere because it would consider this
as having an empty tag)
2024-09-30 13:34:20 +00:00
David Sherret
69ab720025
refactor: move ByonmNpmResolver to deno_resolver ( #25937 )
...
Some more slow progress on moving all the resolution code into
deno_resolver.
2024-09-30 13:33:32 +00:00
David Sherret
5faf769ac6
refactor: extract out sloppy imports resolution from CLI crate ( #25920 )
...
This is slow progress towards creating a `deno_resolver` crate.
Waiting on:
* https://github.com/denoland/deno/pull/25918
* https://github.com/denoland/deno/pull/25916
2024-09-28 19:17:48 -04:00
David Sherret
1bb47805d6
refactor: move NpmCacheDir to deno_cache_dir ( #25916 )
...
Part of the ongoing work to move more of Deno's resolution out of the
CLI crate (for use in Wasm and other things)
Includes:
* https://github.com/denoland/deno_cache_dir/pull/60
2024-09-28 08:50:16 -04:00
David Sherret
fc739dc5eb
refactor: use deno_path_util ( #25918 )
2024-09-28 07:55:01 -04:00
Yusuke Tanaka
d8036ab20c
perf(ext/fetch): improve decompression throughput by upgrading tower_http
( #25806 )
...
This commit improves the throughput when a Deno process is running as a proxy
server that deals with compressed data from the upstream server.
We have seen a performance degradation since v1.45.3 when we run a HTTP server
with Deno with a particular setting, where it fetches _compressed_ data from the
upstream server and forwards it to the end client. After some investigation, it
turned out that [tower_http::decompression] causes this issue, which was fixed
by the new version of this crate, v0.6.1.
[tower_http::decompression]: https://docs.rs/tower-http/0.6.0/tower_http/decompression/index.html
Fixes #25798
2024-09-23 18:16:34 -07:00
Divy Srivastava
bfdca5bc7a
feat(ext/crypto): import and export p521 keys ( #25789 )
...
Towards https://github.com/denoland/deno/issues/13449
2024-09-23 19:40:36 +05:30
Bartek Iwańczuk
55c22ee1bd
fix: panic when require(esm) ( #25769 )
...
Upgrades `deno_core`.
Closes https://github.com/denoland/deno/issues/25761
Closes https://github.com/denoland/deno/issues/25738
2024-09-20 23:16:10 +02:00
Luca Casonato
ab1e391e1d
feat(ext/node): add rootCertificates to node:tls ( #25707 )
...
Closes https://github.com/denoland/deno/issues/25604
Signed-off-by: Satya Rohith <me@satyarohith.com>
Co-authored-by: Satya Rohith <me@satyarohith.com>
2024-09-18 21:14:26 +02:00
Divy Srivastava
b4faf60948
perf: fast path for cached dyn imports ( #25636 )
...
Ref https://github.com/denoland/deno_core/pull/906
2024-09-17 22:57:37 +05:30
Bartek Iwańczuk
aaf2bf4bfb
chore: upgrade deno_core ( #25674 )
...
No functional changes, just removes dead code.
2024-09-17 01:13:34 +00:00
David Sherret
e47606a554
fix(lockfile): use loose deserialization for version constraints ( #25660 )
...
* https://github.com/denoland/deno_lockfile/pull/39
Closes https://github.com/denoland/deno/issues/25649
2024-09-16 15:29:21 +00:00
Luca Casonato
7bfcb4dd10
feat(cli): use NotCapable error for permission errors ( #25431 )
...
Closes #7394
---------
Co-authored-by: snek <snek@deno.com>
2024-09-10 11:12:24 -07:00