Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-12-04 | chore: upgrade to Rust 1.57.0 (#12968) | Bartek Iwańczuk | |
2021-12-04 | chore: merge v1.16.4 into main (#12984) | Luca Casonato | |
2021-12-03 | refactor(ext/fetch): pass opstate in `FetchHandler::fetch_file` | Leo Kettmeir | |
2021-12-01 | refactor: deno_tls does not depend on reqwest (#12961) | Ryan Dahl | |
2021-12-01 | refactor: cli doesn't need to depend on deno_tls (#12952) | Ryan Dahl | |
also move create_http_client to deno_fetch | |||
2021-11-29 | refactor: remove deno_fetch::HttpClientDefaults (#12931) | Ryan Dahl | |
More clean up that should have been in cc83ad3 | |||
2021-11-29 | feat(ext/net): enable sending to broadcast address (#12860) | Michael Busby | |
You can now send UDP datagrams to the broadcast address. | |||
2021-11-28 | refactor: add deno_fetch::Options for init (#12904) | Ryan Dahl | |
deno_fetch::init has a lot of parameters and generic on two types that keeps expanding over time. This refactor adds deno_fetch::Options struct for more clearly defining the various parameters. | |||
2021-11-28 | feat(ext/crypto): support importing exporting AES JWK keys (#12444) | Divy Srivastava | |
2021-11-28 | fix(websocket): bad rid on WebSocketStream abort(#12913) | Andreu Botella | |
Fix a bad resource ID error when aborting a WebSocketStream immediately after its creation. | |||
2021-11-26 | feat(ext/net): ALPN support in `Deno.connectTls()` (#12786) | Yury Selivanov | |
2021-11-26 | feat(etc/fetch): Support `WebAssembly.instantiateStreaming` for file fetches ↵ | Andreu Botella | |
(#12901) Fetching of local files, added in #12545, returns a response with no headers, including the `Content-Type` header. This currently makes it not work with the WebAssembly streaming APIs, which require the response to have a content type of `application/wasm`. Since the only way to obtain a `Response` object with a non-empty `url` field is via `fetch()`, this change changes the content type requirement to only apply to responses whose url has the `file:` scheme. | |||
2021-11-25 | fix(ext/crypto): throw on key & op algo mismatch (#12838) | Luca Casonato | |
2021-11-24 | chore: merge v1.16.3 into main (#12892) | Bert Belder | |
2021-11-23 | revert: store header keys lower case internally (#12837) | Luca Casonato | |
This reverts commit 49ec3d10ad90851f4d28274a3f0fe96c642204ac. | |||
2021-11-22 | fix(ext/crypto): don't panic on decryption failure (#12840) | Luca Casonato | |
2021-11-17 | chore(ext/http): deno fmt (#12798) | Bert Belder | |
2021-11-17 | chore: bump crates for 1.16.2 (#12792) | David Sherret | |
2021-11-16 | refactor: re-export anyhow from deno_core (#12777) | Ryan Dahl | |
2021-11-11 | chore: bump crate versions for 1.16.1 (#12729) | Luca Casonato | |
2021-11-11 | fix: add typings for AbortSignal.reason (#12730) | Luca Casonato | |
2021-11-11 | fix(crypto): handling large key length in HKDF (#12692) | upendra1997 | |
2021-11-10 | refactor(ext/http): rewrite hyper integration and fix bug (#12732) | Bert Belder | |
Fixes: #12193 Fixes: #12251 Closes: #12714 | |||
2021-11-09 | feat(core): streams (#12596) | Aaron O'Mullan | |
This allows resources to be "streams" by implementing read/write/shutdown. These streams are implicit since their nature (read/write/duplex) isn't known until called, but we could easily add another method to explicitly tag resources as streams. `op_read/op_write/op_shutdown` are now builtin ops provided by `deno_core` Note: this current implementation is simple & straightforward but it results in an additional alloc per read/write call Closes #12556 | |||
2021-11-09 | chore: bump crate versions for 1.16.0 (#12706) | Luca Casonato | |
2021-11-09 | fix(fetch): set content-length for empty POST/PUT (#12703) | Luca Casonato | |
This commit changes `fetch` to set `content-length: 0` on POST and PUT requests with no body. | |||
2021-11-09 | Revert "refactor(ext/http): rewrite hyper integration and fix bug (#12332)" ↵ | Luca Casonato | |
(#12704) This reverts commit 5b1e537446454f6332de44adbeb6a15ff072c2fa. | |||
2021-11-09 | fix(ext/net): expose all tls ops (#12699) | Luca Casonato | |
This makes it possible for implementers to cherry-pick which ops they want to use. | |||
2021-11-08 | feat(ext/web): add `AbortSignal.reason` (#12697) | Leo Kettmeir | |
2021-11-08 | refactor(ext/http): rewrite hyper integration and fix bug (#12332) | Bert Belder | |
Fixes: #12193 | |||
2021-11-08 | feat(ext/web): WritableStreamDefaultController.signal (#12654) | Leo Kettmeir | |
2021-11-05 | BREAKING chore(ext/web): remove `ReadableStream.getIterator` (#12652) | Leo Kettmeir | |
2021-11-05 | fix: typings for BYOB stream readers (#12651) | Leo Kettmeir | |
2021-11-03 | fix: Deno.emit crashes with BorrowMutError (#12627) | Ryan Dahl | |
Warn on await_holding_refcell_ref clippy rule to avoid this in the future. Fixes #12453 | |||
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-31 | cleanup(ext/fetch): consistent op names (#12612) | Aaron O'Mullan | |
Rename `op_create_http_client` to `op_fetch_custom_client` to follow prefix/namespaced convention | |||
2021-10-30 | feat(ext/console): Display error.cause in console (#12462) | Kenta Moriuchi | |
2021-10-30 | cleanup(ext/net): consistent op names (#12607) | Aaron O'Mullan | |
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(ext/fetch): Replace redundant local variable with inline return ↵ | Malted | |
statement (#12583) | |||
2021-10-29 | fix(encoding): support additional encoding labels (#12586) | Andreu Botella | |
2021-10-28 | fix(webidl): Don't throw when converting a detached buffer source (#12585) | Andreu Botella | |
The Web IDL conversion to `BufferSource` and similar types shouldn't check whether the buffer is detached. In the case of `TextDecoder`, our implementation would still throw after the Web IDL conversions because we're creating a new `Uint8Array` from the buffer source's buffer, which throws if it's detached. This change also fixes this bug. | |||
2021-10-29 | perf(encoding): avoid copying the input data in `TextDecoder` (#12573) | Andreu Botella | |
The implementation of `TextDecoder` had a bug where it was copying the input data in every case. This change removes that copy in non-`SharedArrayBuffer` cases. Since passing a shared buffer source to Rust would fail, this copy of the input data was making `TextDecoder` work in cases where the input is shared. In order to avoid a breaking change, the copy is retained in those cases. | |||
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 | Use libffi-rs instead of deno-libffi (#12555) | Ryan Dahl | |
Fork is no longer necessary since https://github.com/tov/libffi-rs/pull/33 landed. | |||
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 | perf(http): encode string bodies in op-layer (#12451) | Aaron O'Mullan | |
Using serde_v8's StringOrBuffer |