mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-04-11 10:43:31 +02:00
Compare commits
136 Commits
tauri-runt
...
cli.js-v1.
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
86d82af494 | ||
|
|
a1929c6dac | ||
|
|
35f2147161 | ||
|
|
d4b49d75a6 | ||
|
|
a4fcaf1d04 | ||
|
|
c82b4761e1 | ||
|
|
72e577dcc6 | ||
|
|
95726ebb61 | ||
|
|
0180dcc812 | ||
|
|
615f48dee0 | ||
|
|
9bd3fc48ee | ||
|
|
0612da3014 | ||
|
|
2778d21f9b | ||
|
|
eaf9e5a9a6 | ||
|
|
1ca2dd677d | ||
|
|
4562e671e4 | ||
|
|
a0ecd81a93 | ||
|
|
715cbde384 | ||
|
|
ec79e075a9 | ||
|
|
220e746014 | ||
|
|
d31167c520 | ||
|
|
891eb748cf | ||
|
|
164078c0b7 | ||
|
|
a6f1734c49 | ||
|
|
5666c0bce8 | ||
|
|
f37354e675 | ||
|
|
022eed4667 | ||
|
|
8f259f4ef8 | ||
|
|
de444b15d2 | ||
|
|
6278fc9774 | ||
|
|
f3c5ca89e7 | ||
|
|
ad1786178a | ||
|
|
320484866b | ||
|
|
d96805a7ac | ||
|
|
84c5249b40 | ||
|
|
60ff8f4bec | ||
|
|
2fe54e3d11 | ||
|
|
6462b62822 | ||
|
|
73c2349451 | ||
|
|
4940ac3b8a | ||
|
|
bbabc8cd1e | ||
|
|
4f0f3187c9 | ||
|
|
094534d138 | ||
|
|
cf22f4ca5d | ||
|
|
62cdb2b307 | ||
|
|
7ae9e25262 | ||
|
|
146b588b2e | ||
|
|
dd94917b61 | ||
|
|
feac1d193c | ||
|
|
f7d3d93b62 | ||
|
|
edf85bc1d1 | ||
|
|
58b3f48ecb | ||
|
|
a649aad7ad | ||
|
|
4a405065c7 | ||
|
|
4d31705162 | ||
|
|
0ea009cfdc | ||
|
|
bcfed499cf | ||
|
|
2189416a76 | ||
|
|
ed467c275b | ||
|
|
24e4ff208e | ||
|
|
e11878bcf7 | ||
|
|
c23f139ba8 | ||
|
|
f68af45a11 | ||
|
|
f66bc3c2b8 | ||
|
|
0198c2ba45 | ||
|
|
1303264190 | ||
|
|
582bdfccbc | ||
|
|
1397d9121a | ||
|
|
8e00f0904c | ||
|
|
b5622882cf | ||
|
|
81705bb332 | ||
|
|
38e330f525 | ||
|
|
320329a9a7 | ||
|
|
7864d41de8 | ||
|
|
47be3514a7 | ||
|
|
c54ddfe933 | ||
|
|
76950e978e | ||
|
|
4cebcf6da7 | ||
|
|
0299e500b6 | ||
|
|
cc35608430 | ||
|
|
395a259019 | ||
|
|
71c7807fd8 | ||
|
|
718a42656e | ||
|
|
f0fb65bfbd | ||
|
|
a478841424 | ||
|
|
0221d14faf | ||
|
|
132e5b85f2 | ||
|
|
70ff55c1aa | ||
|
|
3bd3d923d3 | ||
|
|
c479e979d9 | ||
|
|
bc3ba1cf20 | ||
|
|
80b714af6b | ||
|
|
485c97438a | ||
|
|
f2a30d8bc5 | ||
|
|
c4320ed1bc | ||
|
|
822b038c3e | ||
|
|
aa111c8c3e | ||
|
|
fa2baba76c | ||
|
|
82c7855bf8 | ||
|
|
621062246d | ||
|
|
2c1c5ab13f | ||
|
|
94a6a09df2 | ||
|
|
7bc0e1f9a4 | ||
|
|
ed71679368 | ||
|
|
6839fde11d | ||
|
|
e251e1b099 | ||
|
|
42a32ee9f3 | ||
|
|
30c38a50ee | ||
|
|
42e8d9cf92 | ||
|
|
b1f83fd05f | ||
|
|
0ecfad5924 | ||
|
|
f67ae6bd60 | ||
|
|
9712ed1a68 | ||
|
|
9b70f82252 | ||
|
|
c009efe743 | ||
|
|
a4337dab99 | ||
|
|
73a4b74aea | ||
|
|
7c7d854ab9 | ||
|
|
6a5ff08ce9 | ||
|
|
985d250898 | ||
|
|
50d135b20f | ||
|
|
b8c146a715 | ||
|
|
c59846d088 | ||
|
|
d956ccda7d | ||
|
|
3b69596742 | ||
|
|
cd9dfc7b9a | ||
|
|
c7696f34ec | ||
|
|
b14aa89673 | ||
|
|
4541eaf2cb | ||
|
|
be07343b52 | ||
|
|
a144e92993 | ||
|
|
06aa87b65f | ||
|
|
169b5035a9 | ||
|
|
a073f27d4a | ||
|
|
f93f96970c | ||
|
|
ae94c6be95 |
5
.changes/about-metadata-into-string.md
Normal file
5
.changes/about-metadata-into-string.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri-runtime": patch
|
||||
---
|
||||
|
||||
The `AboutMetadata` string setters now take `impl Into<String>`.
|
||||
5
.changes/api-encode-protocol-path.md
Normal file
5
.changes/api-encode-protocol-path.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"api": patch
|
||||
---
|
||||
|
||||
Encode the file path in the `convertFileSrc` function.
|
||||
5
.changes/api-theme-getter.md
Normal file
5
.changes/api-theme-getter.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"api": patch
|
||||
---
|
||||
|
||||
Added `theme` getter to `WebviewWindow`.
|
||||
5
.changes/api-theme-window-option.md
Normal file
5
.changes/api-theme-window-option.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"api": patch
|
||||
---
|
||||
|
||||
Added `theme` field to `WindowOptions`.
|
||||
5
.changes/api-window-cursor.md
Normal file
5
.changes/api-window-cursor.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"api": patch
|
||||
---
|
||||
|
||||
Added the `setCursorGrab`, `setCursorVisible`, `setCursorIcon` and `setCursorPosition` methods to the `WebviewWindow` class.
|
||||
5
.changes/archive-format-plain-breaking-changes.md
Normal file
5
.changes/archive-format-plain-breaking-changes.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
**Breaking change:** Removed `tauri::api::file::ArchiveFormat::Plain`.
|
||||
5
.changes/asset-default-ext-fallback.md
Normal file
5
.changes/asset-default-ext-fallback.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
Fallback to `{path}.html` when `{path}` is not found in the Tauri custom protocol handler.
|
||||
5
.changes/ayatana-feature-refactor.md
Normal file
5
.changes/ayatana-feature-refactor.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
**Breaking change:** Removed the `ayatana-tray` from the default features. You must select one of `ayatana-tray` and `gtk-tray` to use system tray on Linux.
|
||||
5
.changes/ayatana-tray.md
Normal file
5
.changes/ayatana-tray.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
**Breaking change:** Use ayatana-appindicator for Linux system tray by default. Use the `gtk-tray` Cargo feature to use `libappindicator` instead.
|
||||
5
.changes/binary-size-perf.md
Normal file
5
.changes/binary-size-perf.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
Reduce the amount of generated code for the API endpoints.
|
||||
5
.changes/build-rerun-if-config-var-change.md
Normal file
5
.changes/build-rerun-if-config-var-change.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri-build": patch
|
||||
---
|
||||
|
||||
Rerun build script if `TAURI_CONFIG` environment variable change.
|
||||
5
.changes/bundler-remove-verbose-option.md
Normal file
5
.changes/bundler-remove-verbose-option.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri-bundler": major
|
||||
---
|
||||
|
||||
Remove `Settings::verbose` option. You may now bring your own `log` frontend to receive logging output from the bundler while remaining in control of verbosity and formatting.
|
||||
6
.changes/cli-bin-ext-from-target-triple.md
Normal file
6
.changes/cli-bin-ext-from-target-triple.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"cli.rs": patch
|
||||
"cli.js": patch
|
||||
---
|
||||
|
||||
Resolve binary file extension from target triple instead of compile-time checks to allow cross compilation.
|
||||
6
.changes/cli-compilation-error-exit.md
Normal file
6
.changes/cli-compilation-error-exit.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"cli.rs": patch
|
||||
"cli.js": patch
|
||||
---
|
||||
|
||||
Exit CLI when Cargo returns a non-compilation error in `tauri dev`.
|
||||
6
.changes/cli-dev-update.md
Normal file
6
.changes/cli-dev-update.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"cli.rs": patch
|
||||
"cli.js": patch
|
||||
---
|
||||
|
||||
Notify CLI update when running `tauri dev`.
|
||||
7
.changes/cli-drop-strip.md
Normal file
7
.changes/cli-drop-strip.md
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
"cli.rs": patch
|
||||
---
|
||||
|
||||
The CLI will not automatically run `strip` on release binaries anymore. Use the [`strip`] profile setting stabilized with Cargo 1.59.
|
||||
|
||||
[`strip`]: https://doc.rust-lang.org/cargo/reference/profiles.html#strip
|
||||
6
.changes/cli-fix-overflow-windows.md
Normal file
6
.changes/cli-fix-overflow-windows.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"cli.rs": patch
|
||||
"cli.js": patch
|
||||
---
|
||||
|
||||
Fixes text overflow on `tauri dev` on Windows.
|
||||
6
.changes/cli-handle-dev-err.md
Normal file
6
.changes/cli-handle-dev-err.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"cli.rs": patch
|
||||
"cli.js": patch
|
||||
---
|
||||
|
||||
Kill the `beforeDevCommand` and app processes if the dev command returns an error.
|
||||
6
.changes/cli-improved-logging.md
Normal file
6
.changes/cli-improved-logging.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"cli.rs": minor
|
||||
"cli.js": minor
|
||||
---
|
||||
|
||||
Improve CLI's logging output, making use of the standard rust `log` system.
|
||||
6
.changes/cli-info-outdated.md
Normal file
6
.changes/cli-info-outdated.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"cli.rs": "patch"
|
||||
"cli.js": "patch"
|
||||
---
|
||||
|
||||
Fix `info` command showing outdated text for latest versions.
|
||||
6
.changes/cli-no-default-keychain.md
Normal file
6
.changes/cli-no-default-keychain.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"cli.rs": patch
|
||||
"cli.js": patch
|
||||
---
|
||||
|
||||
Don't override the default keychain on macOS while code signing.
|
||||
7
.changes/cli.rs-dev-update-check-delay.md
Normal file
7
.changes/cli.rs-dev-update-check-delay.md
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
"cli.rs": patch
|
||||
"cli.js": patch
|
||||
---
|
||||
|
||||
* Remove startup delay in `tauri dev` caused by checking for a newer cli version. The check is now done upon process exit.
|
||||
* Add `TAURI_SKIP_UPDATE_CHECK` env variable to skip checking for a newer CLI version.
|
||||
6
.changes/cli.rs-info-panic.md
Normal file
6
.changes/cli.rs-info-panic.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"cli.rs": patch
|
||||
"cli.js": patch
|
||||
---
|
||||
|
||||
Fix `tauri info` panic when a pacakage isn't installed.
|
||||
7
.changes/clipboard-feature.md
Normal file
7
.changes/clipboard-feature.md
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
"tauri": patch
|
||||
"tauri-runtime": minor
|
||||
"tauri-runtime-wry": minor
|
||||
---
|
||||
|
||||
**Breaking change::* Added the `clipboard` Cargo feature.
|
||||
5
.changes/codegen-platform-config.md
Normal file
5
.changes/codegen-platform-config.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri-codegen": patch
|
||||
---
|
||||
|
||||
Read platform-specific configuration files when generating code without the `TAURI_CONFIG` env var.
|
||||
6
.changes/command-stdio-return.md
Normal file
6
.changes/command-stdio-return.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"tauri": patch
|
||||
"api": patch
|
||||
---
|
||||
|
||||
**Breaking change:** The process Command API stdio lines now includes the trailing `\r`.
|
||||
7
.changes/config-$schema.md
Normal file
7
.changes/config-$schema.md
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
"tauri-utils": patch
|
||||
"cli.rs": patch
|
||||
"cli.js": patch
|
||||
---
|
||||
|
||||
Added `$schema` support to `tauri.conf.json`.
|
||||
@@ -8,7 +8,7 @@
|
||||
"getPublishedVersion": "cargo search ${ pkgFile.pkg.package.name } --limit 1 | sed -nE \"s/^[^\\\"]*\\\"//; s/\\\".*//1p\"",
|
||||
"prepublish": [
|
||||
"sudo apt-get update",
|
||||
"sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf",
|
||||
"sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libayatana-appindicator3-dev librsvg2-dev patchelf",
|
||||
"cargo install cargo-audit --features=fix",
|
||||
{
|
||||
"command": "cargo generate-lockfile",
|
||||
|
||||
7
.changes/cursor-apis.md
Normal file
7
.changes/cursor-apis.md
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
"tauri": patch
|
||||
"tauri-runtime": patch
|
||||
"tauri-runtime-wry": patch
|
||||
---
|
||||
|
||||
Expose Window cursor APIs `set_cursor_grab`, `set_cursor_visible`, `set_cursor_icon` and `set_cursor_position`.
|
||||
@@ -0,0 +1,7 @@
|
||||
---
|
||||
"tauri": patch
|
||||
"tauri-utils": patch
|
||||
"tauri-codegen": patch
|
||||
---
|
||||
|
||||
The `dangerous_allow_asset_csp_modification` configuration value has been changed to allow a list of CSP directives to disable.
|
||||
5
.changes/debian-priority.md
Normal file
5
.changes/debian-priority.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri-bundler": patch
|
||||
---
|
||||
|
||||
Set the Debian control file `Priority` field to `optional`.
|
||||
6
.changes/dev-cmd-config-arg.md
Normal file
6
.changes/dev-cmd-config-arg.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"cli.rs": patch
|
||||
"cli.js": patch
|
||||
---
|
||||
|
||||
**Breaking change:** The `dev` command now reads the custom config file from CWD instead of the Tauri folder.
|
||||
6
.changes/dev-keep-default-features.md
Normal file
6
.changes/dev-keep-default-features.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"cli.rs": patch
|
||||
"cli.js": patch
|
||||
---
|
||||
|
||||
**Breaking change:** Enable default Cargo features except `tauri/custom-protocol` on the dev command.
|
||||
5
.changes/expose-global-shortcut.md
Normal file
5
.changes/expose-global-shortcut.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
Re-export the `GlobalShortcutManager` when the `global-shortcut` feature is enabled.
|
||||
5
.changes/extract-file-breaking.change.md
Normal file
5
.changes/extract-file-breaking.change.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
**Breaking change:** The `tauri::api::file::Extract#extract_file` function has been moved to `tauri::api::file::Entry#extract`.
|
||||
5
.changes/extract-files-breaking-change.md
Normal file
5
.changes/extract-files-breaking-change.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
**Breaking change:** The `tauri::api::file::Extract#files` function has been renamed to `with_files` for performance reasons.
|
||||
5
.changes/extract-performance.md
Normal file
5
.changes/extract-performance.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
Improved the performance of the `tauri::api::fs::Extract` API.
|
||||
6
.changes/file-drop-percent-decode.md
Normal file
6
.changes/file-drop-percent-decode.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"tauri-runtime-wry": patch
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
The file drop event payloads are now percent-decoded.
|
||||
5
.changes/fix-api-timeout-type.md
Normal file
5
.changes/fix-api-timeout-type.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"api": patch
|
||||
---
|
||||
|
||||
Fixes the type of `http > connectTimeout`.
|
||||
6
.changes/fix-before-dev-kill-unix.md
Normal file
6
.changes/fix-before-dev-kill-unix.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"cli.rs": patch
|
||||
"cli.js": patch
|
||||
---
|
||||
|
||||
Kill the `beforeDevCommand` process recursively on Unix.
|
||||
6
.changes/fix-cli-powershell.md
Normal file
6
.changes/fix-cli-powershell.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"cli.rs": patch
|
||||
"cli.js": patch
|
||||
---
|
||||
|
||||
Fixes a Powershell crash when sending SIGINT to the dev command.
|
||||
6
.changes/fix-create-tao-window.md
Normal file
6
.changes/fix-create-tao-window.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"tauri": patch
|
||||
"tauri-runtime-wry": patch
|
||||
---
|
||||
|
||||
Fixes a panic when using the `create_tao_window` API.
|
||||
5
.changes/fix-debian-icns-load.md
Normal file
5
.changes/fix-debian-icns-load.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri-bundler": patch
|
||||
---
|
||||
|
||||
Ignore errors when loading `icns` files in the `.deb` package generation.
|
||||
5
.changes/fix-dialog-default-path-crash.md
Normal file
5
.changes/fix-dialog-default-path-crash.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
Fix dialog crash on macOS when the `default_path` value is just the file name.
|
||||
5
.changes/fix-dialog-title.md
Normal file
5
.changes/fix-dialog-title.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
Fixes the `title` option being ignored in the dialog API endpoints.
|
||||
5
.changes/fix-dll-resource.md
Normal file
5
.changes/fix-dll-resource.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri-bundler": patch
|
||||
---
|
||||
|
||||
Fixes DLL resource usage on Windows.
|
||||
5
.changes/fix-form-serialization.md
Normal file
5
.changes/fix-form-serialization.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
Fixes the HTTP API form text fields.
|
||||
5
.changes/fix-mac-notification-appid.md
Normal file
5
.changes/fix-mac-notification-appid.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
Set the application bundle identifier for the notifications on macOS.
|
||||
5
.changes/fix-menu-crash.md
Normal file
5
.changes/fix-menu-crash.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri-runtime-wry": patch
|
||||
---
|
||||
|
||||
Fixes a crash when using the menu with the inspector window focused on macOS. In this case the `window_id` will be the id of the first app window.
|
||||
6
.changes/fix-menu-event-macos.md
Normal file
6
.changes/fix-menu-event-macos.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"tauri": patch
|
||||
"tauri-runtime-wry": patch
|
||||
---
|
||||
|
||||
Fixes a panic when a menu event is triggered when all windows are minimized on macOS.
|
||||
5
.changes/fix-nested-isolation-iframe.md
Normal file
5
.changes/fix-nested-isolation-iframe.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
Fixes nested isolation iframe injection.
|
||||
5
.changes/fix-on-window-event-type.md
Normal file
5
.changes/fix-on-window-event-type.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
Fixes the `WindowEvent` type used on `Window::on_window_event`.
|
||||
6
.changes/fix-resize-with-devtools.md
Normal file
6
.changes/fix-resize-with-devtools.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"tauri-runtime-wry": patch
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
Fixes a rendering issue when resizing the window with the devtools open.
|
||||
5
.changes/fix-set-size-freeze.md
Normal file
5
.changes/fix-set-size-freeze.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri-runtime-wry": patch
|
||||
---
|
||||
|
||||
Fixes a freeze when calling `set_size` in the main thread on Windows.
|
||||
5
.changes/fix-tauri-docsrs.md
Normal file
5
.changes/fix-tauri-docsrs.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
Fixes `docs.rs` documentation build.
|
||||
5
.changes/fix-window-builder-export.md
Normal file
5
.changes/fix-window-builder-export.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
Fixes the `WindowBuilder` export.
|
||||
5
.changes/fix-windows-downgrades.md
Normal file
5
.changes/fix-windows-downgrades.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri-bundler": patch
|
||||
---
|
||||
|
||||
Fix app downgrades when using the Windows installer.
|
||||
5
.changes/fix-windows-exe-version.md
Normal file
5
.changes/fix-windows-exe-version.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri-build": patch
|
||||
---
|
||||
|
||||
Properly set file version information for the Windows executable.
|
||||
6
.changes/fix-wry-window-destroyed-event.md
Normal file
6
.changes/fix-wry-window-destroyed-event.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"tauri-runtime-wry": patch
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
Fixes `WindowEvent::Destroyed` not firing.
|
||||
5
.changes/form-multipart-support.md
Normal file
5
.changes/form-multipart-support.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
The HTTP API now supports `multipart/form-data` requests. You need to set the `Content-Type` header and enable the `http-multipart` Cargo feature.
|
||||
7
.changes/global-shortcut-feature.md
Normal file
7
.changes/global-shortcut-feature.md
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
"tauri": patch
|
||||
"tauri-runtime": minor
|
||||
"tauri-runtime-wry": minor
|
||||
---
|
||||
|
||||
**Breaking change::* Added the `global-shortcut` Cargo feature.
|
||||
5
.changes/http-api-header-method.md
Normal file
5
.changes/http-api-header-method.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
Added `tauri::api::http::HttpRequestBuilder#header` method.
|
||||
5
.changes/http-api-header-refactor.md
Normal file
5
.changes/http-api-header-refactor.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
**Breaking change:** The `tauri::api::http::HttpRequestBuilder#headers` method now takes `header::HeaderMap` instead of a `HashMap`.
|
||||
5
.changes/http-api-response-headers-refactor.md
Normal file
5
.changes/http-api-response-headers-refactor.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
**Breaking change:** The `tauri::api::http::Response#headers` method now returns `&header::HeaderMap` instead of `&HashMap`.
|
||||
5
.changes/http-timeout-refactor.md
Normal file
5
.changes/http-timeout-refactor.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
**Breaking change:** The `api::http` timeouts are now represented as `std::time::Duration` instead of a `u64`.
|
||||
5
.changes/http-timeout-serde-fix.md
Normal file
5
.changes/http-timeout-serde-fix.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
Deserialize numeric values (seconds) in the http API `ClientBuilder.connect_timeout` and `HttpRequestBuilder.timeout` fields.
|
||||
5
.changes/io-read-line-util.md
Normal file
5
.changes/io-read-line-util.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri-utils": patch
|
||||
---
|
||||
|
||||
Added the `io` module with the `read_line` method.
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"tag": "rc",
|
||||
"changes": [
|
||||
".changes/about-metadata-into-string.md",
|
||||
".changes/allow-conf-gitignore.md",
|
||||
".changes/allowlist-clipboard.md",
|
||||
".changes/allowlist-dialog.md",
|
||||
@@ -13,6 +14,7 @@
|
||||
".changes/api-change-events.md",
|
||||
".changes/api-dialog-ask-message-confirm.md",
|
||||
".changes/api-emit-payload-type.md",
|
||||
".changes/api-encode-protocol-path.md",
|
||||
".changes/api-features.md",
|
||||
".changes/api-fetch-empty-reponse.md",
|
||||
".changes/api-file-dialog-title.md",
|
||||
@@ -22,20 +24,29 @@
|
||||
".changes/api-relaunch-cleanup.md",
|
||||
".changes/api-remove-current-dir.md",
|
||||
".changes/api-remove-ts-files.md",
|
||||
".changes/api-theme-getter.md",
|
||||
".changes/api-theme-window-option.md",
|
||||
".changes/api-use-uint8array.md",
|
||||
".changes/api-window-cursor.md",
|
||||
".changes/api-window-type-for-size-and-position.md",
|
||||
".changes/app-any-thread.md",
|
||||
".changes/app-folder-structure.md",
|
||||
".changes/appwindow-type-fix.md",
|
||||
".changes/archive-format-plain-breaking-changes.md",
|
||||
".changes/asset-allowlist.md",
|
||||
".changes/asset-cors.md",
|
||||
".changes/asset-default-ext-fallback.md",
|
||||
".changes/asset-protocol-feature-flag.md",
|
||||
".changes/asset-resolver.md",
|
||||
".changes/async-cli.js.md",
|
||||
".changes/async-runtime-refactor.md",
|
||||
".changes/async-runtime-set.md",
|
||||
".changes/async-runtime-spawn-blocking.md",
|
||||
".changes/ayatana-feature-refactor.md",
|
||||
".changes/ayatana-tray.md",
|
||||
".changes/before-script-envs.md",
|
||||
".changes/binary-size-perf.md",
|
||||
".changes/build-rerun-if-config-var-change.md",
|
||||
".changes/build-rerun-if-resource-sidecar-change.md",
|
||||
".changes/build-specify-win-sdk.md",
|
||||
".changes/builder-create-window-result.md",
|
||||
@@ -45,13 +56,23 @@
|
||||
".changes/bundler-fix-appimage.md",
|
||||
".changes/bundler-msi-init-installdir.md",
|
||||
".changes/bundler-print-cfg.md",
|
||||
".changes/bundler-remove-verbose-option.md",
|
||||
".changes/callback-validation.md",
|
||||
".changes/clap-3.0.md",
|
||||
".changes/clap-beta.4-core.md",
|
||||
".changes/clap-beta.4.md",
|
||||
".changes/cli-bin-ext-from-target-triple.md",
|
||||
".changes/cli-compilation-error-exit.md",
|
||||
".changes/cli-config-path.md",
|
||||
".changes/cli-dev-update.md",
|
||||
".changes/cli-drop-strip.md",
|
||||
".changes/cli-fix-overflow-windows.md",
|
||||
".changes/cli-handle-dev-err.md",
|
||||
".changes/cli-improve-waiting-devserver-msg.md",
|
||||
".changes/cli-improved-logging.md",
|
||||
".changes/cli-include-vswhere.md",
|
||||
".changes/cli-info-outdated.md",
|
||||
".changes/cli-no-default-keychain.md",
|
||||
".changes/cli-private-key-pwd-panic.md",
|
||||
".changes/cli-runner-args.md",
|
||||
".changes/cli-runner-error-message.md",
|
||||
@@ -64,16 +85,22 @@
|
||||
".changes/cli.rs-build-tools-info.md",
|
||||
".changes/cli.rs-default-svelte-port.md",
|
||||
".changes/cli.rs-detect-git.md",
|
||||
".changes/cli.rs-dev-update-check-delay.md",
|
||||
".changes/cli.rs-dialoguer.md",
|
||||
".changes/cli.rs-fix-windows-x86.md",
|
||||
".changes/cli.rs-info-panic.md",
|
||||
".changes/cli.rs-refactor-signer.md",
|
||||
".changes/cli.rs-template-plugin-builder.md",
|
||||
".changes/cli.rs-use-tauri-utils.md",
|
||||
".changes/cli.rs-validate-dist-dir.md",
|
||||
".changes/cli.rs-wix-license.md",
|
||||
".changes/clipboard-feature.md",
|
||||
".changes/codegen-platform-config.md",
|
||||
".changes/colorful-cli.md",
|
||||
".changes/command-feature-flag.md",
|
||||
".changes/command-output-carriage-return.md",
|
||||
".changes/command-stdio-return.md",
|
||||
".changes/config-$schema.md",
|
||||
".changes/consistent-event-name-usage.md",
|
||||
".changes/core-add-log-dir.md",
|
||||
".changes/core-center-window.md",
|
||||
@@ -82,11 +109,16 @@
|
||||
".changes/create-window-return-window.md",
|
||||
".changes/csp-nonces.md",
|
||||
".changes/current-binary-caching.md",
|
||||
".changes/cursor-apis.md",
|
||||
".changes/custom-invoke-system.md",
|
||||
".changes/custom-updater-target.md",
|
||||
".changes/dangerous-disable-asset-csp-modification-config.md",
|
||||
".changes/dangerous-disable-asset-csp.md",
|
||||
".changes/data-url-csp.md",
|
||||
".changes/debian-priority.md",
|
||||
".changes/dev-cmd-config-arg.md",
|
||||
".changes/dev-csp.md",
|
||||
".changes/dev-keep-default-features.md",
|
||||
".changes/dev-server-exit.md",
|
||||
".changes/devtools-apis.md",
|
||||
".changes/devtools-hotkey.md",
|
||||
@@ -98,51 +130,78 @@
|
||||
".changes/error-send-sync.md",
|
||||
".changes/exit-loop-destroyed.md",
|
||||
".changes/expose-escape-json-string.md",
|
||||
".changes/expose-global-shortcut.md",
|
||||
".changes/extract-file-breaking.change.md",
|
||||
".changes/extract-files-breaking-change.md",
|
||||
".changes/extract-performance.md",
|
||||
".changes/file-drop-percent-decode.md",
|
||||
".changes/fix-api-timeout-type.md",
|
||||
".changes/fix-asset-protocol-panicking.md",
|
||||
".changes/fix-asset-protocol-validation.md",
|
||||
".changes/fix-before-dev-command.md",
|
||||
".changes/fix-before-dev-kill-unix.md",
|
||||
".changes/fix-block-on-runtime.md",
|
||||
".changes/fix-cli-lookup.md",
|
||||
".changes/fix-cli-powershell.md",
|
||||
".changes/fix-cli-prompts.md",
|
||||
".changes/fix-cli-signer-sign-cmd.md",
|
||||
".changes/fix-cli.js-windows-freezing.md",
|
||||
".changes/fix-close-requested-js-event.md",
|
||||
".changes/fix-create-tao-window.md",
|
||||
".changes/fix-csp-fallback-route.md",
|
||||
".changes/fix-csp-linux.md",
|
||||
".changes/fix-deadlock-create-window-from-menu.md",
|
||||
".changes/fix-deadlock-path-iter.md",
|
||||
".changes/fix-debian-icns-load.md",
|
||||
".changes/fix-default-freeze-prototype.md",
|
||||
".changes/fix-dialog-default-path-crash.md",
|
||||
".changes/fix-dialog-default-path.md",
|
||||
".changes/fix-dialog-title.md",
|
||||
".changes/fix-dll-resource.md",
|
||||
".changes/fix-dmg-macos-12.3.md",
|
||||
".changes/fix-drop-sync.md",
|
||||
".changes/fix-ease-plugin-hook-requirements.md",
|
||||
".changes/fix-focus-blur-events-wry.md",
|
||||
".changes/fix-focus-blur-events.md",
|
||||
".changes/fix-form-serialization.md",
|
||||
".changes/fix-inner-size.md",
|
||||
".changes/fix-linux-resource-path.md",
|
||||
".changes/fix-mac-notification-appid.md",
|
||||
".changes/fix-menu-crash.md",
|
||||
".changes/fix-menu-event-macos.md",
|
||||
".changes/fix-menu-ids.md",
|
||||
".changes/fix-nested-isolation-iframe.md",
|
||||
".changes/fix-on-window-event-type.md",
|
||||
".changes/fix-once-fnonce.md",
|
||||
".changes/fix-out-dir-detection.md",
|
||||
".changes/fix-path-resolution-node_modules.md",
|
||||
".changes/fix-path-scope-first-component.md",
|
||||
".changes/fix-path-scope-validation.md",
|
||||
".changes/fix-ready-check.md",
|
||||
".changes/fix-resize-with-devtools.md",
|
||||
".changes/fix-runtime-traits-requirements.md",
|
||||
".changes/fix-safe-block-on.md",
|
||||
".changes/fix-set-size-freeze.md",
|
||||
".changes/fix-tauri-docsrs.md",
|
||||
".changes/fix-tray-command.md",
|
||||
".changes/fix-tray-menu-ids-update.md",
|
||||
".changes/fix-tray-remove-windows.md",
|
||||
".changes/fix-updater-msi.md",
|
||||
".changes/fix-updater-percent-decode.md",
|
||||
".changes/fix-window-builder-export.md",
|
||||
".changes/fix-window-created-listen.md",
|
||||
".changes/fix-window-creation-deadlock.md",
|
||||
".changes/fix-window-label-api.md",
|
||||
".changes/fix-window-specific-event-system.md",
|
||||
".changes/fix-windows-downgrades.md",
|
||||
".changes/fix-windows-exe-version.md",
|
||||
".changes/fix-windows-resources.md",
|
||||
".changes/fix-windows-sidecar.md",
|
||||
".changes/fix-wry-window-destroyed-event.md",
|
||||
".changes/fix-yarn-pnp.md",
|
||||
".changes/fixed-webview2-runtime.md",
|
||||
".changes/force-updater-public-key.md",
|
||||
".changes/form-multipart-support.md",
|
||||
".changes/fs-absolute-paths.md",
|
||||
".changes/fs-endpoints-context.md",
|
||||
".changes/fs-extract-api-feature.md",
|
||||
@@ -150,14 +209,21 @@
|
||||
".changes/fs-scope-forbidden-paths.md",
|
||||
".changes/fs-scope-runtime.md",
|
||||
".changes/get-menu.md",
|
||||
".changes/global-shortcut-feature.md",
|
||||
".changes/going-rc.md",
|
||||
".changes/http-api-header-method.md",
|
||||
".changes/http-api-header-refactor.md",
|
||||
".changes/http-api-response-headers-refactor.md",
|
||||
".changes/http-refactor.md",
|
||||
".changes/http-scope-host-pattern.md",
|
||||
".changes/http-timeout-refactor.md",
|
||||
".changes/http-timeout-serde-fix.md",
|
||||
".changes/icon-compile-time.md",
|
||||
".changes/icon-feature.md",
|
||||
".changes/improve-updater-validation.md",
|
||||
".changes/increase-tauri-dir-lookup-depth.md",
|
||||
".changes/info-extend-crates.md",
|
||||
".changes/io-read-line-util.md",
|
||||
".changes/isolation-pattern.md",
|
||||
".changes/join-handle-abort.md",
|
||||
".changes/json5.md",
|
||||
@@ -196,6 +262,7 @@
|
||||
".changes/refactor-create-tao-window.md",
|
||||
".changes/refactor-dialog-apis.md",
|
||||
".changes/refactor-file-drop.md",
|
||||
".changes/refactor-form-part-bytes.md",
|
||||
".changes/refactor-notification-permission-check.md",
|
||||
".changes/refactor-resources-sidecar-copying.md",
|
||||
".changes/refactor-runtime-window-event.md",
|
||||
@@ -204,7 +271,10 @@
|
||||
".changes/refactor-window-event.md",
|
||||
".changes/refactor-window-metadata.md",
|
||||
".changes/refactor-zip-features.md",
|
||||
".changes/remove-bootstrapper.md",
|
||||
".changes/remove-current-base-directory.md",
|
||||
".changes/remove-depracated.md",
|
||||
".changes/remove-form-part-file.md",
|
||||
".changes/remove-run-event-exit-requested-window-label.md",
|
||||
".changes/remove-tauricon.md",
|
||||
".changes/remove-window-default.md",
|
||||
@@ -238,35 +308,49 @@
|
||||
".changes/streaming-small-file-fix.md",
|
||||
".changes/strip.md",
|
||||
".changes/tauri-build-default-anyhow-fmt.md",
|
||||
".changes/tauri-build-resources-linux.md",
|
||||
".changes/tauri-event-api.md",
|
||||
".changes/tauri-protocol-cors.md",
|
||||
".changes/tauri-runtime-export.md",
|
||||
".changes/temp-base-directory.md",
|
||||
".changes/temp-scope-variable.md",
|
||||
".changes/template-csp-null.md",
|
||||
".changes/theme-event.md",
|
||||
".changes/theme-getter.md",
|
||||
".changes/tooling-fix-pnpm-info-error.md",
|
||||
".changes/tray-set-menu.md",
|
||||
".changes/universal-apple-target-sidecar.md",
|
||||
".changes/universal-apple-target.md",
|
||||
".changes/unlisten-fix.md",
|
||||
".changes/unlisten.md",
|
||||
".changes/update-response-methods.md",
|
||||
".changes/update-wry.md",
|
||||
".changes/updater-check-api.md",
|
||||
".changes/updater-custom-version-checker.md",
|
||||
".changes/updater-detailed-unsupported-error.md",
|
||||
".changes/updater-download-events.md",
|
||||
".changes/updater-downloaded-event.md",
|
||||
".changes/updater-endpoint-url-https.md",
|
||||
".changes/updater-events.md",
|
||||
".changes/updater-headers.md",
|
||||
".changes/updater-no-window.md",
|
||||
".changes/updater-note-body-escape.md",
|
||||
".changes/updater-restart-cleanup.md",
|
||||
".changes/updater-timeout.md",
|
||||
".changes/validate-allowlist.md",
|
||||
".changes/validate-appimage.md",
|
||||
".changes/validate-bundle-identifier.md",
|
||||
".changes/validate-event-name.md",
|
||||
".changes/validate-window-label.md",
|
||||
".changes/version-package-json.md",
|
||||
".changes/wait-dev-server-url.md",
|
||||
".changes/warn-macos-private-api.md",
|
||||
".changes/webdriver-args.md",
|
||||
".changes/webdriver-native-host.md",
|
||||
".changes/webview-attributes-clipboard.md",
|
||||
".changes/webview-getters.md",
|
||||
".changes/webview2-com.md",
|
||||
".changes/window-builder-theme.md",
|
||||
".changes/window-builder.md",
|
||||
".changes/window-confirm.md",
|
||||
".changes/window-destroyed-event.md",
|
||||
@@ -281,6 +365,7 @@
|
||||
".changes/wix-registry-keys.md",
|
||||
".changes/wix-run-app.md",
|
||||
".changes/wix-signing.md",
|
||||
".changes/wry-13.md"
|
||||
".changes/wry-13.md",
|
||||
".changes/wry-create-webview.md"
|
||||
]
|
||||
}
|
||||
|
||||
5
.changes/refactor-form-part-bytes.md
Normal file
5
.changes/refactor-form-part-bytes.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
**Breaking change:** The `tauri::api::http::FormPart::Bytes` enum variant has been renamed to `File` with a value object `{ file, mime, file_name }`.
|
||||
6
.changes/remove-bootstrapper.md
Normal file
6
.changes/remove-bootstrapper.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"tauri-bundler": patch
|
||||
"tauri-utils": patch
|
||||
---
|
||||
|
||||
**Breaking change:** Removed the `useBootstrapper` option. Use https://github.com/tauri-apps/fix-path-env-rs instead.
|
||||
5
.changes/remove-depracated.md
Normal file
5
.changes/remove-depracated.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
**Breaking change:** Removed `App::create_window`, `AppHandle::create_window`, `Builder::create_window` and `Window::create_window`.
|
||||
5
.changes/remove-form-part-file.md
Normal file
5
.changes/remove-form-part-file.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
**Breaking change:** Removed `tauri::api::http::FormPart::File`.
|
||||
5
.changes/tauri-build-resources-linux.md
Normal file
5
.changes/tauri-build-resources-linux.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri-build": patch
|
||||
---
|
||||
|
||||
Copy system tray icon resource to the target directory on Linux.
|
||||
5
.changes/tauri-event-api.md
Normal file
5
.changes/tauri-event-api.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"api": patch
|
||||
---
|
||||
|
||||
Added the `tauri://theme-changed` event.
|
||||
7
.changes/theme-event.md
Normal file
7
.changes/theme-event.md
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
"tauri": patch
|
||||
"tauri-runtime": patch
|
||||
"tauri-runtime-wry": patch
|
||||
---
|
||||
|
||||
Added `WindowEvent::ThemeChanged(theme)`.
|
||||
7
.changes/theme-getter.md
Normal file
7
.changes/theme-getter.md
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
"tauri": patch
|
||||
"tauri-runtime": patch
|
||||
"tauri-runtime-wry": patch
|
||||
---
|
||||
|
||||
Added `theme` getter on `Window`.
|
||||
5
.changes/update-response-methods.md
Normal file
5
.changes/update-response-methods.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
Added `UpdateResponse::body` and `UpdateResponse::date`.
|
||||
5
.changes/updater-detailed-unsupported-error.md
Normal file
5
.changes/updater-detailed-unsupported-error.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
**Breaking change**: Removed the `tauri::updater::Error::UnsupportedPlatform` variant and added `UnsupportedLinuxPackage`, `UnsupportedOs` and `UnsupportedArch` for better error information.
|
||||
5
.changes/updater-downloaded-event.md
Normal file
5
.changes/updater-downloaded-event.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
Add updater `Downloaded` status event.
|
||||
5
.changes/updater-headers.md
Normal file
5
.changes/updater-headers.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
Allow setting app updater request headers via `AppHandle::updater().header()`.
|
||||
5
.changes/updater-note-body-escape.md
Normal file
5
.changes/updater-note-body-escape.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
Fix updater dialog removing single and double quotes from the release notes
|
||||
5
.changes/updater-timeout.md
Normal file
5
.changes/updater-timeout.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
The updater default timeout is now unset, and the `UpdateBuilder` has a `timeout` setter.
|
||||
6
.changes/validate-bundle-identifier.md
Normal file
6
.changes/validate-bundle-identifier.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"cli.rs": patch
|
||||
"cli.js": patch
|
||||
---
|
||||
|
||||
Prevent building when the bundle identifier is the default `com.tauri.dev`.
|
||||
5
.changes/webdriver-native-host.md
Normal file
5
.changes/webdriver-native-host.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri-driver": patch
|
||||
---
|
||||
|
||||
Expose `native-host` option in tauri-driver and set default to `127.0.0.1`.
|
||||
7
.changes/webview-getters.md
Normal file
7
.changes/webview-getters.md
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
"tauri": "patch"
|
||||
"tauri-runtime": patch
|
||||
"tauri-runtime-wry": patch
|
||||
---
|
||||
|
||||
Expose methods to access the underlying native handles of the webview.
|
||||
7
.changes/window-builder-theme.md
Normal file
7
.changes/window-builder-theme.md
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
"tauri": patch
|
||||
"tauri-runtime": patch
|
||||
"tauri-runtime-wry": patch
|
||||
---
|
||||
|
||||
Added `theme` setter to the WindowBuilder.
|
||||
5
.changes/wry-create-webview.md
Normal file
5
.changes/wry-create-webview.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri-runtime-wry": patch
|
||||
---
|
||||
|
||||
Create webview immediately when executed in the main thread.
|
||||
6
.github/workflows/artifacts-updater.yml
vendored
6
.github/workflows/artifacts-updater.yml
vendored
@@ -21,6 +21,10 @@ env:
|
||||
CARGO_INCREMENTAL: 0 # This is set to 0 by the https://github.com/Swatinem/rust-cache
|
||||
CARGO_PROFILE_DEV_DEBUG: 0 # This would add unnecessary bloat to the target folder, decreasing cache efficiency.
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
build-artifacs:
|
||||
runs-on: ${{ matrix.platform }}
|
||||
@@ -41,7 +45,7 @@ jobs:
|
||||
if: matrix.platform == 'ubuntu-latest'
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf
|
||||
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libayatana-appindicator3-dev librsvg2-dev patchelf
|
||||
|
||||
- name: Get current date
|
||||
run: echo "CURRENT_DATE=$(date +'%Y-%m-%d')" >> $GITHUB_ENV
|
||||
|
||||
4
.github/workflows/audit.yml
vendored
4
.github/workflows/audit.yml
vendored
@@ -15,6 +15,10 @@ on:
|
||||
- '**/package.json'
|
||||
- '**/yarn.lock'
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
audit-rust:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
6
.github/workflows/bench.yml
vendored
6
.github/workflows/bench.yml
vendored
@@ -12,6 +12,10 @@ env:
|
||||
CARGO_INCREMENTAL: 0 # This is set to 0 by the https://github.com/Swatinem/rust-cache
|
||||
CARGO_PROFILE_DEV_DEBUG: 0 # This would add unnecessary bloat to the target folder, decreasing cache efficiency.
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
bench:
|
||||
strategy:
|
||||
@@ -43,7 +47,7 @@ jobs:
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf xvfb
|
||||
sudo apt-get install -y webkit2gtk-4.0 libayatana-appindicator3-dev librsvg2-dev patchelf xvfb
|
||||
wget https://github.com/sharkdp/hyperfine/releases/download/v1.11.0/hyperfine_1.11.0_amd64.deb
|
||||
sudo dpkg -i hyperfine_1.11.0_amd64.deb
|
||||
pip install memory_profiler
|
||||
|
||||
2
.github/workflows/change-status-on-PR.yml
vendored
2
.github/workflows/change-status-on-PR.yml
vendored
@@ -17,4 +17,4 @@ jobs:
|
||||
uses: jbolda/covector/packages/action@covector-v0
|
||||
id: covector
|
||||
with:
|
||||
command: "status"
|
||||
command: 'status'
|
||||
|
||||
@@ -10,6 +10,91 @@ on:
|
||||
- dev
|
||||
|
||||
jobs:
|
||||
run-integration-tests:
|
||||
runs-on: ${{ matrix.platform }}
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
platform: [ubuntu-latest, macos-latest, windows-latest]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: install stable
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
- name: install webkit2gtk (ubuntu only)
|
||||
if: matrix.platform == 'ubuntu-latest'
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libayatana-appindicator3-dev librsvg2-dev patchelf
|
||||
|
||||
- name: Get current date
|
||||
run: echo "CURRENT_DATE=$(date +'%Y-%m-%d')" >> $GITHUB_ENV
|
||||
if: matrix.platform == 'macos-latest' || matrix.platform == 'ubuntu-latest'
|
||||
|
||||
- name: Get current date
|
||||
if: matrix.platform == 'windows-latest'
|
||||
run: echo "CURRENT_DATE=$(Get-Date -Format "yyyy-MM-dd")" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
|
||||
|
||||
- name: Cache cargo state
|
||||
uses: actions/cache@v2
|
||||
env:
|
||||
cache-name: cargo-state
|
||||
with:
|
||||
path: |
|
||||
~/.cargo/registry
|
||||
~/.cargo/git
|
||||
~/.cargo/bin
|
||||
key: ${{ matrix.platform }}-stable-${{ env.cache-name }}-${{ hashFiles('**/Cargo.toml') }}-${{ env.CURRENT_DATE }}
|
||||
restore-keys: |
|
||||
${{ matrix.platform }}-stable-${{ env.cache-name }}-${{ hashFiles('**/Cargo.toml') }}-
|
||||
${{ matrix.platform }}-stable-${{ env.cache-name }}-
|
||||
${{ matrix.platform }}-stable-
|
||||
${{ matrix.platform }}-
|
||||
|
||||
- name: Cache core cargo target
|
||||
uses: actions/cache@v2
|
||||
env:
|
||||
cache-name: cargo-core
|
||||
with:
|
||||
path: target
|
||||
# Add date to the cache to keep it up to date
|
||||
key: ${{ matrix.platform }}-stable-${{ env.cache-name }}-${{ hashFiles('core/**/Cargo.toml') }}-${{ env.CURRENT_DATE }}
|
||||
# Restore from outdated cache for speed
|
||||
restore-keys: |
|
||||
${{ matrix.platform }}-stable-${{ env.cache-name }}-${{ hashFiles('core/**/Cargo.toml') }}
|
||||
${{ matrix.platform }}-stable-${{ env.cache-name }}-
|
||||
${{ matrix.platform }}-stable-
|
||||
${{ matrix.platform }}-
|
||||
|
||||
- name: Cache CLI cargo target
|
||||
uses: actions/cache@v2
|
||||
env:
|
||||
cache-name: cargo-cli
|
||||
with:
|
||||
path: tooling/cli/target
|
||||
# Add date to the cache to keep it up to date
|
||||
key: ${{ matrix.platform }}-stable-${{ env.cache-name }}-${{ hashFiles('tooling/cli/Cargo.lock') }}-${{ env.CURRENT_DATE }}
|
||||
# Restore from outdated cache for speed
|
||||
restore-keys: |
|
||||
${{ matrix.platform }}-stable-${{ env.cache-name }}-${{ hashFiles('tooling/cli/Cargo.lock') }}
|
||||
${{ matrix.platform }}-stable-${{ env.cache-name }}-
|
||||
${{ matrix.platform }}-stable-
|
||||
${{ matrix.platform }}-
|
||||
|
||||
- name: build CLI
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: build
|
||||
args: --manifest-path ./tooling/cli/Cargo.toml
|
||||
|
||||
- name: run integration tests
|
||||
run: cargo test --test '*' -- --ignored
|
||||
|
||||
version-or-publish:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 65
|
||||
@@ -17,6 +102,8 @@ jobs:
|
||||
change: ${{ steps.covector.outputs.change }}
|
||||
commandRan: ${{ steps.covector.outputs.commandRan }}
|
||||
successfulPublish: ${{ steps.covector.outputs.successfulPublish }}
|
||||
needs:
|
||||
- run-integration-tests
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
@@ -35,6 +122,7 @@ jobs:
|
||||
run: |
|
||||
git config --global user.name "${{ github.event.pusher.name }}"
|
||||
git config --global user.email "${{ github.event.pusher.email }}"
|
||||
|
||||
- name: covector version or publish (publish when no change files present)
|
||||
uses: jbolda/covector/packages/action@covector-v0
|
||||
id: covector
|
||||
@@ -45,6 +133,7 @@ jobs:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
command: 'version-or-publish'
|
||||
createRelease: true
|
||||
|
||||
- name: Create Pull Request With Versions Bumped
|
||||
if: steps.covector.outputs.commandRan == 'version'
|
||||
uses: tauri-apps/create-pull-request@v3.4.1
|
||||
|
||||
4
.github/workflows/lint-fmt-cli.yml
vendored
4
.github/workflows/lint-fmt-cli.yml
vendored
@@ -19,6 +19,10 @@ env:
|
||||
CARGO_INCREMENTAL: 0 # This is set to 0 by the https://github.com/Swatinem/rust-cache
|
||||
CARGO_PROFILE_DEV_DEBUG: 0 # This would add unnecessary bloat to the target folder, decreasing cache efficiency.
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
fmt_check:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
13
.github/workflows/lint-fmt-core.yml
vendored
13
.github/workflows/lint-fmt-core.yml
vendored
@@ -20,6 +20,10 @@ env:
|
||||
CARGO_INCREMENTAL: 0 # This is set to 0 by the https://github.com/Swatinem/rust-cache
|
||||
CARGO_PROFILE_DEV_DEBUG: 0 # This would add unnecessary bloat to the target folder, decreasing cache efficiency.
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
fmt_check:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -46,10 +50,13 @@ jobs:
|
||||
clippy:
|
||||
- { args: '', key: 'empty' }
|
||||
- {
|
||||
args: '--features compression,wry,isolation,custom-protocol,api-all,cli,updater,system-tray',
|
||||
args: '--features compression,wry,isolation,custom-protocol,api-all,cli,updater,system-tray,ayatana-tray,http-multipart',
|
||||
key: 'all'
|
||||
}
|
||||
- { args: '--no-default-features', key: 'no-default' }
|
||||
- {
|
||||
args: '--no-default-features --features ayatana-tray',
|
||||
key: 'no-default'
|
||||
}
|
||||
- { args: '--features custom-protocol', key: 'custom-protocol' }
|
||||
- { args: '--features api-all', key: 'api-all' }
|
||||
|
||||
@@ -58,7 +65,7 @@ jobs:
|
||||
- name: install webkit2gtk
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf
|
||||
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libayatana-appindicator3-dev librsvg2-dev patchelf
|
||||
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
|
||||
4
.github/workflows/lint-js.yml
vendored
4
.github/workflows/lint-js.yml
vendored
@@ -11,6 +11,10 @@ on:
|
||||
- 'tooling/cli/node/**'
|
||||
- 'tooling/api/**'
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
eslint-check:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
117
.github/workflows/publish-cli.yml
vendored
117
.github/workflows/publish-cli.yml
vendored
@@ -22,35 +22,33 @@ jobs:
|
||||
target: x86_64-apple-darwin
|
||||
architecture: x64
|
||||
build: |
|
||||
yarn build
|
||||
yarn build:release
|
||||
strip -x *.node
|
||||
- host: windows-latest
|
||||
build: yarn build
|
||||
build: yarn build:release
|
||||
target: x86_64-pc-windows-msvc
|
||||
architecture: x64
|
||||
- host: windows-latest
|
||||
build: yarn build --target i686-pc-windows-msvc
|
||||
build: yarn build:release --target i686-pc-windows-msvc
|
||||
target: i686-pc-windows-msvc
|
||||
architecture: x64
|
||||
- host: ubuntu-18.04
|
||||
target: x86_64-unknown-linux-gnu
|
||||
architecture: x64
|
||||
docker: |
|
||||
docker pull $DOCKER_REGISTRY_URL/napi-rs/napi-rs/nodejs-rust:lts-debian
|
||||
docker tag $DOCKER_REGISTRY_URL/napi-rs/napi-rs/nodejs-rust:lts-debian builder
|
||||
build: |
|
||||
docker run --rm -v ~/.cargo/git:/root/.cargo/git -v ~/.cargo/registry:/root/.cargo/registry -v $(pwd)/../../../:/build -w /build builder sh -c "cd tooling/cli/node && yarn build && strip *.node"
|
||||
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine-zig
|
||||
build: |-
|
||||
set -e &&
|
||||
rustup target add x86_64-unknown-linux-gnu &&
|
||||
cd tooling/cli/node
|
||||
yarn build:release --target x86_64-unknown-linux-gnu --zig --zig-abi-suffix 2.12 &&
|
||||
llvm-strip -x *.node
|
||||
- host: ubuntu-18.04
|
||||
target: x86_64-unknown-linux-musl
|
||||
architecture: x64
|
||||
docker: |
|
||||
docker pull $DOCKER_REGISTRY_URL/napi-rs/napi-rs/nodejs-rust:lts-alpine
|
||||
docker tag $DOCKER_REGISTRY_URL/napi-rs/napi-rs/nodejs-rust:lts-alpine builder
|
||||
build: docker run --rm -v ~/.cargo/git:/root/.cargo/git -v ~/.cargo/registry:/root/.cargo/registry -v $(pwd)/../../../:/build -w /build builder sh -c "cd tooling/cli/node && yarn build && strip *.node"
|
||||
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine
|
||||
build: set -e && cd tooling/cli/node && yarn build:release && strip *.node
|
||||
- host: macos-latest
|
||||
target: aarch64-apple-darwin
|
||||
build: |
|
||||
yarn build --target=aarch64-apple-darwin
|
||||
yarn build:release --target=aarch64-apple-darwin
|
||||
strip -x *.node
|
||||
- host: ubuntu-18.04
|
||||
architecture: x64
|
||||
@@ -59,7 +57,7 @@ jobs:
|
||||
sudo apt-get update
|
||||
sudo apt-get install g++-aarch64-linux-gnu gcc-aarch64-linux-gnu -y
|
||||
build: |
|
||||
yarn build --target=aarch64-unknown-linux-gnu
|
||||
yarn build:release --target=aarch64-unknown-linux-gnu
|
||||
aarch64-linux-gnu-strip *.node
|
||||
- host: ubuntu-18.04
|
||||
architecture: x64
|
||||
@@ -68,27 +66,29 @@ jobs:
|
||||
sudo apt-get update
|
||||
sudo apt-get install gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf -y
|
||||
build: |
|
||||
yarn build --target=armv7-unknown-linux-gnueabihf
|
||||
yarn build:release --target=armv7-unknown-linux-gnueabihf
|
||||
arm-linux-gnueabihf-strip *.node
|
||||
- host: ubuntu-18.04
|
||||
architecture: x64
|
||||
target: aarch64-unknown-linux-musl
|
||||
downloadTarget: aarch64-unknown-linux-musl
|
||||
docker: |
|
||||
docker pull ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine
|
||||
docker tag ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine builder
|
||||
build: |
|
||||
docker run --rm -v ~/.cargo/git:/root/.cargo/git -v ~/.cargo/registry:/root/.cargo/registry -v $(pwd)/../../../:/build -w /build builder sh -c "cd tooling/cli/node && yarn build --target=aarch64-unknown-linux-musl && /aarch64-linux-musl-cross/bin/aarch64-linux-musl-strip *.node"
|
||||
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine
|
||||
build: |-
|
||||
set -e &&
|
||||
rustup target add aarch64-unknown-linux-musl &&
|
||||
cd tooling/cli/node &&
|
||||
yarn build:release --target aarch64-unknown-linux-musl &&
|
||||
/aarch64-linux-musl-cross/bin/aarch64-linux-musl-strip *.node
|
||||
#- host: windows-latest
|
||||
# architecture: x64
|
||||
# target: aarch64-pc-windows-msvc
|
||||
# build: yarn build --target aarch64-pc-windows-msvc
|
||||
# build: yarn build:release --target aarch64-pc-windows-msvc
|
||||
name: stable - ${{ matrix.settings.target }} - node@16
|
||||
runs-on: ${{ matrix.settings.host }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- name: Setup node
|
||||
uses: actions/setup-node@v2
|
||||
uses: actions/setup-node@v3
|
||||
if: ${{ !matrix.settings.docker }}
|
||||
with:
|
||||
node-version: 16
|
||||
check-latest: true
|
||||
@@ -97,24 +97,16 @@ jobs:
|
||||
architecture: ${{ matrix.settings.architecture }}
|
||||
- name: Install
|
||||
uses: actions-rs/toolchain@v1
|
||||
if: ${{ !matrix.settings.docker }}
|
||||
with:
|
||||
profile: minimal
|
||||
override: true
|
||||
toolchain: stable
|
||||
target: ${{ matrix.settings.target }}
|
||||
# should be committed
|
||||
#- name: Generate Cargo.lock
|
||||
# uses: actions-rs/cargo@v1
|
||||
# with:
|
||||
# command: generate-lockfile
|
||||
- uses: Swatinem/rust-cache@v1
|
||||
with:
|
||||
key: ${{ matrix.settings.target }}
|
||||
working-directory: 'tooling/cli/'
|
||||
- name: Pull latest image
|
||||
run: ${{ matrix.settings.docker }}
|
||||
env:
|
||||
DOCKER_REGISTRY_URL: ghcr.io
|
||||
if: ${{ matrix.settings.docker }}
|
||||
- name: Setup toolchain
|
||||
run: ${{ matrix.settings.setup }}
|
||||
@@ -122,11 +114,22 @@ jobs:
|
||||
shell: bash
|
||||
- name: Install dependencies
|
||||
run: yarn install --ignore-scripts --frozen-lockfile --registry https://registry.npmjs.org --network-timeout 300000
|
||||
|
||||
- name: Build in docker
|
||||
uses: addnab/docker-run-action@v3
|
||||
if: ${{ matrix.settings.docker }}
|
||||
with:
|
||||
image: ${{ matrix.settings.docker }}
|
||||
options: '-v ${{ env.HOME }}/.cargo/git:/root/.cargo/git -v ${{ env.HOME }}/.cargo/registry:/root/.cargo/registry -v ${{ github.workspace }}:/build -w /build'
|
||||
run: ${{ matrix.settings.build }}
|
||||
|
||||
- name: Build
|
||||
run: ${{ matrix.settings.build }}
|
||||
if: ${{ !matrix.settings.docker }}
|
||||
shell: bash
|
||||
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v2
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: bindings-${{ matrix.settings.target }}
|
||||
path: tooling/cli/node/${{ env.APP_NAME }}.*.node
|
||||
@@ -135,10 +138,10 @@ jobs:
|
||||
# runs-on: macos-10.15
|
||||
# name: Build FreeBSD
|
||||
# steps:
|
||||
# - uses: actions/checkout@v2
|
||||
# - uses: actions/checkout@v3
|
||||
# - name: Build
|
||||
# id: build
|
||||
# uses: vmactions/freebsd-vm@v0.1.5
|
||||
# uses: vmactions/freebsd-vm@v0.1.6
|
||||
# env:
|
||||
# DEBUG: napi:*
|
||||
# RUSTUP_HOME: /usr/local/rustup
|
||||
@@ -170,12 +173,12 @@ jobs:
|
||||
# freebsd-version
|
||||
# cd ./tooling/cli/node/
|
||||
# yarn install --ignore-scripts --frozen-lockfile --registry https://registry.npmjs.org --network-timeout 300000
|
||||
# yarn build
|
||||
# yarn build:release
|
||||
# strip -x *.node
|
||||
# rm -rf node_modules
|
||||
# rm -rf ../target
|
||||
# - name: Upload artifact
|
||||
# uses: actions/upload-artifact@v2
|
||||
# uses: actions/upload-artifact@v3
|
||||
# with:
|
||||
# name: bindings-freebsd
|
||||
# path: tooling/cli/node/${{ env.APP_NAME }}.*.node
|
||||
@@ -198,9 +201,9 @@ jobs:
|
||||
- '16'
|
||||
runs-on: ${{ matrix.settings.host }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- name: Setup node
|
||||
uses: actions/setup-node@v2
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: ${{ matrix.node }}
|
||||
check-latest: true
|
||||
@@ -209,7 +212,7 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: yarn install --ignore-scripts --frozen-lockfile --registry https://registry.npmjs.org --network-timeout 300000
|
||||
- name: Download artifacts
|
||||
uses: actions/download-artifact@v2
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: bindings-${{ matrix.settings.target }}
|
||||
path: 'tooling/cli/node/'
|
||||
@@ -231,9 +234,9 @@ jobs:
|
||||
- '16'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- name: Setup node
|
||||
uses: actions/setup-node@v2
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: ${{ matrix.node }}
|
||||
check-latest: true
|
||||
@@ -242,7 +245,7 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: yarn install --ignore-scripts --frozen-lockfile --registry https://registry.npmjs.org --network-timeout 300000
|
||||
- name: Download artifacts
|
||||
uses: actions/download-artifact@v2
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: bindings-x86_64-unknown-linux-gnu
|
||||
path: 'tooling/cli/node/'
|
||||
@@ -252,7 +255,7 @@ jobs:
|
||||
- name: install system dependencies
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf
|
||||
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libayatana-appindicator3-dev librsvg2-dev patchelf
|
||||
- name: Test bindings
|
||||
run: yarn test
|
||||
test-linux-x64-musl-binding:
|
||||
@@ -270,9 +273,9 @@ jobs:
|
||||
container:
|
||||
image: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- name: Setup node
|
||||
uses: actions/setup-node@v2
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: ${{ matrix.node }}
|
||||
check-latest: true
|
||||
@@ -281,7 +284,7 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: yarn install --ignore-scripts --frozen-lockfile --registry https://registry.npmjs.org --network-timeout 300000
|
||||
- name: Download artifacts
|
||||
uses: actions/download-artifact@v2
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: bindings-x86_64-unknown-linux-musl
|
||||
path: 'tooling/cli/node/'
|
||||
@@ -320,19 +323,19 @@ jobs:
|
||||
steps:
|
||||
- run: docker run --rm --privileged multiarch/qemu-user-static:register --reset
|
||||
working-directory: ${{ github.workspace }}
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- name: List packages
|
||||
run: ls -R .
|
||||
shell: bash
|
||||
- name: Install dependencies
|
||||
run: yarn install --ignore-scripts --ignore-platform --frozen-lockfile --registry https://registry.npmjs.org --network-timeout 300000
|
||||
- name: Download aarch64-gnu artifacts
|
||||
uses: actions/download-artifact@v2
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: bindings-aarch64-unknown-linux-gnu
|
||||
path: 'tooling/cli/node/'
|
||||
- name: Download armv7-gnueabihf artifacts
|
||||
uses: actions/download-artifact@v2
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: bindings-armv7-unknown-linux-gnueabihf
|
||||
path: 'tooling/cli/node/'
|
||||
@@ -346,7 +349,7 @@ jobs:
|
||||
set -e
|
||||
export PATH=/usr/local/cargo/bin/:/usr/local/fnm:$PATH
|
||||
apt-get update
|
||||
DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get install --no-install-recommends -y unzip libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf
|
||||
DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get install --no-install-recommends -y unzip libgtk-3-dev webkit2gtk-4.0 libayatana-appindicator3-dev librsvg2-dev patchelf
|
||||
bash
|
||||
curl https://sh.rustup.rs -sSf | bash -s -- -y
|
||||
curl -fsSL https://fnm.vercel.app/install | bash -s -- --install-dir "/usr/local/fnm" --skip-shell
|
||||
@@ -366,9 +369,9 @@ jobs:
|
||||
- test-linux-x64-musl-binding
|
||||
#- test-linux-arm-bindings
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- name: Setup node
|
||||
uses: actions/setup-node@v2
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
check-latest: true
|
||||
@@ -377,7 +380,7 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: yarn install --ignore-scripts --frozen-lockfile --registry https://registry.npmjs.org --network-timeout 300000
|
||||
- name: Download all artifacts
|
||||
uses: actions/download-artifact@v2
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
path: tooling/cli/node/artifacts
|
||||
- name: Move artifacts
|
||||
|
||||
4
.github/workflows/test-bundler.yml
vendored
4
.github/workflows/test-bundler.yml
vendored
@@ -19,6 +19,10 @@ env:
|
||||
CARGO_INCREMENTAL: 0 # This is set to 0 by the https://github.com/Swatinem/rust-cache
|
||||
CARGO_PROFILE_DEV_DEBUG: 0 # This would add unnecessary bloat to the target folder, decreasing cache efficiency.
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
build-tauri-bundler:
|
||||
runs-on: ${{ matrix.platform }}
|
||||
|
||||
6
.github/workflows/test-cli.yml
vendored
6
.github/workflows/test-cli.yml
vendored
@@ -19,6 +19,10 @@ env:
|
||||
CARGO_INCREMENTAL: 0 # This is set to 0 by the https://github.com/Swatinem/rust-cache
|
||||
CARGO_PROFILE_DEV_DEBUG: 0 # This would add unnecessary bloat to the target folder, decreasing cache efficiency.
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
test-tauri-cli:
|
||||
runs-on: ${{ matrix.platform }}
|
||||
@@ -106,7 +110,7 @@ jobs:
|
||||
if: matrix.platform == 'ubuntu-latest'
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf
|
||||
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libayatana-appindicator3-dev librsvg2-dev patchelf
|
||||
|
||||
- name: Get current date
|
||||
run: echo "CURRENT_DATE=$(date +'%Y-%m-%d')" >> $GITHUB_ENV
|
||||
|
||||
8
.github/workflows/test-core.yml
vendored
8
.github/workflows/test-core.yml
vendored
@@ -21,6 +21,10 @@ env:
|
||||
CARGO_INCREMENTAL: 0 # This is set to 0 by the https://github.com/Swatinem/rust-cache
|
||||
CARGO_PROFILE_DEV_DEBUG: 0 # This would add unnecessary bloat to the target folder, decreasing cache efficiency.
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
test-tauri-core:
|
||||
runs-on: ${{ matrix.platform }}
|
||||
@@ -40,7 +44,7 @@ jobs:
|
||||
if: matrix.platform == 'ubuntu-latest'
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf
|
||||
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libayatana-appindicator3-dev librsvg2-dev patchelf
|
||||
|
||||
- name: Get current date
|
||||
run: echo "CURRENT_DATE=$(date +'%Y-%m-%d')" >> $GITHUB_ENV
|
||||
@@ -85,4 +89,4 @@ jobs:
|
||||
run: |
|
||||
cargo test
|
||||
cargo test --features api-all
|
||||
cargo test --features compression,wry,isolation,custom-protocol,api-all,cli,updater,system-tray
|
||||
cargo test --features compression,wry,isolation,custom-protocol,api-all,cli,updater,system-tray,ayatana-tray,http-multipart
|
||||
|
||||
36
.github/workflows/udeps.yml
vendored
36
.github/workflows/udeps.yml
vendored
@@ -17,9 +17,31 @@ env:
|
||||
CARGO_INCREMENTAL: 0 # This is set to 0 by the https://github.com/Swatinem/rust-cache
|
||||
CARGO_PROFILE_DEV_DEBUG: 0 # This would add unnecessary bloat to the target folder, decreasing cache efficiency.
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
udeps:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
clippy:
|
||||
- {
|
||||
path: './core/tauri/Cargo.toml',
|
||||
args: '--features compression,wry,isolation,custom-protocol,api-all,cli,updater,system-tray,ayatana-tray,http-multipart'
|
||||
}
|
||||
- { path: './core/tauri-build/Cargo.toml', args: '--all-features' }
|
||||
- { path: './core/tauri-codegen/Cargo.toml', args: '--all-features' }
|
||||
- { path: './core/tauri-macros/Cargo.toml', args: '--all-features' }
|
||||
- { path: './core/tauri-runtime/Cargo.toml', args: '--all-features' }
|
||||
- {
|
||||
path: './core/tauri-runtime-wry/Cargo.toml',
|
||||
args: '--features devtools,system-tray,macos-private-api,objc-exception,ayatana-tray'
|
||||
}
|
||||
- { path: './core/tauri-utils/Cargo.toml', args: '--all-features' }
|
||||
- { path: './tooling/bundler/Cargo.toml', args: '--all-features' }
|
||||
- { path: './tooling/cli/Cargo.toml', args: '--all-features' }
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
@@ -101,19 +123,9 @@ jobs:
|
||||
- name: Install required packages
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf
|
||||
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libayatana-appindicator3-dev librsvg2-dev patchelf
|
||||
|
||||
- uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: udeps
|
||||
args: --all-targets --all-features
|
||||
|
||||
- uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: udeps
|
||||
args: --manifest-path ./tooling/bundler/Cargo.toml --all-targets --all-features
|
||||
|
||||
- uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: udeps
|
||||
args: --manifest-path ./tooling/cli/Cargo.toml --all-targets --all-features
|
||||
args: --manifest-path ${{ matrix.clippy.path }} --all-targets ${{ matrix.clippy.args }}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user