Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-09-23 | feat(cli/fmt): support more markdown extensions (#12195) | Satya Rohith | |
2021-09-23 | perf(ext/fetch): skip USVString webidl conv on string constructor (#12168) | Aaron O'Mullan | |
* perf(ext/fetch): skip USVString webidl conv on string constructor * Rename webidl convert to RequestInfo_DOMString To disambiguate and hint that it normalizes to DOMString instead of USVString since DOMString => USVString is handled by `op_url_parse` when calling `new URL(...)` | |||
2021-09-23 | test(cli): align unit test permissions with runtime test permissions (#12189) | Casper Beyer | |
2021-09-23 | docs(tools): updates to cutting a release (#12177) | Kitson Kelly | |
2021-09-23 | perf(ops): optimize permission check (#11800) | Aaron O'Mullan | |
* perf(ops): optimize permission check Removes the overhead of permission check on access granted (should be common case): Delta measured on `perf_now` from `deno_common` bench: - before: `528ns/op - after: `166ns/op` So ~3x faster | |||
2021-09-22 | ci: enable cache for fastci (#12186) | Aaron O'Mullan | |
2021-09-22 | refactor: simplify FetchFuture (#12185) | Ryan Dahl | |
No need for static lifetime | |||
2021-09-22 | quickfix(ci): only run "Build product size info" on main/tag (#12184) | Aaron O'Mullan | |
2021-09-22 | upgrade serde_v8 and rusty_v8 (#12175) | Ryan Dahl | |
* upgrade serde_v8 and rusty_v8 * rusty_v8 0.30.0 * cycle keys | |||
2021-09-22 | fix(workers): Don't panic when a worker's parent thread stops running (#12156) | Andreu Botella | |
This panic could happen in the following cases: - A non-fatal error being thrown from a worker, that doesn't terminate the worker's execution, but propagates to the main thread without being handled, and makes the main thread terminate. - A nested worker being alive while its parent worker gets terminated. - A race condition if the main event loop terminates the worker as part of its last task, but the worker doesn't fully terminate before the main event loop stops running. This panic happens because a worker's event loop should have pending ops as long as the worker isn't closed or terminated – but if an event loop finishes running while it has living workers, its associated `WorkerThread` structs will be dropped, closing the channels that keep those ops pending. This change adds a `Drop` implementation to `WorkerThread`, which terminates the worker without waiting for a response. This fixes the panic, and makes it so nested workers are automatically terminated once any of their ancestors is closed or terminated. This change also refactors a worker's termination code into a `WorkerThread::terminate()` method. Closes #11342. Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2021-09-22 | ci: experiment mac & windows debug builds (#11884) | Aaron O'Mullan | |
Will be tweaked, but possibly have this "fastci" profile for further optimizations | |||
2021-09-22 | chore: replace calls to assertThrowsAsync with assertRejects (#12176) | Casper Beyer | |
2021-09-22 | chore(ext/net): improve embedder friendliness (#12178) | Ben Noordhuis | |
Default to None if UnsafelyIgnoreCertificateErrors is not present in the OpState. Embedders may not have a need for restricting outgoing TLS connections and having them hunt through the source code for the magic incantation that makes the borrow panics go away, is less user friendly. | |||
2021-09-22 | 1.14.1 | Kitson Kelly | |
2021-09-22 | chore: bump crate versions for 1.14.1 (#12172) | Kitson Kelly | |
2021-09-21 | cleanup(ext/fetch): drop redundant webidl converters in fetch() (#12167) | Aaron O'Mullan | |
Since those inputs are passed to `new Request(...)` which applies webidl converters | |||
2021-09-21 | perf(ext/web): optimize EventTarget (#12166) | Aaron O'Mullan | |
and all its subclasses including `AbortSignal` ... Instead of storing associated data in a global `WeakMap` we store them as private attributes (via a Symbol) on the object instances | |||
2021-09-21 | perf(web): optimize AbortController (#12165) | Aaron O'Mullan | |
- Use regular class constructor and symbol "private" attributes - Lazy init Set of follower signals | |||
2021-09-21 | fix(runtime/ops/signal.rs): Add FreeBSD signal definitions (#12084) | MikaelUrankar | |
2021-09-21 | bench(deno_common): track new Request() (#12164) | Aaron O'Mullan | |
Indirectly tests for: - url parsing - abort signal no-ops - webidl & other overhead | |||
2021-09-21 | chore: bump deno_net (#12157) | Satya Rohith | |
2021-09-20 | chore(tests): windows pty tests (#12091) | David Sherret | |
2021-09-20 | test(ext/ffi): add tests for different parameter and return types (#12158) | Elias Sjögreen | |
2021-09-20 | fix(config-schema): correct default value of "lib" (#12145) | Eyal Shalev | |
Changed it from `"deno.window"` to `["deno.window"]` | |||
2021-09-20 | refactor(ext/net): make op_connect & op_connect_tls public (#12150) | Satya Rohith | |
2021-09-19 | fix(cli): move Deno.flock and Deno.funlock to unstable types (#12138) | Casper Beyer | |
2021-09-18 | refactor(cli): don't generate a module for side loading tests (#12129) | Casper Beyer | |
2021-09-18 | fix(cli/fmt_errors): Abbreviate long data URLs in stack traces (#12127) | Nayeem Rahman | |
Co-authored-by: Mike White <mike.white@auctane.com> | |||
2021-09-18 | fix(core): prevent multiple main module loading (#12128) | Bartek Iwańczuk | |
This commit fixes a problem where loading and executing multiple modules leads to all of the having "import.meta.main" set to true. Following Rust APIs were deprecated: - deno_core::JsRuntime::load_module - deno_runtime::Worker::execute_module - deno_runtime::WebWorker::execute_module Following Rust APIs were added: - deno_core::JsRuntime::load_main_module - deno_core::JsRuntime::load_side_module - deno_runtime::Worker::execute_main_module - deno_runtime::Worker::execute_side_module - deno_runtime::WebWorker::execute_main_module Trying to load multiple "main" modules into the runtime now results in an error. If user needs to load additional "non-main" modules they should use APIs for "side" module. | |||
2021-09-17 | chore(tests): maybe fix flaky flock tests (#12122) | David Sherret | |
2021-09-17 | chore(tests): fix flaky fetchPostBodyTypedArray (#12104) | David Sherret | |
2021-09-17 | chore(tests): fix flaky flock tests (#12099) | David Sherret | |
2021-09-17 | chore: Remove unused deps from Cargo.toml files (#12106) | Squirrel | |
2021-09-17 | fix(cli): don't ignore diagnostics about for await (#12116) | Kitson Kelly | |
Fixes #12115 | |||
2021-09-16 | perf(runtime/fs): optimize readFile by using a single large buffer (#12057) | Aaron O'Mullan | |
* perf(runtime/fs): optimize readFile by using a single large buffer * handle extended/truncated files during read Allocate an extra byte in our read buffer to detect "overflow" then fallback to unsized readAll for remainder of extended file, this is a slowpath that should rarely happen in practice | |||
2021-09-16 | fix(ext/crypto): use DataError in importKey() (#12071) | Divy Srivastava | |
2021-09-16 | fix(ext/crypto): don't use core.decode for encoding jwk keys (#12088) | Divy Srivastava | |
2021-09-16 | chore: update tagline (#12095) | Satya Rohith | |
2021-09-16 | fix(lsp): align filter text to vscode logic (#12081) | Kitson Kelly | |
Fixes #11861 | |||
2021-09-15 | chore(scripts): improvements to the release scripts based on the 1.14 ↵ | David Sherret | |
release (#12079) | |||
2021-09-15 | chore(lsp): use pretty_assertions in e2e tests (#12083) | Satya Rohith | |
2021-09-14 | 1.14.0 (#12074) | David Sherret | |
2021-09-14 | chore: bump crate versions for 0.14 (#12072) | David Sherret | |
2021-09-14 | chore: update URL for schemas (#12070) | Bartek Iwańczuk | |
2021-09-14 | feat(ext/crypto): import RSA pkcs#8 keys (#11891) | Divy Srivastava | |
2021-09-14 | fix(lsp): correctly parse registry patterns (#12063) | Kitson Kelly | |
2021-09-14 | fix: permission prompt stuffing on Windows (#11969) | David Sherret | |
2021-09-14 | feat(lsp): ignore specific lint for entire file (#12023) | Satya Rohith | |
2021-09-14 | chore: add JSON schema for configuration file (#12062) | Bartek Iwańczuk | |
2021-09-14 | docs: Update --config flag help text (#12059) | Bartek Iwańczuk | |