Compare commits

...

36 Commits

Author SHA1 Message Date
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
268 changed files with 5260 additions and 2645 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.
-6
View File
@@ -1,6 +0,0 @@
---
"biometric": major
"biometric-js": major
---
Initial release.
-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)
@@ -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
@@ -1,5 +0,0 @@
---
"dialog": "patch"
---
On Android, do not add a `Cancel` button to message dialogs.
-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
@@ -1,5 +0,0 @@
---
"shell": patch
---
Fixes a deadlock when reading a stdout or stderr line returns an error.
-5
View File
@@ -1,5 +0,0 @@
---
"fs-js": patch
---
Fix `DebouncedEvent` type to correctly represent the actual type.
-5
View File
@@ -1,5 +0,0 @@
---
"deep-link": patch
---
Fixes issue with tauri alpha.20.
-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 @@
---
"fs": "patch"
"fs-js": "patch"
---
Fix incorrect `create` option default value for `writeFile` and `writeTextFile` which didn't match documentation.
-6
View File
@@ -1,6 +0,0 @@
---
"shell": patch
"dialog": patch
---
Fix invoke usage.
@@ -1,5 +0,0 @@
---
"notification-js": patch
---
Export the missing `Schedule` class.
-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.
-6
View File
@@ -1,6 +0,0 @@
---
"notification": patch
"notification-js": patch
---
Fixes deserialization and implementation bugs with scheduled notifications on Android.
-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.
-6
View File
@@ -1,6 +0,0 @@
---
"fs": "patch"
"fs-js": "patch"
---
Add `createNew` option for `writeFile` and `writeTextFile` to create the file if doesn't exist and fail if it does.
-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"
"fs-js": "patch"
---
Replace `notify-debouncer-mini` with `notify-debouncer-full`. [(plugins-workspace#885)](https://github.com/tauri-apps/plugins-workspace/pull/885)
-6
View File
@@ -1,6 +0,0 @@
---
"fs": patch
"persisted-scope": patch
---
Use `tauri::scope::fs::Scope` instead of local copy of its implementation.
-6
View File
@@ -1,6 +0,0 @@
---
"fs": "patch"
"fs-js": "patch"
---
Truncate files when using `writeFile` and `writeTextFile` with `append: false`.
-5
View File
@@ -1,5 +0,0 @@
---
"fs-js": "patch"
---
Fix `invalid args id for command unwatch` error when trying to unwatch a previously watched file or directory.
-5
View File
@@ -1,5 +0,0 @@
---
"fs-js": patch
---
Fix `writeBinaryFile` crashing with `command 'write_binary_file' not found`
-6
View File
@@ -1,6 +0,0 @@
---
"fs": "patch"
"fs-js": "patch"
---
Fix panic when using `writeFile` or `writeTextFile` without passing an option object.
-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.
@@ -1,5 +0,0 @@
---
"http-js": minor
---
Fix http fetch client option init with parameter `connectTimeout`
-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.
-6
View File
@@ -1,6 +0,0 @@
---
"http": minor
"http-js": minor
---
Add `proxy` field to `fetch` options to configure proxy.
-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.
@@ -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')`
-36
View File
@@ -1,36 +0,0 @@
---
"authenticator": patch
"autostart": patch
"barcode-scanner": patch
"barcode-scanner-js": patch
"biometric": patch
"cli": patch
"clipboard-manager": patch
"clipboard-manager-js": patch
"deep-link": patch
"dialog": patch
"fs": patch
"global-shortcut": patch
"global-shortcut-js": patch
"http": patch
"localhost": patch
"log-plugin": patch
"nfc": patch
"nfc-js": 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
---
Add permissions.
-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`.
+3 -90
View File
@@ -1,95 +1,8 @@
{
"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/beta.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-message-android.md",
".changes/dialog-pin-rfd.md",
".changes/dialog-return-result.md",
".changes/fix-cmd-spawn-deadlock.md",
".changes/fix-debounced-event-type.md",
".changes/fix-deep-link-alpha-20.md",
".changes/fix-docs-build.md",
".changes/fix-emit-all-usage.md",
".changes/fix-fs-write-default-option.md",
".changes/fix-invoke-usage.md",
".changes/fix-notification-schedule-export.md",
".changes/fix-number-query-params.md",
".changes/fix-permission-notification.md",
".changes/fix-scheduled-notification.md",
".changes/fix-updater-macos.md",
".changes/fix-window-state-api.md",
".changes/fs-create-new.md",
".changes/fs-exists-2nd-arg.md",
".changes/fs-improve-error-message.md",
".changes/fs-improved-apis.md",
".changes/fs-replace-notify-debouncer.md",
".changes/fs-scope-tauri.md",
".changes/fs-trunacte-non-append.md",
".changes/fs-unwtach-rid.md",
".changes/fs-wiret-binary-file.md",
".changes/fs-write-panic.md",
".changes/global-shortcut-app-handle.md",
".changes/http-init-fetch-option-connectTimeout.md",
".changes/http-multipart-refactor.md",
".changes/http-plugin-refactor.md",
".changes/http-proxy-config.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/permissions.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/tauri-http-plugin-errror-invalid-rid.md",
".changes/tray-position.md",
".changes/updater-appimage.md",
".changes/updater-escaped-path.md",
".changes/updater-js-started-event.md",
".changes/updater-nsis-admin.md",
".changes/updater-nsis-basicui.md",
".changes/updater-nsis.md",
".changes/updater-on-chunk-fn-mut.md",
".changes/updater-plugin-refactor.md",
".changes/updater-proxy.md",
".changes/updater-string-replace-round2.md",
".changes/updater-string-replace.md",
".changes/updater.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/window-state-zero-positions.md"
".changes/msrv-1.75.md",
".changes/tauri-beta-4.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.
-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.
@@ -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.4.
@@ -1,5 +0,0 @@
---
"http": "patch"
---
**Breaking change** Removed `Error::InvalidRequestId` variant and added `Error::Tauri` variant.
-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.
-6
View File
@@ -1,6 +0,0 @@
---
"updater": "patch"
"updater-js": "patch"
---
Fix `Started` event not emitted to JS when downloading update.
-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.
-5
View File
@@ -1,5 +0,0 @@
---
"updater": "patch"
---
**Breaking change**: Changed `Update::download` and `Update::download_and_install` first argument to take `FnMut` instead of just `Fn`.
-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
-6
View File
@@ -1,6 +0,0 @@
---
"updater": patch
"updater-js": patch
---
Add support for specifying proxy to use for checking and downloading updates.
@@ -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.
-21
View File
@@ -1,21 +0,0 @@
---
"updater": "patch"
---
Refactored the updater plugin to accommodate to the new changes in tauri config:
- JSON plugin config:
- Added `pubkey` option.
- Added `windows` option which is a Windows-specific options.
- Renamed `installer_args` to `installerArgs`.
- Moved `installerArgs` option to the new `windows` object.
- Rust crate changes:
- Added `pubkey` field for `Config`.
- Added `windows` field for `Config` option which is a Windows-specific options.
- Added `WindowsConfig` and `WindowsUpdateInstallMode`.
- Moved `installerArgs` option to the new `windows` object.
- Added `Builder::pubkey` and `UpdaterBuilder::pubkey`.
- Changed `Builder::installer_args` and `UpdaterBuilder::installer_args` to add to existing installer args, instead of replacing them, use `Builder/UpdaterBuilder::clear_installer_args` to clear existing args.
- Added `Builder::installer_arg`, `Builder::clear_installer_args`, `UpdaterBuilder::installer_arg` and `UpdaterBuilder::clear_installer_args`.
-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.
-8
View File
@@ -1,8 +0,0 @@
---
"window-state": "patch"
---
Address a couple of issues with restoring positions:
- Fix restoring window positions correctly when the top-left corner of the window was outside of the monitor.
- Fix restore maximization state only maximized on main monitor.
+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'
+2 -1
View File
@@ -27,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({
Generated
+963 -933
View File
File diff suppressed because it is too large Load Diff
+4 -4
View File
@@ -10,9 +10,9 @@ resolver = "2"
[workspace.dependencies]
serde = { version = "1", features = ["derive"] }
log = "0.4"
tauri = "2.0.0-beta.1"
tauri-build = "2.0.0-beta.0"
tauri-plugin = "2.0.0-beta.0"
tauri = "2.0.0-beta.4"
tauri-build = "2.0.0-beta.3"
tauri-plugin = "2.0.0-beta.3"
serde_json = "1"
thiserror = "1"
url = "2"
@@ -22,7 +22,7 @@ schemars = "0.8"
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
+20
View File
@@ -1,5 +1,25 @@
# Changelog
## \[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
+17 -17
View File
@@ -1,7 +1,7 @@
{
"name": "svelte-app",
"private": true,
"version": "2.0.0-beta.0",
"version": "2.0.0-beta.1",
"type": "module",
"scripts": {
"dev": "vite --clearScreen false",
@@ -9,28 +9,28 @@
"serve": "vite preview"
},
"dependencies": {
"@tauri-apps/api": "2.0.0-beta.0",
"@tauri-apps/plugin-barcode-scanner": "2.0.0-beta.0",
"@tauri-apps/plugin-biometric": "2.0.0-beta.0",
"@tauri-apps/plugin-cli": "2.0.0-beta.0",
"@tauri-apps/plugin-clipboard-manager": "2.0.0-beta.0",
"@tauri-apps/plugin-dialog": "2.0.0-beta.0",
"@tauri-apps/plugin-fs": "2.0.0-beta.0",
"@tauri-apps/plugin-global-shortcut": "2.0.0-beta.0",
"@tauri-apps/plugin-http": "2.0.0-beta.0",
"@tauri-apps/plugin-nfc": "2.0.0-beta.0",
"@tauri-apps/plugin-notification": "2.0.0-beta.0",
"@tauri-apps/plugin-os": "2.0.0-beta.0",
"@tauri-apps/plugin-process": "2.0.0-beta.0",
"@tauri-apps/plugin-shell": "2.0.0-beta.0",
"@tauri-apps/plugin-updater": "2.0.0-beta.0",
"@tauri-apps/api": "2.0.0-beta.2",
"@tauri-apps/plugin-barcode-scanner": "2.0.0-beta.1",
"@tauri-apps/plugin-biometric": "2.0.0-beta.1",
"@tauri-apps/plugin-cli": "2.0.0-beta.1",
"@tauri-apps/plugin-clipboard-manager": "2.0.0-beta.1",
"@tauri-apps/plugin-dialog": "2.0.0-beta.1",
"@tauri-apps/plugin-fs": "2.0.0-beta.1",
"@tauri-apps/plugin-global-shortcut": "2.0.0-beta.1",
"@tauri-apps/plugin-http": "2.0.0-beta.1",
"@tauri-apps/plugin-nfc": "2.0.0-beta.1",
"@tauri-apps/plugin-notification": "2.0.0-beta.1",
"@tauri-apps/plugin-os": "2.0.0-beta.1",
"@tauri-apps/plugin-process": "2.0.0-beta.1",
"@tauri-apps/plugin-shell": "2.0.0-beta.1",
"@tauri-apps/plugin-updater": "2.0.0-beta.1",
"@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-beta.0",
"@tauri-apps/cli": "2.0.0-beta.3",
"@unocss/extractor-svelte": "^0.58.0",
"internal-ip": "^8.0.0",
"svelte": "^4.2.8",
+4
View File
@@ -4,3 +4,7 @@
# cargo-mobile
.cargo/
gen/schemas/*.json
!gen/schemas/desktop-schema.json
!gen/schemas/mobile-schema.json
+20
View File
@@ -1,5 +1,25 @@
# Changelog
## \[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

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