Compare commits

...

56 Commits

Author SHA1 Message Date
github-actions[bot] de732d0ab0 publish new versions (#1683)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-08-29 15:47:05 -03:00
Lucas Fernandes Nogueira e2e97db519 feat: use PermissionState type from tauri, closes #979 (#1701) 2024-08-29 15:40:38 -03:00
Lucas Fernandes Nogueira 9ea9e05944 chore(deps): update to tauri rc.7 (#1699)
* chore(deps): update to tauri rc.7

* update api [skip ci]

* downgrade sqlx [skip ci]
2024-08-28 19:21:37 -03:00
Lucas Fernandes Nogueira d0482502e9 chore(api): tauri can serialize array buffers from rc.7 (#1694)
* chore(api): tauri can serialize array buffers from rc.7

* fmt

* fix audit

* update lockfile
2024-08-28 17:58:56 -03:00
Lucas Fernandes Nogueira 0c040bcc9a fix(store): remove Android and iOS plugins, closes #1256 (#1695)
The Android and iOS support introduced on #1011 is not really supported - the Tauri path API correctly resolves the cache directory on mobile, and we can access those directly using Rust code.

This is a breaking change because we no longer uses the same directory to store the files - app_cache_dir returns a different location
2024-08-27 14:18:02 -03:00
Lucas Fernandes Nogueira 0d5e7e2892 feat(fs): scope-*-recursive permission allows read dir, closes #1307 (#1696)
We could instead document that you should also enable `scope-*-index`, it is more a matter of semantics.
2024-08-27 14:17:30 -03:00
Greg Knapp 01c913e83e Update import package name to V2 (#1693) 2024-08-27 18:34:23 +08:00
renovate[bot] 532622d8b2 fix(deps): update rust crate sqlx to v0.8.1 [security] (#1686)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-27 18:28:01 +08:00
mikoto2000 448846b834 feat(fs): resolve content URIs on Android (#1658)
* Implemented writeTextFile on Android.

* Added license headers.

* fix fmt checks.

* implement more file APIs

* change file

* cleanup

* refactor dialog plugin to leverage new FS APIs

* implement metadata functions

* fix build

* expose FS rust API

* resolve resources on android

* update pnpm

* update docs

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-08-23 13:35:53 -03:00
Amr Bashir 3c52f30ea4 chore(deps): update windows-sys crate to 0.59 and global-hotkey to 0.6 (#1665)
* chore(deps): update windows-sys crate to `0.59`

* update global-hotkey as well

* change files
2024-08-21 17:04:03 +03:00
Amr Bashir f690777a91 refacator(dialog): mark FileResponse as #[non_exhaustive] (#1660)
* recator(dialog): mark `FileResponse` as `#[non_exhaustive]`

closes #1623

* change file
2024-08-21 16:14:58 +03:00
github-actions[bot] f946a7cf1f publish new versions (#1680)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-08-19 21:36:15 -03:00
Lucas Fernandes Nogueira b914775898 fix: explicitly set a minimum macOS version for older Swift versions (#1679)
ref https://github.com/tauri-apps/tauri/pull/10687
2024-08-19 16:29:22 -03:00
renovate[bot] 66b9eaa0e5 fix(deps): update rust crate win7-notifications to 0.4.5 (#1676)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-19 14:41:50 +02:00
renovate[bot] e2fa6d3a1b chore(deps): lock file maintenance (#1675)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-19 14:33:05 +02:00
renovate[bot] 6c823ae31a chore(deps): update dependency @tauri-apps/cli to v2.0.0-rc.4 (#1670)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-18 11:01:50 +02:00
renovate[bot] f4c9e13250 chore(deps): update dependency rollup to v4.21.0 (#1672)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-18 10:59:10 +02:00
github-actions[bot] 121f68b449 publish new versions (#1616) 2024-08-17 07:55:31 -03:00
Lucas Nogueira ec067a5997 chore: trigger CI 2024-08-17 07:50:48 -03:00
Lucas Fernandes Nogueira 5d170a5444 chore(deps): tauri 2.0.0-rc.3 (#1671)
* chore(deps): tauri 2.0.0-rc.3

* fix builds

* fix deep link [skip ci]
2024-08-17 07:40:57 -03:00
renovate[bot] 4dd7f5ddd8 chore(deps): update rust crate specta to v2.0.0-rc.20 (v2) (#1617)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-16 14:34:59 -03:00
Fabian-Lars 998f86371c chore(deps): Update iota-crypto (removing patch) (#1664) 2024-08-15 15:14:45 +03:00
Twilight 84f8bd5e1e fix(http): properly invoke abort (#1662)
Co-authored-by: amrbashir <github@amrbashir.me>
2024-08-14 19:18:32 +03:00
renovate[bot] af943db6f8 chore(deps): update dependency typescript-eslint to v8.1.0 (#1655)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-14 12:51:59 +02:00
mikoto2000 bc7eecf420 feat(dialog): Implemented android save dialog. (#1657)
* Implemented android save dialog.

* small cleanup

* lint

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-08-13 08:41:30 -03:00
Amr Bashir 5081f30daf fix(shell): fix inlined docs for scope (#1656)
* fix(shell): fix inlined docs for scope

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

---------

Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2024-08-13 07:55:55 -03:00
Lucas Fernandes Nogueira 584eb61f16 fix: docs.rs (#1654)
* fix: docs.rs

* fix updater docs

* update build script
2024-08-12 15:53:27 -03:00
Lucas Nogueira 7b053ba6f6 fix(log): update log directory in documentation ref #1637 2024-08-12 15:05:12 -03:00
Lucas Fernandes Nogueira 7701392500 fix(updater): linux not retaining AppImage permissions, enhance tests (#1636)
* fix(updater): linux not retaining AppImage permissions, enhance tests

- adds a test for migration from v1 to v2
- extends the existing integration test to actually verify if the app was updated

* remove test framework

* fix macos test

* fix windows

* wait on windows

* fix wix

* typo

* fmt

* install webkit2gtk-4.0 on ci

* fix npm command on windows

* fix test on windows

* ubuntu-22.04

---------

Co-authored-by: Tillmann <28728469+tweidinger@users.noreply.github.com>
2024-08-12 14:59:53 -03:00
Miniontoby e4e19e001b [log] Fix typo in docs of lib.rs (#1637)
* [log] Fix typo in docs of lib.rs

* [lib] Fix typo in docs of lib.rs
2024-08-12 14:59:16 -03:00
renovate[bot] 78061c3455 chore(deps): update unocss monorepo to ^0.62.0 (#1652)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-12 12:35:29 +02:00
AHQ 6b079cfdd1 refactor(android): Remove targetSdk = 34 from every gradle build files (#1649)
* remove targetSdk

* changelog

* fix md file

* Add the -js ones as well

* remove -js ones
2024-08-12 07:11:04 -03:00
Lucas Fernandes Nogueira 5f68990297 chore(fs): update API documentation (#1645)
* chore(fs): update API documentation

* fmt

---------

Co-authored-by: Tillmann <28728469+tweidinger@users.noreply.github.com>
2024-08-12 00:54:29 -03:00
renovate[bot] 94678051df chore(deps): lock file maintenance (#1651)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-12 11:15:53 +08:00
mikoto2000 59644c5d22 docs: add Contributing Guide link in root README. (#1647) 2024-08-10 19:55:10 +02:00
renovate[bot] edde2dedf1 chore(deps): update eslint monorepo to v9.9.0 (#1643)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-10 10:03:17 +08:00
renovate[bot] 05aaad3aec chore(deps): update tauri monorepo (#1639)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-09 15:35:55 +08:00
renovate[bot] 279698700a chore(deps): update tauri monorepo (#1633)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-08 09:21:25 +08:00
Fabian-Lars 2c00c0292c fix: use _ as word boundary in IIFE var names (#1630)
* fix: use `_` as word boundary in IIFE var names

* Revert "fix: use `_` as word boundary in IIFE var names"

This reverts commit 396ed3fa56.

* Reapply "fix: use `_` as word boundary in IIFE var names"

This reverts commit f31de7dab3.
2024-08-07 14:14:17 +02:00
renovate[bot] 901dd560be chore(deps): update dependency typescript-eslint to v8.0.1 (#1629)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-06 09:50:02 +02:00
Fabian-Lars b867127329 chore: Remove geolocation and haptics from list of mirrors 2024-08-05 10:25:15 +02:00
renovate[bot] 132c58f80d chore(deps): lock file maintenance (#1628)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-05 09:30:30 +02:00
Tony f8925b9687 Run prettier (#1627) 2024-08-04 12:24:25 +02:00
renovate[bot] 1e60a9888d chore(deps): update dependency @tauri-apps/cli to v2.0.0-rc.1 (#1618)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-04 17:08:29 +08:00
renovate[bot] 788989aa60 chore(deps): update dependency rollup to v4.20.0 (#1621)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-03 13:08:37 +02:00
Lucas Nogueira 096b152731 chore: add contributors 2024-08-03 00:32:14 -03:00
Lucas Nogueira ad03b8e035 fix(geolocation): plugin does not have a execute command 2024-08-02 21:01:41 -03:00
Lucas Nogueira d13e6bcb78 chore: update API example 2024-08-02 13:24:15 -03:00
Lucas Nogueira 0f34919c9c fix: add repository information for gelocation and haptics 2024-08-02 12:16:12 -03:00
Lucas Nogueira 4899895479 fix: add missing crate metadata 2024-08-02 12:12:24 -03:00
Lucas Nogueira 4db635f19b feat: bump to RC 2024-08-02 12:05:44 -03:00
Fabian-Lars 9606089b2a feat: Add geolocation and haptics plugins (#1599)
* init geolocation plugin

* ios impl (w/o js api)

* generate ts api

* use newer tauri commit

* add temporary postinstall

* include src in files

* guest-js

* just ship dist-js for now

* fix watcher

* fix android compile error

* fix android build for real

* fix heading type

* initial getCurrentPosition android impl (wip)

* prevent panics if errors (strings) are sent over the channel

* Add android watchPosition implementation

* init haptics plugin (android)

* ios and new apis (ANDROID IS LIKELY BROKEN - MAY NOT EVEN COMPILE)

* use tauri-specta that accounts for raw fn arg idents

* add complete android support (it's not working great due to random soft-/hardware support)

* fix(haptics): Fix the NotificationFeedbackType::Success and Version (#1)

* Fix success feedback and version

* Apply suggestions from code review

* Update package.json

---------

Co-authored-by: Fabian-Lars <118197967+FabianLars-crabnebula@users.noreply.github.com>

* android: improve permission callback handling

* keep track of ongoing perms requests

* rebuild

* license headers

* rm sqlite feat

* fmt

* what diff u talkin bout?

* ignore dist-js again

* fix audits

* dedupe api.js

* clippy

* changefiles

* readmes

* clean up todos

* rm dsstore

* rm wrong feats

* mirror

* covector

* rebuild

* ios requires the wry feature

* lint

* update lock

---------

Co-authored-by: fabianlars <fabianlars@fabianlars.de>
Co-authored-by: Brendan Allan <brendonovich@outlook.com>
Co-authored-by: Naman Garg <155433377+naman-crabnebula@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@crabnebula.dev>
2024-08-02 10:45:47 -03:00
Lucas Fernandes Nogueira 34df132fb1 feat(shell): enhance regex validators to match on entire string (#1603) 2024-08-02 10:03:35 -03:00
Fabian-Lars b1e5cae5a0 chore(deps): Update typescript-eslint from v8 alpha to stable (#1612) 2024-08-01 12:35:00 +02:00
renovate[bot] da308af3d9 chore(deps): update dependency rollup to v4.19.2 (#1610)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-01 12:19:52 +02:00
renovate[bot] bc85babc87 fix(deps): update rust crate indexmap to 2.3.0 (v2) (#1609)
* fix(deps): update rust crate indexmap to 2.3.0

* Aktualisieren von Cargo.toml

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
2024-08-01 12:13:49 +02:00
582 changed files with 18993 additions and 8392 deletions
-29
View File
@@ -1,29 +0,0 @@
---
"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
---
The JS packages now specify the _minimum_ `@tauri-apps/api` version instead of a single exact version.
+5
View File
@@ -0,0 +1,5 @@
---
"dialog": patch:feat
---
Implement `save` API on Android.
-5
View File
@@ -1,5 +0,0 @@
---
"biometric": patch
---
Provide more context to the `AuthOptions` in the Biometric Plugin for Rust API documentation.
-5
View File
@@ -1,5 +0,0 @@
---
"http-js": "patch"
---
Include headers created by browser if not declared by user, which fixes missing headers like `Content-Type` when using `FormData`.
-5
View File
@@ -1,5 +0,0 @@
---
"clipboard-manager": "minor"
---
Add support for clearing clipboard text on iOS and Android.
-5
View File
@@ -1,5 +0,0 @@
---
"clipboard-manager": "patch"
---
Expose `Clipboard` struct
-6
View File
@@ -1,6 +0,0 @@
---
"clipboard-manager": patch
"clipboard-manager-js": patch
---
Add support for writing HTML content to the clipboard.
-6
View File
@@ -1,6 +0,0 @@
---
"clipboard-manager": "minor"
"clipboard-manager-js": "minor"
---
Add support for `read_image` and `write_image` to the clipboard plugin (desktop).
-5
View File
@@ -1,5 +0,0 @@
---
"clipboard-manager": "patch"
---
Fix reading and writing text on Android and iOS.
-11
View File
@@ -1,11 +0,0 @@
---
"clipboard-manager": "patch"
---
Refactored the clipboard Rust APIs for more clarity and consistency:
- Changed `Clipboard::write_text` to take a string type instead of an enum.
- Changed `Clipboard::read_text` to return a string type instead of an enum.
- Changed `Clipboard::write_html` to take 2 string arguments instead of an enum.
- Changed `Clipboard::write_image` to take a reference to a `tauri::Image` instead of an enum.
- Removed `ClipKind` and `ClipboardContents` enums.
@@ -1,5 +0,0 @@
---
"clipboard-manager": patch
---
The `write` and `read` commands are now called `write_text` and `read_text` so the permission name was changed.
+18
View File
@@ -68,6 +68,7 @@
"os",
"process",
"shell",
"store",
"updater"
]
},
@@ -90,6 +91,7 @@
"os-js",
"process-js",
"shell-js",
"store-js",
"updater-js"
],
"postversion": "pnpm install --no-frozen-lockfile"
@@ -174,6 +176,14 @@
"path": "./plugins/dialog",
"manager": "javascript"
},
"geolocation": {
"path": "./plugins/geolocation",
"manager": "rust"
},
"geolocation-js": {
"path": "./plugins/geolocation",
"manager": "javascript"
},
"global-shortcut": {
"path": "./plugins/global-shortcut",
"manager": "rust"
@@ -182,6 +192,14 @@
"path": "./plugins/global-shortcut",
"manager": "javascript"
},
"haptics": {
"path": "./plugins/haptics",
"manager": "rust"
},
"haptics-js": {
"path": "./plugins/haptics",
"manager": "javascript"
},
"http": {
"path": "./plugins/http",
"manager": "rust",
+10
View File
@@ -0,0 +1,10 @@
---
"barcode-scanner": patch
"barcode-scanner-js": patch
"geolocation": patch
"geolocation-js": patch
"notification": patch
"notification-js": patch
---
Use `PermissionState` from the `tauri` crate, which now also includes a "prompt with rationale" variant for Android (returned when your app must explain to the user why it needs the permission).
-5
View File
@@ -1,5 +0,0 @@
---
"notification": patch
---
Use notify_rust from crates.io instead of local fork.
-6
View File
@@ -1,6 +0,0 @@
---
"deep-link": patch
"deep-link-js": patch
---
Added desktop support.
@@ -1,6 +0,0 @@
---
"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.
@@ -0,0 +1,5 @@
---
"dialog": "patch"
---
Mark `FileResponse` as `non_exhaustive`.
-5
View File
@@ -1,5 +0,0 @@
---
"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
---
Fixed an issue where the dialog apis panicked when they were called with no application windows open.
-5
View File
@@ -1,5 +0,0 @@
---
"dialog": "patch"
---
Fill file `len` and `modified_at` fields of `FileResponse` when using the open dialog.
-5
View File
@@ -1,5 +0,0 @@
---
"dialog": "patch"
---
Fixed an issue where dialogs on android would return the Content URI instead of the file path
+7
View File
@@ -0,0 +1,7 @@
---
"dialog": patch
"dialog-js": patch
---
The `open` function now returns a string representing either the file path or URI instead of an object.
To read the file data, use the `fs` APIs.
-5
View File
@@ -1,5 +0,0 @@
---
"fs": patch
---
Enhance the scope type to also allow a plain string representing the path to allow or deny.
-5
View File
@@ -1,5 +0,0 @@
---
"http": patch
---
The scope URL now follows the URL pattern standard instead of a simple glob pattern.
-6
View File
@@ -1,6 +0,0 @@
---
"shell": patch
---
When the "raw" encoding option is specified for a shell process, all bytes from the child's output streams are passed to the data handlers.
This makes it possible to read output from programs that write unencoded byte streams to stdout (like ffmpeg)
-5
View File
@@ -1,5 +0,0 @@
---
"log-js": patch
---
Added `attachLogger` helper function to register a function that should be called for each log entry.
-5
View File
@@ -1,5 +0,0 @@
---
"single-instance": patch
---
Added the `semver` feature flag to make the single instance mechanism only trigger for semver compatible versions.
-5
View File
@@ -1,5 +0,0 @@
---
"websocket": patch
---
**Breaking change:** Enable rustls by default and added a method to configure the TLS Connector for tungstenite.
-6
View File
@@ -1,6 +0,0 @@
---
"fs": patch
"fs-js": patch
---
Fix infinite loop on cargo build operations
-10
View File
@@ -1,10 +0,0 @@
---
"barcode-scanner": patch
"biometric": patch
"clipboard-manager": patch
"nfc": patch
"notification": patch
"shell": patch
---
Fixes Android warnings.
@@ -1,5 +0,0 @@
---
authenticator: patch
---
Pin winapi-utils to 0.1.6 to fix compilation error in dependencies.
-5
View File
@@ -1,5 +0,0 @@
---
"autostart": patch
---
Fix LaunchAgent-based autostart for macOS.
@@ -1,5 +0,0 @@
---
"deep-link-js": patch
---
Fixed a typo in the `deep-link` js bindings causing `isRegistered` to not work.
-5
View File
@@ -1,5 +0,0 @@
---
deep-link: patch
---
Fixed an issue that caused the `deep-link` plugin to generate incorrect `.desktop` files on Linux.
-7
View File
@@ -1,7 +0,0 @@
---
"notification": patch
"barcode-scanner": patch
"dialog": patch
---
Fixes command argument parsing on iOS.
@@ -1,5 +0,0 @@
---
"fs": patch
---
Fixed an issue that caused the plugin to ignore the `requireLiteralLeadingDot` config.
-5
View File
@@ -1,5 +0,0 @@
---
"fs": patch
---
Fixes an issue that caused the app to freeze when the `fs` plugin's read/write apis were used on large files.
-5
View File
@@ -1,5 +0,0 @@
---
"fs": patch
---
Fixes an issue that caused the app to freeze when the `dialog`, `fs`, and `persisted-scope` plugins were used together.
-5
View File
@@ -1,5 +0,0 @@
---
"fs": patch
---
Fixes `watch` and `watchImmediate` which previously ignored the `baseDir` parameter.
-5
View File
@@ -1,5 +0,0 @@
---
"http": patch
---
**Breaking change:** Removed the `default-tls` feature flag. The `rustls-tls`, `http2`, `macos-system-configuration`, and `charset` feature flags are now enabled by default.
+5
View File
@@ -0,0 +1,5 @@
---
"http-js": patch
---
Fixed an issue with abort signal not aborting the fetch request.
-5
View File
@@ -1,5 +0,0 @@
---
"http": patch
---
Fixes scope not allowing subpaths, query parameters and hash when those values are empty.
@@ -0,0 +1,5 @@
---
"updater": patch
---
Fixes the updater not preserving AppImage file permissions.
@@ -1,5 +0,0 @@
---
notification: patch
---
Fixed an issue that caused the `notification` plugin's initialization script to cause the WebView on Windows to throw a `STATUS_ACCESS_VIOLATION` error on remote websites.
-5
View File
@@ -1,5 +0,0 @@
---
'single-instance': patch
---
Fix doesn't shutdown immediately.
-5
View File
@@ -1,5 +0,0 @@
---
"updater": patch
---
Add a `on_before_exit` hook for cleanup before spawning the updater on Windows, defaults to `app.cleanup_before_exit` when used through `UpdaterExt`
-5
View File
@@ -1,5 +0,0 @@
---
"updater": patch
---
**Breaking change:** The `rustls-tls` feature flag is now enabled by default.
@@ -1,5 +0,0 @@
---
"updater": patch
---
Fix deserialization of `windows > installerArgs` config field.
-5
View File
@@ -1,5 +0,0 @@
---
"updater": patch
---
On Windows, fallback to `passive` install mode when not defined in config.
-5
View File
@@ -1,5 +0,0 @@
---
updater: patch
---
Automatically launch app after updates using `.msi`, to match NSIS `.exe` installer behaviour.
-5
View File
@@ -1,5 +0,0 @@
---
"updater": patch
---
On Windows, escape the path to the downloaded msi updater to fix an issue causing the update to fail when the `productName` contained spaces.
@@ -1,5 +0,0 @@
---
"updater": patch
---
Fix Windows powershell window flashing on update
-5
View File
@@ -1,5 +0,0 @@
---
"single-instance": patch
---
Fix `zbus::blocking::connection::Builder` import.
@@ -0,0 +1,5 @@
---
"fs": patch:enhance
---
The `scope-*-recursive` permissions now also allow reading the contents of the directory.
+6
View File
@@ -0,0 +1,6 @@
---
"geolocation": major
"geolocation-js": major
---
Initial release.
-32
View File
@@ -1,32 +0,0 @@
---
"authenticator": patch
"autostart": patch
"barcode-scanner": patch
"biometric": patch
"cli": patch
"clipboard-manager": patch
"deep-link": patch
"dialog": patch
"fs": patch
"global-shortcut": patch
"http": patch
"localhost": patch
"log-plugin": patch
"nfc": patch
"notification": patch
"os": patch
"persisted-scope": patch
"positioner": patch
"process": patch
"shell": patch
"single-instance": patch
"sql": patch
"store": patch
"stronghold": patch
"updater": patch
"upload": patch
"websocket": patch
"window-state": patch
---
The global API script is now only added to the binary when the `withGlobalTauri` config is true.
-11
View File
@@ -1,11 +0,0 @@
---
"global-shortcut": "patch"
"global-shortcut-js": "patch"
---
Refactored APIs to introduce new pressed and released events:
- Added `ShortcutEvent` and `ShortcutState` types in Rust.
- Changed the handler function passed to `GlobalShortcut::on_shortcut`, `GlobalShortcut::on_all_shortcuts` and `Builder::with_handler` to take a 3rd argument of type `ShortcutEvent`.
- Added `ShortcutEvent` interface in JS.
- Changed `ShortcutHandler` type alias (which affects the JS `register` and `registerAll` APIs) to take `ShortcutEvent` instead of a string.
+5
View File
@@ -0,0 +1,5 @@
---
"global-shortcut": "patch"
---
Updated `global-hotkey` crate dependency to `0.6`
@@ -1,10 +0,0 @@
---
"global-shortcut": "patch"
---
Refactored the Rust APIs:
- Renamed `GlobalShortcut::on_all_shortcuts` to `GlobalShortcut::on_shortcuts`
- Renamed `GlobalShortcut::register_all` to `GlobalShortcut::register_multiple`
- Changed `GlobalShortcut::unregister_all` behavior to remove all registerd shortcuts.
- Added `GlobalShortcut::unregister_multiple` to register a list of shortcuts (old behavior of `unregister_all`).
-9
View File
@@ -1,9 +0,0 @@
---
"global-shortcut": "patch"
---
**Breaking change** Refactored the plugin Rust APIs for better DX and flexibility:
- Changed `Builder::with_handler` to be a method instead of a static method, it will also be triggered for any and all shortcuts even if the shortcut is registered through JS.
- Added `Builder::with_shortcut` and `Builder::with_shortcuts` to register shortcuts on the plugin builder.
- Added `on_shortcut` and `on_all_shortcuts` to register shortcuts with a handler.
@@ -1,8 +0,0 @@
---
"global-shortcut-js": "patch"
---
Refactored the JS APIs:
- Enhanced `register` and `unregister` to take either a single shortcut or an array.
- Removed `registerAll` instead use `register` with an array.
+6
View File
@@ -0,0 +1,6 @@
---
"haptics": major
"haptics-js": major
---
Initial release.
-6
View File
@@ -1,6 +0,0 @@
---
"http": "patch"
"http-js": "patch"
---
Fix cancelling requests using `AbortSignal`.
-5
View File
@@ -1,5 +0,0 @@
---
"http": "patch"
---
Enable cookies store feature flag by default.
-5
View File
@@ -1,5 +0,0 @@
---
"http": "patch"
---
Fix `ORIGIN` header containing 2 URLs when `unsafe-headers` feature flag is enabled.
-6
View File
@@ -1,6 +0,0 @@
---
"http": "patch"
"http-js": "patch"
---
Allow setting `Origin` header when `unsafe-headers` feature flag is active.
-5
View File
@@ -1,5 +0,0 @@
---
"http": "patch"
---
Set the request origin to the current webview url.
-5
View File
@@ -1,5 +0,0 @@
---
"http-js": "patch"
---
Fix missing `Set-Cookie` headers in the response which meant `request.headers.getSetCookie()` always returned empty array.
-5
View File
@@ -1,5 +0,0 @@
---
http: patch
---
Fixed an issue with the http plugin when it was used with tauri v2 beta.19.
-5
View File
@@ -1,5 +0,0 @@
---
"http": patch
---
Add `unsafe-headers` cargo feature flag to allow using [forbidden headers](https://fetch.spec.whatwg.org/#terminology-headers).
-6
View File
@@ -1,6 +0,0 @@
---
"http": "patch"
"http-js": "patch"
---
Allow `User-Agent` header to be set.
+9
View File
@@ -0,0 +1,9 @@
---
barcode-scanner: patch
clipboard-manager: patch
deep-link: patch
global-shortcut: patch
window-state: patch
---
Fixed an issue that caused multi-word IIFE names to not be formatted correctly. For example the `barcode-scanner` was defined as `window.__TAURI_PLUGIN_CLIPBOARDMANAGER__` instead of `window.__TAURI_PLUGIN_CLIPBOARD_MANAGER__`.
-6
View File
@@ -1,6 +0,0 @@
---
"positioner": "patch"
"window-state": "patch"
---
Implement `WindowExt` for `WebviewWindow`.
-5
View File
@@ -1,5 +0,0 @@
---
"log-plugin": patch
---
Added `Builder::split` which returns the raw logger implementation so you can pipe to other loggers such as `multi_log` or `tauri-plugin-devtools`.
-32
View File
@@ -1,32 +0,0 @@
---
"authenticator": patch
"autostart": patch
"barcode-scanner": patch
"biometric": patch
"cli": patch
"clipboard-manager": patch
"deep-link": patch
"dialog": patch
"fs": patch
"global-shortcut": patch
"http": patch
"localhost": patch
"log-plugin": patch
"nfc": patch
"notification": patch
"os": patch
"persisted-scope": patch
"positioner": patch
"process": patch
"shell": patch
"single-instance": patch
"sql": patch
"store": patch
"stronghold": patch
"updater": patch
"upload": patch
"websocket": patch
"window-state": patch
---
Update MSRV to 1.75.
@@ -1,7 +0,0 @@
---
"updater": patch
---
On Windows, use a named tempfile with `<app name>-<version>-installer.exe` (or `.msi`) for v2 updater
**Breaking Change**: `UpdaterBuilder::new` now takes one more argument `app_name: String`
-32
View File
@@ -1,32 +0,0 @@
---
"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
---
Use no default features on tauri for all plugins so that consumers can use `default-features = false` on tauri, note that this will still enable wry feature on iOS
@@ -1,5 +0,0 @@
---
"notification": patch
---
Add `register_action_types` and `register_listener` permission command, so that new Action types can be registered and used on Android.
-5
View File
@@ -1,5 +0,0 @@
---
"notification": patch
---
Fix development mode check to set the app ID on macOS.
-5
View File
@@ -1,5 +0,0 @@
---
"notification": patch
---
Fix development mode function name check to set the app ID on macOS.
@@ -0,0 +1,5 @@
---
"notification-js": patch
---
**Breaking change**: The permission type when using the API is now `'granted' | 'denied' | 'prompt' | 'prompt-with-rationale'` instead of `'granted' | 'denied' | 'default'` for consistency with Rust types. When using the `window.Notification` API the type is unchanged to match the Web API type.
-6
View File
@@ -1,6 +0,0 @@
---
"os-js": "patch"
---
**Changed:** `platform`, `arch`, `type`, `family`, `version` and `exe_extension` functions in the documentation examples to better reflect that these functions are synchronous.
-6
View File
@@ -1,6 +0,0 @@
---
"os": "patch"
"os-js": "patch"
---
**Breaking** Changed `platform`, `arch`, `type`, `family`, `version` and `exe_extension` functions to be sync.
+24 -114
View File
@@ -1,118 +1,28 @@
{
"tag": "beta",
"tag": "rc",
"changes": [
".changes/all-use-range-for-apijs.md",
".changes/beta.md",
".changes/biometric-auth-options-docs.md",
".changes/browser-headers.md",
".changes/clear-clipboard.md",
".changes/clipboard-expose-struct.md",
".changes/clipboard-html.md",
".changes/clipboard-manager-image.md",
".changes/clipboard-mobile.md",
".changes/clipboard-refactor.md",
".changes/clipboard-text-command-rename.md",
".changes/crate-notify-rust.md",
".changes/deep-link-desktop.md",
".changes/dialog-can-create-directories.md",
".changes/dialog-linux-freeze.md",
".changes/dialog-main-thread.md",
".changes/dialog-metadata.md",
".changes/dialog-path-return-mismatch.md",
".changes/enhance-fs-scope-type.md",
".changes/enhance-http-scope.md",
".changes/enhance-shell-raw-out.md",
".changes/feat-log-attachlogger.md",
".changes/feat-single-instance-semver.md",
".changes/feat-websocket-tls-connector.md",
".changes/file-autogen-fix.md",
".changes/fix-android-warnings.md",
".changes/fix-authenticator-windows-compile.md",
".changes/fix-autolaunch-macos.md",
".changes/fix-deep-link-is-registered-typo.md",
".changes/fix-deep-link-linux.md",
".changes/fix-default-arg-value.md",
".changes/fix-fs-apply-leading-dot-config.md",
".changes/fix-fs-async-cmds.md",
".changes/fix-fs-scope-deadlock.md",
".changes/fix-fs-watcher-basedir.md",
".changes/fix-http-default-features.md",
".changes/fix-http-scope-url-match.md",
".changes/fix-notification-access-violation.md",
".changes/fix-shutdown-timing.md",
".changes/fix-updater-cleanup.md",
".changes/fix-updater-default-features.md",
".changes/fix-updater-installer-args-deserialization.md",
".changes/fix-updater-installmode.md",
".changes/fix-updater-msi-autostart.md",
".changes/fix-updater-msi-path.md",
".changes/fix-updater-powershell-flashing.md",
".changes/fix-zbus-import.md",
".changes/global-api-script-refactor.md",
".changes/global-hotkey-event.md",
".changes/global-shortcut-js-apis-refactor.md",
".changes/global-shortcut-refactor.md",
".changes/global-shortcut-rust-apis-refactor.md",
".changes/http-abort.md",
".changes/http-cookies.md",
".changes/http-origin-duplicated.md",
".changes/http-origin-unsafe.md",
".changes/http-origin.md",
".changes/http-set-cookie.md",
".changes/http-tauri-beta-19.md",
".changes/http-unsafe-headers.md",
".changes/http-user-agent.md",
".changes/impl-ext-for-webview-windows.md",
".changes/log-split.md",
".changes/msrv-1.75.md",
".changes/named-tempfile-updater-windows.md",
".changes/no-default-tauri-features.md",
".changes/notifcation-permission-commands.md",
".changes/notification-fix-dev-check.md",
".changes/notification-fix-dev-name.md",
".changes/os-sync-functions-doc.md",
".changes/os-sync-functions.md",
".changes/public-with-store.md",
".changes/remove-unc-path-prefix.md",
".changes/reqwest-0.12.md",
".changes/restore-default-window-state.md",
".changes/scoped-resources-table.md",
".changes/shell-command-execute-extra-new-lines.md",
".changes/shell-command-execute-speed.md",
".changes/shell-command-lost-events.md",
".changes/shell-execute-return.md",
".changes/shell-execute.md",
".changes/shell-fix-schema-command-property-name.md",
".changes/shell-shellexcute.md",
".changes/single-instance.macos.md",
".changes/sql-column-order.md",
".changes/sql-public-db-instances.md",
".changes/sql-update-sqlx-0-8.md",
".changes/target-sdk-34.md",
".changes/tauri-beta-14-dependencies.md",
".changes/tauri-beta-14.md",
".changes/tauri-beta-15.md",
".changes/tauri-beta-17.md",
".changes/tauri-beta-20.md",
".changes/tauri-beta-22.md",
".changes/tauri-beta-23.md",
".changes/tauri-beta-24.md",
".changes/tauri-beta-25.md",
".changes/tauri-beta-4.md",
".changes/tauri-beta-8.md",
".changes/tauri-beta-9.md",
".changes/updater-dirs.md",
".changes/updater-download-install-js-binding.md",
".changes/updater-msiexec.md",
".changes/updater-non-zip.md",
".changes/updater-nsis-shortcuts.md",
".changes/updater-zip-no-default-features.md",
".changes/upload-returnval.md",
".changes/watcher-debouncer-rename.md",
".changes/window-state-custom-filename.md",
".changes/window-state-default-filename.md",
".changes/window-state-js-binding.md",
".changes/window-state-json.md",
".changes/window-state-map-label.md"
".changes/android-dialog-save.md",
".changes/consolidate-permission-state.md",
".changes/dialog-file-response-non-exhaustive.md",
".changes/dialog-return-path.md",
".changes/fix-http-plugin-abort.md",
".changes/fix-linux-updater-permission-error.md",
".changes/fs-scope-recursive-allow-read-dir.md",
".changes/geolocation-release.md",
".changes/global-shortcut-0.6.md",
".changes/haptics-release.md",
".changes/iife-varname-spacing.md",
".changes/notification-permission-type-change.md",
".changes/rc.md",
".changes/remove-target-sdk.md",
".changes/resolve-content-uris.md",
".changes/shell-open-regex-match-string.md",
".changes/shell-regex-match-string.md",
".changes/single-instance-windows-sys.0.59.md",
".changes/store-remove-mobile-plugin.md",
".changes/swift-build-older-versions.md",
".changes/tauri-rc-8.md",
".changes/update-fs-api-docs.md",
".changes/update-tauri-rc-3.md"
]
}
-5
View File
@@ -1,5 +0,0 @@
---
'store': patch
---
Fix `with_store` and `StoreCollection` changed to private in #1011
+5 -1
View File
@@ -52,6 +52,10 @@
"upload-js": patch
"websocket-js": patch
"window-state-js": patch
"haptics": patch
"haptics-js": patch
"geolocation": patch
"geolocation-js": patch
---
Update to tauri beta.17.
Update to tauri RC.
+1 -1
View File
@@ -11,7 +11,7 @@ Use the following format:
```md
---
"package-a": patch
"package-b": minor
"package-b": minor:feat
---
Change summary goes here
+15
View File
@@ -0,0 +1,15 @@
---
"barcode-scanner": patch:changes
"biometric": patch:changes
"clipboard-manager": patch:changes
"deep-link": patch:changes
"dialog": patch:changes
"geolocation": patch:changes
"haptics": patch:changes
"nfc": patch:changes
"notification": patch:changes
"shell": patch:changes
"store": patch:changes
---
Remove targetSdk from build.kts files as it is deprecated and will be removed from DSL v9.0
-7
View File
@@ -1,7 +0,0 @@
---
dialog: patch
fs: patch
store: patch
---
**Breaking Change:** All apis that return paths to the frontend will now remove the `\\?\` UNC prefix on Windows.
-5
View File
@@ -1,5 +0,0 @@
---
"upload": patch
---
**Breaking change**: Removed http3 feature and added http2 feature.
+5
View File
@@ -0,0 +1,5 @@
---
"fs": patch:feat
---
Resolve `content://` path URIs on Android.
-5
View File
@@ -1,5 +0,0 @@
---
"window-state": patch
---
Fix `restore_window` doesn't work with `skip_initial_state` when no previous cache was found
-8
View File
@@ -1,8 +0,0 @@
---
"fs": "patch"
"http": "patch"
"updater": "patch"
"clipboard-manager": "patch"
---
Internally use the webview scoped resources table instead of the app one, so other webviews can't access other webviews resources.
@@ -1,5 +0,0 @@
---
"shell-js": "patch"
---
Fix `Command.execute` API including extra new lines.
-6
View File
@@ -1,6 +0,0 @@
---
"shell": "patch"
"shell-js": "patch"
---
Improve the speed of the JS `Command.execute` API
-5
View File
@@ -1,5 +0,0 @@
---
"shell": "patch"
---
Fix the JS `Command` API losing events for `stdout`.
-5
View File
@@ -1,5 +0,0 @@
---
"shell": "patch"
---
Fix a regression introduce in the last release where The JS API `Command.execute()` returned malformed response.
-5
View File
@@ -1,5 +0,0 @@
---
"shell": "patch"
---
Run `Command.execute()` JS api, asynchronously in the Rust side to avoid blocking main thread and causing the webview to freeze.
@@ -1,5 +0,0 @@
---
"shell": "patch"
---
Change shell's schema property name `command` to `cmd`.
@@ -0,0 +1,5 @@
---
"shell": patch
---
Change the `open` scope validator regex to match on the entire string.

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