Commit Graph

35 Commits

Author SHA1 Message Date
Amr Bashir
2eab150563 feat(api/http): properly handle Files in Body.form, closes #7390 (#7394)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
closes #7390
2023-07-13 08:58:21 -03:00
Mokhtar Hamdoune
81b9c505cc return the commment of maximum number of redirects to its right place… (#6607) 2023-04-03 08:39:15 -03:00
Amr Bashir
058469114d docs: update formdata usage (#6374)
* docs: update formdata usage

* update generated files

* update generated files

* run workflow on push for dev only

* remove `js-api.json` from generated files check

* restore js-api.json before checking diff
2023-03-17 13:13:02 -03:00
Lucas Fernandes Nogueira
46e6187c89 chore: update license year (#6311) 2023-02-19 10:17:49 -03:00
renovate[bot]
0d6bc3b583 chore(deps) Update dependency eslint-config-standard-with-typescript to v32 (#6141)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-01-26 09:16:57 -03:00
renovate[bot]
b9559b35d1 chore(deps) Update dependency eslint-config-standard-with-typescript to v30 (#6091)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-01-19 00:25:18 -03:00
Lucas Fernandes Nogueira
aa119f2836 feat(api): add FormData support on Body.form, closes #5545 (#5546) 2022-11-04 15:18:28 -03:00
Amr Bashir
5e74aefd4a chore(api.js): add @since tag where appropriate (#5169) 2022-09-12 16:45:57 -03:00
Fabian-Lars
0837454b00 fix(api): Remove unused @ts-expect-error (#5131) 2022-09-03 11:56:15 -03:00
Lucas Fernandes Nogueira
2901145c49 chore: update license headers (#5067) 2022-08-28 15:13:21 -03:00
Lucas Fernandes Nogueira
d576e8ae72 feat(core): do not follow redirects if max_redirects is 0 closes #4795 (#4812) 2022-07-31 20:00:48 -03:00
Lorenzo Lewis
47666c4a0b Fix/docs qol improvements (#4641) 2022-07-11 10:14:31 -03:00
Lucas Fernandes Nogueira
92aca55a6f feat(api): add support to ArrayBuffer (#4579) 2022-07-05 17:40:36 -03:00
github-actions[bot]
13c2fc1ffe Apply Version Updates From Current Changes (#4352)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-06-15 23:08:50 -03:00
Lucas Fernandes Nogueira
a136d0ed5c docs(api): add example to all functions, closes #4322 (#4325) 2022-06-12 21:44:33 -03:00
Fabian-Lars
55f89d5f9d fix(api): Rename FormPart value to file to match docs and endpoint (#4307) 2022-06-09 11:22:17 -03:00
Lucas Fernandes Nogueira
3f998ca294 feat(api): add writeTextFile and (path, contents, options) overload (#4228) 2022-05-29 10:10:41 -03:00
Lucas Nogueira
ec79e075a9 fix(core): http timeout field is optional, closes #4036 2022-05-03 12:17:23 -03:00
Lucas Fernandes Nogueira
f3c5ca89e7 fix(core): http api connect_timeout deserialization, closes #4004 (#4006) 2022-04-29 21:26:45 -03:00
Lucas Fernandes Nogueira
1397d9121a feat(core): add support to multipart/form-data requests, closes #2118 (#3929) 2022-04-22 20:04:58 -03:00
Lucas Nogueira
5a0c382f3a docs(api): document HTTP scope 2022-02-11 15:19:01 -03:00
Jonas Kruckenberg
9b19a805aa fix(api.js) Replace number[]with Uint8Array. fixes #3306 (#3305)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-04 22:18:23 -03:00
Lucas Nogueira
efa1970db5 fix(api): type definition for http > Part, closes #3268 2022-01-23 16:51:35 -03:00
Lucas Fernandes Nogueira
b7a2345b06 feat(core): add raw headers to HTTP API, closes #2695 (#3053) 2022-01-07 13:53:04 -03:00
Amr Bashir
50c63900c7 fix(api.js): fix http.fetch throwing error if response body is empty, closes #2831 (#3008)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-12-08 23:39:42 -03:00
Lucas Nogueira
508e815247 chore(api): fix documentation tags 2021-12-06 16:49:09 -03:00
Amr Bashir
785865863e chore(api.js): better platform-specific notes (#2253) 2021-07-21 12:23:16 +08:00
Roojay
394b6e0572 fix(api): http ResponseType export type error (#2065)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-06-24 09:38:29 -03:00
Lucas Fernandes Nogueira
47f7558417 fix(core): resolve HTTP API on non-ok status code, fix binary response, closes #2046 (#2053) 2021-06-23 14:22:28 -03:00
Lucas Fernandes Nogueira
2881ccc329 docs(api): document allowlist for each module (#1853) 2021-05-17 22:33:09 -03:00
Lucas Fernandes Nogueira
de147cd3a9 docs(api): document window.__TAURI__ option on each module [skip ci] (#1852) 2021-05-17 17:56:14 -03:00
Lucas Fernandes Nogueira
612cd8ecb8 feat(api): finalize export type usage (#1847) 2021-05-17 12:54:56 -03:00
Lucas Fernandes Nogueira
f7892cf4ff feat(api): documentation (#1694)
* feat(api): documentation

* more docs [skip ci]
2021-05-05 14:36:40 -03:00
Amr Bashir
186deb43d5 refactor: more consistent js-api docs (#1463) 2021-04-12 22:44:50 -03:00
Lucas Fernandes Nogueira
aea614587b refactor(repo): add /tooling folder (#1457) 2021-04-12 01:59:25 -03:00