summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-05-21fix(cli/dts): change `ChildStatus.signal` from `string` to `Deno.Signal` ↵Simon Lecoq
(#14690)
2022-05-20refactor: upgrade to deno_ast 0.15 (#14680)David Sherret
2022-05-20fix: prevent Deno.exit to fail when dispatchEvent tampered (#14665)Yoshiya Hinosawa
Co-authored-by: Colin Ihrig <cjihrig@gmail.com>
2022-05-19fix(runtime): improve permission descriptor validation (#14676)Colin Ihrig
This commit improves the permission descriptor validation by explicitly checking for object types and using optional chaining when creating error messages in case the descriptor is not an object. Fixes: https://github.com/denoland/deno/issues/14675
2022-05-19fix(bench): update typo in bench summary (#14672)Geert-Jan Zwiers
2022-05-19feat: make Child.kill argument optional (#14669)Leo Kettmeir
2022-05-18refactor: use spawn API across codebase (#14414)Leo Kettmeir
2022-05-181.22.0 (#14657)denobot
Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com>
2022-05-18fix: add types for `Response.json` (#14655)Luca Casonato
2022-05-18perf(ext/http): faster accept-encoding parsing (#14654)Aaron O'Mullan
2022-05-18chore: update rustls (#14647)Luca Casonato
This fixes thevery annoying "Received a ServerHelloDone handshake message while expecting [CertificateRequest]" debug log from rustls.
2022-05-18fix(ext/tls): ability to ignore IP-address certificate errors (#14610)Aleksei Kosyrev
2022-05-18fix(ext/http): no response body reader when cancelling during shutdown (#14653)Divy Srivastava
2022-05-18 feat: return a signal string instead number on ChildStatus (#14643)Leo Kettmeir
2022-05-17feat: subcommands type-check only local files by default (#14623)Bartek Iwańczuk
This commit changes default mode of type-checking to "local" and adds "--check" flag to following subcommands: - deno bench - deno bundle - deno cache - deno compile - deno eval - deno install - deno test
2022-05-17BREAKING(unstable): Enable Deno namespace in workers by default (#14581)Nayeem Rahman
This commit removes "WorkerOptions.deno" option as a boolean, as well as "WorkerOptions.deno.namespace" settings. Starting with this commit all workers have access to "Deno" namespace by default.
2022-05-17BREAKING: Remove unstable Deno.emit and Deno.formatDiagnostics APIs (#14463)Bartek Iwańczuk
2022-05-17fix(core): support classifying ENOTDIR (#14646)Aaron O'Mullan
2022-05-17feat(core): deterministic snapshots (#14037)Divy Srivastava
2022-05-17fix: base64 encoding of source maps with emojis (#14607)Bartek Iwańczuk
This commit fixes source maps for files that contain emojis. This is done by updating "deno_ast" to "0.14.1" for the case of "--no-check" flag (ie using SWC emit) and by overriding TSC's default base64 encoder (which turned out to be buggy) for the type checking case.
2022-05-17chore: fix failing bench (#14644)Bartek Iwańczuk
2022-05-17perf(ext/web): Add fast path for non-streaming TextDecoder (#14217)randomicon00
Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com>
2022-05-17fix(ext/http): error on invalid headers (#14642)Aaron O'Mullan
Minor regression/change-in-behaviour from #14552 that filtered out invalid http headers in rust vs error-ing back to JS
2022-05-17fix(ext/http): skip auto-compression if content-encoding present (#14641)Aaron O'Mullan
Regression from #14552
2022-05-16fix(ext/web): throw if listener and signal are null (#14601)Colin Ihrig
This commit fixes a failing WPT test by making EventTarget's addEventListener() method throw if both the listener and the signal option are null. Fixes: https://github.com/denoland/deno/issues/14593
2022-05-16feat(lsp): enable linting by default (#14583)Bartek Iwańczuk
2022-05-16feat(ext/net): add `CAA` DNS record support in Deno.resolveDns() API (#14624)Craig Morten
2022-05-15fix(lsp): correct positions in some scenarios (#14359)David Sherret
2022-05-15perf(core): optimize encode on large strings (#14619)Aaron O'Mullan
Follow up to serde_v8's #14450
2022-05-15feat(ext/net): support NAPTR records in Deno.resolveDns() API (#14613)Craig Morten
2022-05-15chore: remove some unstable props (#14618)Bartek Iwańczuk
2022-05-15perf(serde_v8): fast path for large strings (#14450)Aaron O'Mullan
2022-05-15feat(ext/net): support full `SOA` record interface (#14617)Craig Morten
2022-05-15Revert "core: don't include_str extension js code (#10786)" (#14614)Aaron O'Mullan
This reverts commit 10e50a120744de71d6915af4ae93f8231607573d Alternative to #13217, IMO the tradeoffs made by #10786 aren't worth it. It breaks abstractions (crates being self-contained, deno_core without snapshotting etc...) and causes pain points / gotchas for both embedders & devs for a relatively minimal gain in incremental build time ... Closes #11030
2022-05-15Revert "refactor(runtime): change from signal_str_to_int function to enum ↵Leo Kettmeir
(#14539)" (#14606) This reverts commit c496639d5dc190b107222bc30462d67ddb86c223.
2022-05-14refactor(runtime): change from signal_str_to_int function to enum (#14539)Leo Kettmeir
2022-05-14feat(ext/net): add support for SOA records in Deno.resolveDns() API (#14534)Thanapat Chotipun
2022-05-14feat: add userAgent property to Navigator's prototype (#14415)randomicon00
2022-05-14chore: upgrade rusty_v8 to 0.42.1 (#14597)Divy Srivastava
2022-05-13feat(ext/web): add performance.toJSON (#14548)Geert-Jan Zwiers
2022-05-13feat: add --no-config flag (#14555)Bartek Iwańczuk
This flag disables loading of configuration file, ie. it will not be automatically discovered and loaded. Of course this flag conflicts with "--config" flag and they cannot be used together.
2022-05-13chore: update test_util/std/ submodule (#14595)Bartek Iwańczuk
2022-05-13feat(ext/web): implement static `Response.json` (#14566)Luca Casonato
This commit adds support for the static `Response.json` method.
2022-05-13fix(ext/http): make serveHttp compress for Accept-Encoding: deflate, gzip ↵Andy Kurnia
(#14525)
2022-05-13chore: update wpt (#14592)Luca Casonato
2022-05-13feat(serde_v8): bytes::Bytes support (#14412)Aaron O'Mullan
2022-05-13chore(runtime): Make some ops in ext and runtime infallible. (#14589)Andreu Botella
Co-authored-by: Aaron O'Mullan <aaron.omullan@gmail.com>
2022-05-13chore: update to rust 1.60.0 & update Cargo.lock (#14260)Luca Casonato
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> Co-authored-by: Aaron O'Mullan <aaron.omullan@gmail.com>
2022-05-12cleanup(ops): shorter codegen'd infallible sync ops return (#14587)Aapo Alasuutari
Co-authored-by: Aaron O'Mullan <aaron.omullan@gmail.com>
2022-05-12cleanup(ops): simpler is_unit_result() (#14586)Aaron O'Mullan
Rough token-string matching is robust enough and much easier to grok