Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-10-30 | fix(cli): linter/formater watches current directory without args (#12550) | Zheyu Zhang | |
2021-10-30 | fix(cli): lint/format all discoverd files on each change (#12518) | Zheyu Zhang | |
2021-10-29 | fix(runtime): require full read and write permissions to create symlinks ↵ | David Sherret | |
(#12554) | |||
2021-10-29 | feat: stabilize Deno.startTls (#12581) | Luca Casonato | |
This commit stabilizes `Deno.startTls` and removes `certFile` from the `StartTlsOptions`. | |||
2021-10-29 | fix(encoding): support additional encoding labels (#12586) | Andreu Botella | |
2021-10-29 | refactor(lsp): use deno_graph and single document struct (#12535) | Kitson Kelly | |
Closes #12473 | |||
2021-10-28 | fix(bench): migrate to v8 from rusty_v8 (#12571) | Kitson Kelly | |
Fixes #12569 | |||
2021-10-28 | feat(compat): integrate import map and classic resolutions in ESM resolution ↵ | Bartek Iwańczuk | |
(#12549) This commit integrates import map and "classic" resolutions in the "--compat" mode when using ES modules; in effect "http:", "https:" and "blob:" imports now work in compat mode. The algorithm works as follows: 1. If there's an import map, try to resolve using it and if succeeded return the specifier 2. Try to resolve using "Node ESM resolution", and if succeeded return the specifier 3. Fall back to regular ESM resolution | |||
2021-10-28 | feat(cli): enable `useUnknownInCatchVariables` by default (#12547) | Kitson Kelly | |
Closes #11826 **BREAKING CHANGE** this behaviour was disable when introduced in Deno 1.14/TypeScript 4.4. It will highlight code that unsafely handles variables that are caught, and will cause type errors in unsafe code. | |||
2021-10-27 | chore: update to rusty_v8 0.33.0 (#12564) | Luca Casonato | |
2021-10-27 | fix(cli): no-check respects inlineSources compiler option (#12559) | Kitson Kelly | |
Fixes #12064 | |||
2021-10-27 | feat(ext/webstorage): use implied origin when --location not set (#12548) | Kitson Kelly | |
Closes #11882 BREAKING CHANGE: Previously when `--location` was set, the unique storage key was derived from the the URL of the location instead of just the origin. This change correctly uses just the origin. This may cause previously persisted storage to change its key and data to not be available with the same location as before. | |||
2021-10-26 | fix(ext/http): allow multiple values in upgrade header for websocket (#12551) | Leo K | |
Co-authored-by: Aaron O'Mullan <aaron.omullan@gmail.com> | |||
2021-10-26 | feat(ext/net): add TlsConn.handshake() (#12467) | Bert Belder | |
A `handshake()` method was added that returns when the TLS handshake is complete. The `TlsListener` and `TlsConn` interfaces were added to accomodate this new method. Closes: #11759. | |||
2021-10-26 | chore: upgrade Rust to 1.56.0 (#12514) | Bert Belder | |
2021-10-26 | feat(runtime): add Deno.addSignalListener API (#12512) | Yoshiya Hinosawa | |
2021-10-26 | fix(cli): do not cache emit when diagnostics present (#12541) | Kitson Kelly | |
Fixes #12471 | |||
2021-10-25 | bench(http): avoid obj destructuring for parity with std (#12528) | Aaron O'Mullan | |
Might close gap in benchmark graph between std & native | |||
2021-10-25 | fix(tls): Make TLS clients support HTTP/2 (#12530) | Andreu Botella | |
`fetch()` and client-side websocket used to support HTTP/2, but this regressed in #11491. This patch reenables it by explicitly adding `h2` and `http/1.1` to the list of ALPN protocols on the HTTP and websocket clients. | |||
2021-10-25 | fix: support verbatim UNC prefixed paths on Windows (#12438) | David Sherret | |
2021-10-25 | v1.15.3 (#12533) | Yoshiya Hinosawa | |
2021-10-25 | chore: bump crate version for 1.15.3 (#12531) | Yoshiya Hinosawa | |
2021-10-21 | fix(lsp): formatting should error on certain additional swc diagnostics (#12491) | David Sherret | |
2021-10-21 | fix: declare web types as global (#12497) | Bartek Iwańczuk | |
Co-authored-by: Feng Yu <F3n67u@outlook.com> | |||
2021-10-21 | compat: add DENO_NODE_COMPAT_URL env variable (#12508) | Bartek Iwańczuk | |
2021-10-20 | fix(ext/net): fix TLS bugs and add 'op_tls_handshake' (#12501) | Bert Belder | |
A bug was fixed that could cause a hang when a method was called on a TlsConn object that had thrown an exception earlier. Additionally, a bug was fixed that caused TlsConn.write() to not completely flush large buffers (>64kB) to the socket. The public `TlsConn.handshake()` API is scheduled for inclusion in the next minor release. See https://github.com/denoland/deno/pull/12467. | |||
2021-10-19 | fix(cli/dts): update std links for deprecations (#12496) | Nayeem Rahman | |
2021-10-19 | fix(core/bindings): use is_instance_of_error() instead of is_native_error() ↵ | Nayeem Rahman | |
(#12479) | |||
2021-10-19 | refactor: use a single Mutex in ProcState for module graph (#12489) | Bartek Iwańczuk | |
This commit factors out 4 different fields from "ProcState", that are behind "Arc<Mutex<>>" into a single struct behind a single mutex. | |||
2021-10-19 | fix(cli/tests): flaky Deno.watchFs() tests (#12485) | Nayeem Rahman | |
2021-10-19 | docs(Deno.Process.kill): Added example for Deno.Process.kill() (#12464) | Robert Schultz | |
2021-10-18 | v1.15.2 | Bartek Iwańczuk | |
2021-10-18 | chore: release crates for v1.15.2 (#12478) | Bartek Iwańczuk | |
2021-10-18 | feat(unstable): Node CJS and ESM resolvers for compat mode (#12424) | Bartek Iwańczuk | |
This commit adds CJS and ESM Node resolvers to the "--compat" mode. The functionality is spread across "cli/compat" module and Node compatibility layer in "deno_std/node"; this stems from the fact that ES module resolution can only be implemented in Rust as it needs to directly integrated with "deno_core"; however "deno_std/node" already provided CJS module resolution. Currently this resolution is only active when running a files using "deno run --compat --unstable <filename>", and is not available in other subcommands, which will be changed in follow up commits. | |||
2021-10-18 | fix(cli/fmt_errors): don't panic on source line formatting errors (#12449) | Nayeem Rahman | |
Returns empty values in case of errors, source lines are non-essential anyway. These errors can happen e.g. when source files change at runtime. A warning is also printed to help us track when it happens in unexpected cases besides this. | |||
2021-10-18 | fix(fmt): keep parens for JS doc type assertions (#12475) | David Sherret | |
2021-10-17 | fix(core): poll async ops eagerly (#12385) | Bert Belder | |
Currently all async ops are polled lazily, which means that op initialization code is postponed until control is yielded to the event loop. This has some weird consequences, e.g. ```js let listener = Deno.listen(...); let conn_promise = listener.accept(); listener.close(); // `BadResource` is thrown. A reasonable error would be `Interrupted`. let conn = await conn_promise; ``` JavaScript promises are expected to be eagerly evaluated. This patch makes ops actually do that. | |||
2021-10-17 | chore(cli/tests): fix flaky fs watcher tests (#12385) | Bert Belder | |
On OS X, the watcher sometimes witnesses the creation of it's own root directory. Creating that directory using a sync op instead of an async op sidesteps the issue. | |||
2021-10-16 | fix: fmt should not remove parens around sequence expressions (#12461) | David Sherret | |
2021-10-14 | fix(cli): re-enable allowSyntheticDefaultImports for tsc (#12435) | Kitson Kelly | |
Fixes #12434 | |||
2021-10-14 | fix(cli/tests): move worker test assertions out of message handlers (#12439) | Nayeem Rahman | |
2021-10-14 | fix(console): fix display of primitive wrapper objects (#12425) | Kenta Moriuchi | |
2021-10-13 | fix(runtime/ops/worker_host): move permission arg parsing to Rust (#12297) | Nayeem Rahman | |
2021-10-13 | chore: test for bundling export specifier with alias (#12421) | David Sherret | |
2021-10-13 | chore: fix flaky steps_invalid_usage tests (#12422) | David Sherret | |
2021-10-13 | 1.15.1 | David Sherret | |
2021-10-12 | fix: bundler should have a hygiene pass (#12418) | David Sherret | |
2021-10-12 | fix: --no-check not properly handling code nested in TS expressions (#12416) | David Sherret | |
2021-10-12 | 1.15.0 | Satya Rohith | |
2021-10-12 | chore: bump crate version for 1.15.0 (#12406) | Satya Rohith | |