Compare commits

...

482 Commits

Author SHA1 Message Date
github-actions[bot] 0678af3a6c publish new versions (#1314)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-05-29 22:59:23 -03:00
Lucas Fernandes Nogueira 1d8662e71a feat(fs): use IPC streaming for read and write file (#1251)
* feat(fs): use IPC streaming for read and write file

* fix build

* clippy
2024-05-29 22:17:47 -03:00
Alexandre Villeneuve 5661cce795 fix(notification): update function dev to is_dev (#1385)
* fix(notification): update function dev to is_dev

* fix(notification): add changes markdown
2024-05-29 21:37:09 +03:00
renovate[bot] b665c9cbce chore(deps): update typescript-eslint monorepo to v7.11.0 (#1377)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-29 18:36:56 +02:00
Emin Yilmaz bd4544dbd7 fix(clipboard-manager): match Rust method parameters with native methods (#1379) 2024-05-29 18:43:40 +03:00
Fabian-Lars 381aed09a6 ci: Make renovate ignore template folder 2024-05-29 16:53:39 +02:00
renovate[bot] c9ed72d846 fix(deps): update rust crate winrt-notification to 0.3.1 (#1378)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-28 05:40:56 +03:00
Tony 7327602f15 chore(updater): remove /NS (#1371) 2024-05-27 18:31:58 +03:00
renovate[bot] b0518206cd chore(deps): update dependency eslint-plugin-promise to v6.2.0 (#1373)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-27 15:31:23 +02:00
Amr Bashir 69e4c2e56f fix(updater): pass /NS and /UPDATE to nsis installer to disable creating shortcuts on updates (#1162)
* fix(updater): pass `/NS` to nsis installer to disable creating shortcuts on updates

ref: tauri-apps/tauri#9395

* add `/UPDATE`

* move args to function

* update updater test config

* revert /R

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-05-25 10:26:27 -03:00
Lucas Fernandes Nogueira 7581576a24 chore: update Android target SDK to 34 (#1368) 2024-05-25 07:47:19 -03:00
renovate[bot] 430bd6f4f3 chore(deps): update tauri monorepo (#1363)
* fix(deps): update tauri monorepo

* Create tauri-beta-20.md

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
2024-05-23 11:50:58 +02:00
Fabian-Lars ec05513d89 ci: Fix invalid renovate config 2024-05-23 10:56:48 +02:00
Fabian-Lars 5ac7a70694 ci: Prevent renovate from messing up tauri prerelease versions 2024-05-23 10:51:42 +02:00
Amr Bashir aff47992b3 fix(shell): make execute command async (#1362)
closes #1361
2024-05-23 02:16:39 +03:00
Fabian-Lars cfb3d74d9f chore(authenticator): Add missing changefile 2024-05-22 15:00:36 +02:00
Fabian-Lars eeb37c7e10 ci: Enable lockfile maintenance. Disable single-dep lockfile-only updates. 2024-05-22 14:53:10 +02:00
renovate[bot] 584c4849bf chore(deps): update dependency rollup to v4.18.0 (#1359)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-22 14:40:56 +02:00
Amr Bashir cb0a788d17 fix(shell): use serde untagged not flatten (#1328) 2024-05-21 20:10:36 +03:00
Fabian-Lars db45dfaab3 fix(deep-link): prevent duplicate ; in .desktop files on Linux (#1357) 2024-05-21 20:00:41 +03:00
Tony 43224c5d5c feat(updater): add download and install js binding (#1330) 2024-05-21 18:54:06 +03:00
Fabian-Lars f3749e4de8 chore: Re-enable link-workspace-packages for pnpm@v9 2024-05-21 13:22:43 +02:00
Amr Bashir 9d7ae45b0e fix(http): include browser headers if not set by user (#1354)
* fix(http): include browser automatic headers if not set by user

close #1349

* fmt

* Update browser-headers.md

* lint

* generate api
2024-05-21 12:43:26 +02:00
renovate[bot] 200f61c99d chore(deps): update unocss monorepo to v0.60.3 (#1350)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-21 10:24:41 +02:00
renovate[bot] 36121a2268 chore(deps): update typescript-eslint monorepo to v7.10.0 (#1352)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-21 10:19:32 +02:00
renovate[bot] bc834d4e77 chore(deps): update rust crate schemars to v0.8.20 (#1345)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-19 11:19:22 +02:00
renovate[bot] de8295301e fix(deps): update rust crate anyhow to v1.0.86 (#1344)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-18 18:01:35 +02:00
renovate[bot] 0e18aaa02a fix(deps): update rust crate raw-window-handle to v0.6.2 (#1340)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-18 13:40:37 +02:00
renovate[bot] 6b6b6fc2e4 fix(deps): update rust crate anyhow to v1.0.85 (#1339)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-18 12:51:03 +02:00
renovate[bot] b3e04cf95e chore(deps): update rust crate thiserror to v1.0.61 (#1337)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-18 11:28:42 +02:00
renovate[bot] 01a8ba72b8 fix(deps): update rust crate zip to v1.3.0 (#1338)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-18 11:00:18 +02:00
Tony e1d06b93b7 refactor: drop eslint config love (#1341)
* Drop eslint config love

* More eqeqeq

* Even more
2024-05-18 11:00:09 +02:00
renovate[bot] d92a6f4439 chore(deps): update dependency @iconify-json/codicon to v1.1.49 (#1335)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-17 19:45:21 +02:00
renovate[bot] 54ec85bf50 fix(deps): update rust crate open to v5.1.3 (#1334)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-17 04:41:43 +03:00
FabianLars b25ce0d81b fix(authenticator): Lock winapi-util to 0.1.6
0.1.7 upgraded to windows-sys which breaks the authenticator crate.
2024-05-16 17:37:53 +02:00
Tony 806404e96e chore(updater): disable zip crate default features (#1329)
* Only use deflate feature from zip crate

* Add change file

* Disable all zip crate features
2024-05-16 14:43:59 +02:00
Amr Bashir f0fb25a9b7 feat(shell): support opening URLs on mobile (#1319)
* feat(shell): support opening URLs on mobile

closes #595

* Update and rename StorePlugin.swift to ShellPlugin.swift

* unwrap

* fix func name (ios)

* use undeprecated func if avail

---------

Co-authored-by: fabianlars <fabianlars@fabianlars.de>
2024-05-16 02:09:52 +03:00
renovate[bot] 068b9a22f3 chore(deps): update rust crate zip to v1 (#1226)
* fix(deps): update rust crate zip to v1

* Update Cargo.toml

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
2024-05-16 00:32:21 +02:00
renovate[bot] 732244cb6d fix(deps): update rust crate winrt-notification to 0.3 (#1326)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-15 22:25:24 +02:00
renovate[bot] 290616d8e3 chore(deps): update tauri monorepo (#1325)
* chore(deps): update tauri monorepo

* enable ci for ver updates

* fix http

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: FabianLars <fabianlars@fabianlars.de>
2024-05-15 21:10:49 +02:00
renovate[bot] bd07784cce chore(deps): update rust crate schemars to v0.8.19 (#1322)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-15 18:56:51 +02:00
renovate[bot] dc47e99cb2 chore(deps): update rust crate ctor to v0.2.8 (#1321)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-15 18:46:23 +02:00
Fabian-Lars 9fc73e06ea ci: Revert renovate bug workaround 2024-05-15 18:28:54 +02:00
thewh1teagle a940ef6250 feat(sql): preserve column order from query with indexmap (#1305)
* feat: preserve column order from query with indexmap

* chore(sql): remove default features

* change file
2024-05-15 15:15:34 +02:00
Fabian-Lars 224108818d chore: Remove dialog-js from changefile 2024-05-14 17:25:18 +02:00
renovate[bot] 0bbda536c7 chore(deps): update dependency @iconify-json/codicon to v1.1.48 (#1316)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-14 13:23:42 +02:00
renovate[bot] e18ed3dc96 chore(deps): update dependency eslint-plugin-n to v17.7.0 (#1317)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-14 13:02:03 +02:00
renovate[bot] 6b06dd0c8f chore(deps): update dependency svelte to v4.2.17 (#1315)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-14 08:57:18 +02:00
Ale Guzman cd57dcdf04 feat(dialog): set len and modified_at fields in FileResponse on desktop (#1295) 2024-05-14 02:09:24 +03:00
Amr Bashir 58330f9ec1 feat(http): enable cookies and set origin header (#1192) 2024-05-14 01:39:36 +03:00
renovate[bot] 463f5971eb chore(deps): update typescript-eslint monorepo to v7.9.0 (#1312)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-13 20:02:00 +02:00
Amr Bashir c8b78034a4 chore(updater): non https endpoint warning (#1311)
closes #1308
2024-05-13 20:48:05 +03:00
renovate[bot] 989bee8192 chore(deps): update unocss monorepo to ^0.60.0 (#1300)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-13 18:11:43 +02:00
renovate[bot] fe0256c8c9 chore(deps): update dependency eslint-plugin-n to v17.6.0 (#1304)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-13 18:09:01 +02:00
renovate[bot] 7685e30462 chore(deps): update dependency @tauri-apps/cli to v2.0.0-beta.17 (#1303)
* chore(deps): update dependency @tauri-apps/cli to v2.0.0-beta.17

* internal-ip

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: FabianLars <fabianlars@fabianlars.de>
2024-05-13 18:04:40 +02:00
Fabian-Lars 0d4d029011 build: Update pnpm to v9 (#1309)
* build: Update pnpm to v9

* update actions

* remove last actions-rs usage

* clippy

* clippy again

* revert default feature
2024-05-13 17:03:04 +02:00
github-actions[bot] ecda84f8d5 Publish New Versions (v2) (#1279)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-05-11 07:13:52 -03:00
Fabian-Lars 021d23bef3 feat(deep-link): Add deep link support for desktop (#916) 2024-05-10 07:44:06 -03:00
Amr Bashir eb1679b997 fix(core/shell): speedup Command.execute & fix extra new lines (#1299)
* fix(core/shell): speedup `Command.execute` & fix extra new lines

The speed gains comes from running the Command in Rust fully and returning the result in one go instead of using events.

The extra new lines was a regression from https://github.com/tauri-apps/tauri/pull/6519
ref: https://github.com/tauri-apps/tauri/issues/7684#issuecomment-2100897383

* fmt

* dedup code
2024-05-09 18:15:03 +03:00
Amr Bashir 5c1b7917e4 fix(shell/command): retry sending events when it fails (#1298)
ref: https://github.com/tauri-apps/tauri/issues/7684
2024-05-09 10:38:56 -03:00
amrbashir 6af3216fab docs(global-shortcut): typo 2024-05-09 05:01:28 +03:00
Amr Bashir fa54f3cc9a fix(log): propagte some errors and avoid unwrapping (#1297) 2024-05-08 17:10:29 +03:00
renovate[bot] 56dde76889 chore(deps): update dependency eslint-plugin-n to v17.5.1 (#1292)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-07 16:19:57 +02:00
renovate[bot] 89a7754bdf chore(deps): update dependency svelte to v4.2.16 (#1293)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-07 16:17:18 +02:00
amrbashir 52a48dd80a docs(global-shortcut): add missing import 2024-05-07 17:01:54 +03:00
Amr Bashir 1829c2806a docs(global-shotcut): update docs in README and ts files (#1291) 2024-05-07 17:00:53 +03:00
renovate[bot] 723b9f7fa8 chore(deps): update dependency @tauri-apps/cli to v2.0.0-beta.16 (#1288)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-07 08:47:23 +02:00
renovate[bot] 62b0d739bc chore(deps): update dependency eslint-plugin-n to v17.5.0 (#1290)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-07 08:43:10 +02:00
renovate[bot] c776916f14 chore(deps): update dependency @iconify-json/ph to v1.1.13 (#1285)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-06 09:17:26 +02:00
Amr Bashir d9de5b19d1 feat(positioner, window-state): impl WindowExt for WebviewWindow (#1283)
closes #1281
2024-05-03 13:16:40 +02:00
Graham Held b4efa58d5d feat(shell) raw-encoded pipe reader directly outputs buffer (no newline scan) (#1231)
* Shell raw-encoded pipe reader directly outputs buffer (no newline scan)

* Suggestions from code review and add .changes file

* fmt
2024-05-02 16:00:03 +03:00
renovate[bot] aea748ced7 chore(deps): update dependency vite to v5.2.11 (#1278)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-02 13:04:46 +02:00
Fabian-Lars 8fecaba3f0 ci: Disable Cargo.lock patch updates for 0.x deps 2024-05-01 22:20:37 +02:00
Fabian-Lars f255343b54 ci: Disable Cargo.lock updates for patch/minor to make MSRV handling easier later. 2024-05-01 22:17:33 +02:00
Fabian-Lars e045223660 ci: Prevent renovate from changing stable patch/minor versions in cargo.toml 2024-05-01 22:04:42 +02:00
github-actions[bot] e94b089e51 publish new versions (#1247)
Co-authored-by: FabianLars <FabianLars@users.noreply.github.com>
2024-05-01 14:35:49 +02:00
renovate[bot] 6ea07297f4 chore(deps): change rust crate maplit version to 1 (#1270)
* chore(deps): update rust crate maplit to 1.0.2

* Update Cargo.toml

* Update tauri-beta-17.md

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
2024-05-01 14:27:30 +02:00
renovate[bot] bd1ed5903f chore(deps): update tauri monorepo (#1237)
* fix(deps): update tauri monorepo

* rm 1.5 cli

* macos-latest is now arm

* changefile and rebuild iife [skip ci]

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fabianlars <fabianlars@fabianlars.de>
2024-05-01 14:01:24 +02:00
Tony 1fa4d30eab feat(updater): support non zipped updater (#1174) 2024-04-30 17:48:04 +03:00
renovate[bot] f39586bcb4 chore(deps): update dependency rollup to v4.17.2 (#1264)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-30 13:26:02 +02:00
renovate[bot] 5e20d7d339 chore(deps): update dependency eslint-plugin-n to v17.4.0 (#1265)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-30 12:57:26 +02:00
renovate[bot] dbc1d9374d chore(deps): update typescript-eslint monorepo to v7.8.0 (#1263)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-29 21:27:14 +02:00
Tony 44e47fe98b fix(window-state): restore window state for stubbed zerord state (#1259)
* Restore window state for default state

* Add change file
2024-04-29 19:33:33 +03:00
renovate[bot] 04ebd0282e chore(deps): update dependency rollup to v4.17.1 (#1261)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-29 10:19:17 +02:00
renovate[bot] f853774154 chore(deps): update dependency rollup to v4.17.0 (#1260)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-27 15:00:33 +02:00
Amr Bashir e9977eb2f8 chore(fs): distinct description for *meta and *meta-recursive permissions (#1250)
closes #1249
2024-04-25 00:59:29 +02:00
renovate[bot] 555cb07bfe chore(deps): update dependency eslint-plugin-n to v17.3.1 (#1248)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-24 23:42:42 +02:00
Amr Bashir 1f16c64d67 refactor(clipboard): refactor clipboard function arguments for better clarity about the needed type (#1218) 2024-04-24 16:44:48 +02:00
Amr Bashir 9c7eb35967 feat(global-shortcut): support pressed/released states (#1244)
closes #1243
2024-04-24 15:42:01 +02:00
renovate[bot] a9132161df chore(deps): update dependency eslint-plugin-n to v17.3.0 (#1246)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-24 14:07:44 +02:00
Tony edf9a4f29d fix(fs): missing debouncer rename cache (#1245)
* Fix missing debouncer rename cache

* Add change file

* Format
2024-04-24 10:50:12 +02:00
renovate[bot] 21387ac199 chore(deps): update dependency rollup to v4.16.4 (#1241)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-23 17:16:17 +02:00
Fabian-Lars 45f02f1ba8 chore(deps): Update plist to 1.6.1 in lockfile (#1242)
fixes #989
2024-04-23 16:36:45 +02:00
Fabian-Lars f976ab7cd4 ci: Renovate PRs will now include the dependencies label 2024-04-23 15:51:20 +02:00
renovate[bot] cbd930166c chore(deps): update dependency rollup to v4.16.3 (#1239)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-23 09:39:23 +02:00
renovate[bot] a305b05cff chore(deps): update dependency eslint-config-love to v47 (#1238)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-23 09:06:59 +02:00
github-actions[bot] 3e5da59abc Publish New Versions (v2) (#1234)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-04-22 23:58:43 -03:00
Lucas Fernandes Nogueira 326df68839 fix(ios): decoding with default value is not supported (#1236) 2024-04-22 23:35:47 -03:00
renovate[bot] faa89850d0 chore(deps): replace dependency eslint-config-standard-with-typescript with eslint-config-love 43.1.0 (#1228)
* chore(deps): replace dependency eslint-config-standard-with-typescript with eslint-config-love 43.1.0

* actually apply the rules lol

* rebuild

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: FabianLars <fabianlars@fabianlars.de>
2024-04-23 00:40:51 +02:00
renovate[bot] 8aacc312cf chore(deps): update dependency rollup to v4.16.2 (#1233)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-22 20:31:18 +02:00
renovate[bot] 95986f1c4d chore(deps): update typescript-eslint monorepo to v7.7.1 (#1235)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-22 20:22:58 +02:00
Fabian-Lars b115fd22e0 fix(fs): Prevent deadlock when scope listeners are registered. (#1221)
* fix(fs): Prevent deadlock when scope listeners are registered.

* block
2024-04-22 20:09:12 +02:00
renovate[bot] cdd3aafdc6 chore(deps): update dependency rollup to v4.16.1 (#1230)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-21 20:57:38 +02:00
renovate[bot] 961a13860e chore(deps): update dependency rollup to v4.16.0 (#1227)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-21 16:48:59 +02:00
renovate[bot] 01e534a1c9 chore(deps): update dependency vite to v5.2.10 (#1225)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-20 19:07:12 +02:00
renovate[bot] 9f70233ebb chore(deps): update dependency rollup to v4.15.0 (#1224)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-20 19:03:09 +02:00
renovate[bot] 78a4097d09 fix(deps): update rust crate global-hotkey to 0.5.1 (#1211)
* fix(deps): update rust crate global-hotkey to 0.5.1

* fix comp

* Update Cargo.toml

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: FabianLars <fabianlars@fabianlars.de>
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2024-04-18 17:05:15 +02:00
renovate[bot] 35373956ea fix(deps): update rust crate cocoa to 0.25 (#1208)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-18 15:58:01 +02:00
renovate[bot] bf285d471d chore(deps): update unocss monorepo to v0.59.4 (#1220)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-18 15:40:38 +02:00
github-actions[bot] 9f545c65ad publish new versions (#1142)
Co-authored-by: FabianLars <FabianLars@users.noreply.github.com>
2024-04-18 11:23:48 +02:00
renovate[bot] 37dbd4c38d fix(deps): update tauri monorepo (#1202)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-18 11:15:15 +02:00
renovate[bot] 2b53546ce5 chore(deps): update dependency @iconify-json/codicon to v1.1.47 (#1219)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-18 10:34:10 +02:00
Fabian-Lars 293f363c0d fix(updater): Enable rustls-tls feature flag by default (#1175) 2024-04-18 04:38:44 +02:00
Amr Bashir e3d41f4011 fix: use webview's resources table (#1191)
* fix: use webview's resources table

* fix clipboard into_img usage

* fix mobile
2024-04-18 03:19:24 +02:00
renovate[bot] 8638740223 chore(deps): update dependency svelte to v4.2.15 (#1217)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-17 16:17:02 +02:00
Fabian-Lars bb51a41d67 feat: Remove UNC prefix in paths returned to the frontend (#1168)
* feat: Remove UNC prefix in paths returned to the frontend

* that one doesn't count

* map instead of mut

* revert accidental ipc::response change

* move dunce to workspace root
2024-04-17 15:49:32 +02:00
renovate[bot] 6698774f3f fix(deps): update rust crate tiny_http to 0.12 (#1213)
* fix(deps): update rust crate tiny_http to 0.12

* .

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: FabianLars <fabianlars@fabianlars.de>
2024-04-17 14:41:37 +02:00
renovate[bot] c079d8c81b fix(deps): update rust crate winrt-notification to 0.2 (#1215)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-17 12:18:05 +02:00
renovate[bot] 3db3b204b4 fix(deps): update rust crate win7-notifications to 0.4.3 (#1214)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-16 23:43:11 +02:00
renovate[bot] cc29f7dbdb fix(deps): update rust crate glib to 0.19 (#1210)
* fix(deps): update rust crate glib to 0.19

* downgrade to 0.18 again lol

* remove glib dep

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: FabianLars <fabianlars@fabianlars.de>
2024-04-16 23:40:40 +02:00
renovate[bot] 81c31b4114 chore(deps): update unocss monorepo to ^0.59.0 (#1206)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-16 23:04:48 +02:00
renovate[bot] d3b9a60e31 fix(deps): update rust crate android_logger to 0.13 (#1207)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-16 22:52:17 +02:00
renovate[bot] 2cb80325a0 chore(deps): update dependency @sveltejs/vite-plugin-svelte to v3.1.0 (#1203)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-16 21:43:55 +02:00
renovate[bot] 4b3bc1ee13 fix(deps): update dependency @zerodevx/svelte-json-view to v1.0.9 (#1199)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-16 21:27:36 +02:00
FabianLars 5dcfdec03b ci: Update pnpm to v8 2024-04-16 21:02:26 +02:00
FabianLars f79f2b79b3 chore: Change engines.pnpm to require any v8 version 2024-04-16 20:57:47 +02:00
renovate[bot] ce7750451d chore(deps): update rust crate color-backtrace to 0.6 (#1204)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-16 19:22:07 +02:00
renovate[bot] 56406214a0 fix(deps): update rust crate swift-rs to 1.0.6 (#1201)
* fix(deps): update rust crate swift-rs to 1.0.6

* Aktualisieren von Cargo.toml

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
2024-04-16 18:53:27 +02:00
renovate[bot] 4c8ccf6767 fix(deps): update rust crate flate2 to 1.0.28 (#1200)
* fix(deps): update rust crate flate2 to 1.0.28

* Aktualisieren von Cargo.toml

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
2024-04-16 17:17:32 +02:00
renovate[bot] 1d85ae72b4 chore(deps): update dependency svelte to v4.2.14 (#1197)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-16 12:41:29 +02:00
renovate[bot] 4aed0a48a2 chore(deps): update dependency vite to v5.2.9 (#1198)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-16 12:37:36 +02:00
renovate[bot] fa8ccec4f6 chore(deps): update typescript-eslint monorepo to v7.7.0 (#1190)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-16 12:13:44 +02:00
renovate[bot] 278755f1f5 chore(deps): update dependency @iconify-json/codicon to v1.1.46 (#1195)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-16 11:56:08 +02:00
renovate[bot] d229dd6661 chore(deps): update dependency @iconify-json/ph to v1.1.12 (#1196)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-16 11:55:45 +02:00
Fabian-Lars 86723a5372 chore: merge v1 into v2 one last time 2024-04-16 00:45:41 +02:00
FabianLars ed46dca74f Merge remote-tracking branch 'origin/v1' into chore/merge-v1-into-v2 2024-04-16 00:29:36 +02:00
Tony 1f9e7ab4a0 fix(window-state): missing restore_state and filename js binding permission (#1180)
* Fix js binding commands

* Re-run build

* Add change file
2024-04-15 12:04:52 +02:00
Amr Bashir c967307706 fix(deps): update vite to fix audit CI (#1187) 2024-04-15 11:14:42 +02:00
Amr Bashir 27b258cf31 chore(clipboard): expose Clipboard struct (#1185) 2024-04-15 10:53:32 +02:00
Tony 3dca7ff5ea fix(example): for newer tauri version (#1181)
* Fix example for newer tauri version
`onDragDropEvent` -> `onFileDropEvent`

* Revert "Fix example for newer tauri version"

This reverts commit 9eeaf85605.

* Update tauri api and cli version
2024-04-15 10:53:16 +02:00
Tony fe05b872aa fix(example) can't use tray icon to exit (#1183) 2024-04-15 08:58:02 +02:00
Tony df1516da14 fix(example): missing permissions (#1182)
* Fix missing window control permissions

* Move to permissions to base

* More missing permissions

* More
2024-04-15 08:57:25 +02:00
Fabian-Lars 500ff10fbd fix(http): Enable tls support by default (#1166) 2024-04-10 09:35:20 +02:00
Naman Garg 8d7689f6f9 Add WebviewWindow to code docs and template (#1144)
* Add WebviewWindow to code docs

* Shorten the WebView Name

* Apply suggestions from code review

---------

Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2024-04-09 11:56:00 -03:00
Tony 7e2fcc5e74 chore: add missing change files from #1139 (#1146) 2024-04-08 22:08:58 +02:00
Amr Bashir 7fc29c326b chore: add repository field in Cargo.toml (#1143)
closes #1135
2024-04-05 00:15:04 +02:00
Amr Bashir 0e9541fe89 feat(window-state): support using a custom filename (#1138)
* feat(window-state): support using a custom filename

ref: https://github.com/tauri-apps/plugins-workspace/pull/1079

* generate api

* fmt
2024-04-03 21:29:48 +02:00
Amr Bashir f9bcc1c21d chore: add tslib as dev dependency in workspace (#1134)
* chore: add `tslib` as dev dependency in workspace

* Discard changes to Cargo.lock

* lockfile
2024-04-03 18:07:08 +02:00
Tony a32e3200de chore: update dependencies to align with tauri's (#1139) 2024-04-03 04:38:29 +02:00
github-actions[bot] 815a7073bc Publish New Versions (v2) (#1116)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-04-02 18:57:12 -03:00
Lucas Fernandes Nogueira 772f2bc349 chore: bump tauri to 2.0.0-beta.14 (#1136)
* chore: bump tauri

* pin tauri, change file
2024-04-02 18:31:15 -03:00
thewh1teagle c013fa52cd refactor(window-state)!: use json instead of bincode (#1078)
* feat(window-state): add option to use json

* feat(window-state): change state file from bincode to serdejson

* change file

* fmt
2024-03-29 02:41:42 +02:00
Tony 57d01bf82e chore(updater): clean up dependencies (#1084)
* Clean up updater dependencies

* Zip is in the dependencies already
2024-03-28 04:41:34 +02:00
Vitor Ayres 7be37b1909 v2: fix import path in plugin upload readme (#1122) 2024-03-28 03:03:32 +02:00
Wito dabac0eedf feat(single-instance): add MacOs unix domain socket impl (#1035)
* feat(single-instance): add macos implementation

* chore(single-instance): test MacOs by adding CLI to example

* feat(single-instance): simplify macOS implementation

* chore(single-instance): address remarks
2024-03-28 00:34:33 +01:00
venkr a2339195aa fix(autostart): Fix LaunchAgent macOS autostart (#1118)
* Fix LaunchAgent macOS autostart

* Add .changes
2024-03-26 19:01:57 +01:00
Tahmin Ahmed 4cd81126fd fix(dialog): open function return mismatch (#1056)
* Implemented conversion of URI to a file path

* Added relevant .changes file
2024-03-26 17:00:25 +02:00
Alixxx-please fc3667db6a "recusrive" typo fix (#1103)
* Update app.toml

* Update appcache.toml

* Update appconfig.toml

* Update appdata.toml

* Update applocaldata.toml

* Update applog.toml

* Update audio.toml

* Update cache.toml

* Update config.toml

* Update data.toml

* Update desktop.toml

* Update document.toml

* Update download.toml

* Update exe.toml

* Update font.toml

* Update home.toml

* Update localdata.toml

* Update log.toml

* Update picture.toml

* Update public.toml

* Update resource.toml

* Update runtime.toml

* Update temp.toml

* Update template.toml

* Update video.toml

* actually update build script :)

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-03-26 11:37:13 -03:00
Amr Bashir f39d362add feat(fs): enhance scope config to accept string as well (#1053)
* feat(fs): enhance scope config to accept string as well

* clippy

* Update protocol.rs

* regression resolving path variables

* add change file

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-03-26 11:37:03 -03:00
Lucas Nogueira fe4ad4dd5c Revert "add change file"
This reverts commit 9c2fb9306e.
2024-03-26 11:27:38 -03:00
Lucas Nogueira 9c2fb9306e add change file 2024-03-26 11:26:38 -03:00
Fabian-Lars bb836b2440 ci: Rename covector working branch to ci/release-v2 2024-03-21 15:32:10 +01:00
github-actions[bot] 70136b1fe8 Publish New Versions (v2) (#1047)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-03-21 09:01:05 -03:00
Lucas Fernandes Nogueira 62ce5df52c fix(notification): development mode check should use tauri::dev() (#1096) 2024-03-20 18:58:34 -03:00
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
阿良仔 9dec9605ed feat(clipboard): support readImage & writeImage (#845)
* feat(clipboard): support `read_image` & `write_image`

* fix plugin name

* platform specific bahavior

* remove unnecessary BufWriter

* improvement

* update example

* update example

* format

* header, fix change file

* use image from tauri

* fix ci

* update tauri, fix read

* image crate only on desktop [skip ci]

* Update plugins/authenticator/src/u2f_crate/protocol.rs [skip ci]

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

* Update plugins/authenticator/src/u2f_crate/protocol.rs [skip ci]

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

* update deps, address code review

* fix mobile [skip ci]

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2024-03-19 09:35:37 -03:00
Fabian-Lars 7b9fa6607b chore(template): Replace {{name}} with PLUGIN_NAME (#1088)
fixes #1052
2024-03-18 09:40:37 +01:00
i-c-b cb96aa0627 fix(fs): rename dir field to base_dir in WatchOptions, fixes #1081 (#1082)
* fix(fs): rename `dir` field to `base_dir` in `WatchOptions`, fixes #1081

* Create fix-fs-watcher-basedir.md
2024-03-16 11:01:49 +01:00
Tony 1d7dc86ec3 fix(updater): run cleanup before exit on Windows (#1070) 2024-03-13 16:12:21 +02:00
Fabian-Lars 35ea5956d0 fix(dialog): Create dialogs on main thread (#1073)
fixes https://github.com/tauri-apps/tauri/issues/6301
2024-03-13 15:41:23 +02:00
DK Liao 14c858391d docs: Update positioner readme (#1072) 2024-03-13 10:36:59 +01:00
Tony a3b5396113 refactor!(updater): migrate run updater using powershell to ShellExecute (#1054)
* Migrate to ShellExecute

* Add change file

* Revert cargo.toml style

* Remove unused imports

* Migrate to windows-sys

* Use open instead of runas

* Use encode_wide instead of hstring

* small cleanup
2024-03-12 17:47:22 +02:00
Jason Tsai 040004a6b9 chore(shell): change schema property name command to cmd (#1069)
* chore: fix shell plugin `command` property in schema

* chore: add changelog
2024-03-12 15:20:56 +02:00
Han 69d45a06a6 chore(examples): example incorrect command (#1068) 2024-03-12 10:16:39 +01: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
Tony 4e37316af0 fix(updater): fallback to passive mode & fix installerArgs deserialzation (#1051) 2024-03-11 17:29:16 +02: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
Naman Garg bff722451d docs(sql): Fix minor typo (#1048) 2024-03-08 00:07:08 +01:00
Amr Bashir 62dafda652 refactor!(global-shortcut): better APIs DX (#969)
* feat(global-shortcut): add `GlobalShortcutExt::register_with_handler`

ref: https://github.com/tauri-apps/plugins-workspace/issues/965

* clippy

* refactor apis to take closure by default

* change file

* Update .changes/global-shortcut-refactor.md

Co-authored-by: Simon Hyll <hyllsimon@gmail.com>

* Update global-shortcut-refactor.md

* use option instead

* clippy

* update readme

* on_shortcut and with_shortcut

* map handler

* simplify events

* lint

---------

Co-authored-by: Simon Hyll <hyllsimon@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-03-07 13:33:44 -03:00
github-actions[bot] 644eb448bb publish new versions (#1042)
Co-authored-by: FabianLars <FabianLars@users.noreply.github.com>
2024-03-07 12:19:11 +01:00
DK Liao 75d82868b2 docs(positioner): Update positioner readme to new tray api (#1041)
`on_system_tray_event` is now reworked into `on_tray_icon_event`
2024-03-07 12:15:46 +01:00
Fabian-Lars 685c4094c5 ci: Change paths-filter's base to v2 branch (#1043)
Currently it compares it to the default branch (v1) which makes it always run all plugin checks. While i plan to change default branches soon i still need a bit more time for this.
2024-03-07 12:11:42 +01:00
Fabian-Lars c281df8d79 ci: Move cargo target dir to /mnt (#1039)
Currently our publishing workflow fails _twice_ because it runs out of disk space. https://github.com/tauri-apps/plugins-workspace/actions/runs/8182433330/job/22373757645#step:8:8499

A month ago github changed the azure vms for public repos which resulted in a size decrease of the root partition by ~10gb (though i kinda doubt this is the sole reason because it doesn't fail once, but twice).
At the same time the /mnt partition was increased to a whopping 75gb, over 60gb of it unused, since the root partition only has ~20gb free space we'll let rust save its artifact into /mnt hoping that we're actually dealing with space issues and not something else...
2024-03-07 11:56:39 +01:00
Tony 79691e93e0 fix(store): with_store and StoreCollection become private in #1011 (#1040)
* Fix with_store become private in #1011

* Add change file
2024-03-07 11:52:33 +01:00
github-actions[bot] 5006717a7f publish new versions (#986) 2024-03-07 00:24:51 -03: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
Fabian-Lars 16fc0f2ee3 fix(dialog): Remove Linux specific code for rfd 0.14 compatibility (#1033)
fixes #956
2024-03-06 19:38:51 +02:00
Tahmin Ahmed 735810237e fix: fix plugins/fs infinite loop on autoregen (#1029)
* Created safety check for redundant autogenerations

* Accounted for empty file case, added .changes file

* Update plugins/fs/build.rs
2024-03-06 19:30:13 +02: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
Rigidity d9870f1948 docs: improve tauri-plugin-store readme and code example (#996)
* Improve tauri-plugin-store readme and code example

* Remove advanced error handling section and fix inaccuracy

* Switch to expect
2024-03-06 06:08:35 +02:00
Victor Aremu 54cd4a58b8 chore(stronghold): readme typo (#1028) 2024-03-05 11:21:24 +01:00
Victor Aremu 570fb8f335 feat: Improve Stronghold (v2) README with usage examples (#1023)
feat: add client side usage
2024-03-05 02:03:44 +02:00
Ahmed Elkhoudiry 22f5acf240 feat(store): Add android & iOS support (#1011)
* update cli

* init android module

* upgdate gitignore

* add desktop and mobile

* android

* ios

* lib

* remove comment

* cargo fmt

* skip empty file creation

* android comments

* apple path

* Discard changes to plugins/store/ios/README.md

* stop auto directories creation

* Update README.md
2024-03-04 21:02:17 +02:00
Fabian-Lars 8a5e05cd83 fix: Fix comp with latest beta (#1018)
* fix: Fix comp with latest beta

* linux
2024-03-04 19:59:24 +02:00
Amr Bashir 9586eabd5a chore(deps): update to open-rs@5.1 (#1021)
* chore(deps): update to `open-rs@5.1`

ref: #1003

* changefile
2024-03-04 18:28:53 +02:00
Tony 2397ec5937 fix: single instance doesn't shutdown immediately (#1019)
* Fix single instance doesn't shutdown immediately

* Add change file
2024-03-04 14:52:40 +01:00
Fabian-Lars 99bea2559c chore: Update tauri to beta.8 (#1005)
* chore: Update tauri to beta.8

fixes #1000

* Update and rename tauri-beta.7.md to tauri-beta-8.md
2024-02-29 19:34:43 +02:00
AHQ 9d4b25cf85 Bump tauri to v2 beta.7 (#1001)
* Bump tauri to v2 beta.7

* change file

---------

Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2024-02-28 19:03:51 +02:00
Tillmann f59436dad0 Added Security Policy to All Plugins (#930)
* Added contact and security policy to remaining plugins and the repository

* Added default security policy to shared template
2024-02-27 11:43:31 -03:00
TukanDev dc6d3321e5 feat(clipboard): Implement HTML and clear functionality (#977)
* Implement arboard HTML features (desktop only) and ability to trigger clipboard clear

Signed-off-by: TukanDev <contact@tukandev.com>

* Update readme of clipboard plugin

Signed-off-by: TukanDev <contact@tukandev.com>

* Update plugins/clipboard-manager/src/desktop.rs

Propagate error for clear as requested

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

* Update plugins/clipboard-manager/guest-js/index.ts

Change to camelCase as requested

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

* Update plugins/clipboard-manager/guest-js/index.ts

use camelCase here too

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

* Update README.md

Revert back as mentioned in HTML PR

* Update index.ts

After discussion  readHtml() is decided to be removed. Will follow and remove corresponding rust side function too.

* Strip all other existence of read_html out as determined in HTML support PR conversation

Signed-off-by: TukanDev <contact@tukandev.com>

* Apply requested changes v2

Signed-off-by: TukanDev <contact@tukandev.com>

* pnpm run build and cargo fmt

Signed-off-by: TukanDev <contact@tukandev.com>

* Update plugins/clipboard-manager/src/mobile.rs

fix ci calling

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

* mobile read_html omg....

Signed-off-by: TukanDev <contact@tukandev.com>

* Update plugins/clipboard-manager/src/mobile.rs

* pnpm format....

Signed-off-by: TukanDev <contact@tukandev.com>

* error on mobile as well

* clear on mobile

* change file

---------

Signed-off-by: TukanDev <contact@tukandev.com>
2024-02-25 19:46:12 +02:00
Amr Bashir aa25c91bb0 feat(dialog): allow setting canCreateDirectories on macOS (#978)
* feat(dialog): allow setting `canCreateDirectories` on macOS

closes #949

* Discard changes to plugins/log/src/api-iife.js

* Discard changes to plugins/store/src/api-iife.js

* Discard changes to plugins/window-state/src/api-iife.js

* Update plugins/dialog/src/commands.rs

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

* Update plugins/dialog/src/commands.rs

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

* Update plugins/dialog/src/lib.rs

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

* Update plugins/dialog/guest-js/index.ts

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

* Update plugins/dialog/guest-js/index.ts

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

---------

Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
2024-02-23 21:05:29 +02: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
github-actions[bot] 267e39e250 Publish New Versions (v2) (#982)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-02-22 22:20:16 -03:00
Lucas Fernandes Nogueira 6d1e6218b5 fix(single-instance): wrong zbus import, closes #980 (#981) 2024-02-22 22:17:59 -03:00
Lucas Fernandes Nogueira 7c6d9fd956 Merge pull request #948 from tauri-apps/release-v2
Publish New Versions (v2)
2024-02-21 14:42:46 -03:00
lucasfernog e0d415e405 publish new versions 2024-02-21 14:40:33 -03:00
Lucas Nogueira 5ca9a80f45 chore: fix covector 2024-02-21 14:38:22 -03: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
Lucas Nogueira ac8251774a remove dbus 2024-02-21 13:59:43 -03:00
Lucas Nogueira 7039c9b995 fmt, clippy 2024-02-21 13:39:40 -03:00
Lucas Nogueira 14f381acf8 bump msrv 2024-02-21 13:34:10 -03:00
Lucas Nogueira e414579b31 fmt, fix check 2024-02-21 13:32:37 -03:00
Lucas Nogueira 569defbe94 updates 2024-02-21 13:29:09 -03:00
Lucas Fernandes Nogueira 31e72f9a41 Merge pull request #968 from tauri-apps/feat/new-method
feat(sql,store): add `Builder::new`
2024-02-21 10:23: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 4709c343bc inline notify-rust [skip ci] 2024-02-20 10:44:52 -03:00
Lucas Nogueira df3fc7c251 Merge branch 'chore/tauri-beta-3' of github.com:tauri-apps/plugins-workspace into chore/tauri-beta-3 2024-02-19 17:38:06 -03:00
Lucas Nogueira a31ef8e67e rfd disable default features [skip ci] 2024-02-19 17:37:21 -03:00
Lucas Nogueira af6ebc8399 fmt 2024-02-19 17:17:22 -03:00
Lucas Nogueira dbc0c0757e dist 2024-02-19 17:16:06 -03:00
Lucas Nogueira 193624b73a lockfile 2024-02-19 17:15:37 -03:00
Lucas Nogueira 9dd1d09797 rebuild 2024-02-19 17:15:24 -03:00
Lucas Nogueira 78abd7bdfb comma 2024-02-19 17:14:11 -03:00
Lucas Nogueira d98fa3e9fa rfd 0.14 2024-02-19 17:13:19 -03:00
Lucas Nogueira c4fda036cc delete files 2024-02-19 17:11:42 -03:00
Lucas Nogueira 8461cf1d1b chore: update to tauri beta.3 2024-02-19 17:10:49 -03:00
Amr Bashir 8645a02aee docs(global-shortcut): add registering example 2024-02-19 17:13:31 +02:00
Amr Bashir 7cefa2b0bd pub 2024-02-19 16:03:32 +02:00
Amr Bashir fe4fb7dc7a Update plugin.rs 2024-02-19 16:03:20 +02:00
amrbashir 72db444401 feat(sql,store): add Builder::new
ref: https://github.com/tauri-apps/tauri/issues/8880
2024-02-19 15:54:56 +02:00
amrbashir 696af68c9b docs(global-shortcut): update examples in README.md closes #965 2024-02-19 15:44:38 +02:00
Tony 51ba4c5330 fix(fs): make rename third parameter optional (#962)
* Fix rename option can't be empty

* change file
2024-02-19 14:48:22 +02:00
Tony 9b49f0abf7 docs(fs): dir -> baseDir (#961) 2024-02-19 14:37:06 +02:00
Fabian-Lars e28115cb42 ci: Use latest stable toolchain to install cross (#959) 2024-02-16 17:41:58 +01:00
Amr Bashir e856adc72c fix(shell): export open module (#939)
closes #934
2024-02-16 16:27:19 +01:00
i-c-b 2f0e30852a feat(core): recursive fs scope on directory file-drop event (#954)
* allow recursive fs scope on directory file-drop events

* Create allow-recursive-fs-scope-on-file-drop-directory.md

* Update .changes/allow-recursive-fs-scope-on-file-drop-directory.md
2024-02-15 16:55:51 +02:00
Amr Bashir 531123cad0 fix(fs/wtacher): fix incorrect type for rename events (#947) 2024-02-14 15:29:27 +02:00
Kunjan Dalal 343b1f55af chore: ReadMe updated with all plugins details (#951)
* ReadMe updated with all plugins details

* Update README.md

---------

Co-authored-by: Kunjan Dalal <kunjee@pop-os.localdomain>
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
2024-02-14 12:04:40 +01:00
amrbashir 53c0e89860 docs(global-shortcut): fix cargo name
closes #946
2024-02-14 01:12:37 +02:00
Tony 2e7ef46d8b refactor!(dialog): change type field in JS to kind (#945)
* Fix dialog type not working

* gen files

* type -> kind

* update API example

---------

Co-authored-by: amrbashir <amr.bashir2015@gmail.com>
2024-02-14 01:05:54 +02:00
Lucas Nogueira dac8b6331c fix(ci): commig schemas 2024-02-03 18:46:36 -03:00
Lucas Fernandes Nogueira 8502b90287 Merge pull request #859 from tauri-apps/release-v2
Publish New Versions (v2)
2024-02-03 18:28:39 -03:00
Lucas Nogueira fe10ab488f beta.1 2024-02-03 18:16:49 -03:00
Lucas Nogueira 7659b9515d merge from v2 2024-02-03 17:05:27 -03:00
Lucas Fernandes Nogueira 5673a416a8 Merge pull request #927 from tauri-apps/v1v2
chore: merge v1 into v2 for the last time
2024-02-03 16:58:35 -03:00
FabianLars ee910bfcce come on, that felt personal 2024-02-03 20:29:33 +01:00
FabianLars 331a3eaf06 unlucky typo lol 2024-02-03 20:28:12 +01:00
FabianLars cb5ff764a6 license 2024-02-03 20:26:49 +01:00
FabianLars 0688416425 lint 2024-02-03 20:23:09 +01:00
FabianLars 14f5961569 chore: merge v1 into v2 for the last time 2024-02-03 20:16:36 +01:00
Lucas Nogueira 63afaf1dfa fmt 2024-02-03 15:46:18 -03:00
Lucas Nogueira abd0176cc1 beta 2024-02-03 15:46:15 -03:00
lucasfernog 18e478aba0 publish new versions 2024-02-03 15:46:07 -03:00
Lucas Nogueira 2643a4c331 fix(ci): revert pre.json changes 2024-02-03 15:24:43 -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 506ce4835b refactor(updater): accomodate to new tauri config restructure (#924)
* refactor(updater): accomodate to new tauri config restructure

RFC#5 https://github.com/tauri-apps/rfcs/blob/f3e82a6b0c5390401e855850d47dc7b7d9afd684/texts/0005-tauri-config-restructure.md

RFC#5 PR implementation: https://github.com/tauri-apps/tauri/pull/8723

* lint and update configs
2024-02-03 09:14:39 -03:00
Lucas Fernandes Nogueira 15dc7060e8 fix(shell): deadlock on read line error (#923) 2024-02-01 00:01:23 -03:00
Shubham Parihar 18cb861b52 type: add OpenDialogReturn generic type (#919)
* type: add OpenDialogReturn generic type

* chore: run pnpm format

* type: export OpenDialogReturn type

* chore: run pnpm format
2024-01-30 02:08:46 +02:00
Lucas Fernandes Nogueira 8dea78ac7d fix(notification): scheduled notifications not working (#909)
* fix(notification): scheduled notifications not working

* do not use toJSON since it doesnt work on isolation pattern

* fmt
2024-01-24 13:02:11 -03:00
Daniel Faust 61edbbec0a feat(fs/watch): migrate to notify-debouncer-full (#885)
* Add support for notify-debouncer-full

* Add fs watch to demo

* Remove notify-debouncer-mini

* Rename RawEvent to WatchEvent

* Add full type definition for EventKind

* Remove `track file ids` option from fs watcher

* Update plugins/fs/guest-js/index.ts
2024-01-18 20:35:49 +02:00
Amr Bashir 0879a87a7e refactor(updater): migrate to tauri's new resource table (#899)
* refactor(updater): migrate to tauri's new resource table

* fmt

* fmt

* Create updater-js-started-event.md
2024-01-18 12:48:44 +01:00
Amr Bashir 8505a756b5 chore: add change file for updater proxy change (#907) 2024-01-17 17:51:20 +02:00
Zhang San 4e2e77580c feat(updater) support proxy (#891)
* add proxy support

Signed-off-by: San Zhang <sanzhang@mail.com>

* 1. change string to url for proxy type
2. add proxy option in js api

Signed-off-by: San Zhang <sanzhang@mail.com>

* fix fmt issue

Signed-off-by: San Zhang <sanzhang@mail.com>

* Update plugins/updater/guest-js/index.ts

---------

Signed-off-by: San Zhang <sanzhang@mail.com>
2024-01-17 16:47:26 +02:00
Anton Piliugin 8a3db790b8 fix(updater): fix readme and types (#903)
* Types fix

* generate files
2024-01-17 01:45:22 +02:00
Olivier Lemasle bf5a21d5b2 fix(dialog): On Android, do not add a Cancel button to message dialogs (#873) 2024-01-11 04:30:32 +02:00
阿良仔 1b1d795b58 fix(notification): export the missing Schedule class (#874)
* fix: export the missing `Schedule` class

* remove `ScheduleData`
2024-01-03 13:34:15 +01: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
阿良仔 ea8eadce85 fix(fs): match default value of create option with js documentation (#865)
* fix(fs): inconsistency in guest-js & rust side

* Update .changes/fix-fs-write-default-option.md
2024-01-02 20:44:09 +02:00
lopo be5aebdec9 docs(log): update readme code example for v2 (#869) 2024-01-01 12:24:41 +01:00
Matthias Lohscheidt b9d29a0154 docs(sql): Add migrations section to README (#867)
Add section about migration management.
2023-12-31 16:42:22 +01:00
hygkui 1a347203a5 fix: fix http plugin fetch init with connectTimeout. (#858) 2023-12-28 18:07:52 +02:00
github-actions[bot] e80626cf81 Publish New Versions (v2) (#854)
Co-authored-by: FabianLars <FabianLars@users.noreply.github.com>
2023-12-28 10:37:04 -03:00
Amr Bashir 2e2fc8de69 fix(fs): use correct arg name for unwatch (#857)
* fix(fs): use correct arg name for unwatch

* fmt
2023-12-28 11:18:44 +01:00
Trevor Fitzgerald 85f8419682 fix(fs): Fix DebouncedEvent type to match what notify-rs returns (#848)
* fix(fs): Fix DebouncedEvent type to match what notify-rs returns

* Update fix-debounced-event-type.md
2023-12-27 15:39:05 +02:00
Amr Bashir c60123093d fix(fs): fix panic due to unwrap & truncate by default (#847)
* fix(fs): fix panic due to unwrap & truncate by default

closes #846

* fmt and change file
2023-12-27 15:27:45 +02:00
github-actions[bot] 38b5d37b54 Publish New Versions (v2) (#843)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-12-20 14:29:57 -03:00
Lucas Fernandes Nogueira 8b1d821a37 fix(deep-link): issue with tauri alpha.20 emit breaking change (#844) 2023-12-20 14:05:24 -03: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
Lucas Nogueira c2115d8d21 chore: fill description field for new crates 2023-12-20 00:10:26 -03:00
github-actions[bot] 8c6d96e645 Publish New Versions (v2) (#832)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-12-19 23:56:51 -03:00
Lucas Nogueira 7bdc32079c fix(ci): set dependencies on covector config 2023-12-19 23:21:37 -03:00
Lucas Fernandes Nogueira 10b80391fc refactor(fs): use scope from tauri core (#825)
* fix(fs): scope checks on Android

On Android, when we call canonicalize() on "/data/user/0/appid" (which is the data dir), the result is a "/data/data/appid" path, so we need to adjust our scope for that.

* use scope from core

* update persisted-scope

* fix build

* dev branch
2023-12-19 23:19:01 -03:00
Tillmann 1eaf640255 Added Security Policy and Threat Model for Log Plugin (#828)
* Initial threat model and security contact

* Corrections and finalize policy
2023-12-19 22:25:42 -03:00
Amr Bashir 69a1fa099c feat(fs): improved API (#751)
* feat(fs): improved API

* fmt

* fix unix builds

* again

* clippy

* clippy

* fix import in docs examples

* fmt, clippy

* Update linux.rs

* add API for watch

* fix with `watcher` feature flag

* use baseDir for all commands

* do not export close function

* fix build

* organize and address review comments

* fmt

* generated files

* rename FsFile to FileHandle, move APIs and docs

* extend example

* extend `Resource`

* actually extend it

---------

Co-authored-by: FabianLars <fabianlars@fabianlars.de>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-12-19 22:08:34 -03:00
Lucas Fernandes Nogueira 2cf8faa3e1 chore(deps): update to tauri alpha.20, @tauri-apps/api alpha.13 (#839)
* chore(deps): update to tauri alpha.20, @tauri-apps/api alpha.13

* fix lockfile
2023-12-20 00:18:05 +02:00
Amr Bashir e5f979f91a fix(core/updater): check if installer args are not empty before passing -ArgumentList (#818) 2023-12-19 17:37:27 -03:00
Lucas Nogueira 8df28a9875 feat(mobile): add biometric plugin (#829)
* chore: update deps, make mobile script paths relative

* feat(biometric): setup plugin folder

* feat: implement iOS

* add api

* android

* fix plugin name

* also check empty info.plist entry

* add example

* fix android

* supress

* lint

* better explanation

* add partners & contributed by

* change ext

* license headers

* update vite

* add covector setup

* tauri/dox removed

* add example

* docs

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-12-19 11:16:13 -03:00
Lucas Nogueira fe79adb5c7 feat(mobile): add NFC plugin (#830)
* feat: scaffold NFC plugin, initial iOS code

* adjust script paths (api example)

* update entitlements & plist

* update class name

* update api

* sketch api, remove desktop

* update response data

* add write fn

* remove commands

* fixes for write mode

* check nfc state before using the APIs

* fix(example): downgrade internal-ip to v7

* feat: typed iOS arguments

* update swift requirement

* android updates

* update tauri

* fix icon

* update example

* fix build

* fix notification example

* fix clipboard

* fix ios notification build

* fix info.plist

* update tauri

* add change file

* fmt

* update to new args class syntax :( [skip ci]

* add lang code handling in RTD_TEXT helper (written payload is broken without it)

* update nfc to latest tauri. use tauri from git

* update lockfile

* android: add initial nfc writer implementation

* check sdk version for pendingintent flag

* quicksaving basic ndef reading that doesn't crash

* add basic ndef reading (android)

* small cleanup

* change pending action type

* validate available state

* gradle 8.0.0

* use session class

* implement keep session alive

* fix notification crash??

* remove dox feature, fix breaking changes

* update dependencies

* fix shell tests [skip ci]

* fmt [skip ci]

* type safe args

* scan kind options

* commit .idea files

* update api

* update example

* fix app check

* alertmessage options for iOS

* default to tag on example

* fix(ios): always close session on write, remove keepsessionalive option

* add kind input to write options

* empty records if message not found

* fill tag metadata for ndef read

* add contributors

* update vite

* covector setup

* tauri/dox removed

* docs and examples

* fmt [skip ci]

---------

Co-authored-by: FabianLars-crabnebula <fabianlars@crabnebula.dev>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-12-19 10:50:31 -03:00
Fabian-Lars 7c59e3785b feat(dialog): Re-export FileResponse (#837)
closes #835
2023-12-19 15:35:53 +02:00
Amr Bashir b1c6a7885e fix(core/dialog): reconstruct path using appropriate separator (#820)
* fix(core/dialog): reconstruct path using appropriate separator

ref: tauri-apps/tauri#8074

* Reference original issue [skip ci]
2023-12-18 21:09:04 -03:00
Lucas Fernandes Nogueira 2d6bfbfacf feat(fs): include full error message (#826) 2023-12-18 15:01:47 -03:00
github-actions[bot] 68cb23f9c0 Publish New Versions (v2) (#723)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-12-14 15:44:44 -03:00
Fabian-Lars 387c2f9e0c chore: Update Tauri to alpha.18 (#802) 2023-12-11 15:41:42 -03:00
Fabian-Lars 78e60e6618 fix(updater): Typo in error enum (#812) 2023-12-11 15:19:05 -03:00
Tillmann a848e1870a chore(barcode): Added security policy (#766) 2023-12-07 13:42:18 +01:00
Mitchell van der Hoeff f4b2674fd5 fix(sql): Encode JSON numbers as f64 to fix JSON_EXTRACT queries (#797)
Signed-off-by: Mitchell van der Hoeff <8631205+mitchelljustin@users.noreply.github.com>
2023-12-06 15:20:35 +01:00
Michael Howell 0e3e3d4eac fix(dialog): Pin rfd to 0.12 to prevent freeze on Linux (#796)
* Do not use rfd 0.12.1

https://github.com/PolyMeilex/rfd/pull/152
conflicts with the way tauri uses it.

> Yeah, this is a decent solution, not much else we can do about this global state bs on C side.
>
> This will obviously blow up as soon as someone has other code that also uses GTK, but let's ignore that for now, as I want to get rid of GTK backend one day anyway (#66).

Yes, Tauri is other code that also uses GTK, and it does, indeed, blow up. The best way around this is to stop using rfd entirely (they're planning to drop the GTK backend, which will probably break since the XDG Portal API doesn't cover message dialogs).

* Update dialog-pin-rfd.md

---------

Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
2023-12-05 19:31:08 +01:00
kris-ava e7c72c9816 fix(updater): fix appimage extraction (#784)
* fix updater on linux

* review changes

* Apply suggestions from code review

* change file

---------

Co-authored-by: Kris Krolak <krzysiek.krolak@gmail.com>
2023-11-30 20:46:02 +02:00
pashokitsme 2e2c0a1b95 fix(dialog): fix message dialog return with custom buttons, fixes #711 (#769)
* fix confirm

* remove unnecessary lines

* fix

* change file
2023-11-27 19:55:26 +02:00
Fabian-Lars f49b391f10 Merge pull request #761 from tauri-apps/ci/features
ci: Test rust crates with all features enabled
2023-11-24 11:12:11 +01:00
Fabian-Lars df73183f2c test http without features 2023-11-23 22:30:25 +01:00
FabianLars bd0b015180 update notify version to match code 2023-11-23 22:05:01 +01:00
Fabian-Lars 7d1f3e7a08 ci: Test rust crates with all features enabled 2023-11-23 21:56:49 +01:00
Fabian-Lars 913b767c4b chore: Merge remote-tracking branch 'origin/v1' into v2 2023-11-23 20:47:28 +01:00
FabianLars 058d5dde0d Merge remote-tracking branch 'origin/v1' into v1-into-v2-again 2023-11-23 19:59:58 +01:00
Kai Hata 5106b9d0c6 docs(localhost): incorrect usage of RemoteDomainAccessScope in README. (#757)
* Fix incorrect usage of RemoteDomainAccessScope in README.

* Fix incorrect usage of RemoteDomainAccessScope in README.
2023-11-23 11:03:33 +01:00
Fabian-Lars 0864c54147 fix(updater): replace url vars in query params (#756) 2023-11-22 16:08:24 +01:00
Amr Bashir 445c1e6cb6 feat(notifications): use the ligh windows-version crate (#750)
* feat(notifications): use the ligh `windows-version` crate

* Update desktop.rs

* optional
2023-11-21 14:23:47 +02:00
Amr Bashir 88d260d901 fix(fs): add options argument for exists function closes #734 (#744)
closes #734
2023-11-21 01:31:00 +02:00
Amr Bashir eea3df56ef fix: add back main, module and types field in top-level package.json (#742)
closes #738

`"moduleResolution": "node"` doesn't handle the `exports` field
2023-11-20 16:00:55 +02:00
Amr Bashir 5a8bbe2967 chore: remove dead code from updater test (#731) 2023-11-16 18:55:46 +02:00
Amr Bashir a3ca64275a fix(updater): Use escaped installer path to start the msi updater (#728)
* fix(updater): Use escaped installer path to start the msi updater

Continuation of #727

* change file

* fix build
2023-11-16 01:26:11 +02:00
Fabian-Lars 9db40a6dc4 fix(updater): Use escaped installer path to start the nsis updater (#727)
Port of v1 change: https://github.com/tauri-apps/tauri/pull/7956
2023-11-15 14:58:57 +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
Amr Bashir fc62ead565 fix(os): use an internal object instead of window.__TAURI__, closes #719 (#721)
fix(os): use an internal object instead of ` window.__TAURI__`, closes  #719
2023-11-13 21:55:00 -03:00
Fabian-Lars 251852ccbc chore: Merge branch v1 into v2 (#702) 2023-11-13 21:50:13 -03:00
github-actions[bot] d4d1633c4d Publish New Versions (v2) (#688)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-10-29 16:19:52 -03: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 76cfdc32b4 fix: adjust chrono dependency requirement (#680) 2023-10-23 11:17:32 -03:00
Lucas Fernandes Nogueira 0fc910a9f3 fix(authenticator): u2f cannot handle the chrono 0.4.30 breaking change (#679)
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
2023-10-23 10:30:16 -03:00
github-actions[bot] 437dfba814 Publish New Versions (v2) (#629)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-10-23 09:01:39 -03:00
Mo beb6b139eb Fix invoke calls in dialog & shell init scripts (#675)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-10-22 10:09:40 -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
Amr Bashir b7c5407cac refactor: remove window and app plugins (#671)
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-10-19 23:17:09 +00:00
pashokitsme 0e642e68de fix(updater): installation on macos #591 (#592)
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
fix(updater): installation on macos #591
fix(updater): use zip flate2 feature #591
fix(updater): use zip flate2 feature #591"
2023-10-19 22:50:37 +00:00
Lucas Fernandes Nogueira d1b7c2c1fb feat: build docs.rs documentation for Android (#654) 2023-10-19 17:39:54 +00:00
Lucas Fernandes Nogueira 5de23e79f9 chore: update deps, make mobile script paths relative (#649) 2023-10-19 14:31:42 -03:00
Fabian-Lars 1240631840 fix(websocket): Fix argument mismatch, fixes #661 (#663) 2023-10-16 20:40:09 +03:00
Amr Bashir c2103c91bc feat(global-shortcut): pass app handle to the closure, closes #657 (#658)
* feat(global-shortcut): pass app handle to the closure, closes #657

* Update global-shortcut-app-handle.md
2023-10-16 20:39:27 +03:00
Fabian-Lars 28ec084e56 fix(updater): Fix endpoint string replacements, fixes #655 (#662)
* fix(updater): Fix endpoint string replacements, fixes #655

* fmt
2023-10-16 20:39:02 +03:00
Lucas Fernandes Nogueira 8902fe9adf fix(notification): permission on mobile returns prompt (#627) 2023-09-30 10:09:21 -03:00
Fermín Cirella a1738b2401 fix(notification): function 'invoke' not found in permission request (#596) 2023-09-26 04:08:59 +03:00
github-actions[bot] 2b9ddbe29a Publish New Versions (v2) (#603)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-09-14 11:41:25 -03:00
Tejas Kumar 8e8ba52766 Fix logos (#604)
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-09-14 10:35:11 -03:00
Lucas Fernandes Nogueira 454428cd50 feat: add barcode scanner plugin (#536) 2023-09-14 09:34:04 -03:00
Fabian-Lars eccd6f977a feat: Add deep link plugin for mobile (#504)
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-09-14 08:55:51 -03:00
Lucas Fernandes Nogueira 2409b01fe7 chore(examples): update to tauri 2.0.0-alpha.14 (#600) 2023-09-12 09:39:17 -03:00
github-actions[bot] 903361100c Publish New Versions (v2) (#589)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-09-07 00:23:17 -03:00
Lucas Fernandes Nogueira 4e2cef9b70 chore(deps): update to tauri alpha.12 (#593) 2023-09-07 00:11:07 -03:00
Jason Tsai 70e535abd5 fix(window): use button property for data-tauri-drag-region left mouse button detection (#590) 2023-09-04 20:09:23 +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
github-actions[bot] 319de692bf Publish New Versions (v2) (#560)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-08-15 10:58:32 -03:00
Lucas Fernandes Nogueira 1a94e73db7 fix(ci): run pnpm install with --no-frozen-lockfile (#562) 2023-08-15 10:54:40 -03:00
Gökçe Merdun e510f2fe4c fix(os): correct typo in OsType (#561)
* fix(window): correct typo in OsType

* change file

* fix fmt check
2023-08-15 03:39:32 +03:00
Lucas Fernandes Nogueira d0c0084859 fix(example): build on macOS (#557) 2023-08-14 15:54:29 -07:00
Lucas Fernandes Nogueira 265dbc02e3 chore(shell): remove outdated todo (#559) 2023-08-14 15:54:17 -07:00
Lucas Fernandes Nogueira aec17a90fc feat(http): improve performance (#558) 2023-08-14 15:53:55 -07:00
Lucas Fernandes Nogueira 12adc1dbec fix(ci): update pnpm lockfile on version bump, fix covector config (#556) 2023-08-14 13:26:28 -07:00
github-actions[bot] 553c87bde0 Publish New Versions (v2) (#423)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-08-14 15:11:44 -03:00
Lucas Fernandes Nogueira d74fc0a097 feat: update to alpha.11 (#555) 2023-08-14 14:51:20 -03:00
Lucas Fernandes Nogueira d5a7c77a8d fix(docs): enable tauri/dox feature on docs.rs build (#545) 2023-08-10 10:23:27 -03:00
Amr Bashir 4ab90f048e feat(updater): refactor and improvements (#431)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-08-07 16:01:21 -03:00
Amr Bashir 84133b57b8 feat(window): refactor and improvements (#426)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-08-07 13:20:17 -03:00
Lucas Fernandes Nogueira 5b3210c224 feat(shell): expand Command APIs (#526)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2023-08-07 09:38:12 -03:00
Jason Tsai be591d2feb fix(dialog): using AsyncMessageDialog for non linux, closes tauri#7182 (#445) 2023-08-07 09:34:16 -03: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
Lucas Fernandes Nogueira 7f2e2dd5b8 fix(docs): plugin usage examples using wrong package name (#527) 2023-08-02 07:41:14 -03:00
Lorenzo Lewis 6f01bc11ab chore: change readme banners urls (#523)
* set readme banners to absolute url

Signed-off-by: Lorenzo Lewis <lorenzo_lewis@icloud.com>

* Revert "set readme banners to absolute url"

This reverts commit c46b464c69.

* update banners to absolute paths

Signed-off-by: Lorenzo Lewis <lorenzo_lewis@icloud.com>

* Revert "update banners to absolute paths"

This reverts commit c8b8f9309e.

* fix banner paths

Signed-off-by: Lorenzo Lewis <lorenzo_lewis@icloud.com>

* Revert "fix banner paths"

This reverts commit 27edc59b41.

* fix banners...again

Signed-off-by: Lorenzo Lewis <lorenzo_lewis@icloud.com>

---------

Signed-off-by: Lorenzo Lewis <lorenzo_lewis@icloud.com>
2023-07-28 21:29:50 +02:00
Fabian-Lars aba07c27b8 Merge v1 into v2 (#468)
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: FabianLars <fabianlars@fabianlars.de>
Co-authored-by: FabianLars <FabianLars@users.noreply.github.com>
Co-authored-by: Alexandre Dang <124160233+vdang-crabnebula@users.noreply.github.com>
Co-authored-by: Ludea <ludovicw35@hotmail.com>
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
Co-authored-by: Duke Jones <104690+dukejones@users.noreply.github.com>
Co-authored-by: NaokiM03 <37442712+NaokiM03@users.noreply.github.com>
Co-authored-by: Thibault <thibault_poisson@orange.fr>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: David Blythe <49919035+writeDavid@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
fix(stronghold): change wrong argument name for `remove` (#422)
fix(window-state): correctly set decoration state if no saved state exists, fixes #421 (#424)
fix(stronghold): return null if there is no record (#129)
fix(window-state): propagate promise (#435)
closes #432
fix(window-state): manual default implentation (#425)
fix(window-state): manual default implentation, closes #421
fix(deps): update rust crate iota-crypto to 0.21 (#438)
fix readme example (#447)
fix: handle recursive directory correctly (#455)
fix(deps): update rust crate sqlx to 0.7. plugin-sql msrv is now 1.65 (#464)
fix(persisted-scope): separately save asset protocol patterns (#459)
fix(deps): update rust crate iota-crypto to 0.22 (#475)
fix(deps): update tauri monorepo to v1.4.0 (#482)
resolve to v15.1.0 (#489)
fix(deps): update rust crate iota-crypto to 0.23 (#495)
2023-07-19 14:50:43 -03:00
Pretzel Vector 0bba6932c0 fix(fs-js): fix writeBinaryFile invalid command usage (#454)
* write_binary_file -> write_file

* Missing artifact

* Create fs-wiret-binary-file.md

---------
2023-07-10 16:18:37 +03:00
Amr Bashir 52ef0addd8 feat(shell): ensure launched processes are detached (#463)
* feat(shell): ensure launched processes are detached

ref: https://github.com/tauri-apps/tauri/issues/6849

* change file
2023-07-04 14:30:22 +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
Amr Bashir 56d455d343 fix(updater): fix nsis updater unable to launch installers requiring elevation (#444)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-06-19 20:58:14 -03:00
Lucas Fernandes Nogueira a79d6d94bd feat(window): add option to disable controls (#406)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2023-06-19 11:14:38 -03:00
Lucas Fernandes Nogueira 83abea3cae feat(window): add is_focused API (#407) 2023-06-19 09:46:22 -03:00
Lucas Fernandes Nogueira 0417b7ad60 chore: add missing banners (#442) 2023-06-19 04:30:18 -07:00
Lucas Fernandes Nogueira 1cb831183c feat(updater): backport changes from tauri v1 (#405) 2023-06-18 07:36:39 -03:00
Amr Bashir db7f4f9a41 refactor(os): refactor EOL const (#427)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-06-18 07:35:07 -03:00
Lucas Fernandes Nogueira c8c3191565 feat(window): add setEffects API (#392) 2023-06-18 07:21:27 -03:00
Amr Bashir 2fc420ba37 feat(window): add incognito option (#418)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-06-18 07:19:04 -03:00
Amr Bashir c81dff292a fix(notification): remove default notification sound on Windows (#440) 2023-06-18 07:18:20 -03:00
Lucas Fernandes Nogueira 32c2a441c3 feat: update to 2.0.0-alpha.10 (#441) 2023-06-17 18:54:35 -03:00
Lucas Fernandes Nogueira 9359b5b138 fix(examples): adjust layout for iOS (#439) 2023-06-16 08:05:55 -07:00
Amr Bashir 84b3612393 fix(window-state): port fixes from v1 (#436)
* fix(window-state): correctly set decoration state if no saved state exists, fixes #421 (#424)

* fix(window-state): propagate promise (#435)

closes #432

* fix(window-state): manual default implentation (#425)

* fix(window-state): manual default implentation, closes #421

* Update lib.rs

* change file

* generated files

* fix symlinks?

---------

Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
2023-06-13 23:30:39 +03:00
Amr Bashir c73049d3ed fix: remove tsconfig symlink (#429)
* fix: remove tsconfig symlink

* one more tsconfig
2023-06-09 03:17:53 +03:00
Amr Bashir 1091d6d6ac feat(os): refactor and improvemnts (#419) 2023-06-07 08:13:31 -03:00
github-actions[bot] 91ffc01a91 Publish New Versions (v2) (#402)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-06-06 09:31:55 -03:00
Lucas Nogueira 0413ed3ce6 Merge remote-tracking branch 'origin/v1' into v2 2023-06-06 09:24:49 -03:00
Fabian-Lars d8b4aca69f fix(notification): Fix init.js script for use without global tauri object. (#414) 2023-06-04 13:36:49 +02:00
Lucas Fernandes Nogueira cf5864266e chore(window): fix package name on documentation (#408) 2023-05-27 09:20:09 -03:00
Lucas Fernandes Nogueira 0f480d0985 fix(tests): backport updater test fix from tauri (#404) 2023-05-27 04:39:54 -07:00
Ngo Iok Ui (Wu Yu Wei) a7cba0dac7 Merge pull request #401 from tauri-apps/feat/notification-sound
feat(notification): play default sound on Windows
2023-05-25 11:01:16 +08:00
Lucas Nogueira 7906397c64 fix(ci): enable sqlite feature when publishing the sql plugin 2023-05-24 18:14:54 -03:00
Lucas Nogueira 7d71ad4e58 feat(notification): play default sound on WIndows
Ref https://github.com/tauri-apps/tauri/pull/6680
2023-05-24 16:03:50 -03:00
Lucas Nogueira 94b3747a9c fix(covector): move fs up in the packages tree 2023-05-24 12:14:24 -03:00
Lucas Fernandes Nogueira b259baa17e refactor: rename clipboard plugin to clipboard-manager (#400) 2023-05-24 12:06:07 -03:00
Lucas Fernandes Nogueira 26d993cfea chore(plugins): update description field (#399) 2023-05-24 11:11:26 -03:00
Lucas Nogueira 396f493fdb fix(ci): install deps on v2 covector workflow 2023-05-24 10:55:06 -03:00
Lucas Fernandes Nogueira b5aaf5d9dd fix(ci): adjust package-latest-version script (#398) 2023-05-24 10:51:04 -03:00
Lucas Nogueira 43be6c7585 Merge remote-tracking branch 'origin/v1' into v2 2023-05-24 10:42:03 -03:00
github-actions[bot] a2d68e04a1 Publish New Versions (v2) (#374)
Co-authored-by: FabianLars <FabianLars@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-05-24 10:33:37 -03:00
Fabian-Lars 37d65620f1 chore: Add mirror for notification plugin (#397) 2023-05-24 12:36:41 +02:00
Lucas Fernandes Nogueira 9bf98f68e7 chore(api): update @since tag to 2.0.0 (#395) 2023-05-23 23:44:05 -03:00
Lucas Fernandes Nogueira 7e3034904c feat(os): add locale API (#391) 2023-05-23 22:29:57 -03:00
Lucas Fernandes Nogueira 5676e77209 feat: update covector (#393) 2023-05-23 17:36:39 -07:00
Lucas Fernandes Nogueira b131bc8f7c feat(plugins): inject API on window.__TAURI__ (#383) 2023-05-23 14:20:14 -03:00
Lucas Fernandes Nogueira 3c8577bc9a refactor(log): extend target with filter fn and file name, closes #123 (#386) 2023-05-22 15:04:34 -07:00
Simon Hyll a0133cb5b3 fix: exclude debug only function in release mode (#387) 2023-05-22 15:02:06 -03:00
Lucas Fernandes Nogueira f3f92a6ff6 fix(window): change commands to async (#385) 2023-05-21 17:08:39 -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 95329dded1 chore: add remaining mirrors (#382)
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
2023-05-21 11:07:50 -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 d677f73495 feat(ci): test mobile targets (#378) 2023-05-19 09:46:06 -07:00
Lucas Fernandes Nogueira 8bd80eb651 fix(audit): update deps, ignore advisories (#379) 2023-05-19 13:22:30 -03:00
Lucas Fernandes Nogueira fdec66c69f fix: adjust Cargo features to fix android build (#375) 2023-05-19 10:59:26 -03:00
Lucas Fernandes Nogueira ba4ef9a037 feat(ci): add workflow to run covector on v2 (#373) 2023-05-18 11:39:53 -03:00
Lucas Fernandes Nogueira 3c9771e287 feat: update to tauri 2.0.0-alpha.9 (#372) 2023-05-18 11:39:46 -03:00
Lucas Fernandes Nogueira 717ae67097 feat: prepare v2 alpha release (#371) 2023-05-18 10:08:37 -03:00
Amr Bashir b08a45352d ci: smarter tests (#370) 2023-05-18 08:35:37 -03:00
Lucas Fernandes Nogueira ac76abcebd refactor: move fs-watch to fs (#369) 2023-05-17 22:50:45 -03:00
Lucas Fernandes Nogueira b064718f32 feat(ci): also test on Windows and macOS (#366) 2023-05-17 20:53:03 -03:00
Lucas Fernandes Nogueira 22991af9f4 feat(plugins): use @tauri-apps namespace on NPM (#368)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2023-05-17 20:52:53 -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 7ae7167fbe feat: add init scripts (#361) 2023-05-17 18:25:56 -03:00
Lucas Fernandes Nogueira d87b569643 chore(deps): update tauri and Android project (#360) 2023-05-16 20:39:00 -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 e0e7b4fc71 fix(global-shortcut): update to 0.2.1 to fix macos build (#353) 2023-05-12 09:30:55 -03:00
Lucas Fernandes Nogueira bb26f7d710 feat(window): add plugin (#352) 2023-05-12 07:58:20 -03:00
Lucas Fernandes Nogueira a95fb473a2 feat(updater): add plugin (#350)
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
2023-05-11 13:33:24 -03:00
Lucas Fernandes Nogueira 012d32e8ed feat(process): add plugin (#348) 2023-05-09 12:00:44 -03:00
Lucas Fernandes Nogueira 61e7d6ede5 feat(os): add plugin (#346)
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
2023-05-08 13:39:54 -03:00
Lucas Fernandes Nogueira bcb42b7343 feat(app): add plugin (#345) 2023-05-08 12:55:50 -03:00
Lucas Fernandes Nogueira 02754f527c refactor(examples): remove dedicated dialog example (#343) 2023-05-06 12:27:53 -03:00
Lucas Fernandes Nogueira 5015132ece feat: add API example (#317) 2023-05-05 09:41:17 -03:00
Lucas Fernandes Nogueira be1c775b8d feat(notification): implement Android and iOS APIs (#340) 2023-05-05 09:22:19 -03:00
FabianLars 1397172e95 chore: Fix shell tests 2023-05-03 09:58:25 +02:00
FabianLars 33d6352550 chore: Fix lint issues 2023-05-03 09:37:48 +02:00
FabianLars 48cb5e349c Merge branch 'v1' into v2 2023-05-03 09:33:41 +02:00
FabianLars b730c34923 Run formatter on new plugins 2023-05-03 09:13:24 +02:00
FabianLars d0be006776 Merge branch 'v1' into v2 2023-05-03 09:12:30 +02:00
FabianLars 4a10f218f0 Merge branch 'dev' into next. Rename next to v2 2023-05-03 09:02:40 +02:00
Lucas Nogueira 4470468d7b Merge branch 'dev' into next 2023-05-02 13:47:10 -03:00
Lucas Nogueira 9244d4ee8f fix(store): adjust load and save implementation 2023-05-02 13:46:56 -03:00
Lucas Nogueira dabacbe644 fix(http): adjust client id argument name on request command usage 2023-05-02 13:40:57 -03:00
Lucas Fernandes Nogueira e9bbe94181 feat(notification): add plugin (#326) 2023-05-02 13:09:50 -03:00
Lucas Fernandes Nogueira 864b9d790f chore(ci): update covector configuration (#335) 2023-05-02 13:01:51 -03:00
FabianLars 04278f1ba6 ci: Add cli and clipboard mirrors 2023-04-26 18:02:08 +02:00
FabianLars 59cb08e902 chore: Adapt readmes to next branch 2023-04-26 18:01:46 +02:00
FabianLars b1b6c34b9c ci: Update mirrors.txt to include new packages 2023-04-26 17:29:45 +02:00
FabianLars e7e925ee32 fix(http): Enable "DOM.Iterable" in typescript 2023-04-26 17:18:13 +02:00
FabianLars 5c9b4ea234 Merge remote-tracking branch 'origin/dev' into next 2023-04-26 17:13:13 +02:00
FabianLars 0b234d5f43 Merge remote-tracking branch 'origin/dev' into next 2023-04-26 16:56:57 +02:00
FabianLars fad6edab71 Merge remote-tracking branch 'origin/dev' into next 2023-04-26 16:56:03 +02:00
Lucas Fernandes Nogueira 8ed00adaa0 feat(shell): add plugin (#327) 2023-04-23 15:39:48 -03:00
Lucas Fernandes Nogueira 89fb40caac feat(http): add plugin (#325) 2023-04-23 15:34:31 -03:00
Lucas Fernandes Nogueira 7a8633f429 feat(dialog): add plugin (#306) 2023-04-18 22:41:12 -03:00
Lucas Nogueira 4d32919f0f fix(clipboard): adjust clip data and response kind types 2023-04-18 22:32:34 -03:00
Amr Bashir 00757a2918 chore(global-shortcut/deps): update to global-hotkey v0.2 2023-04-19 03:21:50 +02:00
Lucas Fernandes Nogueira 4b66ba03a5 feat(global-shortcut): add plugin (#324)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2023-04-18 22:18:14 -03:00
Lucas Fernandes Nogueira 8cd7d3501b feat(clipboard): add plugin (#323) 2023-04-18 10:19:45 -03:00
Lucas Fernandes Nogueira 4539c03f95 feat(fs): add plugin (#308) 2023-04-16 08:53:19 -03:00
Lucas Fernandes Nogueira 775581d824 feat(template): add mobile projects, build script, fill initial src code (#305) 2023-04-14 15:47:37 -03:00
Lucas Fernandes Nogueira 0fed10fdce feat(cli): add plugin (#304) 2023-04-14 15:31:28 -03:00
Lucas Nogueira 4b229031b7 chore(deps): update Tauri CLI 2023-04-14 08:15:46 -03:00
Lucas Fernandes Nogueira bbdccefa2d chore(deps): update to tauri alpha.8 (#303) 2023-04-14 08:02:48 -03:00
Lucas Fernandes Nogueira 14e4705d55 refactor(log): use NSString instead of SRString on iOS (#302) 2023-04-13 18:27:56 -03:00
Lucas Nogueira 39b144df42 chore(deps): update tauri to 2.0.0-alpha.4, tauri-build to 2.0.0-alpha.2 2023-03-20 09:02:13 -03:00
Lucas Nogueira e53788240c chore(deps): update tauri 2023-03-19 08:51:44 -03:00
Lucas Nogueira 9330e05398 chore(deps): update tauri, adjust iOS plugin 2023-03-18 11:31:55 -03:00
Lucas Fernandes Nogueira 539c38a692 feat: update swift-rs (#285)
* feat: update swift-rs

* swift-rs v1

* pin deps
2023-03-16 09:36:31 -03:00
Lucas Fernandes Nogueira 961602bd1b fix(log): use Swift OSLog instead of oslog Rust binding (#262) 2023-02-23 14:17:15 -03:00
Lucas Fernandes Nogueira 22f987bf24 feat: update setup hook to new syntax (#257) 2023-02-16 13:42:26 -03:00
FabianLars 738636472c Merge branch 'dev' into next 2023-02-15 15:57:37 +01:00
FabianLars 082e05e045 Merge branch 'dev' into next 2023-02-15 15:49:39 +01:00
Jonas Kruckenberg e151ffcf61 Update Cargo.toml 2023-02-01 09:51:57 +01:00
Jonas Kruckenberg 37e0511020 Merge pull request #96 from tauri-apps/feat/mobile-log
feat(log): implement mobile logging
2023-01-19 17:35:17 +01:00
Lucas Nogueira 1675a4de80 fix unused var [skip ci] 2023-01-17 19:22:18 -03:00
Lucas Nogueira 5f13148aad simplify default formatter for mobile 2023-01-17 18:30:06 -03:00
Lucas Nogueira df21598a48 update deps 2023-01-17 18:26:19 -03:00
Lucas Nogueira 510845c1a0 update android_logger 2023-01-17 18:25:10 -03:00
Lucas Nogueira 9424204a19 fix ios [skip ci] 2023-01-17 16:00:09 -03:00
Lucas Nogueira bbdabbd64d refactor: keep fern [skip ci] 2023-01-17 15:51:16 -03:00
Lucas Nogueira fa44de7440 remove warnings 2023-01-17 13:22:48 -03:00
Lucas Nogueira cc03bde0ea revert tauri dep 2023-01-17 13:15:02 -03:00
Lucas Nogueira 976cd70eef fix default log level 2023-01-17 12:58:10 -03:00
Lucas Nogueira ff2ce60a9c fix ios subsystem 2023-01-17 12:44:53 -03:00
Lucas Nogueira 13fcc06087 fix iOS build 2023-01-16 18:08:36 -03:00
Lucas Nogueira 42037a7a99 feat(log): implement mobile logging 2023-01-16 17:47:43 -03:00
Jonas Kruckenberg 58dd417f1b Update Cargo.toml 2023-01-13 20:46:57 +01:00
Jonas Kruckenberg 0b42d3f554 update Tauri to alpha version 2023-01-13 12:43:19 +01:00
1263 changed files with 86088 additions and 5112 deletions
+11
View File
@@ -0,0 +1,11 @@
[advisories]
ignore = [
# time 0.1
"RUSTSEC-2020-0071",
# needs sqlx 0.7 (still in alpha)
"RUSTSEC-2022-0090",
# wry needs kuchiki on Android
"RUSTSEC-2023-0019",
# atty is only used when the `colored` feature is enabled on tauri-plugin-log
"RUSTSEC-2021-0145"
]
+57
View File
@@ -0,0 +1,57 @@
---
"authenticator": patch
"autostart": patch
"barcode-scanner": patch
"biometric": patch
"cli": patch
"clipboard-manager": patch
"deep-link": patch
"dialog": patch
"fs": patch
"global-shortcut": patch
"http": patch
"localhost": patch
"log-plugin": patch
"nfc": patch
"notification": patch
"os": patch
"persisted-scope": patch
"positioner": patch
"process": patch
"shell": patch
"single-instance": patch
"sql": patch
"store": patch
"stronghold": patch
"updater": patch
"upload": patch
"websocket": patch
"window-state": patch
"authenticator-js": patch
"autostart-js": patch
"barcode-scanner-js": patch
"biometric-js": patch
"cli-js": patch
"clipboard-manager-js": patch
"deep-link-js": patch
"dialog-js": patch
"fs-js": patch
"global-shortcut-js": patch
"http-js": patch
"log-js": patch
"nfc-js": patch
"notification-js": patch
"os-js": patch
"positioner-js": patch
"process-js": patch
"shell-js": patch
"sql-js": patch
"store-js": patch
"stronghold-js": patch
"updater-js": patch
"upload-js": patch
"websocket-js": patch
"window-state-js": patch
---
Update to tauri beta.
+5
View File
@@ -0,0 +1,5 @@
---
"http-js": "patch"
---
Include headers created by browser if not declared by user, which fixes missing headers like `Content-Type` when using `FormData`.
+5
View File
@@ -0,0 +1,5 @@
---
"clipboard-manager": "patch"
---
Expose `Clipboard` struct
+6
View File
@@ -0,0 +1,6 @@
---
"clipboard-manager": patch
"clipboard-manager-js": patch
---
Add support for writing HTML content to the clipboard.
+6
View File
@@ -0,0 +1,6 @@
---
"clipboard-manager": "minor"
"clipboard-manager-js": "minor"
---
Add support for `read_image` and `write_image` to the clipboard plugin (desktop).
+5
View File
@@ -0,0 +1,5 @@
---
"clipboard-manager": "patch"
---
Fix reading and writing text on Android and iOS.
+11
View File
@@ -0,0 +1,11 @@
---
"clipboard-manager": "patch"
---
Refactored the clipboard Rust APIs for more clarity and consistency:
- Changed `Clipboard::write_text` to take a string type instead of an enum.
- Changed `Clipboard::read_text` to return a string type instead of an enum.
- Changed `Clipboard::write_html` to take 2 string arguments instead of an enum.
- Changed `Clipboard::write_image` to take a reference to a `tauri::Image` instead of an enum.
- Removed `ClipKind` and `ClipboardContents` enums.
@@ -0,0 +1,5 @@
---
"clipboard-manager": patch
---
The `write` and `read` commands are now called `write_text` and `read_text` so the permission name was changed.
+214 -48
View File
@@ -33,127 +33,293 @@
}
},
"packages": {
"api-example": {
"path": "./examples/api/src-tauri",
"manager": "rust",
"publish": false,
"dependencies": [
"barcode-scanner",
"biometric",
"log-plugin",
"cli",
"clipboard-manager",
"dialog",
"fs",
"global-shortcut",
"http",
"nfc",
"notification",
"os",
"process",
"shell",
"updater"
]
},
"api-example-js": {
"path": "./examples/api",
"manager": "javascript",
"publish": false,
"dependencies": [
"barcode-scanner-js",
"biometric-js",
"log-js",
"cli-js",
"clipboard-manager-js",
"dialog-js",
"fs-js",
"global-shortcut-js",
"http-js",
"nfc-js",
"notification-js",
"os-js",
"process-js",
"shell-js",
"updater-js"
],
"postversion": "pnpm install --no-frozen-lockfile"
},
"deep-link-example-js": {
"path": "./plugins/deep-link/examples/app",
"manager": "javascript",
"publish": false,
"dependencies": ["deep-link-js"],
"postversion": "pnpm install --no-frozen-lockfile"
},
"authenticator": {
"path": "./plugins/authenticator",
"manager": "rust-disabled"
"manager": "rust"
},
"authenticator-js": {
"path": "./plugins/authenticator",
"manager": "javascript-disabled"
"manager": "javascript"
},
"autostart": {
"path": "./plugins/autostart",
"manager": "rust-disabled"
"manager": "rust"
},
"autostart-js": {
"path": "./plugins/autostart",
"manager": "javascript-disabled"
"manager": "javascript"
},
"fs-extra": {
"path": "./plugins/fs-extra",
"manager": "rust-disabled"
"barcode-scanner": {
"path": "./plugins/barcode-scanner",
"manager": "rust"
},
"fs-extra-js": {
"path": "./plugins/fs-extra",
"manager": "javascript-disabled"
"barcode-scanner-js": {
"path": "./plugins/barcode-scanner",
"manager": "javascript"
},
"fs-watch": {
"path": "./plugins/fs-watch",
"manager": "rust-disabled"
"biometric": {
"path": "./plugins/biometric",
"manager": "rust"
},
"fs-watch-js": {
"path": "./plugins/fs-watch",
"manager": "javascript-disabled"
"biometric-js": {
"path": "./plugins/biometric",
"manager": "javascript"
},
"cli": {
"path": "./plugins/cli",
"manager": "rust"
},
"cli-js": {
"path": "./plugins/cli",
"manager": "javascript"
},
"clipboard-manager": {
"path": "./plugins/clipboard-manager",
"manager": "rust"
},
"clipboard-manager-js": {
"path": "./plugins/clipboard-manager",
"manager": "javascript"
},
"deep-link": {
"path": "./plugins/deep-link",
"manager": "rust"
},
"deep-link-js": {
"path": "./plugins/deep-link",
"manager": "javascript"
},
"fs": {
"path": "./plugins/fs",
"manager": "rust"
},
"fs-js": {
"path": "./plugins/fs",
"manager": "javascript"
},
"dialog": {
"path": "./plugins/dialog",
"manager": "rust",
"dependencies": ["fs"]
},
"dialog-js": {
"path": "./plugins/dialog",
"manager": "javascript"
},
"global-shortcut": {
"path": "./plugins/global-shortcut",
"manager": "rust"
},
"global-shortcut-js": {
"path": "./plugins/global-shortcut",
"manager": "javascript"
},
"http": {
"path": "./plugins/http",
"manager": "rust",
"dependencies": ["fs"]
},
"http-js": {
"path": "./plugins/http",
"manager": "javascript"
},
"localhost": {
"path": "./plugins/localhost",
"manager": "rust"
},
"log": {
"log-plugin": {
"path": "./plugins/log",
"manager": "rust-disabled"
"manager": "rust"
},
"log-js": {
"path": "./plugins/log",
"manager": "javascript-disabled"
"manager": "javascript"
},
"persisted-scope": {
"path": "./plugins/persisted-scope",
"nfc": {
"path": "./plugins/nfc",
"manager": "rust"
},
"nfc-js": {
"path": "./plugins/nfc",
"manager": "javascript"
},
"notification": {
"path": "./plugins/notification",
"manager": "rust"
},
"notification-js": {
"path": "./plugins/notification",
"manager": "javascript"
},
"os": {
"path": "./plugins/os",
"manager": "rust"
},
"os-js": {
"path": "./plugins/os",
"manager": "javascript"
},
"persisted-scope": {
"path": "./plugins/persisted-scope",
"manager": "rust",
"dependencies": ["fs"]
},
"positioner": {
"path": "./plugins/positioner",
"manager": "rust"
},
"positioner-js": {
"path": "./plugins/positioner",
"manager": "javascript-disabled"
"manager": "javascript"
},
"process": {
"path": "./plugins/process",
"manager": "rust"
},
"process-js": {
"path": "./plugins/process",
"manager": "javascript"
},
"shell": {
"path": "./plugins/shell",
"manager": "rust"
},
"shell-js": {
"path": "./plugins/shell",
"manager": "javascript"
},
"single-instance": {
"path": "./plugins/single-instance",
"manager": "rust-disabled"
"manager": "rust"
},
"sql": {
"path": "./plugins/sql",
"manager": "rust-disabled"
"manager": "rust",
"publish": [
{
"command": "cargo package --no-verify",
"dryRunCommand": true
},
{
"command": "echo '<details>\n<summary><em><h4>Cargo Publish</h4></em></summary>\n\n```'",
"dryRunCommand": true,
"pipe": true
},
{
"command": "cargo publish --features sqlite",
"dryRunCommand": "cargo publish --features sqlite --dry-run",
"pipe": true
},
{
"command": "echo '```\n\n</details>\n'",
"dryRunCommand": true,
"pipe": true
}
]
},
"sql-js": {
"path": "./plugins/sql",
"manager": "javascript-disabled"
"manager": "javascript"
},
"store": {
"path": "./plugins/store",
"manager": "rust-disabled"
"manager": "rust"
},
"store-js": {
"path": "./plugins/store",
"manager": "javascript-disabled"
"manager": "javascript"
},
"stronghold": {
"path": "./plugins/stronghold",
"manager": "rust-disabled"
"manager": "rust"
},
"stronghold-js": {
"path": "./plugins/stronghold",
"manager": "javascript-disabled"
"manager": "javascript"
},
"updater": {
"path": "./plugins/updater",
"manager": "rust"
},
"updater-js": {
"path": "./plugins/updater",
"manager": "javascript"
},
"upload": {
"path": "./plugins/upload",
"manager": "rust-disabled"
"manager": "rust"
},
"upload-js": {
"path": "./plugins/upload",
"manager": "javascript-disabled"
"manager": "javascript"
},
"websocket": {
"path": "./plugins/websocket",
"manager": "rust-disabled"
"manager": "rust"
},
"websocket-js": {
"path": "./plugins/websocket",
"manager": "javascript-disabled"
"manager": "javascript"
},
"window-state": {
"path": "./plugins/window-state",
"manager": "rust"
},
"window-state-js": {
"path": "./plugins/window-state",
"manager": "javascript-disabled"
"manager": "javascript"
}
}
}
+6
View File
@@ -0,0 +1,6 @@
---
"deep-link": patch
"deep-link-js": patch
---
Added desktop support.
@@ -0,0 +1,6 @@
---
"dialog": "patch"
"dialog-js": "patch"
---
Allow configuring `canCreateDirectories` for open and save dialogs on macOS, if not configured, it will be set to `true` by default.
+5
View File
@@ -0,0 +1,5 @@
---
"dialog": "patch"
---
Fixed an issue where dialogs would not spawn but instead freeze the whole app.
+5
View File
@@ -0,0 +1,5 @@
---
dialog: patch
---
Fixed an issue where the dialog apis panicked when they were called with no application windows open.
+5
View File
@@ -0,0 +1,5 @@
---
"dialog": "patch"
---
Fill file `len` and `modified_at` fields of `FileResponse` when using the open dialog.
+5
View File
@@ -0,0 +1,5 @@
---
"dialog": "patch"
---
Fixed an issue where dialogs on android would return the Content URI instead of the file path
+5
View File
@@ -0,0 +1,5 @@
---
"fs": patch
---
Enhance the scope type to also allow a plain string representing the path to allow or deny.
+5
View File
@@ -0,0 +1,5 @@
---
"http": patch
---
The scope URL now follows the URL pattern standard instead of a simple glob pattern.
+6
View File
@@ -0,0 +1,6 @@
---
"shell": patch
---
When the "raw" encoding option is specified for a shell process, all bytes from the child's output streams are passed to the data handlers.
This makes it possible to read output from programs that write unencoded byte streams to stdout (like ffmpeg)
+5
View File
@@ -0,0 +1,5 @@
---
"log-js": patch
---
Added `attachLogger` helper function to register a function that should be called for each log entry.
+5
View File
@@ -0,0 +1,5 @@
---
"single-instance": patch
---
Added the `semver` feature flag to make the single instance mechanism only trigger for semver compatible versions.
+5
View File
@@ -0,0 +1,5 @@
---
"websocket": patch
---
**Breaking change:** Enable rustls by default and added a method to configure the TLS Connector for tungstenite.
+6
View File
@@ -0,0 +1,6 @@
---
"fs": patch
"fs-js": patch
---
Fix infinite loop on cargo build operations
@@ -0,0 +1,5 @@
---
authenticator: patch
---
Pin winapi-utils to 0.1.6 to fix compilation error in dependencies.
+5
View File
@@ -0,0 +1,5 @@
---
"autostart": patch
---
Fix LaunchAgent-based autostart for macOS.
+5
View File
@@ -0,0 +1,5 @@
---
deep-link: patch
---
Fixed an issue that caused the `deep-link` plugin to generate incorrect `.desktop` files on Linux.
+7
View File
@@ -0,0 +1,7 @@
---
"notification": patch
"barcode-scanner": patch
"dialog": patch
---
Fixes command argument parsing on iOS.
+5
View File
@@ -0,0 +1,5 @@
---
"fs": patch
---
Fixes an issue that caused the app to freeze when the `dialog`, `fs`, and `persisted-scope` plugins were used together.
+5
View File
@@ -0,0 +1,5 @@
---
"fs": patch
---
Fixes `watch` and `watchImmediate` which previously ignored the `baseDir` parameter.
+5
View File
@@ -0,0 +1,5 @@
---
"http": patch
---
**Breaking change:** Removed the `default-tls` feature flag. The `rustls-tls`, `http2`, `macos-system-configuration`, and `charset` feature flags are now enabled by default.
+5
View File
@@ -0,0 +1,5 @@
---
"http": patch
---
Fixes scope not allowing subpaths, query parameters and hash when those values are empty.
+5
View File
@@ -0,0 +1,5 @@
---
'single-instance': patch
---
Fix doesn't shutdown immediately.
+5
View File
@@ -0,0 +1,5 @@
---
"updater": patch
---
Add a `on_before_exit` hook for cleanup before spawning the updater on Windows, defaults to `app.cleanup_before_exit` when used through `UpdaterExt`
+5
View File
@@ -0,0 +1,5 @@
---
"updater": patch
---
**Breaking change:** The `rustls-tls` feature flag is now enabled by default.
@@ -0,0 +1,5 @@
---
"updater": patch
---
Fix deserialization of `windows > installerArgs` config field.
+5
View File
@@ -0,0 +1,5 @@
---
"updater": patch
---
On Windows, fallback to `passive` install mode when not defined in config.
@@ -0,0 +1,5 @@
---
"updater": patch
---
Fix Windows powershell window flashing on update
+5
View File
@@ -0,0 +1,5 @@
---
"single-instance": patch
---
Fix `zbus::blocking::connection::Builder` import.
+32
View File
@@ -0,0 +1,32 @@
---
"authenticator": patch
"autostart": patch
"barcode-scanner": patch
"biometric": patch
"cli": patch
"clipboard-manager": patch
"deep-link": patch
"dialog": patch
"fs": patch
"global-shortcut": patch
"http": patch
"localhost": patch
"log-plugin": patch
"nfc": patch
"notification": patch
"os": patch
"persisted-scope": patch
"positioner": patch
"process": patch
"shell": patch
"single-instance": patch
"sql": patch
"store": patch
"stronghold": patch
"updater": patch
"upload": patch
"websocket": patch
"window-state": patch
---
The global API script is now only added to the binary when the `withGlobalTauri` config is true.
+11
View File
@@ -0,0 +1,11 @@
---
"global-shortcut": "patch"
"global-shortcut-js": "patch"
---
Refactored APIs to introduce new pressed and released events:
- Added `ShortcutEvent` and `ShortcutState` types in Rust.
- Changed the handler function passed to `GlobalShortcut::on_shortcut`, `GlobalShortcut::on_all_shortcuts` and `Builder::with_handler` to take a 3rd argument of type `ShortcutEvent`.
- Added `ShortcutEvent` interface in JS.
- Changed `ShortcutHandler` type alias (which affects the JS `register` and `registerAll` APIs) to take `ShortcutEvent` instead of a string.
+9
View File
@@ -0,0 +1,9 @@
---
"global-shortcut": "patch"
---
**Breaking change** Refactored the plugin Rust APIs for better DX and flexibility:
- Changed `Builder::with_handler` to be a method instead of a static method, it will also be triggered for any and all shortcuts even if the shortcut is registered through JS.
- Added `Builder::with_shortcut` and `Builder::with_shortcuts` to register shortcuts on the plugin builder.
- Added `on_shortcut` and `on_all_shortcuts` to register shortcuts with a handler.
+5
View File
@@ -0,0 +1,5 @@
---
"http": "patch"
---
Enable cookies store feature flag by default.
+5
View File
@@ -0,0 +1,5 @@
---
"http": "patch"
---
Set the request origin to the current webview url.
+5
View File
@@ -0,0 +1,5 @@
---
http: patch
---
Fixed an issue with the http plugin when it was used with tauri v2 beta.19.
+5
View File
@@ -0,0 +1,5 @@
---
"http": patch
---
Add `unsafe-headers` cargo feature flag to allow using [forbidden headers](https://fetch.spec.whatwg.org/#terminology-headers).
+6
View File
@@ -0,0 +1,6 @@
---
"http": "patch"
"http-js": "patch"
---
Allow `User-Agent` header to be set.
+6
View File
@@ -0,0 +1,6 @@
---
"positioner": "patch"
"window-state": "patch"
---
Implement `WindowExt` for `WebviewWindow`.
+32
View File
@@ -0,0 +1,32 @@
---
"authenticator": patch
"autostart": patch
"barcode-scanner": patch
"biometric": patch
"cli": patch
"clipboard-manager": patch
"deep-link": patch
"dialog": patch
"fs": patch
"global-shortcut": patch
"http": patch
"localhost": patch
"log-plugin": patch
"nfc": patch
"notification": patch
"os": patch
"persisted-scope": patch
"positioner": patch
"process": patch
"shell": patch
"single-instance": patch
"sql": patch
"store": patch
"stronghold": patch
"updater": patch
"upload": patch
"websocket": patch
"window-state": patch
---
Update MSRV to 1.75.
+5
View File
@@ -0,0 +1,5 @@
---
"notification": patch
---
Fix development mode check to set the app ID on macOS.
+5
View File
@@ -0,0 +1,5 @@
---
"notification": patch
---
Fix development mode function name check to set the app ID on macOS.
+86
View File
@@ -0,0 +1,86 @@
{
"tag": "beta",
"changes": [
".changes/beta.md",
".changes/browser-headers.md",
".changes/clipboard-expose-struct.md",
".changes/clipboard-html.md",
".changes/clipboard-manager-image.md",
".changes/clipboard-mobile.md",
".changes/clipboard-refactor.md",
".changes/clipboard-text-command-rename.md",
".changes/deep-link-desktop.md",
".changes/dialog-can-create-directories.md",
".changes/dialog-linux-freeze.md",
".changes/dialog-main-thread.md",
".changes/dialog-metadata.md",
".changes/dialog-path-return-mismatch.md",
".changes/enhance-fs-scope-type.md",
".changes/enhance-http-scope.md",
".changes/enhance-shell-raw-out.md",
".changes/feat-log-attachlogger.md",
".changes/feat-single-instance-semver.md",
".changes/feat-websocket-tls-connector.md",
".changes/file-autogen-fix.md",
".changes/fix-authenticator-windows-compile.md",
".changes/fix-autolaunch-macos.md",
".changes/fix-deep-link-linux.md",
".changes/fix-default-arg-value.md",
".changes/fix-fs-scope-deadlock.md",
".changes/fix-fs-watcher-basedir.md",
".changes/fix-http-default-features.md",
".changes/fix-http-scope-url-match.md",
".changes/fix-shutdown-timing.md",
".changes/fix-updater-cleanup.md",
".changes/fix-updater-default-features.md",
".changes/fix-updater-installer-args-deserialization.md",
".changes/fix-updater-installmode.md",
".changes/fix-updater-powershell-flashing.md",
".changes/fix-zbus-import.md",
".changes/global-api-script-refactor.md",
".changes/global-hotkey-event.md",
".changes/global-shortcut-refactor.md",
".changes/http-cookies.md",
".changes/http-origin.md",
".changes/http-tauri-beta-19.md",
".changes/http-unsafe-headers.md",
".changes/http-user-agent.md",
".changes/impl-ext-for-webview-windows.md",
".changes/msrv-1.75.md",
".changes/notification-fix-dev-check.md",
".changes/notification-fix-dev-name.md",
".changes/public-with-store.md",
".changes/remove-unc-path-prefix.md",
".changes/reqwest-0.12.md",
".changes/restore-default-window-state.md",
".changes/scoped-resources-table.md",
".changes/shell-command-execute-extra-new-lines.md",
".changes/shell-command-execute-speed.md",
".changes/shell-command-lost-events.md",
".changes/shell-execute-return.md",
".changes/shell-execute.md",
".changes/shell-fix-schema-command-property-name.md",
".changes/shell-shellexcute.md",
".changes/single-instance.macos.md",
".changes/sql-column-order.md",
".changes/target-sdk-34.md",
".changes/tauri-beta-14-dependencies.md",
".changes/tauri-beta-14.md",
".changes/tauri-beta-15.md",
".changes/tauri-beta-17.md",
".changes/tauri-beta-20.md",
".changes/tauri-beta-4.md",
".changes/tauri-beta-8.md",
".changes/tauri-beta-9.md",
".changes/updater-download-install-js-binding.md",
".changes/updater-non-zip.md",
".changes/updater-nsis-shortcuts.md",
".changes/updater-zip-no-default-features.md",
".changes/upload-returnval.md",
".changes/watcher-debouncer-rename.md",
".changes/window-state-custom-filename.md",
".changes/window-state-default-filename.md",
".changes/window-state-js-binding.md",
".changes/window-state-json.md"
]
}
+5
View File
@@ -0,0 +1,5 @@
---
'store': patch
---
Fix `with_store` and `StoreCollection` changed to private in #1011
+7
View File
@@ -0,0 +1,7 @@
---
dialog: patch
fs: patch
store: patch
---
**Breaking Change:** All apis that return paths to the frontend will now remove the `\\?\` UNC prefix on Windows.
+5
View File
@@ -0,0 +1,5 @@
---
"upload": patch
---
**Breaking change**: Removed http3 feature and added http2 feature.
+5
View File
@@ -0,0 +1,5 @@
---
"window-state": patch
---
Fix `restore_window` doesn't work with `skip_initial_state` when no previous cache was found
+8
View File
@@ -0,0 +1,8 @@
---
"fs": "patch"
"http": "patch"
"updater": "patch"
"clipboard-manager": "patch"
---
Internally use the webview scoped resources table instead of the app one, so other webviews can't access other webviews resources.
@@ -0,0 +1,5 @@
---
"shell-js": "patch"
---
Fix `Command.execute` API including extra new lines.
+6
View File
@@ -0,0 +1,6 @@
---
"shell": "patch"
"shell-js": "patch"
---
Improve the speed of the JS `Command.execute` API
+5
View File
@@ -0,0 +1,5 @@
---
"shell": "patch"
---
Fix the JS `Command` API losing events for `stdout`.
+5
View File
@@ -0,0 +1,5 @@
---
"shell": "patch"
---
Fix a regression introduce in the last release where The JS API `Command.execute()` returned malformed response.
+5
View File
@@ -0,0 +1,5 @@
---
"shell": "patch"
---
Run `Command.execute()` JS api, asynchronously in the Rust side to avoid blocking main thread and causing the webview to freeze.
@@ -0,0 +1,5 @@
---
"shell": "patch"
---
Change shell's schema property name `command` to `cmd`.
+6
View File
@@ -0,0 +1,6 @@
---
"shell": "patch"
"shell-js": "patch"
---
On Windows, fix `open` can't open file if the file is being used by a program.
+5
View File
@@ -0,0 +1,5 @@
---
"single-instance": patch
---
Added implementation for MacOS.
+5
View File
@@ -0,0 +1,5 @@
---
"sql": patch
---
Preserve column order from SELECT query with indexmap
+13
View File
@@ -0,0 +1,13 @@
---
"barcode-scanner": patch
"biometric": patch
"clipboard-manager": patch
"deep-link": patch
"dialog": patch
"nfc": patch
"notification": patch
"shell": patch
"store": patch
---
Updated Android target SDK to 34.
+8
View File
@@ -0,0 +1,8 @@
---
"authenticator": patch
"http": patch
"updater": patch
"upload": patch
---
Update dependencies to align with tauri 2.0.0-beta.14.
+5
View File
@@ -0,0 +1,5 @@
---
"fs": patch
---
Update for tauri 2.0.0-beta.14.
+8
View File
@@ -0,0 +1,8 @@
---
"fs": patch
"http": patch
"updater": patch
"clipboard-manager": patch
---
Update for tauri 2.0.0-beta.15.
+57
View File
@@ -0,0 +1,57 @@
---
"authenticator": patch
"autostart": patch
"barcode-scanner": patch
"biometric": patch
"cli": patch
"clipboard-manager": patch
"deep-link": patch
"dialog": patch
"fs": patch
"global-shortcut": patch
"http": patch
"localhost": patch
"log-plugin": patch
"nfc": patch
"notification": patch
"os": patch
"persisted-scope": patch
"positioner": patch
"process": patch
"shell": patch
"single-instance": patch
"sql": patch
"store": patch
"stronghold": patch
"updater": patch
"upload": patch
"websocket": patch
"window-state": patch
"authenticator-js": patch
"autostart-js": patch
"barcode-scanner-js": patch
"biometric-js": patch
"cli-js": patch
"clipboard-manager-js": patch
"deep-link-js": patch
"dialog-js": patch
"fs-js": patch
"global-shortcut-js": patch
"http-js": patch
"log-js": patch
"nfc-js": patch
"notification-js": patch
"os-js": patch
"positioner-js": patch
"process-js": patch
"shell-js": patch
"sql-js": patch
"store-js": patch
"stronghold-js": patch
"updater-js": patch
"upload-js": patch
"websocket-js": patch
"window-state-js": patch
---
Update to tauri beta.17.
+57
View File
@@ -0,0 +1,57 @@
---
"authenticator": patch
"autostart": patch
"barcode-scanner": patch
"biometric": patch
"cli": patch
"clipboard-manager": patch
"deep-link": patch
"dialog": patch
"fs": patch
"global-shortcut": patch
"http": patch
"localhost": patch
"log-plugin": patch
"nfc": patch
"notification": patch
"os": patch
"persisted-scope": patch
"positioner": patch
"process": patch
"shell": patch
"single-instance": patch
"sql": patch
"store": patch
"stronghold": patch
"updater": patch
"upload": patch
"websocket": patch
"window-state": patch
"authenticator-js": patch
"autostart-js": patch
"barcode-scanner-js": patch
"biometric-js": patch
"cli-js": patch
"clipboard-manager-js": patch
"deep-link-js": patch
"dialog-js": patch
"fs-js": patch
"global-shortcut-js": patch
"http-js": patch
"log-js": patch
"nfc-js": patch
"notification-js": patch
"os-js": patch
"positioner-js": patch
"process-js": patch
"shell-js": patch
"sql-js": patch
"store-js": patch
"stronghold-js": patch
"updater-js": patch
"upload-js": patch
"websocket-js": patch
"window-state-js": patch
---
Update to tauri beta.20.
+57
View File
@@ -0,0 +1,57 @@
---
"authenticator": patch
"autostart": patch
"barcode-scanner": patch
"biometric": patch
"cli": patch
"clipboard-manager": patch
"deep-link": patch
"dialog": patch
"fs": patch
"global-shortcut": patch
"http": patch
"localhost": patch
"log-plugin": patch
"nfc": patch
"notification": patch
"os": patch
"persisted-scope": patch
"positioner": patch
"process": patch
"shell": patch
"single-instance": patch
"sql": patch
"store": patch
"stronghold": patch
"updater": patch
"upload": patch
"websocket": patch
"window-state": patch
"authenticator-js": patch
"autostart-js": patch
"barcode-scanner-js": patch
"biometric-js": patch
"cli-js": patch
"clipboard-manager-js": patch
"deep-link-js": patch
"dialog-js": patch
"fs-js": patch
"global-shortcut-js": patch
"http-js": patch
"log-js": patch
"nfc-js": patch
"notification-js": patch
"os-js": patch
"positioner-js": patch
"process-js": patch
"shell-js": patch
"sql-js": patch
"store-js": patch
"stronghold-js": patch
"updater-js": patch
"upload-js": patch
"websocket-js": patch
"window-state-js": patch
---
Update to tauri beta.4.
+57
View File
@@ -0,0 +1,57 @@
---
"authenticator": patch
"autostart": patch
"barcode-scanner": patch
"biometric": patch
"cli": patch
"clipboard-manager": patch
"deep-link": patch
"dialog": patch
"fs": patch
"global-shortcut": patch
"http": patch
"localhost": patch
"log-plugin": patch
"nfc": patch
"notification": patch
"os": patch
"persisted-scope": patch
"positioner": patch
"process": patch
"shell": patch
"single-instance": patch
"sql": patch
"store": patch
"stronghold": patch
"updater": patch
"upload": patch
"websocket": patch
"window-state": patch
"authenticator-js": patch
"autostart-js": patch
"barcode-scanner-js": patch
"biometric-js": patch
"cli-js": patch
"clipboard-manager-js": patch
"deep-link-js": patch
"dialog-js": patch
"fs-js": patch
"global-shortcut-js": patch
"http-js": patch
"log-js": patch
"nfc-js": patch
"notification-js": patch
"os-js": patch
"positioner-js": patch
"process-js": patch
"shell-js": patch
"sql-js": patch
"store-js": patch
"stronghold-js": patch
"updater-js": patch
"upload-js": patch
"websocket-js": patch
"window-state-js": patch
---
Update to tauri beta.8.
+7
View File
@@ -0,0 +1,7 @@
---
"fs": patch
"http": patch
"shell": patch
---
Update to tauri beta.9.
@@ -0,0 +1,6 @@
---
"updater": "patch"
"updater-js": "patch"
---
Add `Update.download` and `Update.install` functions to the JavaScript API
+5
View File
@@ -0,0 +1,5 @@
---
"updater": "patch"
---
Add support for updating using non-zipped files on Windows and Linux.
+5
View File
@@ -0,0 +1,5 @@
---
"updater": "patch"
---
Fix NSIS updater creating new shortcuts on update.
@@ -0,0 +1,5 @@
---
"updater": "patch"
---
Disable zip crate default features
+5
View File
@@ -0,0 +1,5 @@
---
"fs": patch
---
Fixes `RenameMode::From` and `RenameMode::To` never getting converted to `RenameMode::Both` when using `watch` with a debounce on Windows
+6
View File
@@ -0,0 +1,6 @@
---
"window-state": "patch"
"window-state-js": "patch"
---
Add `Builder::with_filename` to support using a custom filename. Also add `AppHandleExt::file_name` and a similar function in JS, to retrieve it later.
@@ -0,0 +1,5 @@
---
"window-state": "patch"
---
**Breaking change**: Renamed `STATE_FILENAME` const to `DEFAULT_FILENAME`.
+5
View File
@@ -0,0 +1,5 @@
---
"window-state": patch
---
Fix `restore_window` and `filename` js binding missing permission
+5
View File
@@ -0,0 +1,5 @@
---
"window-state": patch
---
**Breaking change**: Changed the format of the state file from bincode to json. Also changed the filename to from `.window-state` to `.window-state.json`.
+6
View File
@@ -1,4 +1,10 @@
target
node_modules
dist
build/
dist-js
api-iife.js
init-iife.js
init.js
rollup.config.js
examples/
+2 -1
View File
@@ -13,7 +13,8 @@
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
"sourceType": "module",
"project": ["**/tsconfig.json"]
},
"plugins": ["@typescript-eslint"],
"rules": {}
+3
View File
@@ -1,4 +1,7 @@
#!/bin/bash
# Copyright 2019-2023 Tauri Programme within The Commons Conservancy
# SPDX-License-Identifier: Apache-2.0
# SPDX-License-Identifier: MIT
## Environment used by this script:
#
+10 -6
View File
@@ -1,3 +1,7 @@
# Copyright 2019-2023 Tauri Programme within The Commons Conservancy
# SPDX-License-Identifier: Apache-2.0
# SPDX-License-Identifier: MIT
name: Audit JavaScript
on:
@@ -29,20 +33,20 @@ jobs:
audit-js:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Cache pnpm modules
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18
- uses: pnpm/action-setup@v2
node-version: "lts/*"
- uses: pnpm/action-setup@v4
with:
version: 7.x.x
version: 9.x.x
run_install: true
- name: audit
run: pnpm audit
+5 -1
View File
@@ -1,3 +1,7 @@
# Copyright 2019-2023 Tauri Programme within The Commons Conservancy
# SPDX-License-Identifier: Apache-2.0
# SPDX-License-Identifier: MIT
name: Audit Rust
on:
@@ -29,7 +33,7 @@ jobs:
audit-rust:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: rustsec/audit-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
+147
View File
@@ -0,0 +1,147 @@
# Copyright 2019-2023 Tauri Programme within The Commons Conservancy
# SPDX-License-Identifier: Apache-2.0
# SPDX-License-Identifier: MIT
name: check generated files
on:
pull_request:
paths:
- ".github/workflows/check-generated-files.yml"
- "**/guest-js/**"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest
outputs:
packages: ${{ steps.filter.outputs.changes }}
steps:
- uses: actions/checkout@v4
- uses: dorny/paths-filter@v2
id: filter
with:
filters: |
authenticator:
- .github/workflows/check-generated-files.yml
- plugins/authenticator/guest-js/**
- plugins/authenticator/src/api-iife.js
autostart:
- .github/workflows/check-generated-files.yml
- plugins/autostart/guest-js/**
- plugins/autostart/src/api-iife.js
cli:
- .github/workflows/check-generated-files.yml
- plugins/cli/guest-js/**
- plugins/cli/src/api-iife.js
clipboard-manager:
- .github/workflows/check-generated-files.yml
- plugins/clipboard-manager/guest-js/**
- plugins/clipboard-manager/src/api-iife.js
dialog:
- .github/workflows/check-generated-files.yml
- plugins/dialog/guest-js/**
- plugins/dialog/src/api-iife.js
fs:
- .github/workflows/check-generated-files.yml
- plugins/fs/guest-js/**
- plugins/fs/src/api-iife.js
global-shortcut:
- .github/workflows/check-generated-files.yml
- plugins/global-shortcut/guest-js/**
- plugins/global-shortcut/src/api-iife.js
http:
- .github/workflows/check-generated-files.yml
- plugins/http/guest-js/**
- plugins/http/src/api-iife.js
log:
- .github/workflows/check-generated-files.yml
- plugins/log/guest-js/**
- plugins/log/src/api-iife.js
notification:
- .github/workflows/check-generated-files.yml
- plugins/notification/guest-js/**
- plugins/notification/src/api-iife.js
os:
- .github/workflows/check-generated-files.yml
- plugins/os/guest-js/**
- plugins/os/src/api-iife.js
positioner:
- .github/workflows/check-generated-files.yml
- plugins/positioner/guest-js/**
- plugins/positioner/src/api-iife.js
process:
- .github/workflows/check-generated-files.yml
- plugins/process/guest-js/**
- plugins/process/src/api-iife.js
shell:
- .github/workflows/check-generated-files.yml
- plugins/shell/guest-js/**
- plugins/shell/src/api-iife.js
sql:
- .github/workflows/check-generated-files.yml
- plugins/sql/guest-js/**
- plugins/sql/src/api-iife.js
store:
- .github/workflows/check-generated-files.yml
- plugins/store/guest-js/**
- plugins/store/src/api-iife.js
stronghold:
- .github/workflows/check-generated-files.yml
- plugins/stronghold/guest-js/**
- plugins/stronghold/src/api-iife.js
updater:
- .github/workflows/check-generated-files.yml
- plugins/updater/guest-js/**
- plugins/updater/src/api-iife.js
upload:
- .github/workflows/check-generated-files.yml
- plugins/upload/guest-js/**
- plugins/upload/src/api-iife.js
websocket:
- .github/workflows/check-generated-files.yml
- plugins/websocket/guest-js/**
- plugins/websocket/src/api-iife.js
window-state:
- .github/workflows/check-generated-files.yml
- plugins/window-state/guest-js/**
- plugins/window-state/src/api-iife.js
test:
needs: changes
if: ${{ needs.changes.outputs.packages != '[]' && needs.changes.outputs.packages != '' }}
strategy:
fail-fast: false
matrix:
package: ${{ fromJSON(needs.changes.outputs.packages) }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Cache pnpm modules
uses: actions/cache@v4
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-
- uses: actions/setup-node@v4
with:
node-version: "lts/*"
- uses: pnpm/action-setup@v4
with:
version: 9.x.x
run_install: true
- name: build api
working-directory: plugins/${{ matrix.package }}
run: pnpm install && pnpm build
- name: check diff
run: |
./.scripts/ci/has-diff.sh
@@ -0,0 +1,28 @@
# Copyright 2019-2023 Tauri Programme within The Commons Conservancy
# SPDX-License-Identifier: Apache-2.0
# SPDX-License-Identifier: MIT
name: check license header
on:
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dorny/paths-filter@v2
id: filter
with:
list-files: shell
filters: |
added:
- added: '**'
- name: check header license on new files
if: ${{ steps.filter.outputs.added == 'true' }}
run: node .scripts/ci/check-license-header.js ${{ steps.filter.outputs.added_files }}
+6 -2
View File
@@ -1,3 +1,7 @@
# Copyright 2019-2023 Tauri Programme within The Commons Conservancy
# SPDX-License-Identifier: Apache-2.0
# SPDX-License-Identifier: MIT
name: covector status
on: [pull_request]
@@ -6,11 +10,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0 # required for use of git history
- name: covector status
uses: jbolda/covector/packages/action@covector-v0.8
uses: jbolda/covector/packages/action@covector-v0
id: covector
with:
command: "status"
@@ -0,0 +1,75 @@
# Copyright 2019-2023 Tauri Programme within The Commons Conservancy
# SPDX-License-Identifier: Apache-2.0
# SPDX-License-Identifier: MIT
name: version or publish
on:
push:
branches:
- v2
jobs:
version-or-publish:
runs-on: ubuntu-latest
timeout-minutes: 65
outputs:
change: ${{ steps.covector.outputs.change }}
commandRan: ${{ steps.covector.outputs.commandRan }}
successfulPublish: ${{ steps.covector.outputs.successfulPublish }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # required for use of git history
- uses: actions/setup-node@v4
with:
node-version: "lts/*"
registry-url: "https://registry.npmjs.org"
- uses: pnpm/action-setup@v4
with:
version: 9.x.x
run_install: true
- name: install webkit2gtk and libudev for [authenticator]
run: |
sudo apt-get update
sudo apt-get install -y libwebkit2gtk-4.0-dev libwebkit2gtk-4.1-dev libudev-dev
- name: cargo login
run: cargo login ${{ secrets.ORG_CRATES_IO_TOKEN }}
- name: git config
run: |
git config --global user.name "${{ github.event.pusher.name }}"
git config --global user.email "${{ github.event.pusher.email }}"
- name: Setup target dir on /mnt
run: |
sudo mkdir /mnt/target
WORKSPACE_OWNER="$(stat -c '%U:%G' "${GITHUB_WORKSPACE}")"
sudo chown -R "${WORKSPACE_OWNER}" /mnt/target
- name: covector version or publish (publish when no change files present)
uses: jbolda/covector/packages/action@covector-v0
id: covector
env:
CARGO_TARGET_DIR: /mnt/target
NODE_AUTH_TOKEN: ${{ secrets.ORG_NPM_TOKEN }}
with:
token: ${{ secrets.GITHUB_TOKEN }}
command: "version-or-publish"
createRelease: true
- name: Create Pull Request With Versions Bumped
id: cpr
uses: tauri-apps/create-pull-request@v3
if: steps.covector.outputs.commandRan == 'version'
with:
title: "Publish New Versions (v2)"
commit-message: "publish new versions"
labels: "version updates"
branch: "ci/release-v2"
body: ${{ steps.covector.outputs.change }}
@@ -1,3 +1,7 @@
# Copyright 2019-2023 Tauri Programme within The Commons Conservancy
# SPDX-License-Identifier: Apache-2.0
# SPDX-License-Identifier: MIT
name: version or publish
on:
@@ -15,18 +19,18 @@ jobs:
successfulPublish: ${{ steps.covector.outputs.successfulPublish }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0 # required for use of git history
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: "lts/*"
registry-url: "https://registry.npmjs.org"
- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v4
with:
version: 7.x.x
version: 9.x.x
run_install: true
- name: install webkit2gtk and libudev for [authenticator]
@@ -43,7 +47,7 @@ jobs:
git config --global user.email "${{ github.event.pusher.email }}"
- name: covector version or publish (publish when no change files present)
uses: jbolda/covector/packages/action@covector-v0.8
uses: jbolda/covector/packages/action@covector-v0
id: covector
env:
NODE_AUTH_TOKEN: ${{ secrets.ORG_NPM_TOKEN }}
+52
View File
@@ -0,0 +1,52 @@
# Copyright 2019-2023 Tauri Programme within The Commons Conservancy
# SPDX-License-Identifier: Apache-2.0
# SPDX-License-Identifier: MIT
name: integration tests
on:
push:
branches:
- v1
- v2
paths:
- ".github/workflows/integration-tests.yml"
- "plugins/updater/src/**"
pull_request:
branches:
- v1
- v2
paths:
- ".github/workflows/integration-tests.yml"
- "plugins/updater/src/**"
jobs:
run-integration-tests:
runs-on: ${{ matrix.platform }}
strategy:
fail-fast: false
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: install stable
uses: dtolnay/rust-toolchain@stable
- name: install Linux dependencies
if: matrix.platform == 'ubuntu-latest'
run: |
sudo apt-get update
sudo apt-get install -y libwebkit2gtk-4.1-dev libayatana-appindicator3-dev libfuse2
- uses: Swatinem/rust-cache@v2
- name: install Tauri CLI
run: cargo install tauri-cli --git https://github.com/tauri-apps/tauri --branch dev
- name: run integration tests
run: cargo test --test '*' -- --ignored
+16 -12
View File
@@ -1,3 +1,7 @@
# Copyright 2019-2023 Tauri Programme within The Commons Conservancy
# SPDX-License-Identifier: Apache-2.0
# SPDX-License-Identifier: MIT
name: Lint JavaScript
on:
@@ -32,40 +36,40 @@ jobs:
eslint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Cache pnpm modules
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18
- uses: pnpm/action-setup@v2
node-version: "lts/*"
- uses: pnpm/action-setup@v4
with:
version: 7.x.x
version: 9.x.x
run_install: true
- name: eslint
run: pnpm lint
prettier:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Cache pnpm modules
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18
- uses: pnpm/action-setup@v2
node-version: "lts/*"
- uses: pnpm/action-setup@v4
with:
version: 7.x.x
version: 9.x.x
run_install: true
- name: prettier check
run: pnpm format-check
+112 -12
View File
@@ -1,3 +1,7 @@
# Copyright 2019-2023 Tauri Programme within The Commons Conservancy
# SPDX-License-Identifier: Apache-2.0
# SPDX-License-Identifier: MIT
name: Lint Rust
on:
@@ -8,6 +12,7 @@ on:
paths:
- ".github/workflows/lint-rust.yml"
- "plugins/*/src/**"
- "!plugins/*/src/api-iife.js"
- "**/Cargo.toml"
pull_request:
branches:
@@ -16,6 +21,7 @@ on:
paths:
- ".github/workflows/lint-rust.yml"
- "plugins/*/src/**"
- "!plugins/*/src/api-iife.js"
- "**/Cargo.toml"
concurrency:
@@ -23,13 +29,105 @@ concurrency:
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest
permissions:
pull-requests: read
outputs:
packages: ${{ steps.filter.outputs.changes }}
steps:
- uses: actions/checkout@v4
- uses: dorny/paths-filter@v2
id: filter
with:
filters: |
tauri-plugin-authenticator:
- .github/workflows/lint-rust.yml
- plugins/authenticator/**
tauri-plugin-autostart:
- .github/workflows/lint-rust.yml
- plugins/autostart/**
tauri-plugin-cli:
- .github/workflows/lint-rust.yml
- plugins/cli/**
tauri-plugin-clipboard-manager:
- .github/workflows/lint-rust.yml
- plugins/clipboard-manager/**
tauri-plugin-dialog:
- .github/workflows/lint-rust.yml
- plugins/dialog/**
- plugins/fs/**
tauri-plugin-fs:
- .github/workflows/lint-rust.yml
- plugins/fs/**
tauri-plugin-global-shortcut:
- .github/workflows/lint-rust.yml
- plugins/global-shortcut/**
tauri-plugin-http:
- .github/workflows/lint-rust.yml
- plugins/http/**
- plugins/fs/**
tauri-plugin-localhost:
- .github/workflows/lint-rust.yml
- plugins/localhost/**
tauri-plugin-log:
- .github/workflows/lint-rust.yml
- plugins/log/**
tauri-plugin-notification:
- .github/workflows/lint-rust.yml
- plugins/notification/**
tauri-plugin-os:
- .github/workflows/lint-rust.yml
- plugins/os/**
tauri-plugin-persisted-scope:
- .github/workflows/lint-rust.yml
- plugins/persisted-scope/**
- plugins/fs/**
tauri-plugin-positioner:
- .github/workflows/lint-rust.yml
- plugins/positioner/**
tauri-plugin-process:
- .github/workflows/lint-rust.yml
- plugins/process/**
tauri-plugin-shell:
- .github/workflows/lint-rust.yml
- plugins/shell/**
tauri-plugin-single-instance:
- .github/workflows/lint-rust.yml
- plugins/single-instance/**
tauri-plugin-sql:
- .github/workflows/lint-rust.yml
- plugins/sql/**
tauri-plugin-store:
- .github/workflows/lint-rust.yml
- plugins/store/**
tauri-plugin-stronghold:
- .github/workflows/lint-rust.yml
- plugins/stronghold/**
tauri-plugin-updater:
- .github/workflows/lint-rust.yml
- plugins/updater/**
tauri-plugin-upload:
- .github/workflows/lint-rust.yml
- plugins/upload/**
tauri-plugin-websocket:
- .github/workflows/lint-rust.yml
- plugins/websocket/**
tauri-plugin-window-state:
- .github/workflows/lint-rust.yml
- plugins/window-state/**
clippy:
needs: changes
if: ${{ needs.changes.outputs.packages != '[]' && needs.changes.outputs.packages != '' }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
package: ${{ fromJSON(needs.changes.outputs.packages) }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: install webkit2gtk and libudev for [authenticator]
run: |
@@ -43,25 +141,27 @@ jobs:
- uses: Swatinem/rust-cache@v2
- name: clippy
run: cargo clippy --workspace --exclude 'tauri-plugin-sql' --all-targets --all-features -- -D warnings
- name: create dummy dist
working-directory: examples/api
run: mkdir dist
- name: clippy sql:sqlite
run: cargo clippy --package 'tauri-plugin-sql' --all-targets --features sqlite -- -D warnings
- name: clippy ${{ matrix.package }}
if: matrix.package != 'tauri-plugin-sql'
run: cargo clippy --package ${{ matrix.package }} --all-targets -- -D warnings
- name: clippy sql:mysql
run: cargo clippy --package 'tauri-plugin-sql' --all-targets --features mysql -- -D warnings
- name: clippy ${{ matrix.package }} mysql
if: matrix.package == 'tauri-plugin-sql'
run: cargo clippy --package ${{ matrix.package }} --all-targets --no-default-features --features mysql -- -D warnings
- name: clippy sql:postgres
run: cargo clippy --package 'tauri-plugin-sql' --all-targets --features postgres -- -D warnings
- name: clippy ${{ matrix.package }} postgres
if: matrix.package == 'tauri-plugin-sql'
run: cargo clippy --package ${{ matrix.package }} --all-targets --no-default-features --features postgres -- -D warnings
fmt:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install rustfmt with nightly toolchain
uses: dtolnay/rust-toolchain@nightly
-57
View File
@@ -1,57 +0,0 @@
name: Check MSRV
on:
push:
branches:
- v1
- v2
paths:
- ".github/workflows/msrv-check.yml"
- "plugins/*/src/**"
- "**/Cargo.toml"
- "**/Cargo.lock"
pull_request:
branches:
- v1
- v2
paths:
- ".github/workflows/msrv-check.yml"
- "plugins/*/src/**"
- "**/Cargo.toml"
- "**/Cargo.lock"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
msrv:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v3
- name: install webkit2gtk and libudev for [authenticator]
run: |
sudo apt-get update
sudo apt-get install -y libwebkit2gtk-4.0-dev libwebkit2gtk-4.1-dev libudev-dev
- uses: dtolnay/rust-toolchain@1.64.0
- uses: Swatinem/rust-cache@v2
- name: build
run: cargo build --workspace --exclude 'tauri-plugin-sql' --all-targets --all-features
- uses: dtolnay/rust-toolchain@1.65.0
- name: build sql:sqlite
run: cargo build --package 'tauri-plugin-sql' --all-targets --features sqlite
- name: build sql:mysql
run: cargo build --package 'tauri-plugin-sql' --all-targets --features mysql
- name: build sql:postgres
run: cargo build --package 'tauri-plugin-sql' --all-targets --features postgres
+10 -6
View File
@@ -1,3 +1,7 @@
# Copyright 2019-2023 Tauri Programme within The Commons Conservancy
# SPDX-License-Identifier: Apache-2.0
# SPDX-License-Identifier: MIT
name: Sync
on:
@@ -15,26 +19,26 @@ jobs:
sync-to-mirrors:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Fetch git tags
run: git fetch origin 'refs/tags/*:refs/tags/*'
- name: Cache pnpm modules
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: "lts/*"
- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v4
with:
version: 7.x.x
version: 9.x.x
run_install: true
- name: Build packages
+266
View File
@@ -0,0 +1,266 @@
# Copyright 2019-2023 Tauri Programme within The Commons Conservancy
# SPDX-License-Identifier: Apache-2.0
# SPDX-License-Identifier: MIT
name: Test Rust
on:
push:
branches:
- v1
- v2
paths:
- ".github/workflows/test-rust.yml"
- "plugins/*/src/**"
- "!plugins/*/src/api-iife.js"
- "**/Cargo.toml"
- "**/Cargo.lock"
pull_request:
branches:
- v1
- v2
paths:
- ".github/workflows/test-rust.yml"
- "plugins/*/src/**"
- "!plugins/*/src/api-iife.js"
- "**/Cargo.toml"
- "**/Cargo.lock"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest
permissions:
pull-requests: read
outputs:
packages: ${{ steps.filter.outputs.changes }}
steps:
- uses: actions/checkout@v4
- uses: dorny/paths-filter@v2
id: filter
with:
base: v2
filters: |
tauri-plugin-authenticator:
- .github/workflows/test-rust.yml
- Cargo.toml
- Cargo.lock
- plugins/authenticator/**
tauri-plugin-autostart:
- .github/workflows/test-rust.yml
- Cargo.toml
- Cargo.lock
- plugins/autostart/**
tauri-plugin-cli:
- .github/workflows/test-rust.yml
- Cargo.toml
- Cargo.lock
- plugins/cli/**
tauri-plugin-clipboard-manager:
- .github/workflows/test-rust.yml
- Cargo.toml
- Cargo.lock
- plugins/clipboard-manager/**
tauri-plugin-deep-link:
- .github/workflows/test-rust.yml
- Cargo.toml
- Cargo.lock
- plugins/deep-link/**
tauri-plugin-dialog:
- .github/workflows/test-rust.yml
- Cargo.toml
- Cargo.lock
- plugins/dialog/**
- plugins/fs/**
tauri-plugin-fs:
- .github/workflows/test-rust.yml
- Cargo.toml
- Cargo.lock
- plugins/fs/**
tauri-plugin-global-shortcut:
- .github/workflows/test-rust.yml
- Cargo.toml
- Cargo.lock
- plugins/global-shortcut/**
tauri-plugin-http:
- .github/workflows/test-rust.yml
- Cargo.toml
- Cargo.lock
- plugins/http/**
- plugins/fs/**
tauri-plugin-localhost:
- .github/workflows/test-rust.yml
- Cargo.toml
- Cargo.lock
- plugins/localhost/**
tauri-plugin-log:
- .github/workflows/test-rust.yml
- Cargo.toml
- Cargo.lock
- plugins/log/**
tauri-plugin-notification:
- .github/workflows/test-rust.yml
- Cargo.toml
- Cargo.lock
- plugins/notification/**
tauri-plugin-os:
- .github/workflows/test-rust.yml
- Cargo.toml
- Cargo.lock
- plugins/os/**
tauri-plugin-persisted-scope:
- .github/workflows/test-rust.yml
- Cargo.toml
- Cargo.lock
- plugins/persisted-scope/**
- plugins/fs/**
tauri-plugin-positioner:
- .github/workflows/test-rust.yml
- Cargo.toml
- Cargo.lock
- plugins/positioner/**
tauri-plugin-process:
- .github/workflows/test-rust.yml
- Cargo.toml
- Cargo.lock
- plugins/process/**
tauri-plugin-shell:
- .github/workflows/test-rust.yml
- Cargo.toml
- Cargo.lock
- plugins/shell/**
tauri-plugin-single-instance:
- .github/workflows/test-rust.yml
- Cargo.toml
- Cargo.lock
- plugins/single-instance/**
tauri-plugin-sql:
- .github/workflows/test-rust.yml
- Cargo.toml
- Cargo.lock
- plugins/sql/**
tauri-plugin-store:
- .github/workflows/test-rust.yml
- Cargo.toml
- Cargo.lock
- plugins/store/**
tauri-plugin-stronghold:
- .github/workflows/test-rust.yml
- Cargo.toml
- Cargo.lock
- plugins/stronghold/**
tauri-plugin-updater:
- .github/workflows/test-rust.yml
- Cargo.toml
- Cargo.lock
- plugins/updater/**
tauri-plugin-upload:
- .github/workflows/test-rust.yml
- Cargo.toml
- Cargo.lock
- plugins/upload/**
tauri-plugin-websocket:
- .github/workflows/test-rust.yml
- Cargo.toml
- Cargo.lock
- plugins/websocket/**
tauri-plugin-window-state:
- .github/workflows/test-rust.yml
- Cargo.toml
- Cargo.lock
- plugins/window-state/**
test:
needs: changes
if: ${{ needs.changes.outputs.packages != '[]' && needs.changes.outputs.packages != '' }}
strategy:
fail-fast: false
matrix:
package: ${{ fromJSON(needs.changes.outputs.packages) }}
platform:
- {
target: x86_64-pc-windows-msvc,
os: windows-latest,
runner: "cargo",
command: "test",
}
- {
target: x86_64-unknown-linux-gnu,
os: ubuntu-latest,
runner: "cargo",
command: "test",
}
- {
target: aarch64-apple-darwin,
os: macos-latest,
runner: "cargo",
command: "test",
}
- {
target: aarch64-apple-ios,
os: macos-latest,
runner: "cargo",
command: "build",
}
- {
target: aarch64-linux-android,
os: ubuntu-latest,
runner: "cross",
command: "build",
}
runs-on: ${{ matrix.platform.os }}
steps:
- uses: actions/checkout@v4
- name: install webkit2gtk and libudev for [authenticator]
if: contains(matrix.platform.target, 'unknown-linux')
run: |
sudo apt-get update
sudo apt-get install -y libwebkit2gtk-4.0-dev libwebkit2gtk-4.1-dev libudev-dev
- name: install openssl
if: ${{ matrix.platform.os == 'windows-latest' && matrix.package == 'tauri-plugin-authenticator' }}
run: |
echo "VCPKG_ROOT=$env:VCPKG_INSTALLATION_ROOT" | Out-File -FilePath $env:GITHUB_ENV -Append
vcpkg install openssl:x64-windows-static-md
- uses: dtolnay/rust-toolchain@1.75.0
with:
targets: ${{ matrix.platform.target }}
- uses: Swatinem/rust-cache@v2
with:
key: cache-${{ matrix.package }}-${{ matrix.platform.target }}
- name: create dummy dist
working-directory: examples/api
run: mkdir dist
- name: install cross
if: ${{ matrix.platform.runner == 'cross' }}
run: cargo +stable install cross --git https://github.com/cross-rs/cross
- name: test ${{ matrix.package }}
if: matrix.package != 'tauri-plugin-sql' && matrix.package != 'tauri-plugin-http'
run: ${{ matrix.platform.runner }} ${{ matrix.platform.command }} --package ${{ matrix.package }} --target ${{ matrix.platform.target }} --all-targets --all-features
- name: test ${{ matrix.package }}
if: matrix.package == 'tauri-plugin-http'
run: ${{ matrix.platform.runner }} ${{ matrix.platform.command }} --package ${{ matrix.package }} --target ${{ matrix.platform.target }} --all-targets
- name: test ${{ matrix.package }} sqlite
if: matrix.package == 'tauri-plugin-sql'
run: ${{ matrix.platform.runner }} ${{ matrix.platform.command }} --package ${{ matrix.package }} --target ${{ matrix.platform.target }} --all-targets --features sqlite
- name: test ${{ matrix.package }} mysql
if: matrix.package == 'tauri-plugin-sql'
run: ${{ matrix.platform.runner }} ${{ matrix.platform.command }} --package ${{ matrix.package }} --target ${{ matrix.platform.target }} --all-targets --features mysql
- name: test ${{ matrix.package }} postgres
if: matrix.package == 'tauri-plugin-sql'
run: ${{ matrix.platform.runner }} ${{ matrix.platform.command }} --package ${{ matrix.package }} --target ${{ matrix.platform.target }} --all-targets --features postgres
+6 -1
View File
@@ -1,3 +1,8 @@
target
node_modules
dist-js
dist-js
dist
.idea
.vscode
.gradle
**/capabilities/schemas

Some files were not shown because too many files have changed in this diff Show More