summaryrefslogtreecommitdiff
path: root/op_crates/fetch
AgeCommit message (Collapse)Author
2021-04-08chore: update deps (#10058)Luca Casonato
This commit updates crate dependencies.
2021-04-06refactor: add deno_file op crate (#10019)Luca Casonato
Also enables WPT for FileReader.
2021-04-05refactor: convert ops to use serde_v8 (#10009)Aaron O'Mullan
This commit rewrites most of the ops to use "serde_v8" instead of "json" serialization.
2021-04-02refactor(ops): remove variadic buffers (#9944)Aaron O'Mullan
2021-04-02chore: bump dependent crates for cli (#9964)Kitson Kelly
2021-03-21chore: release crates (#9847)Bartek Iwańczuk
2021-03-20upgrade: tokio 1.4.0 (#9842)Ryan Dahl
2021-03-19chores: enforce type ResourceId across codebase (#9837)Divy Srivastava
2021-03-18normalize rids (#9832)crowlKats
2021-03-18fix: fallback to default UA and CA data for Deno.createHttpClient() (#9830)Aaron O'Mullan
2021-03-17refactor: use serde ops more (#9817)crowlKats
2021-03-14chore: upgrade to tokio 1.3.0 (#9778)Yusuke Tanaka
2021-03-12chore: bump crates (#9769)Luca Casonato
2021-03-12refactor: move Console to op_crates/console (#9770)Luca Casonato
2021-03-12chore: split web op crate (#9635)Luca Casonato
This commit starts splitting out the deno_web op crate into multiple smaller crates. This commit splits out WebIDL and URL API, but in the future I want to split out each spec into its own crate. That means we will have (in rough order of loading): `webidl`, `dom`, `streams`, `console`, `encoding`, `url`, `file`, `fetch`, `websocket`, and `webgpu` crates.
2021-03-09chore: release crates (#9731)Bartek Iwańczuk
2021-03-02Bump crates again (#9653)Ryan Dahl
2021-03-02Bump crate versions (#9651)Ryan Dahl
2021-02-12chore: release crates (#9481)Bartek Iwańczuk
2021-02-09fix(op_crates): Don't use `Deno.inspect` in op crates (#9332)Nayeem Rahman
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2021-02-09chore: update dependencies (#9455)Luca Casonato
2021-02-05chore: release crates (#9410)Bartek Iwańczuk
2021-02-04chore: use strict mode for internal runtime, core, and op_crates js (#9391)Developing
2021-02-05feat(lsp): add TS quick fix code actions (#9396)Kitson Kelly
2021-02-04fetch optimizations (#9402)Ryan Dahl
Release deno_fetch 0.20.2
2021-02-04refactor: rewrite File implementation (#9334)Luca Casonato
2021-02-03fix: improve http client builder error message (#9380)Ben Noordhuis
Include the lower-level error message in the generic error message. No test because I can't actually make it fail by passing it bad PEM. I checked and `reqwest::Certificate::from_pem()` always returns `Ok()`. Fixes #9364.
2021-01-30refactor: rewrite Blob implementation (#9309)Luca Casonato
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
2021-01-29chore: upgrade tokio to 1.1.1 (#9327)Yusuke Tanaka
2021-01-29v1.7.1Ryan Dahl
2021-01-28chore: add jsdoc to 26_fetch.js and enable some fetch tests (#9305)Luca Casonato
2021-01-26chore: update crates (#9251)Luca Casonato
Updates SWC, dprint, deno_lint, deno_doc, serde, and Tokio (to 1.1.0). Co-authored-by: Kitson Kelly <me@kitsonkelly.com> Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-01-26fix(op_crates/fetch): fix ReadableStream.pipeThrough() (#9265)Kitson Kelly
Fixes #9252
2021-01-19v1.7.0Ryan Dahl
2021-01-18fix: redirect in --location relative fetch (#9150)Luca Casonato
2021-01-18fix(op_crate/fetch): add back ReadableStream.getIterator and deprecate (#9146)Kitson Kelly
2021-01-17chore: Enforce ban-untagged-todo lint rule (#9135)Bartek Iwańczuk
2021-01-15refactor(op_crate/fetch): align streams to spec (#9103)Kitson Kelly
Fixes #8814
2021-01-13release cratesRyan Dahl
2021-01-11upgrade: tokio 1.0 (#8779)Bartek Iwańczuk
Co-authored-by: Bert Belder <bertbelder@gmail.com>
2021-01-11chore: update copyright to 2021 (#9092)Yusuke Tanaka
2021-01-10feat(fetch): req streaming + 0-copy resp streaming (#9036)Luca Casonato
* feat(fetch): req streaming + 0-copy resp streaming * lint * lint * fix test * rm test.js * explicitly use CancelHandle::default() * Apply review suggestions Co-authored-by: Ben Noordhuis <info@bnoordhuis.nl> * fix test * Merge remote-tracking branch 'origin/master' into fetch_real_streaming * fix test * retrigger ci Co-authored-by: Ben Noordhuis <info@bnoordhuis.nl>
2021-01-07feat: add --location=<href> and globalThis.location (#7369)Nayeem Rahman
2020-12-30fix(op_crates/fetch): correct regexp for fetch header (#8927)Rich Trott
Fix bug in regular expression and make the regular expression more strict. In a string passed to new RegExp(), '[\t\s]' is identical to '[ts]' and not `/[\t\s]/`. For that, the backslash needs to be escaped in the string. Futhermore, `\t` is the tab character and is included in the special regexp value `\s` so is unnecessary. That would reduce the RegExp to new RegExp(`^${value}\\s*;?`) but there's no point in matching 0 or more space characters followed by 0 or one semi-colons as that will match no matter what follows `value`. To make it more strict, require one of space, semicolon, or end-of-string after value.
2020-12-30chore: release crates (#8931)Bartek Iwańczuk
2020-12-26fix: fetch bad URL will not panic (#8884)Yosi Pramajaya
2020-12-22chore: release crates (#8854)Bartek Iwańczuk
2020-12-22fix: implement ReadableStream fetch body handling (#8855)Luca Casonato
2020-12-19feat(unstable): support in memory certificate data for Deno.createHttpClient ↵yonatan ben avraham
(#8739)
2020-12-16refactor: rewrite ops to use ResourceTable2 (#8512)Bartek Iwańczuk
This commit migrates all ops to use new resource table and "AsyncRefCell". Old implementation of resource table was completely removed and all code referencing it was updated to use new system.