Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-11-03 | feat(ext/web): BYOB support for ReadableStream (#12616) | Leo Kettmeir | |
This commit introduces support for BYOB readers in the WHATWG Streams API implementation. | |||
2021-11-02 | chore: update to Rust edition 2021 (#12578) | Bartek Iwańczuk | |
2021-11-01 | feat(ext/fetch): support fetching local files (#12545) | Kitson Kelly | |
Closes #11925 Closes #2150 Co-authored-by: Bert Belder <bertbelder@gmail.com> | |||
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-27 | fix(workers): Make `importScripts()` use the same HTTP client as `fetch` ↵ | Andreu Botella | |
(#12540) The initial implementation of `importScripts()` in #11338 used `reqwest`'s default client to fetch HTTP scripts, which meant it would not use certificates or other fetching configuration passed by command line flags. This change fixes it. | |||
2021-10-26 | chore: fix flaky permissions tests on windows (#12552) | David Sherret | |
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-25 | chore: bump crate version for 1.15.3 (#12531) | Yoshiya Hinosawa | |
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-18 | chore: release crates for v1.15.2 (#12478) | Bartek Iwańczuk | |
2021-10-13 | fix(runtime/ops/worker_host): move permission arg parsing to Rust (#12297) | Nayeem Rahman | |
2021-10-13 | chore: fix flaky steps_invalid_usage tests (#12422) | David Sherret | |
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-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 | feat: provide ops details for ops sanitizer failures (#12188) | Casper Beyer | |
2021-10-11 | feat(unstable/test): imperative test steps API (#12190) | David Sherret | |
2021-10-11 | feat(runtime): improve error messages of runtime fs (#11984) | Feng Yu | |
This commit annotates errors returned from FS Deno APIs to include paths that were passed to the API calls. Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2021-10-10 | refactor(metrics): move to core (#12386) | Aaron O'Mullan | |
Avoids overhead of wrapping ops (and allocs when inspecting async-op futures) | |||
2021-10-10 | feat: Stabilize Deno.kill and Deno.Process.kill (#12375) | Ryan Dahl | |
Co-authored-by: Luca Casonato <lucacasonato@yahoo.com> | |||
2021-10-10 | feat: stabilize Deno.resolveDns (#12368) | Satya Rohith | |
2021-10-08 | feat(runtime): allow passing extensions via Worker options (#12362) | Aaron O'Mullan | |
2021-10-08 | refactor: deduplicate `defineEventHandler` util (#12367) | Andreu Botella | |
2021-10-07 | fix(runtime): Getting `navigator.hardwareConcurrency` on workers shouldn't ↵ | Andreu Botella | |
throw (#12354) | |||
2021-10-07 | fix(runtime): don't equate SIGINT to SIGKILL on Windows (#12356) | Bert Belder | |
2021-10-05 | refactor(runtime): Worker bootstrap options (#12299) | Aaron O'Mullan | |
2021-10-05 | chore: various op cleanup (#12329) | Leo K | |
2021-10-05 | chore: merge v1.14.3 into main (#12327) | Bartek Iwańczuk | |
2021-10-04 | chore: remove No*Permissions structs (#12316) | Luca Casonato | |
These are confusing. They say they are "for users that don't care about permissions", but that isn't correct. `NoTimersPermissions` disables permissions instead of enabling them. I would argue that implementors should decide what permissions they want themselves, and not take our opinionated permissions struct. | |||
2021-10-01 | fix(runtime/js/workers): throw errors instead of using an op (#12249) | Nayeem Rahman | |
2021-09-30 | fix(runtime/testing): format aggregate errors (#12183) | Casper Beyer | |
2021-09-30 | fix: worker environment permissions should accept an array (#12250) | David Sherret | |
2021-09-29 | feat: support serializing `WebAssembly.Module` objects (#12140) | Andreu Botella | |
2021-09-29 | feat: stabilize URLPattern API (#12256) | Luca Casonato | |
2021-09-28 | chore: bump crate versions for 1.14.2 (#12253) | Aaron O'Mullan | |
2021-09-27 | fix: subprocess kill support on windows (#12134) | Luca Casonato | |
2021-09-25 | cleanup(runtime): flatten op_kill's args (#12214) | Aaron O'Mullan | |
2021-09-25 | refactor: Remove unused code (#12210) | Ryan Dahl | |
2021-09-24 | chore(runtime): minor comment improvement (#12191) | Aaron O'Mullan | |
2021-09-25 | fix(ext/webidl): correctly apply [SymbolToStringTag] to interfaces (#11851) | 李瑞丰 | |
Co-authored-by: Luca Casonato <hello@lcas.dev> Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com> | |||
2021-09-24 | fix(cli/permissions): ensure revoked permissions are no longer granted (#12159) | Nayeem Rahman | |
Fixes #12153 | |||
2021-09-23 | refactor: Remove depreated Worker::execute_module (#12203) | Ryan Dahl | |
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 | 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 | chore: bump crate versions for 1.14.1 (#12172) | Kitson Kelly | |
2021-09-21 | fix(runtime/ops/signal.rs): Add FreeBSD signal definitions (#12084) | MikaelUrankar | |
2021-09-21 | chore: bump deno_net (#12157) | Satya Rohith | |