Commit Graph

161 Commits

Author SHA1 Message Date
asomethings
ac918bd3e8 fix(http): handle status code 204 to use js null fix #2580 (#2636)
* fix(http): handle status code 204 to use javascript null

* add change file

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>

Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/14535438677

Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2025-04-18 12:54:29 +00:00
renovate[bot]
d14817f4dd chore(deps): update tauri monorepo to v2.5.0 (v2) (#2634)
* chore(deps): update tauri monorepo to v2.5.0

* Update rust dependency and re-build iifes

* Downgrade for msrv

don't know why MSRV-aware resolver didn't work

* Downgrade cargo_metadata

* Downgrade home

* Downgrade native-tls

* trigger ci?

* Downgrade colored and base64ct

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Tony <legendmastertony@gmail.com>

Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/14483373100

Co-authored-by: Legend-Master <Legend-Master@users.noreply.github.com>
2025-04-16 02:28:26 +00:00
github-actions[bot]
b5191da80a publish new versions (#2545)
Co-authored-by: lucasfernog <20051258+lucasfernog@users.noreply.github.com>

Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/14210925155

Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2025-04-02 03:32:49 +00:00
renovate[bot]
565d4771e5 chore(deps): update tauri monorepo to v2.4.1 (v2) (#2589)
* chore(deps): update tauri monorepo to v2.4.1

* Update tauri and regenerate command ref and schema

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Tony <legendmastertony@gmail.com>

Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/14209612202

Co-authored-by: Legend-Master <Legend-Master@users.noreply.github.com>
2025-04-02 01:38:19 +00:00
Tony
534099b577 feat(auto-start): introduce a builder (#2569)
* feat(auto-start): introduce a builder

* Update examples

* Fix missing end --- in change file

* Fix missing self.

* Update .changes/autostart-builder.md

Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>

---------

Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>

Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/14062900148

Co-authored-by: Legend-Master <Legend-Master@users.noreply.github.com>
2025-03-25 14:58:58 +00:00
Teddy Byron
c8e2490be4 feat(http): add zstd support (#2561)
Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/14003790964

Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
2025-03-22 01:27:52 +00:00
renovate[bot]
918e02820d chore(deps): update tauri monorepo to v2.4.0 (v2) (#2555)
* chore(deps): update tauri monorepo to v2.4.0

* Bump tauri rust crates in lock file

* Re-generate window-state api-iife.js

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Tony <legendmastertony@gmail.com>

Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/13983875695

Co-authored-by: Legend-Master <Legend-Master@users.noreply.github.com>
2025-03-21 03:17:28 +00:00
Amr Bashir
2bd36b46a1 feat(http): persist cookies on disk (#1978)
* enhance(http): persist cookies on disk

closes tauri-apps/tauri#11518

* clippy

* inline reqwest_cookie_store to fix clippy

* clippy

* Update .changes/persist-cookies.md

* Update plugins/http/src/reqwest_cookie_store.rs

* update example

* fallback to empty store if failed to load

* fix example

* persist cookies immediately

* clone

* lint

* .cookies filename

* prevent race condition

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>

Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/13897122532

Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2025-03-17 10:27:46 +00:00
github-actions[bot]
64d464e36a publish new versions (#2542)
Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/13889219602

Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2025-03-17 00:54:31 +00:00
Amr Bashir
62a0889f23 fix(http): avoid closing stream multiple times (#2535)
* fix(http): avoid closing stream multiple times

closes #2533

* use different signal than empty vec

Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/13886783848

Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2025-03-16 19:46:40 +00:00
github-actions[bot]
dd826048a0 publish new versions (#2534)
Co-authored-by: amrbashir <48618675+amrbashir@users.noreply.github.com>

Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/13867356130

Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
2025-03-15 00:09:23 +00:00
Adriel Jansen Siahaya
5bb0ef3112 fix(http): return response early in JS before waiting for chunks on the rust side (#2522)
Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/13867339185

Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
2025-03-15 00:07:36 +00:00
github-actions[bot]
2d7873f257 publish new versions (#2477)
Co-authored-by: FabianLars <30730186+FabianLars@users.noreply.github.com>

Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/13765647848

Co-authored-by: FabianLars <FabianLars@users.noreply.github.com>
2025-03-10 13:18:59 +00:00
Adriel Jansen Siahaya
b1da0e8123 HTTP add stream support (#2479)
* feat: add stream support

* feat: add stream support

* Revert "feat: add stream support"

This reverts commit 5edea816802fa8637982db96505832abbc7c450f.

* feat: add stream support

* Discard changes to pnpm-lock.yaml

* Discard changes to plugins/http/package.json

* fix(stream): change IPC packet

* fix: update stream message guest-js

* fix: return early when aborted

* fix: use InvokeResponseBody as packet

* fix: remove serde_bytes

* fix: remove reqwest response

* fix: content conversion bug

* fix: remove ReqwestResponses along with its implementations

* formatting and update changelog

* build api-iife.js

---------

Co-authored-by: Fabian-Lars <github@fabianlars.de>

Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/13740470067

Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2025-03-08 18:46:02 +00:00
renovate[bot]
05457d37de chore(deps): update tauri monorepo to v2.3.0 (v2) (#2465)
* chore(deps): update tauri monorepo to v2.3.0

* Regenerate window-state api-iife

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Tony <legendmastertony@gmail.com>

Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/13556778104

Co-authored-by: Legend-Master <Legend-Master@users.noreply.github.com>
2025-02-27 01:20:12 +00:00
github-actions[bot]
ece3574d55 Publish New Versions (v2) (#2348)
Co-authored-by: FabianLars <FabianLars@users.noreply.github.com>

Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/12995872091

Co-authored-by: FabianLars <FabianLars@users.noreply.github.com>
2025-01-27 18:35:41 +00:00
DiamondDrake
027a2272cf feat(http): add dangerous settings / disable ssl verification - issue #518 (#2204)
Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/12898482373

Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
2025-01-22 00:42:22 +00:00
renovate[bot]
661b2ce05d chore(deps): update tauri monorepo to v2.2.0 (v2) (#2252)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/12589748794

Co-authored-by: FabianLars <FabianLars@users.noreply.github.com>
2025-01-02 22:38:45 +00:00
github-actions[bot]
a3cf0c7016 Publish New Versions (v2) (#2174)
Co-authored-by: FabianLars <FabianLars@users.noreply.github.com>
Co-authored-by: FabianLars <fabianlars@fabianlars.de>
Co-authored-by: Fabian-Lars <github@fabianlars.de>

Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/12239153716

Co-authored-by: FabianLars <FabianLars@users.noreply.github.com>
2024-12-09 15:46:46 +00:00
github-actions[bot]
b4fbd90e65 publish new versions (#2172)
Co-authored-by: FabianLars <FabianLars@users.noreply.github.com>

Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/12236137212

Co-authored-by: FabianLars <FabianLars@users.noreply.github.com>
2024-12-09 12:59:55 +00:00
Muhammed Rahif
4282db5d4b docs(all): incorrect path for registering plugin in rust (#2123)
Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/12127198045

Co-authored-by: FabianLars <FabianLars@users.noreply.github.com>
2024-12-02 20:14:30 +00:00
github-actions[bot]
4df6fe7ef4 publish new versions (#2011)
Co-authored-by: FabianLars <FabianLars@users.noreply.github.com>

Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/12119629355

Co-authored-by: FabianLars <FabianLars@users.noreply.github.com>
2024-12-02 12:46:54 +00:00
Amr Bashir
0641887f33 feat(http): add request and response tracing behind feature flag (#2079)
Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/11956038248

Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
2024-11-21 15:09:42 +00:00
Fabian-Lars
dd1f2edcbe docs: Remove header image from inline docs (#2045)
Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/11820048464

Co-authored-by: FabianLars <FabianLars@users.noreply.github.com>
2024-11-13 15:15:50 +00:00
renovate[bot]
c7142436b6 fix(deps): update tauri monorepo (v2) (#2026)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Fabian-Lars <github@fabianlars.de>

Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/11782428893

Co-authored-by: FabianLars <FabianLars@users.noreply.github.com>
2024-11-11 16:45:34 +00:00
renovate[bot]
1b0e11ee47 fix(deps): update tauri monorepo (v2) (#1994)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/11663334944

Co-authored-by: FabianLars <FabianLars@users.noreply.github.com>
2024-11-04 11:30:53 +00:00
Amr Bashir
cf25136a7e chore: print a warning in development for forbidden headers (#1981)
* chore: print a warning in development for forbidden headers

closes #1979

* Update plugins/http/src/commands.rs

Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/11593155235

Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
2024-10-30 12:27:57 +00:00
github-actions[bot]
b097084085 Publish New Versions (v2) (#1961)
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>

Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/11439852812

Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
2024-10-21 12:15:32 +00:00
github-actions[bot]
4272b3e85e publish new versions (#1909)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>

Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/11426079411

Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-10-20 11:55:23 +00:00
Niko Korvenlaita
241e0fa1d2 feat: allow http calls without origin header (#1941)
Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/11366118662

Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
2024-10-16 12:57:52 +00:00
Amr Bashir
fd0290a458 fix(http): retain headers order (#1884)
* fix(http): retain headers order

closes #1882

* simplify if

* actually set headers

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>

Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/11253702396

Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-10-09 11:08:45 +00:00
renovate[bot]
dffa90e723 fix(deps): update tauri monorepo to v2.0.2 (#1874)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/11230654424

Co-authored-by: Legend-Master <Legend-Master@users.noreply.github.com>
2024-10-08 07:30:28 +00:00
github-actions[bot]
6345ea57f4 publish new versions (#1878)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>

Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/11163416674

Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-10-03 13:59:33 +00:00
Lucas Fernandes Nogueira
b5b5416c4b chore: change MSRV to 1.77.2 to support Windows 7 (#1873)
* chore: change MSRV to 1.77.2 to support Windows 7

* fmt

Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/11162986181

Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-10-03 13:58:06 +00:00
Tillmann
fc29b5085d sync readme with metadata (#1872)
Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/11160226686

Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-10-03 10:24:46 +00:00
renovate[bot]
a290bd8d89 fix(deps): update dependency @tauri-apps/api to v2.0.1 (#1862)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/11155053089

Co-authored-by: Legend-Master <Legend-Master@users.noreply.github.com>
2024-10-03 02:55:27 +00:00
Lucas Fernandes Nogueira
53f80481f8 feat: update to tauri v2 stable, promote all packages to 2.0.0 (#1863)
* update to tauri v2

* covector setup

* update locks

* bump packages to v2 through covector, remove rc references

* msrv 1.78

* downgrade 1.79 msrv dep

* test clipboard

* fmt

* bitstream-io 2.3.0

* Revert "test clipboard"

This reverts commit c3e19dbe59af7b471cdcc5b0c58f855c0ba18546.

Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/11146469217

Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-10-02 15:09:49 +00:00
pajlada
ee4831fc75 fix: make package.json licenses SPDX compliant (#1861)
* fix: make plugin template package.json license SPDX compliant

* fix: make plugin package.json license SPDX compliant

* fix: make root package.json license SPDX compliant

Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/11142965697

Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-10-02 11:56:02 +00:00
github-actions[bot]
d336455505 publish new versions (#1807)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>

Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/11141795190

Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-10-02 10:04:53 +00:00
Amr Bashir
02fb20596e fix(shell): fix schema requiring sidecar property even though it is optional (#1839)
* fix(shell): fix schema requiring `sidecar` property even though it is optional

* fix clippy

* make `cmd` and `sidecar` exclusive

* make args optional

* cleanup

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>

Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/11126148459

Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-10-01 13:17:26 +00:00
Tony
f491a6680f chore: re-generate reference.md (#1847)
Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/11085865195

Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
2024-09-28 17:52:10 +00:00
renovate[bot]
e3c922eed1 fix(deps): update tauri monorepo (#1846)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/11081883515

Co-authored-by: Legend-Master <Legend-Master@users.noreply.github.com>
2024-09-28 06:45:35 +00:00
Tillmann
b33a2c91d8 Add Metadata for Plugin Compatibility (#1836)
Co-authored-by: Tillmann <112912081+tillmann-crabnebula@users.noreply.github.com>
Co-authored-by: Tillmann <28728469+tweidinger@users.noreply.github.com>

Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/11052099752

Co-authored-by: FabianLars <FabianLars@users.noreply.github.com>
2024-09-26 12:22:39 +00:00
renovate[bot]
2829ccbe28 fix(deps): update tauri monorepo (v2) (#1801)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/10906152813

Co-authored-by: FabianLars <FabianLars@users.noreply.github.com>
2024-09-17 15:25:20 +00:00
github-actions[bot]
d22a8dbfdc publish new versions (#1772)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>

Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/10871990970

Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-09-15 14:56:37 +00:00
renovate[bot]
34c15b9936 chore(deps): update dependency @tauri-apps/cli to v2.0.0-rc.14 (#1786)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/10871887834

Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-09-15 14:44:07 +00:00
github-actions[bot]
3cd50cbba5 publish new versions (#1764)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>

Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/10836908872

Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-09-12 18:50:34 +00:00
github-actions[bot]
4091853076 Publish New Versions (v2) (#1736)
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>

Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/10719445702

Co-authored-by: FabianLars <FabianLars@users.noreply.github.com>
2024-09-05 11:27:58 +00:00
github-actions[bot]
f1ca57f736 publish new versions (#1711)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>

Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/10709056402

Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-09-04 20:31:52 +00:00
Amr Bashir
4b439d3273 chore: adjust prettier config, .gitignore and use taplo to format toml files (#1728)
* chore: adjust prettier config, .gitignore and use taplo to format toml files

This brings the plugins-workspace repository to the same code style of the main tauri repo

* format toml

* ignore examples gen dir

* add .vscode/extensions.json

* remove packageManager field

* fmt

* fix audit

* taplo ignore permissions autogenerated files

* remove create dummy dist

* fix prettier workflow

* install fmt in prettier workflow

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>

Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/10701104849

Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-09-04 11:55:23 +00:00