Compare commits

...

95 Commits

Author SHA1 Message Date
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
675 changed files with 40936 additions and 8263 deletions
-5
View File
@@ -1,5 +0,0 @@
---
"log-plugin": patch
---
Update to tauri@2.0.0-alpha.16.
-30
View File
@@ -1,30 +0,0 @@
---
"authenticator": patch
"autostart": patch
"barcode-scanner": patch
"cli": patch
"clipboard-manager": patch
"deep-link": patch
"dialog": patch
"fs": patch
"global-shortcut": patch
"http": patch
"localhost": patch
"log-plugin": 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 to tauri@alpha.17.
-30
View File
@@ -1,30 +0,0 @@
---
"authenticator": patch
"autostart": patch
"barcode-scanner": patch
"cli": patch
"clipboard-manager": patch
"deep-link": patch
"dialog": patch
"fs": patch
"global-shortcut": patch
"http": patch
"localhost": patch
"log-plugin": 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 to tauri@alpha.18.
-30
View File
@@ -1,30 +0,0 @@
---
"authenticator": patch
"autostart": patch
"barcode-scanner": patch
"cli": patch
"clipboard-manager": patch
"deep-link": patch
"dialog": patch
"fs": patch
"global-shortcut": patch
"http": patch
"localhost": patch
"log-plugin": 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 to tauri@alpha.20.
-27
View File
@@ -1,27 +0,0 @@
---
"authenticator-js": patch
"autostart-js": patch
"barcode-scanner-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
"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-apps/api v2.0.0-alpha.11.
-27
View File
@@ -1,27 +0,0 @@
---
"authenticator-js": patch
"autostart-js": patch
"barcode-scanner-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
"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-apps/api v2.0.0-alpha.12.
-27
View File
@@ -1,27 +0,0 @@
---
"authenticator-js": patch
"autostart-js": patch
"barcode-scanner-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
"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-apps/api v2.0.0-alpha.13.
-27
View File
@@ -1,27 +0,0 @@
---
"authenticator-js": patch
"autostart-js": patch
"barcode-scanner-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
"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-apps/api v2.0.0-alpha.9.
+29 -21
View File
@@ -1,49 +1,57 @@
---
"authenticator": patch
"authenticator-js": patch
"autostart": patch
"autostart-js": patch
"barcode-scanner": patch
"biometric": patch
"cli": patch
"cli-js": patch
"clipboard-manager": patch
"clipboard-manager-js": patch
"deep-link": patch
"dialog": patch
"dialog-js": patch
"fs": patch
"fs-js": patch
"global-shortcut": patch
"global-shortcut-js": patch
"http": patch
"http-js": patch
"localhost": patch
"log-plugin": patch
"log-js": patch
"nfc": patch
"notification": patch
"notification-js": patch
"os": patch
"os-js": patch
"persisted-scope": patch
"positioner": patch
"positioner-js": patch
"process": patch
"process-js": patch
"shell": patch
"shell-js": patch
"single-instance": patch
"sql": patch
"sql-js": patch
"store": patch
"store-js": patch
"stronghold": patch
"stronghold-js": patch
"updater": patch
"updater-js": patch
"upload": patch
"upload-js": patch
"websocket": patch
"websocket-js": 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 alpha.11.
Update to tauri beta.
-6
View File
@@ -1,6 +0,0 @@
---
"biometric": major
"biometric-js": major
---
Initial release.
+6
View File
@@ -0,0 +1,6 @@
---
"clipboard-manager": patch
"clipboard-manager-js": patch
---
Add support for writing HTML content to the clipboard.
-2
View File
@@ -187,7 +187,6 @@
"path": "./plugins/log",
"manager": "javascript"
},
"nfc": {
"path": "./plugins/nfc",
"manager": "rust"
@@ -196,7 +195,6 @@
"path": "./plugins/nfc",
"manager": "javascript"
},
"notification": {
"path": "./plugins/notification",
"manager": "rust"
-6
View File
@@ -1,6 +0,0 @@
---
"deep-link": major
"deep-link-js": major
---
Initial release.
-5
View File
@@ -1,5 +0,0 @@
---
"dialog": "patch"
---
On non-Linux system, use `AsyncMessageDialog` instead of `MessageDialog`. [(tauri#7182)](https://github.com/tauri-apps/tauri/issues/7182)
@@ -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.
@@ -1,5 +0,0 @@
---
"dialog": patch
---
On Windows, fix `open` dialog `defaultPath`, when invoked from JS, not working if the path uses forward slash (`/`)
-5
View File
@@ -1,5 +0,0 @@
---
"dialog": patch
---
Re-export `FileResponse` interface.
+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
@@ -1,5 +0,0 @@
---
"dialog": "patch"
---
Pin the version of `rfd` to 0.12.0. This is a workaround for [PolyMeilex/rfd#152](https://github.com/PolyMeilex/rfd/pull/152), in which rfd took over responsibility for `gtk_init` by running its own event loop thread.
-6
View File
@@ -1,6 +0,0 @@
---
"dialog": patch
"dialog-js": patch
---
Fix incorrect result for dialog messages.
+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 @@
---
"fs": patch
"fs-js": patch
---
Fix infinite loop on cargo build operations
-28
View File
@@ -1,28 +0,0 @@
---
"authenticator": patch
"autostart": patch
"cli": patch
"clipboard-manager": patch
"dialog": patch
"fs": patch
"global-shortcut": patch
"http": patch
"localhost": patch
"log-plugin": 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
---
Fixes docs.rs build by enabling the `tauri/dox` feature flag.
-7
View File
@@ -1,7 +0,0 @@
---
"log-plugin": patch
"deep-link": patch
"store": patch
---
Update to breaking changes from tauri@alpha.17.
-6
View File
@@ -1,6 +0,0 @@
---
"shell": patch
"dialog": patch
---
Fix invoke usage.
-5
View File
@@ -1,5 +0,0 @@
---
"sql": patch
---
Encode JSON number query params as f64 to fix JSON_EXTRACT queries on SQLite
-5
View File
@@ -1,5 +0,0 @@
---
"notification": patch
---
Fix permission prompt.
+5
View File
@@ -0,0 +1,5 @@
---
'single-instance': patch
---
Fix doesn't shutdown immediately.
-5
View File
@@ -1,5 +0,0 @@
---
"updater": patch
---
Fixes update on macOS.
-5
View File
@@ -1,5 +0,0 @@
---
"window-state-js": patch
---
Fix usage of no longer available `__TAURI_METADATA__` API.
+5
View File
@@ -0,0 +1,5 @@
---
"single-instance": patch
---
Fix `zbus::blocking::connection::Builder` import.
-5
View File
@@ -1,5 +0,0 @@
---
"fs-js": "patch"
---
Add second argument to `exists` function to specify base directory.
-5
View File
@@ -1,5 +0,0 @@
---
"fs": patch
---
Fix promise rejection error only containing the context and stripping the actual error message.
-6
View File
@@ -1,6 +0,0 @@
---
"fs": "patch"
"fs-js": "patch"
---
The `fs` plugin received a major overhaul to add new APIs and changed existing APIs to be closer to Node.js and Deno APIs.
-6
View File
@@ -1,6 +0,0 @@
---
"fs": patch
"persisted-scope": patch
---
Use `tauri::scope::fs::Scope` instead of local copy of its implementation.
-5
View File
@@ -1,5 +0,0 @@
---
"fs-js": patch
---
Fix `writeBinaryFile` crashing with `command 'write_binary_file' not found`
-5
View File
@@ -1,5 +0,0 @@
---
"global-shortcut": "patch"
---
**Breaking Change**: Changed `Builder::with_handler` closure to take `&AppHandle` as the first argument and the shortcut as the second argument.
-5
View File
@@ -1,5 +0,0 @@
---
"http-js": minor
---
Multipart requests are now handled in JavaScript by the `Request` JavaScript class so you just need to use a `FormData` body and not set the content-type header to `multipart/form-data`. `application/x-www-form-urlencoded` requests must be done manually.
-6
View File
@@ -1,6 +0,0 @@
---
"http": minor
"http-js": minor
---
The http plugin has been rewritten from scratch and now only exposes a `fetch` function in Javascript and Re-exports `reqwest` crate in Rust. The new `fetch` method tries to be as close and compliant to the `fetch` Web API as possible.
-5
View File
@@ -1,5 +0,0 @@
---
"http": patch
---
Remove `cmd` property which breaks invoke call.
-5
View File
@@ -1,5 +0,0 @@
---
"http": patch
---
Improve response performance by using the new IPC streaming data.
+6
View File
@@ -0,0 +1,6 @@
---
"http": "patch"
"http-js": "patch"
---
Allow `User-Agent` header to be set.
@@ -2,6 +2,7 @@
"authenticator": patch
"autostart": patch
"barcode-scanner": patch
"biometric": patch
"cli": patch
"clipboard-manager": patch
"deep-link": patch
@@ -11,6 +12,7 @@
"http": patch
"localhost": patch
"log-plugin": patch
"nfc": patch
"notification": patch
"os": patch
"persisted-scope": patch
@@ -27,4 +29,4 @@
"window-state": patch
---
Update MSRV to 1.70.
Update MSRV to 1.75.
-6
View File
@@ -1,6 +0,0 @@
---
"nfc": major
"nfc-js": major
---
Initial release.
-5
View File
@@ -1,5 +0,0 @@
---
"notification": patch
---
Use `window.__TAURI_INVOKE__` instead of `window.__TAURI__` in init.js, fixes usage in apps without `withGlobalTauri` enabled.
-5
View File
@@ -1,5 +0,0 @@
---
"notification": patch
---
Revert [7d71ad4e5](https://github.com/tauri-apps/plugins-workspace/commit/7d71ad4e587bcf47ea34645f5b226945e487b765) which added a default sound for notifications on Windows. This introduced inconsistency with other platforms that has silent notifications by default. In the upcoming releases, we will add support for modifying the notification sound across all platforms.
-5
View File
@@ -1,5 +0,0 @@
---
"notification": patch
---
Play a default sound when showing a notification on Windows.
-5
View File
@@ -1,5 +0,0 @@
---
"os-js": "patch"
---
Fix `macss -> macos` typo in `OsType` type.
-12
View File
@@ -1,12 +0,0 @@
---
"os": minor
"os-js": minor
---
The os plugin is recieving a few changes to improve consistency and add new features:
- Renamed `Kind` enum to `OsType` and `kind()` function to `os_type()`.
- Added `family()`,`exe_extension()`, and `hostname()` functions and their equivalents for JS.
- Removed `tempdir()` function and its equivalent on JS, use `std::env::temp_dir` instead of `temp_dir` from `tauri::path::PathResolver::temp_dir` and `path.tempDir` on JS.
- Modified `platform()` implementation to return `windows` instead of `win32` and `macos` instead of `darwin` to align with Rust's `std::env::consts::OS`
- `EOL` const in JS has been modified into a function `eol()` fix import issues in frameworks like `next.js`
-7
View File
@@ -1,7 +0,0 @@
---
"os": "patch"
"os-js": "patch"
---
Fix `Uncaught TypeError: Cannot read properties of undefined (reading 'os')`
-5
View File
@@ -1,5 +0,0 @@
---
"persisted-scope": patch
---
Split up fs and asset scopes. **This will reset the asset protocol scope once!**
-5
View File
@@ -1,5 +0,0 @@
---
"persisted-scope": patch
---
Fix usage of directory patterns by removing glob asterisks at the end before allowing/forbidding them. This was causing them to be escaped, and so undesirable paths were allowed/forbidden while polluting the `.persisted-scope` file.
-5
View File
@@ -1,5 +0,0 @@
---
"positioner": patch
---
Change `system-tray` feature flag to `tray-icon`.
+15 -69
View File
@@ -1,73 +1,19 @@
{
"tag": "alpha",
"tag": "beta",
"changes": [
".changes/alpha.16.md",
".changes/alpha.17.md",
".changes/alpha.18.md",
".changes/alpha.20.md",
".changes/api-alpha.11.md",
".changes/api-alpha.12.md",
".changes/api-alpha.13.md",
".changes/api-alpha.9.md",
".changes/biometric-initial-release.md",
".changes/deep-link-initial-release.md",
".changes/dialog-async-message-dialog.md",
".changes/dialog-default-path-windows-slash.md",
".changes/dialog-export-fileresponse.md",
".changes/dialog-pin-rfd.md",
".changes/dialog-return-result.md",
".changes/fix-docs-build.md",
".changes/fix-emit-all-usage.md",
".changes/fix-invoke-usage.md",
".changes/fix-number-query-params.md",
".changes/fix-permission-notification.md",
".changes/fix-updater-macos.md",
".changes/fix-window-state-api.md",
".changes/fs-exists-2nd-arg.md",
".changes/fs-improve-error-message.md",
".changes/fs-improved-apis.md",
".changes/fs-scope-tauri.md",
".changes/fs-wiret-binary-file.md",
".changes/global-shortcut-app-handle.md",
".changes/http-multipart-refactor.md",
".changes/http-plugin-refactor.md",
".changes/http-remove-cmd-property.md",
".changes/http-response.md",
".changes/msrv-1.70.md",
".changes/nfc-initial-release.md",
".changes/notification-init-script.md",
".changes/notification-revert-sound.md",
".changes/notification-sound.md",
".changes/os-OsType.md",
".changes/os-plugin-refactor.md",
".changes/os-reading-undefined.md",
".changes/persisted-scope-asset.md",
".changes/persisted-scope-glob.md",
".changes/positioner-tray-flag.md",
".changes/scanner-initial-release.md",
".changes/shell-command-apis.md",
".changes/shell-detached.md",
".changes/sql-decode-floats.md",
".changes/stronghold-arg-name.md",
".changes/stronghold-argon2.md",
".changes/stronghold-constructor.md",
".changes/tauri-alpha-15.md",
".changes/tauri-alpha.11.md",
".changes/tauri-alpha.12.md",
".changes/tray-position.md",
".changes/updater-appimage.md",
".changes/updater-escaped-path.md",
".changes/updater-nsis-admin.md",
".changes/updater-nsis-basicui.md",
".changes/updater-nsis.md",
".changes/updater-plugin-refactor.md",
".changes/updater-string-replace-round2.md",
".changes/updater-string-replace.md",
".changes/upload-bufwriter.md",
".changes/v2-alpha.md",
".changes/websocket-fix-arg-name.md",
".changes/websocket-headers.md",
".changes/window-state-decorated.md",
".changes/window-state-promise.md"
".changes/beta.md",
".changes/clipboard-html.md",
".changes/dialog-can-create-directories.md",
".changes/dialog-linux-freeze.md",
".changes/enhance-http-scope.md",
".changes/file-autogen-fix.md",
".changes/fix-shutdown-timing.md",
".changes/fix-zbus-import.md",
".changes/http-user-agent.md",
".changes/msrv-1.75.md",
".changes/shell-shellexcute.md",
".changes/tauri-beta-4.md",
".changes/tauri-beta-8.md",
".changes/tauri-beta-9.md"
]
}
-6
View File
@@ -1,6 +0,0 @@
---
"barcode-scanner": major
"barcode-scanner-js": major
---
Initial release.
-5
View File
@@ -1,5 +0,0 @@
---
"shell": "patch"
---
Added `Command::arg`, `Command::env` and changed `Command::new` input type.
-5
View File
@@ -1,5 +0,0 @@
---
"shell": patch
---
Ensure the launched process is detached so it can out-live your tauri app and does not shutdown with it.
+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
@@ -1,5 +0,0 @@
---
"sql": patch
---
Fixed an issue where float-like values were decoded as `null`.
-5
View File
@@ -1,5 +0,0 @@
---
"stronghold-js": patch
---
Change the argument name of the `Stronghold.remove` from `location` to `recordPath` to match the Stronghold command argument
-5
View File
@@ -1,5 +0,0 @@
---
"stronghold": patch
---
Added `Builder::with_argon2`.
-5
View File
@@ -1,5 +0,0 @@
---
"stronghold-js": minor
---
Added `Stronghold.load` and removed its constructor.
-6
View File
@@ -1,6 +0,0 @@
---
"window-state": patch
"persisted-scope": patch
---
Update to tauri@alpha.15.
-28
View File
@@ -1,28 +0,0 @@
---
"authenticator": patch
"autostart": patch
"cli": patch
"clipboard-manager": patch
"dialog": patch
"fs": patch
"global-shortcut": patch
"http": patch
"localhost": patch
"log-plugin": 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 to alpha.12.
+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.
-5
View File
@@ -1,5 +0,0 @@
---
"positioner": patch
---
`TrayLeft`, `TrayRight` and `TrayCenter` will now position the window according to the tray position relative to the monitor dimensions to prevent windows being displayed partially off-screen.
-5
View File
@@ -1,5 +0,0 @@
---
"updater": patch
---
Fix updater failing to extract the AppImage resulting in failing to update and also deleting the current version.
-5
View File
@@ -1,5 +0,0 @@
---
updater: patch
---
Use escaped installer path to start the nsis/msi updater to prevent crashes if app name contained spaces.
-5
View File
@@ -1,5 +0,0 @@
---
"updater": "patch"
---
On Windows, fix NSIS installers requiring administrator rights failing to be launched by updater.
-6
View File
@@ -1,6 +0,0 @@
---
"updater": "patch"
"updater-js": "patch"
---
Fix NSIS updater failing to launch when using `basicUi` mode.
-5
View File
@@ -1,5 +0,0 @@
---
"updater": patch
---
Implement passive mode on NSIS and automatically restart after NSIS update.
-6
View File
@@ -1,6 +0,0 @@
---
"updater": minor
"updater-js": minor
---
The updater plugin is recieving a few changes to improve consistency and ergonomics of the Rust and JS APIs
@@ -1,5 +0,0 @@
---
"updater": "patch"
---
The plugin now correctly replaces `arch`, `current_version` and `target` in query params again.
-5
View File
@@ -1,5 +0,0 @@
---
"updater": "patch"
---
The plugin now correctly replaces `arch`, `current_version` and `target` again.
-5
View File
@@ -1,5 +0,0 @@
---
"upload": patch
---
Use `BufWriter` to reduce IO calls.
-49
View File
@@ -1,49 +0,0 @@
---
"authenticator": major
"authenticator-js": major
"autostart": major
"autostart-js": major
"cli": major
"cli-js": major
"clipboard-manager": major
"clipboard-manager-js": major
"dialog": major
"dialog-js": major
"fs": major
"fs-js": major
"global-shortcut": major
"global-shortcut-js": major
"http": major
"http-js": major
"localhost": major
"log-plugin": major
"log-js": major
"notification": major
"notification-js": major
"os": major
"os-js": major
"persisted-scope": major
"positioner": major
"positioner-js": major
"process": major
"process-js": major
"shell": major
"shell-js": major
"single-instance": major
"sql": major
"sql-js": major
"store": major
"store-js": major
"stronghold": major
"stronghold-js": major
"updater": major
"updater-js": major
"upload": major
"upload-js": major
"websocket": major
"websocket-js": major
"window-state": major
"window-state-js": major
---
First v2 alpha release!
-5
View File
@@ -1,5 +0,0 @@
---
"websocket": patch
---
Fix argument name mismatch that caused issues when options where provided.
-6
View File
@@ -1,6 +0,0 @@
---
"websocket": patch
"websocket-js": patch
---
Add support for custom request headers.
-5
View File
@@ -1,5 +0,0 @@
---
"window-state": "patch"
---
Correctly set decoration state if no saved state xists
-5
View File
@@ -1,5 +0,0 @@
---
"window-state-js": "patch"
---
Correctly propagate the promise inside `saveWindowState`, `restoreState` and `restoreStateCurrent` so callers can choose to `await` them.
+1 -1
View File
@@ -7,7 +7,7 @@
"prettier",
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:security/recommended"
"plugin:security/recommended-legacy"
],
"overrides": [],
"parser": "@typescript-eslint/parser",
+2
View File
@@ -37,3 +37,5 @@ jobs:
- uses: rustsec/audit-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
# https://github.com/tauri-apps/plugins-workspace/issues/774
ignore: ${{ github.event_name != 'schedule' && 'RUSTSEC-2023-0071' || '' }}
+2 -2
View File
@@ -175,7 +175,7 @@ jobs:
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.70.0
- uses: dtolnay/rust-toolchain@1.75.0
with:
targets: ${{ matrix.platform.target }}
@@ -189,7 +189,7 @@ jobs:
- name: install cross
if: ${{ matrix.platform.runner == 'cross' }}
run: cargo install cross --git https://github.com/cross-rs/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'
+5 -1
View File
@@ -1,4 +1,8 @@
target
node_modules
dist-js
dist
dist-js
.idea
.vscode
.gradle
**/capabilities/schemas
+2 -1
View File
@@ -8,4 +8,5 @@ Cargo.lock
build
api-iife.js
init-iife.js
intermediates/
intermediates/
*schema.json
+8 -3
View File
@@ -9,7 +9,11 @@ import readline from "readline";
const header = `Copyright 2019-2023 Tauri Programme within The Commons Conservancy
SPDX-License-Identifier: Apache-2.0
SPDX-License-Identifier: MIT`;
const ignoredLicense = "// Copyright 2021 Jonas Kruckenberg";
const ignoredLicenses = [
"// Copyright 2021 Flavio Oliveira",
"// Copyright 2021 Jonas Kruckenberg",
"// Copyright 2018-2023 the Deno authors.",
];
const extensions = [".rs", ".js", ".ts", ".yml", ".swift", ".kt"];
const ignore = [
@@ -23,12 +27,13 @@ const ignore = [
"api-iife.js",
"init-iife.js",
".build",
"notify_rust",
];
async function checkFile(file) {
if (
extensions.some((e) => file.endsWith(e)) &&
!ignore.some((i) => file.endsWith(i))
!ignore.some((i) => file.includes(`${path.sep}${i}`))
) {
const fileStream = fs.createReadStream(file);
const rl = readline.createInterface({
@@ -44,7 +49,7 @@ async function checkFile(file) {
line.length === 0 ||
line.startsWith("#!") ||
line.startsWith("// swift-tools-version:") ||
line === ignoredLicense
ignoredLicenses.includes(line)
) {
continue;
}
Generated
+1680 -1014
View File
File diff suppressed because it is too large Load Diff
+5 -3
View File
@@ -10,17 +10,19 @@ resolver = "2"
[workspace.dependencies]
serde = { version = "1", features = ["derive"] }
log = "0.4"
tauri = "2.0.0-alpha.20"
tauri-build = "2.0.0-alpha.13"
tauri = "2.0.0-beta.9"
tauri-build = "2.0.0-beta.7"
tauri-plugin = "2.0.0-beta.7"
serde_json = "1"
thiserror = "1"
url = "2"
schemars = "0.8"
[workspace.package]
edition = "2021"
authors = ["Tauri Programme within The Commons Conservancy"]
license = "Apache-2.0 OR MIT"
rust-version = "1.70"
rust-version = "1.75"
# default to small, optimized release binaries
[profile.release]
+31 -16
View File
@@ -1,22 +1,37 @@
## Plugins Found Here
| | | Win | Mac | Lin | iOS | And |
| ------------------------------------------ | ------------------------------------------------------ | --- | --- | --- | --- | --- |
| [authenticator](plugins/authenticator) | Interface with hardware security keys. | ✅ | ✅ | ✅ | ? | ? |
| [autostart](plugins/autostart) | Automatically launch your app at system startup. | ✅ | ✅ | ✅ | ? | ? |
| [localhost](plugins/localhost) | Use a localhost server in production apps. | ✅ | ✅ | | ? | ? |
| [log](plugins/log) | Configurable logging. | ✅ | | | ✅ | ✅ |
| [persisted-scope](plugins/persisted-scope) | Persist runtime scope changes on the filesystem. | ✅ | ✅ | ✅ | ? | ? |
| [positioner](plugins/positioner) | Move windows to common locations. | ✅ | ✅ | ✅ | ? | ? |
| [single-instance](plugins/single-instance) | Ensure a single instance of your tauri app is running. | ✅ | ? | | ? | ? |
| [sql](plugins/sql) | Interface with SQL databases. | ✅ | ✅ | ✅ | ? | ? |
| [store](plugins/store) | Persistent key value storage. | ✅ | ✅ | ✅ | ? | ? |
| [stronghold](plugins/stronghold) | Encrypted, secure database. | ✅ | ✅ | ✅ | ? | ? |
| [upload](plugins/upload) | Tauri plugin for file uploads through HTTP. | ✅ | ✅ | ✅ | ? | ? |
| [websocket](plugins/websocket) | Open a WebSocket connection using a Rust client in JS. | ✅ | ✅ | ✅ | ? | ? |
| [window-state](plugins/window-state) | Persist window sizes and positions. | ✅ | ✅ | ✅ | ? | ? |
| | | Win | Mac | Lin | iOS | And |
| ----------------------------------------------- | ------------------------------------------------------ | --- | --- | --- | --- | --- |
| [authenticator](plugins/authenticator) | Interface with hardware security keys. | ✅ | ✅ | ✅ | ? | ? |
| [autostart](plugins/autostart) | Automatically launch your app at system startup. | ✅ | ✅ | ✅ | ? | ? |
| [barcode-scanner](plugins/barcode-scanner) | Allows your mobile application to use the camera to scan QR codes, EAN-13 and other kinds of barcodes. | ? | ? | ? | ✅ | ✅ |
| [biometric](plugins/biometric) | Prompt the user for biometric authentication on Android and iOS. | ? | ? | ? | ✅ | ✅ |
| [cli](plugins/cli) | Parse arguments from your Command Line Interface | ✅ | ✅ | ✅ | ? | ? |
| [clipboard-manager](plugins/clipboard-manager) | Read and write to the system clipboard. | ✅ | ✅ | ✅ | | |
| [deep-link](plugins/deep-link) | Set your Tauri application as the default handler for an URL. | ? | ? | ? | ✅ | ✅ |
| [dialog](plugins/dialog) | Native system dialogs for opening and saving files along with message dialogs. | ✅ | ✅ | | | ✅ |
| [fs](plugins/fs) | Access the file system. | ✅ | ✅ | ✅ | ? | ? |
| [global-shortcut](plugins/global-shortcut) | Register global shortcuts. | ✅ | ✅ | ✅ | ? | ? |
| [http](plugins/http) | Access the HTTP client written in Rust. | ✅ | ✅ | ✅ | | |
| [localhost](plugins/localhost) | Use a localhost server in production apps. | ✅ | ✅ | ✅ | ? | ? |
| [log](plugins/log) | Configurable logging. | ✅ | ✅ | ✅ | | |
| [nfc](plugins/nfc) | Read and write NFC tags on Android and iOS. | ? | ? | ? | ✅ | ✅ |
| [notification](plugins/notification) | Send message notifications (brief auto-expiring OS window element) to your user. Can also be used with the Notification Web API. | ✅ | ✅ | ✅ | ✅ | ✅ |
| [os](plugins/os) | Read information about the operating system. | ✅ | ✅ | ✅ | ✅ | ✅ |
| [persisted-scope](plugins/persisted-scope) | Persist runtime scope changes on the filesystem. | ✅ | ✅ | ✅ | ? | ? |
| [positioner](plugins/positioner) | Move windows to common locations. | ✅ | ✅ | ✅ | ? | ? |
| [process](plugins/process) | This plugin provides APIs to access the current process. To spawn child processes, see the [`shell`](https://github.com/tauri-apps/tauri-plugin-shell) plugin. | ✅ | ✅ | ✅ | ? | ? |
| [shell](plugins/shell) | Access the system shell. Allows you to spawn child processes and manage files and URLs using their default application. | ✅ | ✅ | ✅ | ? | ? |
| [single-instance](plugins/single-instance) | Ensure a single instance of your tauri app is running. | ✅ | ? | ✅ | ? | ? |
| [sql](plugins/sql) | Interface with SQL databases. | ✅ | ✅ | ✅ | ? | ? |
| [store](plugins/store) | Persistent key value storage. | ✅ | ✅ | ✅ | ✅ | ✅ |
| [stronghold](plugins/stronghold) | Encrypted, secure database. | ✅ | ✅ | ✅ | ? | ? |
| [updater](plugins/updater) | In-app updates for Tauri applications. | ✅ | ✅ | ✅ | ? | ? |
| [upload](plugins/upload) | Tauri plugin for file uploads through HTTP. | ✅ | ✅ | ✅ | ? | ? |
| [websocket](plugins/websocket) | Open a WebSocket connection using a Rust client in JS. | ✅ | ✅ | ✅ | ? | ? |
| [window-state](plugins/window-state) | Persist window sizes and positions. | ✅ | ✅ | ✅ | ? | ? |
_This repo and all plugins require a Rust version of at least **1.70**_
_This repo and all plugins require a Rust version of at least **1.75**_
## Partners
+23
View File
@@ -0,0 +1,23 @@
# Security Policy
**Do not report security vulnerabilities through public GitHub issues.**
**Please use the [Private Vulnerability Disclosure](https://docs.github.com/en/code-security/security-advisories/guidance-on-reporting-and-writing-information-about-vulnerabilities/privately-reporting-a-security-vulnerability#privately-reporting-a-security-vulnerability) feature of GitHub.**
Include as much of the following information:
- Type of issue (e.g. improper input parsing, privilege escalation, etc.)
- The location of the affected source code (tag/branch/commit or direct URL)
- Any special configuration required to reproduce the issue
- The distribution affected or used to help us with reproduction of the issue
- Step-by-step instructions to reproduce the issue
- Ideally a reproduction repository
- Impact of the issue, including how an attacker might exploit the issue
We prefer to receive reports in English.
## Contact
Please disclose a vulnerability or security relevant issue here: [https://github.com/tauri-apps/plugins-workspace/security/advisories/new](https://github.com/tauri-apps/plugins-workspace/security/advisories/new).
Alternatively, you can also contact us by email via [security@tauri.app](mailto:security@tauri.app).
+72
View File
@@ -1,5 +1,77 @@
# Changelog
## \[2.0.0-beta.2]
### Dependencies
- Upgraded to `clipboard-manager-js@2.0.0-beta.2`
- Upgraded to `dialog-js@2.0.0-beta.2`
- Upgraded to `fs-js@2.0.0-beta.2`
- Upgraded to `http-js@2.0.0-beta.2`
- Upgraded to `shell-js@2.0.0-beta.2`
- Upgraded to `barcode-scanner-js@2.0.0-beta.2`
- Upgraded to `biometric-js@2.0.0-beta.2`
- Upgraded to `cli-js@2.0.0-beta.2`
- Upgraded to `global-shortcut-js@2.0.0-beta.2`
- Upgraded to `log-js@2.0.0-beta.2`
- Upgraded to `nfc-js@2.0.0-beta.2`
- Upgraded to `notification-js@2.0.0-beta.2`
- Upgraded to `os-js@2.0.0-beta.2`
- Upgraded to `process-js@2.0.0-beta.2`
- Upgraded to `updater-js@2.0.0-beta.2`
## \[2.0.0-beta.1]
### Dependencies
- Upgraded to `barcode-scanner-js@2.0.0-beta.1`
- Upgraded to `biometric-js@2.0.0-beta.1`
- Upgraded to `cli-js@2.0.0-beta.1`
- Upgraded to `clipboard-manager-js@2.0.0-beta.1`
- Upgraded to `dialog-js@2.0.0-beta.1`
- Upgraded to `fs-js@2.0.0-beta.1`
- Upgraded to `global-shortcut-js@2.0.0-beta.1`
- Upgraded to `http-js@2.0.0-beta.1`
- Upgraded to `log-js@2.0.0-beta.1`
- Upgraded to `nfc-js@2.0.0-beta.1`
- Upgraded to `notification-js@2.0.0-beta.1`
- Upgraded to `os-js@2.0.0-beta.1`
- Upgraded to `process-js@2.0.0-beta.1`
- Upgraded to `shell-js@2.0.0-beta.1`
- Upgraded to `updater-js@2.0.0-beta.1`
## \[2.0.0-beta.0]
### Dependencies
- Upgraded to `barcode-scanner-js@2.0.0-beta.0`
- Upgraded to `biometric-js@2.0.0-beta.0`
- Upgraded to `cli-js@2.0.0-beta.0`
- Upgraded to `clipboard-manager-js@2.0.0-beta.0`
- Upgraded to `dialog-js@2.0.0-beta.0`
- Upgraded to `fs-js@2.0.0-beta.0`
- Upgraded to `global-shortcut-js@2.0.0-beta.0`
- Upgraded to `http-js@2.0.0-beta.0`
- Upgraded to `log-js@2.0.0-beta.0`
- Upgraded to `nfc-js@2.0.0-beta.0`
- Upgraded to `notification-js@2.0.0-beta.0`
- Upgraded to `os-js@2.0.0-beta.0`
- Upgraded to `process-js@2.0.0-beta.0`
- Upgraded to `shell-js@2.0.0-beta.0`
- Upgraded to `updater-js@2.0.0-beta.0`
## \[2.0.0-alpha.9]
### Dependencies
- Upgraded to `fs-js@2.0.0-alpha.6`
## \[2.0.0-alpha.8]
### Dependencies
- Upgraded to `http-js@2.0.0-alpha.6`
## \[2.0.0-alpha.7]
### Dependencies
+18 -18
View File
@@ -1,7 +1,7 @@
{
"name": "svelte-app",
"private": true,
"version": "2.0.0-alpha.7",
"version": "2.0.0-beta.2",
"type": "module",
"scripts": {
"dev": "vite --clearScreen false",
@@ -9,32 +9,32 @@
"serve": "vite preview"
},
"dependencies": {
"@tauri-apps/api": "2.0.0-alpha.13",
"@tauri-apps/plugin-barcode-scanner": "2.0.0-alpha.4",
"@tauri-apps/plugin-biometric": "2.0.0-alpha.0",
"@tauri-apps/plugin-cli": "2.0.0-alpha.5",
"@tauri-apps/plugin-clipboard-manager": "2.0.0-alpha.5",
"@tauri-apps/plugin-dialog": "2.0.0-alpha.5",
"@tauri-apps/plugin-fs": "2.0.0-alpha.5",
"@tauri-apps/plugin-global-shortcut": "2.0.0-alpha.5",
"@tauri-apps/plugin-http": "2.0.0-alpha.5",
"@tauri-apps/plugin-nfc": "2.0.0-alpha.0",
"@tauri-apps/plugin-notification": "2.0.0-alpha.5",
"@tauri-apps/plugin-os": "2.0.0-alpha.6",
"@tauri-apps/plugin-process": "2.0.0-alpha.5",
"@tauri-apps/plugin-shell": "2.0.0-alpha.5",
"@tauri-apps/plugin-updater": "2.0.0-alpha.5",
"@tauri-apps/api": "2.0.0-beta.4",
"@tauri-apps/plugin-barcode-scanner": "2.0.0-beta.2",
"@tauri-apps/plugin-biometric": "2.0.0-beta.2",
"@tauri-apps/plugin-cli": "2.0.0-beta.2",
"@tauri-apps/plugin-clipboard-manager": "2.0.0-beta.2",
"@tauri-apps/plugin-dialog": "2.0.0-beta.2",
"@tauri-apps/plugin-fs": "2.0.0-beta.2",
"@tauri-apps/plugin-global-shortcut": "2.0.0-beta.2",
"@tauri-apps/plugin-http": "2.0.0-beta.2",
"@tauri-apps/plugin-nfc": "2.0.0-beta.2",
"@tauri-apps/plugin-notification": "2.0.0-beta.2",
"@tauri-apps/plugin-os": "2.0.0-beta.2",
"@tauri-apps/plugin-process": "2.0.0-beta.2",
"@tauri-apps/plugin-shell": "2.0.0-beta.2",
"@tauri-apps/plugin-updater": "2.0.0-beta.2",
"@zerodevx/svelte-json-view": "1.0.7"
},
"devDependencies": {
"@iconify-json/codicon": "^1.1.37",
"@iconify-json/ph": "^1.1.8",
"@sveltejs/vite-plugin-svelte": "^3.0.1",
"@tauri-apps/cli": "2.0.0-alpha.20",
"@tauri-apps/cli": "2.0.0-beta.7",
"@unocss/extractor-svelte": "^0.58.0",
"internal-ip": "^8.0.0",
"svelte": "^4.2.8",
"unocss": "^0.58.0",
"vite": "^5.0.6"
"vite": "^5.0.12"
}
}
+4
View File
@@ -4,3 +4,7 @@
# cargo-mobile
.cargo/
gen/schemas/*.json
!gen/schemas/desktop-schema.json
!gen/schemas/mobile-schema.json
+74
View File
@@ -1,5 +1,79 @@
# Changelog
## \[2.0.0-beta.2]
### Dependencies
- Upgraded to `clipboard-manager@2.0.0-beta.2`
- Upgraded to `dialog@2.0.0-beta.2`
- Upgraded to `http@2.0.0-beta.2`
- Upgraded to `fs@2.0.0-beta.2`
- Upgraded to `shell@2.0.0-beta.2`
- Upgraded to `barcode-scanner@2.0.0-beta.2`
- Upgraded to `biometric@2.0.0-beta.2`
- Upgraded to `cli@2.0.0-beta.2`
- Upgraded to `global-shortcut@2.0.0-beta.2`
- Upgraded to `log-plugin@2.0.0-beta.2`
- Upgraded to `nfc@2.0.0-beta.2`
- Upgraded to `notification@2.0.0-beta.2`
- Upgraded to `os@2.0.0-beta.2`
- Upgraded to `process@2.0.0-beta.2`
- Upgraded to `updater@2.0.0-beta.2`
## \[2.0.0-beta.1]
### Dependencies
- Upgraded to `barcode-scanner@2.0.0-beta.1`
- Upgraded to `biometric@2.0.0-beta.1`
- Upgraded to `cli@2.0.0-beta.1`
- Upgraded to `clipboard-manager@2.0.0-beta.1`
- Upgraded to `dialog@2.0.0-beta.1`
- Upgraded to `fs@2.0.0-beta.1`
- Upgraded to `global-shortcut@2.0.0-beta.1`
- Upgraded to `http@2.0.0-beta.1`
- Upgraded to `log-plugin@2.0.0-beta.1`
- Upgraded to `nfc@2.0.0-beta.1`
- Upgraded to `notification@2.0.0-beta.1`
- Upgraded to `os@2.0.0-beta.1`
- Upgraded to `process@2.0.0-beta.1`
- Upgraded to `shell@2.0.0-beta.1`
- Upgraded to `updater@2.0.0-beta.1`
## \[2.0.0-beta.0]
### Dependencies
- Upgraded to `barcode-scanner@2.0.0-beta.0`
- Upgraded to `biometric@2.0.0-beta.0`
- Upgraded to `cli@2.0.0-beta.0`
- Upgraded to `clipboard-manager@2.0.0-beta.0`
- Upgraded to `dialog@2.0.0-beta.0`
- Upgraded to `fs@2.0.0-beta.0`
- Upgraded to `global-shortcut@2.0.0-beta.0`
- Upgraded to `http@2.0.0-beta.0`
- Upgraded to `log@2.0.0-beta.0`
- Upgraded to `nfc@2.0.0-beta.0`
- Upgraded to `notification@2.0.0-beta.0`
- Upgraded to `os@2.0.0-beta.0`
- Upgraded to `process@2.0.0-beta.0`
- Upgraded to `shell@2.0.0-beta.0`
- Upgraded to `updater@2.0.0-beta.0`
## \[2.0.0-alpha.11]
### Dependencies
- Upgraded to `fs@2.0.0-alpha.7`
- Upgraded to `dialog@2.0.0-alpha.7`
- Upgraded to `http@2.0.0-alpha.9`
## \[2.0.0-alpha.10]
### Dependencies
- Upgraded to `http@2.0.0-alpha.8`
## \[2.0.0-alpha.9]
### Dependencies
+19 -19
View File
@@ -1,7 +1,7 @@
[package]
name = "api"
publish = false
version = "2.0.0-alpha.9"
version = "2.0.0-beta.2"
description = "An example Tauri Application showcasing the api"
edition = "2021"
rust-version = { workspace = true }
@@ -19,21 +19,21 @@ serde_json = { workspace = true }
serde = { workspace = true }
tiny_http = "0.11"
log = { workspace = true }
tauri-plugin-log = { path = "../../../plugins/log", version = "2.0.0-alpha.6" }
tauri-plugin-fs = { path = "../../../plugins/fs", version = "2.0.0-alpha.6" }
tauri-plugin-clipboard-manager = { path = "../../../plugins/clipboard-manager", version = "2.0.0-alpha.6" }
tauri-plugin-dialog = { path = "../../../plugins/dialog", version = "2.0.0-alpha.6" }
tauri-plugin-http = { path = "../../../plugins/http", features = [ "multipart" ], version = "2.0.0-alpha.7" }
tauri-plugin-notification = { path = "../../../plugins/notification", version = "2.0.0-alpha.7", features = [ "windows7-compat" ] }
tauri-plugin-os = { path = "../../../plugins/os", version = "2.0.0-alpha.6" }
tauri-plugin-process = { path = "../../../plugins/process", version = "2.0.0-alpha.6" }
tauri-plugin-shell = { path = "../../../plugins/shell", version = "2.0.0-alpha.6" }
tauri-plugin-log = { path = "../../../plugins/log", version = "2.0.0-beta.2" }
tauri-plugin-fs = { path = "../../../plugins/fs", version = "2.0.0-beta.2", features = [ "watch" ] }
tauri-plugin-clipboard-manager = { path = "../../../plugins/clipboard-manager", version = "2.0.0-beta.2" }
tauri-plugin-dialog = { path = "../../../plugins/dialog", version = "2.0.0-beta.2" }
tauri-plugin-http = { path = "../../../plugins/http", features = [ "multipart" ], version = "2.0.0-beta.2" }
tauri-plugin-notification = { path = "../../../plugins/notification", version = "2.0.0-beta.2", features = [ "windows7-compat" ] }
tauri-plugin-os = { path = "../../../plugins/os", version = "2.0.0-beta.2" }
tauri-plugin-process = { path = "../../../plugins/process", version = "2.0.0-beta.2" }
tauri-plugin-shell = { path = "../../../plugins/shell", version = "2.0.0-beta.2" }
[dependencies.tauri]
workspace = true
features = [
"icon-ico",
"icon-png",
"image-ico",
"image-png",
"isolation",
"macos-private-api",
"tray-icon",
@@ -41,17 +41,17 @@ tauri-plugin-shell = { path = "../../../plugins/shell", version = "2.0.0-alpha.6
]
[target."cfg(any(target_os = \"macos\", windows, target_os = \"linux\", target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"openbsd\", target_os = \"netbsd\"))".dependencies]
tauri-plugin-cli = { path = "../../../plugins/cli", version = "2.0.0-alpha.6" }
tauri-plugin-global-shortcut = { path = "../../../plugins/global-shortcut", version = "2.0.0-alpha.6" }
tauri-plugin-updater = { path = "../../../plugins/updater", version = "2.0.0-alpha.6" }
tauri-plugin-cli = { path = "../../../plugins/cli", version = "2.0.0-beta.2" }
tauri-plugin-global-shortcut = { path = "../../../plugins/global-shortcut", version = "2.0.0-beta.2" }
tauri-plugin-updater = { path = "../../../plugins/updater", version = "2.0.0-beta.2" }
[target."cfg(any(target_os = \"android\", target_os = \"ios\"))".dependencies]
tauri-plugin-barcode-scanner = { path = "../../../plugins/barcode-scanner/", version = "2.0.0-alpha.4" }
tauri-plugin-nfc = { path = "../../../plugins/nfc", version = "2.0.0-alpha.0" }
tauri-plugin-biometric = { path = "../../../plugins/biometric/", version = "2.0.0-alpha.0" }
tauri-plugin-barcode-scanner = { path = "../../../plugins/barcode-scanner/", version = "2.0.0-beta.2" }
tauri-plugin-nfc = { path = "../../../plugins/nfc", version = "2.0.0-beta.2" }
tauri-plugin-biometric = { path = "../../../plugins/biometric/", version = "2.0.0-beta.2" }
[target."cfg(target_os = \"windows\")".dependencies]
window-shadows = "0.2"
[features]
custom-protocol = [ "tauri/custom-protocol" ]
prod = [ "tauri/custom-protocol" ]
-5
View File
@@ -3,10 +3,5 @@
// SPDX-License-Identifier: MIT
fn main() {
let mut codegen = tauri_build::CodegenContext::new();
if !cfg!(feature = "custom-protocol") {
codegen = codegen.dev();
}
codegen.build();
tauri_build::build();
}
@@ -0,0 +1,79 @@
{
"$schema": "../gen/schemas/desktop-schema.json",
"identifier": "run-app-base",
"description": "Base permissions to run the app",
"windows": ["main"],
"permissions": [
"log:default",
{
"identifier": "http:default",
"allow": [
{
"url": "http://localhost:3003"
}
]
},
"app:default",
"resources:default",
"fs:default",
"menu:default",
"path:default",
"tray:default",
"event:default",
"window:default",
"notification:default",
"os:allow-platform",
"dialog:allow-open",
"dialog:allow-save",
"dialog:allow-confirm",
"dialog:allow-message",
{
"identifier": "shell:allow-execute",
"allow": [
{
"name": "sh",
"cmd": "sh",
"args": [
"-c",
{
"validator": "\\S+"
}
]
},
{
"name": "cmd",
"cmd": "cmd",
"args": [
"/C",
{
"validator": "\\S+"
}
]
}
]
},
"shell:allow-kill",
"shell:allow-stdin-write",
"clipboard-manager:allow-read",
"clipboard-manager:allow-write",
"fs:allow-rename",
"fs:allow-mkdir",
"fs:allow-remove",
"fs:allow-write-text-file",
"fs:scope-download-recursive",
"fs:scope-resource-recursive",
{
"identifier": "fs:scope-appdata-recursive",
"allow": [
{
"path": "$APPDATA/db/**"
}
],
"deny": [
{
"path": "$APPDATA/db/*.stronghold"
}
]
}
]
}
@@ -0,0 +1,14 @@
{
"$schema": "../gen/schemas/desktop-schema.json",
"identifier": "run-app-desktop",
"description": "Permissions to run the app (desktop only)",
"windows": ["main"],
"platforms": ["linux", "macOS", "windows"],
"permissions": [
"cli:default",
"updater:default",
"global-shortcut:allow-unregister",
"global-shortcut:allow-register",
"global-shortcut:allow-unregister-all"
]
}

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