Commit Graph

28 Commits

Author SHA1 Message Date
Lucas Fernandes Nogueira a04ea2f382 refactor: only inject API IIFE script when withGlobalTauri is true (#1071)
* refactor: only inject API IIFE script when withGlobalTauri is true

* fmt

* update tauri
2024-03-19 15:03:20 -03:00
Lucas Fernandes Nogueira c873e4d6c7 fix(http): inconsistencies on urlpattern usage on scope (#1059)
* fix(http): inconsistencies on urlpattern usage on scope

* fix tests

* enhance tests
2024-03-11 13:39:35 -03:00
Lorenzo Rizzotti 753c7be0a6 feat(http) add unsafe-headers feature flag (#1050)
* [http] add unsafe-headers feature flag

* change file

* fmt
2024-03-08 07:31:47 +02:00
Amr Bashir 0f67dfc9b4 feat(http): enhance scope config to accept string as well (#1025) 2024-03-07 00:10:45 -03:00
Lucas Fernandes Nogueira cacf544d51 chore(deps): update to tauri beta.9 (#1037) 2024-03-07 00:08:52 -03:00
Lucas Fernandes Nogueira ac520a2841 feat(http): enhance scope URL matching via urlpattern (#1030)
* feat(http): enhance scope URL matching via urlpattern

* update schema
2024-03-06 13:44:51 -03:00
Amr Bashir ae56b13a4d fix(http): allow User-Agent header to be set (#983)
* fix(http): allow `User-Agent` header to be set

closes #966

* lint

* fix build
2024-02-23 18:32:19 +02:00
Lucas Fernandes Nogueira b1b9a02f9e Merge pull request #971 from tauri-apps/chore/tauri-beta-3
chore: update to tauri beta.4
2024-02-21 14:32:22 -03:00
ppbl 3f81555fbf fix(http): response with status code 204 (#960)
* Fix response construction with status code 204

* run pnpm build
2024-02-21 04:20:46 +02:00
Lucas Nogueira 8461cf1d1b chore: update to tauri beta.3 2024-02-19 17:10:49 -03:00
Tillmann d198c01486 feat: update to tauri beta, add permissions (#862)
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
Co-authored-by: Lucas Nogueira <lucas@crabnebula.dev>
2024-02-03 15:14:41 -03:00
Amr Bashir ae0cb92438 refactor(http): migrate to tauri's new resource table (#834)
* refactor(http): migrate to tauri's new resource table

* fmt

* change file
2024-01-02 21:55:57 +02:00
hygkui 1a347203a5 fix: fix http plugin fetch init with connectTimeout. (#858) 2023-12-28 18:07:52 +02:00
阿良仔 bfa87da848 feat(http): expose proxy configuration (#824)
* feat(http): add proxy config

* chore: build iife api

* chore: allow `too_many_arguments`

* improvement

* refactor: restructure code

* improvement

* format
2023-12-20 16:14:12 +02:00
Amr Bashir 1b98b85a1f refactor: simplify rollup config and match @tauri-apps/api output style (#722)
* refactor: simplify rollup config and match `@tauri-apps/api` output style

* add license headers

* update api-iife.js [skip ci]

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-11-14 21:09:53 +02:00
Lucas Fernandes Nogueira e438e0a62d feat: update to alpha.17, typed mobile plugin IPC arguments (#676)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2023-10-29 16:06:44 -03:00
Lucas Fernandes Nogueira 5c137365c6 chore: update to tauri alpha.16, api alpha.9 (#673)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2023-10-20 13:50:18 -03:00
i-c-b 2cb0fa719b fix(http): remove cmd property from http|fetch invoke, closes #587 (#588)
* Remove `cmd` property from `http|fetch` invoke

* Build generated JS file

* Create http-remove-cmd-property.md

* Fix incompatible declaration for reading body

Co-authored-by: Louis Bailleau <Bricklou@users.noreply.github.com>

* Build generated JS file

Co-authored-by: Louis Bailleau <Bricklou@users.noreply.github.com>

---------

Co-authored-by: Louis Bailleau <Bricklou@users.noreply.github.com>
2023-09-04 15:45:41 +03:00
Lucas Fernandes Nogueira aec17a90fc feat(http): improve performance (#558) 2023-08-14 15:53:55 -07:00
Amr Bashir 7d9df7297a feat(http): refactor and improvements (#428)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-08-07 08:33:00 -03:00
Simon Hyll 5fd597ddaf docs: added banners and icons (#443)
* added banners and icons

* fix: formatting
2023-06-20 14:55:14 +03:00
Lucas Fernandes Nogueira b131bc8f7c feat(plugins): inject API on window.__TAURI__ (#383) 2023-05-23 14:20:14 -03:00
Lucas Fernandes Nogueira 5914fb9f36 chore: add license headers (#384)
* feat: check for license headers

* add headers

* format
2023-05-21 16:56:10 -03:00
Lucas Fernandes Nogueira f4069f5588 docs: update README.md and remove allowlist information (#381) 2023-05-20 20:28:27 -03:00
Lucas Fernandes Nogueira caf8456864 fix: adjust feature flags, wrong zip usage (#367) 2023-05-17 18:47:12 -03:00
Lucas Fernandes Nogueira 702b7b36bd refactor: move deleted tauri APIs, prepare for next release (#355) 2023-05-13 12:32:30 -03:00
Lucas Fernandes Nogueira 937e6a5be6 feat: use tauri next branch, fix tests, MSRV 1.65 (#354) 2023-05-12 17:16:50 -03:00
Lucas Fernandes Nogueira 89fb40caac feat(http): add plugin (#325) 2023-04-23 15:34:31 -03:00