Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-10-20 | ci: check Deno binary only in tagged commits (#12509) | Bartek Iwańczuk | |
2021-10-20 | feat(serde_v8): allow all values to deserialize to unit type (#12504) | Aaron O'Mullan | |
2021-10-20 | ci: skip running tests and benchmarks on tags (#12443) | Bartek Iwańczuk | |
Co-authored-by: Ryan Dahl <ry@tinyclouds.org> | |||
2021-10-21 | docs(README): link built in utilities (#12405) | f[nZk] | |
2021-10-20 | feat(serde_v8): StringOrBuffer (#12503) | Aaron O'Mullan | |
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-20 | chore: return serde_v8 to main repo (#12500) | Aaron O'Mullan | |
Reduces fragmentation, avoids version drift and facilitates coordinating serde_v8 and op-layer changes | |||
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 | fix(ext/websocket): prevent 'closed normally' panic (#12437) | Leo K | |
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-19 | chore: update release script (#12481) | Bartek Iwańczuk | |
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-18 | docs(ext/url): typo in URLPatternResult (#12470) | Satya Rohith | |
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 | fix(core): avoid polling future after cancellation (#12385) | Bert Belder | |
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-17 | chore(wpt): disable broken tests (#12385) | Bert Belder | |
* 'request-upload.h2' and 'redirect-upload.h2' only work with a functional HTTP2 test harness server, otherwise they're flaky. * Fetch request streaming tests require a server that doesn't choke on requests that use 'Transfer-Encoding: chunked'. | |||
2021-10-17 | docs(ext/http): fix typo in http/lib.rs (#12466) | Ikko Ashimine | |
2021-10-16 | fix: fmt should not remove parens around sequence expressions (#12461) | David Sherret | |
2021-10-15 | fix(docs): correct `pattern.match()` to `pattern.exec()` (#12450) | Libing Chen | |
2021-10-14 | ci: skip debug WPT during PRs (#12440) | Ryan Dahl | |
Running Debug WPT takes about 35 minutes. It will be still checked in the release build and on main branch, but too slow to run for PRs. See for example: https://github.com/denoland/deno/pull/12438/checks?check_run_id=3889127272 | |||
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 | |
2021-10-12 | chore: upgrade crates based on deno ast 0.3 (#12403) | David Sherret | |
2021-10-12 | feat(ext/crypto): support importing/exporting raw AES keys (#12392) | Divy Srivastava | |
2021-10-12 | feat: update to V8 9.5 (#12399) | Luca Casonato | |
2021-10-12 | feat(ext/crypto): implement deriveKey (#12117) | Divy Srivastava | |
2021-10-12 | fix(lsp): lint diagnostics respect config file (#12338) | Bartek Iwańczuk | |
This commit fixes problem with LSP where diagnostics coming from "deno lint" don't respect configuration file. LSP was changed to store "Option<ConfigFile>", "Option<LintConfig>" and "Option<FmtConfig>" on "Inner"; as well as storing "Option<LintConfig>" and "Option<FmtConfig>" on "StateSnapshot". Co-authored-by: Kitson Kelly <me@kitsonkelly.com> | |||
2021-10-11 | perf(webidl): inline ResponseInit converter (#12285) | Aaron O'Mullan | |
2021-10-11 | feat(compat): pin specific version of std/node (#12396) | Bartek Iwańczuk | |
2021-10-11 | fix(runtime): Declare `Window.self` and `DedicatedWorkerGlobalScope.name` ↵ | Andreu Botella | |
with `util.writable()` (#12378) `Window`'s `self` property and `DedicatedWorkerGlobalScope`'s `name` property are defined as Web IDL read-only attributes with the `[Replaceable]` extended attribute, meaning that their setter will redefine the property as a data property with the set value, rather than changing some internal state. Deno currently defines them as read-only data properties instead. Given that Web IDL requires all attributes to be accessor properties rather than data properties, but Deno exposes almost all of those properties as either read-only or writable data properties, it makes sense to expose `[Replaceable]` properties as writable as well – as is already the case with `WindowOrWorkerGlobalScope`'s `performance` property. | |||
2021-10-11 | fix(http): don't expose body on GET/HEAD requests (#12260) | Luca Casonato | |
GET/HEAD requests can't have bodies according to `fetch` spec. This commit changes the HTTP server to hide request bodies for requests with GET or HEAD methods. | |||
2021-10-11 | feat(ext/crypto): support importing raw ECDSA keys (#11871) | Divy Srivastava | |
2021-10-11 | feat: provide ops details for ops sanitizer failures (#12188) | Casper Beyer | |