mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-04-17 11:08:54 +02:00
Compare commits
159 Commits
tauri-code
...
api-v2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d1304ffa12 | ||
|
|
8ce32e74b5 | ||
|
|
2344aea176 | ||
|
|
994e4fd6d9 | ||
|
|
e5bd34cb34 | ||
|
|
59db76af4c | ||
|
|
6fb5734d2f | ||
|
|
6d25c4d07f | ||
|
|
e1e85dc2a5 | ||
|
|
9a79dc0858 | ||
|
|
5a9307d11c | ||
|
|
39f1b04f7b | ||
|
|
0ab5f40d3a | ||
|
|
b072daa3bd | ||
|
|
60cf9ed2fc | ||
|
|
c4171152c1 | ||
|
|
29ce9ce2ce | ||
|
|
3245d14b9e | ||
|
|
2cc282c129 | ||
|
|
d48aaa150a | ||
|
|
4585a1cbb0 | ||
|
|
5a768d5ce6 | ||
|
|
3188f37649 | ||
|
|
6d1fa49fce | ||
|
|
7a4b1fb96d | ||
|
|
422b481798 | ||
|
|
256c30c72b | ||
|
|
6a6b1388ea | ||
|
|
6788bb4984 | ||
|
|
2915bd068e | ||
|
|
5053a9c4c4 | ||
|
|
20f582f6c3 | ||
|
|
dafdcc9b42 | ||
|
|
7fd4ca0aef | ||
|
|
0dfd5f875f | ||
|
|
14b3667420 | ||
|
|
bf804657f5 | ||
|
|
73c803a561 | ||
|
|
93452b791a | ||
|
|
6d6b6e653e | ||
|
|
40f137c214 | ||
|
|
bb2a8ccf13 | ||
|
|
edb16d13a5 | ||
|
|
e68a08da51 | ||
|
|
19cd0e4960 | ||
|
|
41cb06172a | ||
|
|
124d5c5adf | ||
|
|
e8e214b72e | ||
|
|
eae0150b0a | ||
|
|
942249060e | ||
|
|
ecc9ac9603 | ||
|
|
d693e526e8 | ||
|
|
2a5175a8f8 | ||
|
|
31444ac196 | ||
|
|
cdad6e0837 | ||
|
|
2969d1cbba | ||
|
|
dfa407ffcb | ||
|
|
41f49aeae6 | ||
|
|
96639ca239 | ||
|
|
0c11023bcf | ||
|
|
ae102980fc | ||
|
|
51460340bf | ||
|
|
86488a6ad8 | ||
|
|
f78a378344 | ||
|
|
2d5378bfc1 | ||
|
|
3f17ee82f6 | ||
|
|
db9c12c1ad | ||
|
|
8e46695b7e | ||
|
|
cebd75261a | ||
|
|
276e4a3fdb | ||
|
|
e6e586ad75 | ||
|
|
fc4d687ef0 | ||
|
|
22a7633816 | ||
|
|
09376af594 | ||
|
|
34b8f339a4 | ||
|
|
06fdcc0edd | ||
|
|
ee2d3b971d | ||
|
|
9de897919a | ||
|
|
abc5f91fa3 | ||
|
|
57fa569161 | ||
|
|
dfb5f52d3c | ||
|
|
80069e1dc0 | ||
|
|
5fcb55e420 | ||
|
|
ee71c31fd0 | ||
|
|
f3917e7ee8 | ||
|
|
055e9b3997 | ||
|
|
f436cf8609 | ||
|
|
a8153b9ff4 | ||
|
|
f0570d9fee | ||
|
|
be941b9719 | ||
|
|
1eacd51d18 | ||
|
|
6ff801e27d | ||
|
|
db4c9dc655 | ||
|
|
44b4e2ee00 | ||
|
|
5a1d86b346 | ||
|
|
f4c9635724 | ||
|
|
565dc3baa7 | ||
|
|
a3c9754950 | ||
|
|
708efbd9b7 | ||
|
|
63f088e5fc | ||
|
|
d03e47d141 | ||
|
|
052c5822b5 | ||
|
|
d37808197d | ||
|
|
ec7d24b1ac | ||
|
|
5288a386f1 | ||
|
|
5769ee6d29 | ||
|
|
da30753754 | ||
|
|
7fec0f083c | ||
|
|
29ee62342a | ||
|
|
a813792786 | ||
|
|
0b46637eba | ||
|
|
09d5dd520f | ||
|
|
f6c373e989 | ||
|
|
d3e4fb20b5 | ||
|
|
e9482430ff | ||
|
|
919d96dd8a | ||
|
|
afc3237d0c | ||
|
|
f992e7f58b | ||
|
|
6c7eac7288 | ||
|
|
901ce937d6 | ||
|
|
f84fbe459f | ||
|
|
55900a2968 | ||
|
|
81b9c505cc | ||
|
|
7489f96697 | ||
|
|
a926b49a01 | ||
|
|
4c3b9ecfdc | ||
|
|
509d4678b1 | ||
|
|
5fdc616df9 | ||
|
|
1487b18dcb | ||
|
|
7f820ee190 | ||
|
|
54c6f158d9 | ||
|
|
23282873e7 | ||
|
|
eb1ec0416c | ||
|
|
5e0c4489df | ||
|
|
d788d23071 | ||
|
|
adf4627b73 | ||
|
|
a7ee5ca7c3 | ||
|
|
ff4ea1eabb | ||
|
|
56fa900dbe | ||
|
|
cfdee00f2b | ||
|
|
76668b3196 | ||
|
|
249db9e49b | ||
|
|
6b469c40c6 | ||
|
|
1c7e5cae10 | ||
|
|
3ad7414a3e | ||
|
|
39df2c982e | ||
|
|
57c6bf07bb | ||
|
|
6e3e4c22be | ||
|
|
38ee5066e7 | ||
|
|
8c07076e25 | ||
|
|
332b3fc419 | ||
|
|
a031e4a8a0 | ||
|
|
00241fa92d | ||
|
|
c787f749de | ||
|
|
d5ac76b53c | ||
|
|
8a1b1281ac | ||
|
|
1a24e4cafd | ||
|
|
9c324bae61 | ||
|
|
46e2def0ee |
6
.changes/android-buildsrc-gitignore.md
Normal file
6
.changes/android-buildsrc-gitignore.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"cli.rs": patch
|
||||
"cli.js": patch
|
||||
---
|
||||
|
||||
Do not gitignore the Android project's `buildSrc` folder by default since we removed absolute paths from it.
|
||||
5
.changes/android-enhance-method-parse.md
Normal file
5
.changes/android-enhance-method-parse.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
Enhance parsing of annotated Android plugin methods to support private functions.
|
||||
5
.changes/android-load-config.md
Normal file
5
.changes/android-load-config.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
Added static function `loadConfig` on the Android `PluginManager` class.
|
||||
5
.changes/android-plugin-command-exception.md
Normal file
5
.changes/android-plugin-command-exception.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
Adjust Android plugin exception error.
|
||||
10
.changes/bump-1.3.md
Normal file
10
.changes/bump-1.3.md
Normal file
@@ -0,0 +1,10 @@
|
||||
---
|
||||
"tauri-bundler": patch
|
||||
"tauri-codegen": patch
|
||||
"tauri-macros": patch
|
||||
"tauri-utils": patch
|
||||
"tauri-runtime": patch
|
||||
"tauri-runtime-wry": patch
|
||||
---
|
||||
|
||||
Pull changes from Tauri 1.3 release.
|
||||
5
.changes/bundler-remove-dialog-option.md
Normal file
5
.changes/bundler-remove-dialog-option.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri-bundler": patch
|
||||
---
|
||||
|
||||
Removed the `UpdaterSettings::dialog` field.
|
||||
6
.changes/channel-api.md
Normal file
6
.changes/channel-api.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"api": patch
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
Add channel API for sending data across the IPC.
|
||||
6
.changes/cli-android-dev-release.md
Normal file
6
.changes/cli-android-dev-release.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
'cli.rs': 'patch'
|
||||
'cli.js': 'patch'
|
||||
---
|
||||
|
||||
Add `--release` flag for `tauri android dev` however you will need to sign your Android app, see https://next--tauri.netlify.app/next/guides/distribution/sign-android
|
||||
6
.changes/cli-android-specified-targets-only.md
Normal file
6
.changes/cli-android-specified-targets-only.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
'cli.rs': 'patch'
|
||||
'cli.js': 'patch'
|
||||
---
|
||||
|
||||
Build only specified rust targets for `tauri android build` instead of all.
|
||||
6
.changes/cli-built-in-dev-server-mobile.md
Normal file
6
.changes/cli-built-in-dev-server-mobile.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
'cli.rs': 'patch'
|
||||
'cli.js': 'patch'
|
||||
---
|
||||
|
||||
Use local ip address for built-in dev server on mobile.
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
'cli.rs': 'patch'
|
||||
---
|
||||
|
||||
Add `--port` to specify the port used for static files dev server. It can also be specified through `TAURI_DEV_SERVER_PORT` env var.
|
||||
6
.changes/cli-key-properties.md
Normal file
6
.changes/cli-key-properties.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"cli.rs": patch
|
||||
"cli.js": patch
|
||||
---
|
||||
|
||||
Add `key.properties` file to android's `.gitignore`.
|
||||
6
.changes/cli-libname-dashes.md
Normal file
6
.changes/cli-libname-dashes.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
'cli.rs': 'patch'
|
||||
'cli.js': 'patch'
|
||||
---
|
||||
|
||||
On mobile, fix regression introduced in `tauri-cli` version `2.0.0-alpha.3` where library not found error was thrown.
|
||||
6
.changes/cli-pnpm.md
Normal file
6
.changes/cli-pnpm.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
'cli.rs': 'patch'
|
||||
'cli.js': 'patch'
|
||||
---
|
||||
|
||||
Fix android project build crashing when using `pnpm` caused by extra `--`.
|
||||
6
.changes/cli-wry-0-28.md
Normal file
6
.changes/cli-wry-0-28.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
'cli.rs': 'patch'
|
||||
'cli.js': 'patch'
|
||||
---
|
||||
|
||||
Update mobile template to `wry@0.28`
|
||||
@@ -209,7 +209,7 @@
|
||||
"dependencies": ["tauri-codegen", "tauri-utils"],
|
||||
"postversion": [
|
||||
"node ../../.scripts/covector/sync-cli-metadata.js ${ pkg.pkg } ${ release.type }",
|
||||
"cargo build --manifest-path ../config-schema/Cargo.toml"
|
||||
"cargo build --manifest-path ../tauri-config-schema/Cargo.toml"
|
||||
],
|
||||
"assets": [
|
||||
{
|
||||
@@ -225,7 +225,8 @@
|
||||
"tauri-macros",
|
||||
"tauri-utils",
|
||||
"tauri-runtime",
|
||||
"tauri-runtime-wry"
|
||||
"tauri-runtime-wry",
|
||||
"tauri-build"
|
||||
],
|
||||
"postversion": "node ../../.scripts/covector/sync-cli-metadata.js ${ pkg.pkg } ${ release.type }"
|
||||
},
|
||||
@@ -236,7 +237,7 @@
|
||||
"dependencies": ["cli.rs"],
|
||||
"postversion": [
|
||||
"node ../../../.scripts/covector/sync-cli-metadata.js ${ pkg.pkg } ${ release.type }",
|
||||
"cargo build --manifest-path ../../../core/config-schema/Cargo.toml"
|
||||
"cargo build --manifest-path ../../../core/tauri-config-schema/Cargo.toml"
|
||||
],
|
||||
"prepublish": [],
|
||||
"publish": [],
|
||||
@@ -248,7 +249,7 @@
|
||||
"dependencies": ["tauri-bundler", "tauri-utils"],
|
||||
"postversion": [
|
||||
"cargo check",
|
||||
"cargo build --manifest-path ../../core/config-schema/Cargo.toml"
|
||||
"cargo build --manifest-path ../../core/tauri-config-schema/Cargo.toml"
|
||||
],
|
||||
"assets": [
|
||||
{
|
||||
|
||||
5
.changes/core-wry-0-28.md
Normal file
5
.changes/core-wry-0-28.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'tauri': 'patch'
|
||||
---
|
||||
|
||||
On Android, update proguard rules.
|
||||
5
.changes/default-window-icon.md
Normal file
5
.changes/default-window-icon.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
Add `default_window_icon` getter on `App` and `AppHandle`.
|
||||
6
.changes/downgrade-min-sdk-version.md
Normal file
6
.changes/downgrade-min-sdk-version.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"cli.rs": patch
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
Change minimum Android SDK version to 21 for the plugin library.
|
||||
5
.changes/enhance-jsobject-return-types.md
Normal file
5
.changes/enhance-jsobject-return-types.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
Enhance Android's `JSObject` return types.
|
||||
5
.changes/fix-ios-plugin-throws-command.md
Normal file
5
.changes/fix-ios-plugin-throws-command.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
Use actual iOS plugin instance to run command with `throws`.
|
||||
6
.changes/fix-ios-template.md
Normal file
6
.changes/fix-ios-template.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"cli.rs": patch
|
||||
"cli.js": patch
|
||||
---
|
||||
|
||||
Fixes the iOS project script to build the Rust library.
|
||||
5
.changes/fix-nodejs-android-cmds.md
Normal file
5
.changes/fix-nodejs-android-cmds.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"cli.js": patch
|
||||
---
|
||||
|
||||
Update tauri-mobile to fix running ADB scripts.
|
||||
5
.changes/fix-plugin-ios-bool.md
Normal file
5
.changes/fix-plugin-ios-bool.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
Fixes boolean plugin parameters freezing the application.
|
||||
6
.changes/fix-plugin-removal.md
Normal file
6
.changes/fix-plugin-removal.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"cli.rs": patch
|
||||
"cli.js": patch
|
||||
---
|
||||
|
||||
Clear Android plugin JSON file before building Rust library to ensure removed plugins are propagated to the Android project.
|
||||
6
.changes/fix-plugin-template-cargotoml.md
Normal file
6
.changes/fix-plugin-template-cargotoml.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"cli.rs": patch
|
||||
"cli.js": patch
|
||||
---
|
||||
|
||||
Readd the Cargo.toml file to the plugin template.
|
||||
5
.changes/fix-proguard-rules.md
Normal file
5
.changes/fix-proguard-rules.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
Fixes ProGuard rules.
|
||||
5
.changes/fix-shell-build.md
Normal file
5
.changes/fix-shell-build.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
Fix compilation issues without the shell API features.
|
||||
6
.changes/fix-tauri-binary-windows.md
Normal file
6
.changes/fix-tauri-binary-windows.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"cli.rs": patch
|
||||
"cli.js": patch
|
||||
---
|
||||
|
||||
Fixes the Android build gradle plugin implementation on Windows.
|
||||
5
.changes/fix-wix-escape-resources.md
Normal file
5
.changes/fix-wix-escape-resources.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'tauri-bundler': 'patch'
|
||||
---
|
||||
|
||||
Correctly escape XML for resource files in WiX bundler.
|
||||
6
.changes/fix-xcodescript-lib-path.md
Normal file
6
.changes/fix-xcodescript-lib-path.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"cli.rs": patch
|
||||
"cli.js": patch
|
||||
---
|
||||
|
||||
Fixes iOS build script using the wrong path for the app library file.
|
||||
5
.changes/generate-tauri-activity.md
Normal file
5
.changes/generate-tauri-activity.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
Generate `TauriActivity` Kotlin class on the build script.
|
||||
6
.changes/gradle-8.md
Normal file
6
.changes/gradle-8.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
'cli.rs': 'patch'
|
||||
'cli.js': 'patch'
|
||||
---
|
||||
|
||||
Update android template to gradle 8.0
|
||||
5
.changes/improve-mobile-plugin-error-handling.md
Normal file
5
.changes/improve-mobile-plugin-error-handling.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
Improve the `run_mobile_plugin` function error handling.
|
||||
6
.changes/inject-config.md
Normal file
6
.changes/inject-config.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"cli.rs": patch
|
||||
"cli.js": patch
|
||||
---
|
||||
|
||||
Inject Tauri configuration in the Android assets.
|
||||
6
.changes/invoke-handler-attributes.md
Normal file
6
.changes/invoke-handler-attributes.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"tauri-macros": patch
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
Added support to attibutes for each command path in the `generate_handler` macro.
|
||||
5
.changes/ios-deployment-target.md
Normal file
5
.changes/ios-deployment-target.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri-build": patch
|
||||
---
|
||||
|
||||
Read the `IPHONEOS_DEPLOYMENT_TARGET` environment variable to set the Swift iOS target version, defaults to 13.
|
||||
6
.changes/ipc-scope-remove-enable-tauri-api.md
Normal file
6
.changes/ipc-scope-remove-enable-tauri-api.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"tauri": patch
|
||||
"tauri-utils": patch
|
||||
---
|
||||
|
||||
Remove `enable_tauri_api` from the IPC scope.
|
||||
5
.changes/min-sdk-version.md
Normal file
5
.changes/min-sdk-version.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri-utils": patch
|
||||
---
|
||||
|
||||
Added `android` configuration object under `tauri > bundle`.
|
||||
5
.changes/mobile-plugin-config.md
Normal file
5
.changes/mobile-plugin-config.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
Expose plugin configuration on the Android and iOS plugin classes.
|
||||
6
.changes/move-app.md
Normal file
6
.changes/move-app.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"api": patch
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
Moved the `app` feature to its own plugin in the plugins-workspace repository.
|
||||
7
.changes/move-cli.md
Normal file
7
.changes/move-cli.md
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
"api": patch
|
||||
"tauri": patch
|
||||
"tauri-utils": patch
|
||||
---
|
||||
|
||||
Moved the `cli` feature to its own plugin in the plugins-workspace repository.
|
||||
6
.changes/move-dialog-plugin.md
Normal file
6
.changes/move-dialog-plugin.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"tauri": patch
|
||||
"api": patch
|
||||
---
|
||||
|
||||
Moved the dialog APIs to its own plugin in the plugins-workspace repository.
|
||||
8
.changes/move-event.md
Normal file
8
.changes/move-event.md
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
"api": patch
|
||||
"tauri": patch
|
||||
"tauri-runtime": patch
|
||||
"tauri-runtime-wry": patch
|
||||
---
|
||||
|
||||
Moved the `event` JS APIs to a plugin.
|
||||
6
.changes/move-fs.md
Normal file
6
.changes/move-fs.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"api": patch
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
Moved the file system APIs to its own plugin in the plugins-workspace repository.
|
||||
6
.changes/move-http-api.md
Normal file
6
.changes/move-http-api.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"api": patch
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
Moved the `http` feature to its own plugin in the plugins-workspace repository.
|
||||
6
.changes/move-os.md
Normal file
6
.changes/move-os.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"api": patch
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
Moved the `os` feature to its own plugin in the plugins-workspace repository.
|
||||
6
.changes/move-process.md
Normal file
6
.changes/move-process.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"api": patch
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
Moved the `process` feature to its own plugin in the plugins-workspace repository.
|
||||
6
.changes/move-protocol-asset.md
Normal file
6
.changes/move-protocol-asset.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"tauri": patch
|
||||
"tauri-utils": patch
|
||||
---
|
||||
|
||||
Moved the `protocol` scope configuration to the `asset_protocol` field in `SecurityConfig`.
|
||||
8
.changes/move-shell.md
Normal file
8
.changes/move-shell.md
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
"api": patch
|
||||
"tauri": patch
|
||||
"tauri-codegen": patch
|
||||
"tauri-macros": patch
|
||||
---
|
||||
|
||||
Moved the `shell` functionality to its own plugin in the plugins-workspace repository.
|
||||
8
.changes/move-updater-config.md
Normal file
8
.changes/move-updater-config.md
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
"tauri": patch
|
||||
"tauri-utils": patch
|
||||
"cli.rs": patch
|
||||
"cli.js": patch
|
||||
---
|
||||
|
||||
Moved the updater configuration to the `BundleConfig`.
|
||||
7
.changes/move-updater.md
Normal file
7
.changes/move-updater.md
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
"api": patch
|
||||
"tauri": patch
|
||||
"tauri-utils": patch
|
||||
---
|
||||
|
||||
Moved the `updater` feature to its own plugin in the plugins-workspace repository.
|
||||
13
.changes/msrv-1.65.md
Normal file
13
.changes/msrv-1.65.md
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
"cli.rs": minor
|
||||
"tauri-bundler": minor
|
||||
"tauri": minor
|
||||
"tauri-build": minor
|
||||
"tauri-codegen": minor
|
||||
"tauri-macros": minor
|
||||
"tauri-utils": minor
|
||||
"tauri-runtime": minor
|
||||
"tauri-runtime-wry": minor
|
||||
---
|
||||
|
||||
Bump the MSRV to 1.65.
|
||||
5
.changes/napi-rs.md
Normal file
5
.changes/napi-rs.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'cli.js': 'patch'
|
||||
---
|
||||
|
||||
Update `napi-rs` dependencies to latest to fix CLI hanging up forever.
|
||||
8
.changes/nsis-spanish.md
Normal file
8
.changes/nsis-spanish.md
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
'tauri-bundler': 'patch'
|
||||
---
|
||||
|
||||
Added the following languages to the NSIS bundler:
|
||||
|
||||
- `Spanish`
|
||||
- `SpanishInternational`
|
||||
5
.changes/nsis-webview-installmodes.md
Normal file
5
.changes/nsis-webview-installmodes.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'tauri-bundler': 'patch'
|
||||
---
|
||||
|
||||
Correctly escape arguments in NSIS script to fix bundling apps that use non-default WebView2 install modes.
|
||||
5
.changes/on-new-intent.md
Normal file
5
.changes/on-new-intent.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
Added the `onNewIntent` Plugin hook on Android.
|
||||
5
.changes/open-ts-overload.md
Normal file
5
.changes/open-ts-overload.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"api": patch
|
||||
---
|
||||
|
||||
Overload the dialog `open` function to have better TS result types.
|
||||
6
.changes/plugin-android-project-refactor.md
Normal file
6
.changes/plugin-android-project-refactor.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"cli.rs": patch
|
||||
"tauri-build": patch
|
||||
---
|
||||
|
||||
Use absolute path to each Android plugin project instead of copying the files to enhance developer experience.
|
||||
5
.changes/plugin-api-handle.md
Normal file
5
.changes/plugin-api-handle.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
Add `app` method for the `PluginApi` struct.
|
||||
5
.changes/plugin-handle-clone.md
Normal file
5
.changes/plugin-handle-clone.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
Implement `Clone` for `plugin::PluginHandle`.
|
||||
6
.changes/plugin-template-examples-manifest.md
Normal file
6
.changes/plugin-template-examples-manifest.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"cli.rs": patch
|
||||
"cli.js": patch
|
||||
---
|
||||
|
||||
Add Cargo manifest files for the plugin example templates.
|
||||
6
.changes/pnpm-android.md
Normal file
6
.changes/pnpm-android.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"cli.rs": patch
|
||||
"cli.js": patch
|
||||
---
|
||||
|
||||
Fix `tauri android build/dev` crashing when used with standalone `pnpm` executable on Windows.
|
||||
@@ -3,39 +3,75 @@
|
||||
"changes": [
|
||||
".changes/add-mobile-to-plugin.md",
|
||||
".changes/android-apis-runtime.md",
|
||||
".changes/android-buildsrc-gitignore.md",
|
||||
".changes/android-enhance-method-parse.md",
|
||||
".changes/android-load-config.md",
|
||||
".changes/android-plugin-command-exception.md",
|
||||
".changes/build-android-env-vars.md",
|
||||
".changes/bump-1.3.md",
|
||||
".changes/bundler-remove-dialog-option.md",
|
||||
".changes/channel-api.md",
|
||||
".changes/cli-android-build.md",
|
||||
".changes/cli-dev-server-port.md",
|
||||
".changes/cli-android-dev-release.md",
|
||||
".changes/cli-android-specified-targets-only.md",
|
||||
".changes/cli-built-in-dev-server-mobile.md",
|
||||
".changes/cli-ios-build.md",
|
||||
".changes/cli-key-properties.md",
|
||||
".changes/cli-libname-dashes.md",
|
||||
".changes/cli-mobile-auto-ip.md",
|
||||
".changes/cli-mobile-dev.md",
|
||||
".changes/cli-mobile-plugin.md",
|
||||
".changes/cli-nodejs-detection.md",
|
||||
".changes/cli-pnpm.md",
|
||||
".changes/cli-refactor-ipc-mobile.md",
|
||||
".changes/cli-wry-0-28.md",
|
||||
".changes/codegen-mobile-devurl.md",
|
||||
".changes/core-wry-0-28.md",
|
||||
".changes/default-tls-features.md",
|
||||
".changes/default-window-icon.md",
|
||||
".changes/dev-proxy-response-cache.md",
|
||||
".changes/dev-proxy.md",
|
||||
".changes/downgrade-min-sdk-version.md",
|
||||
".changes/dynamic-wry-plugin.md",
|
||||
".changes/enable-minify.md",
|
||||
".changes/enhance-jsobject-return-types.md",
|
||||
".changes/error-on-identifier-change.md",
|
||||
".changes/fix-build-script-mobile-runner-npm.md",
|
||||
".changes/fix-dev-server-proxy-path.md",
|
||||
".changes/fix-empty-identifier.md",
|
||||
".changes/fix-ios-plugin-throws-command.md",
|
||||
".changes/fix-ios-run-xcode14.md",
|
||||
".changes/fix-ios-template.md",
|
||||
".changes/fix-mobile-env-vars.md",
|
||||
".changes/fix-nodejs-android-cmds.md",
|
||||
".changes/fix-orientation-crash.md",
|
||||
".changes/fix-plugin-ios-bool.md",
|
||||
".changes/fix-plugin-removal.md",
|
||||
".changes/fix-plugin-template-cargotoml.md",
|
||||
".changes/fix-proguard-rules.md",
|
||||
".changes/fix-shell-build.md",
|
||||
".changes/fix-tauri-binary-windows.md",
|
||||
".changes/fix-wix-escape-resources.md",
|
||||
".changes/fix-xcodescript-lib-path.md",
|
||||
".changes/force-colored-logs.md",
|
||||
".changes/generate-tauri-activity.md",
|
||||
".changes/gradle-8.md",
|
||||
".changes/gtk16.md",
|
||||
".changes/improve-local-ip-detection.md",
|
||||
".changes/improve-mobile-plugin-error-handling.md",
|
||||
".changes/inject-config.md",
|
||||
".changes/inject-proguard.md",
|
||||
".changes/invoke-handler-attributes.md",
|
||||
".changes/invoke-return-bool.md",
|
||||
".changes/ios-deployment-target.md",
|
||||
".changes/ios-icon-color.md",
|
||||
".changes/ios-keep-alive.md",
|
||||
".changes/ios-logs.md",
|
||||
".changes/ipc-scope-remove-enable-tauri-api.md",
|
||||
".changes/lib-name-xcode.md",
|
||||
".changes/local-dev-path-mobile.md",
|
||||
".changes/logcat-all-tags.md",
|
||||
".changes/min-sdk-version.md",
|
||||
".changes/mobile-config.md",
|
||||
".changes/mobile-dev-watcher-ignore-gen.md",
|
||||
".changes/mobile-entry-point-macro.md",
|
||||
@@ -43,28 +79,74 @@
|
||||
".changes/mobile-init.md",
|
||||
".changes/mobile-lib-name.md",
|
||||
".changes/mobile-open.md",
|
||||
".changes/mobile-plugin-config.md",
|
||||
".changes/mobile-plugins.md",
|
||||
".changes/mobile-webview-access.md",
|
||||
".changes/mobile.md",
|
||||
".changes/move-app.md",
|
||||
".changes/move-cli.md",
|
||||
".changes/move-dialog-plugin.md",
|
||||
".changes/move-event.md",
|
||||
".changes/move-fs.md",
|
||||
".changes/move-http-api.md",
|
||||
".changes/move-os.md",
|
||||
".changes/move-process.md",
|
||||
".changes/move-protocol-asset.md",
|
||||
".changes/move-shell.md",
|
||||
".changes/move-updater-config.md",
|
||||
".changes/move-updater.md",
|
||||
".changes/msrv-1.64.md",
|
||||
".changes/msrv-1.65.md",
|
||||
".changes/napi-rs.md",
|
||||
".changes/npm-pass-args.md",
|
||||
".changes/nsis-spanish.md",
|
||||
".changes/nsis-webview-installmodes.md",
|
||||
".changes/on-new-intent.md",
|
||||
".changes/only-proxy-on-mobile.md",
|
||||
".changes/open-ts-overload.md",
|
||||
".changes/package-info-crate-name.md",
|
||||
".changes/plugin-android-project-refactor.md",
|
||||
".changes/plugin-api-handle.md",
|
||||
".changes/plugin-handle-clone.md",
|
||||
".changes/plugin-init-fns.md",
|
||||
".changes/plugin-init-refactor.md",
|
||||
".changes/plugin-setup-refactor.md",
|
||||
".changes/plugin-template-examples-manifest.md",
|
||||
".changes/pnpm-android.md",
|
||||
".changes/process-mod-refactor.md",
|
||||
".changes/raw-encoding.md",
|
||||
".changes/refactor-macros.md",
|
||||
".changes/refactor-setup.md",
|
||||
".changes/refactor-tauri-android-dependency.md",
|
||||
".changes/remove-allowlist.md",
|
||||
".changes/remove-attohttpc.md",
|
||||
".changes/remove-clipboard.md",
|
||||
".changes/remove-fs-apis.md",
|
||||
".changes/remove-global-shortcut.md",
|
||||
".changes/remove-macros-command-module.md",
|
||||
".changes/remove-mobile-log.md",
|
||||
".changes/remove-sdk-dir.md",
|
||||
".changes/remove-shell-constructor.md",
|
||||
".changes/remove-tray-icon-mobile.md",
|
||||
".changes/remove-updater-dialog.md",
|
||||
".changes/remove-updater-event.md",
|
||||
".changes/remove-window.md",
|
||||
".changes/rfd101.md",
|
||||
".changes/run-mobile-plugin.md",
|
||||
".changes/safepathbuf-refactor.md",
|
||||
".changes/shadow-api.md",
|
||||
".changes/shadow-config.md",
|
||||
".changes/shadow.md",
|
||||
".changes/shadows-default-on.md",
|
||||
".changes/simplify-ios-plugin-init-fn.md",
|
||||
".changes/target-dir-detection.md",
|
||||
".changes/tauri-build-mobile.md",
|
||||
".changes/tauri-mobile-entry-point.md",
|
||||
".changes/tauri-runtime-wry-wry-0-28.md",
|
||||
".changes/tls-features-automatically-enabled.md",
|
||||
".changes/tls-features-refactor.md",
|
||||
".changes/ubuntu-20.04-cli.js.md",
|
||||
".changes/ubuntu-20.04-cli.rs.md",
|
||||
".changes/with-webview.md",
|
||||
".changes/wry26.md"
|
||||
]
|
||||
|
||||
5
.changes/process-mod-refactor.md
Normal file
5
.changes/process-mod-refactor.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
Moved the `tauri::api::process` module to `tauri::process`.
|
||||
6
.changes/raw-encoding.md
Normal file
6
.changes/raw-encoding.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"api": minor
|
||||
"tauri": minor
|
||||
---
|
||||
|
||||
Added `raw` encoding option to read stdout and stderr raw bytes.
|
||||
6
.changes/refactor-tauri-android-dependency.md
Normal file
6
.changes/refactor-tauri-android-dependency.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"tauri": patch
|
||||
"tauri-build": patch
|
||||
---
|
||||
|
||||
Changed how the `tauri-android` dependency is injected. This requires the `gen/android` project to be recreated.
|
||||
8
.changes/remove-allowlist.md
Normal file
8
.changes/remove-allowlist.md
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
"tauri": patch
|
||||
"tauri-utils": patch
|
||||
"cli.rs": patch
|
||||
"cli.js": patch
|
||||
---
|
||||
|
||||
Removed the allowlist configuration.
|
||||
8
.changes/remove-clipboard.md
Normal file
8
.changes/remove-clipboard.md
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
"tauri": patch
|
||||
"tauri-runtime": patch
|
||||
"tauri-runtime-wry": patch
|
||||
"api": patch
|
||||
---
|
||||
|
||||
Moved the `clipboard` feature to its own plugin in the plugins-workspace repository.
|
||||
5
.changes/remove-fs-apis.md
Normal file
5
.changes/remove-fs-apis.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
Removed extract and move APIs from `tauri::api::file`.
|
||||
8
.changes/remove-global-shortcut.md
Normal file
8
.changes/remove-global-shortcut.md
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
"api": patch
|
||||
"tauri": patch
|
||||
"tauri-runtime": patch
|
||||
"tauri-runtime-wry": patch
|
||||
---
|
||||
|
||||
Moved the `global-shortcut` feature to its own plugin in the plugins-workspace repository.
|
||||
5
.changes/remove-macros-command-module.md
Normal file
5
.changes/remove-macros-command-module.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri-macros": patch
|
||||
---
|
||||
|
||||
Removed the module command macros.
|
||||
5
.changes/remove-sdk-dir.md
Normal file
5
.changes/remove-sdk-dir.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri-build": patch
|
||||
---
|
||||
|
||||
Remove `WindowsAttributes::sdk_dir`.
|
||||
5
.changes/remove-shell-constructor.md
Normal file
5
.changes/remove-shell-constructor.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"api": minor
|
||||
---
|
||||
|
||||
Removed shell's `Command` constructor and added the `Command.create` static function instead.
|
||||
6
.changes/remove-tray-icon-mobile.md
Normal file
6
.changes/remove-tray-icon-mobile.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"tauri-codegen": patch
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
Refactor the `Context` conditional fields and only parse the tray icon on desktop.
|
||||
6
.changes/remove-updater-dialog.md
Normal file
6
.changes/remove-updater-dialog.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"tauri": patch
|
||||
"tauri-utils": patch
|
||||
---
|
||||
|
||||
Remove the updater's dialog option.
|
||||
6
.changes/remove-updater-event.md
Normal file
6
.changes/remove-updater-event.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
Removed `UpdaterEvent`. See `tauri-plugin-updater` for new usage.
|
||||
|
||||
6
.changes/remove-window.md
Normal file
6
.changes/remove-window.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"tauri": patch
|
||||
"api": patch
|
||||
---
|
||||
|
||||
Moved the `window` JS APIs to its own plugin in the plugins-workspace repository.
|
||||
5
.changes/safepathbuf-refactor.md
Normal file
5
.changes/safepathbuf-refactor.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
Expose `SafePathBuf` type in `tauri::path`.
|
||||
5
.changes/shadows-default-on.md
Normal file
5
.changes/shadows-default-on.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'tauri': 'patch'
|
||||
---
|
||||
|
||||
Enable shadows by default.
|
||||
5
.changes/simplify-ios-plugin-init-fn.md
Normal file
5
.changes/simplify-ios-plugin-init-fn.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
Change iOS plugin init function signature to `func init_plugin() -> Plugin`.
|
||||
5
.changes/tauri-runtime-wry-wry-0-28.md
Normal file
5
.changes/tauri-runtime-wry-wry-0-28.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'tauri-runtime-wry': 'patch'
|
||||
---
|
||||
|
||||
Update `wry` to `0.28`
|
||||
6
.changes/tls-features-automatically-enabled.md
Normal file
6
.changes/tls-features-automatically-enabled.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"cli.rs": patch
|
||||
"cli.js": patch
|
||||
---
|
||||
|
||||
Automatically enable the `rustls-tls` tauri feature on mobile and `native-tls` on desktop if `rustls-tls` is not enabled.
|
||||
5
.changes/tls-features-refactor.md
Normal file
5
.changes/tls-features-refactor.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
Renamed the `default-tls` feature to `native-tls` and added `rustls-tls` feature.
|
||||
5
.changes/ubuntu-20.04-cli.js.md
Normal file
5
.changes/ubuntu-20.04-cli.js.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"cli.js": patch
|
||||
---
|
||||
|
||||
Use Ubuntu 20.04 to compile the CLI, increasing the minimum libc version required.
|
||||
6
.changes/ubuntu-20.04-cli.rs.md
Normal file
6
.changes/ubuntu-20.04-cli.rs.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"cli.rs": patch
|
||||
---
|
||||
|
||||
- Use Ubuntu 20.04 to compile the CLI for cargo-binstall, increasing the minimum libc required.
|
||||
-
|
||||
2
.github/CONTRIBUTING.md
vendored
2
.github/CONTRIBUTING.md
vendored
@@ -71,7 +71,7 @@ The code for the bundler is located in `[Tauri repo root]/tooling/bundler`, and
|
||||
|
||||
### Developing Tauri Core and Related Components (Rust API, Macros, Codegen, and Utils)
|
||||
|
||||
The code for Tauri Core is located in `[Tauri repo root]/core/tauri`, and the Rust API, Macros, and Utils are in `[Tauri repo root]/core/tauri-(api/macros/utils)`. The easiest way to test your changes is to use the `[Tauri repo root]/examples/helloworld` app. It automatically rebuilds and uses your local copy of the Tauri core packages. Just run `yarn tauri build` or `yarn tauri dev` in the helloworld app directory after making changes to test them out. To use your local changes in another project, edit its `src-tauri/Cargo.toml` file so that the `tauri` key looks like `tauri = { path = "PATH", features = [ "api-all", "cli" ] }`, where `PATH` is the relative path to `[Tauri repo root]/core/tauri`. Then, your local copy of the Tauri core packages will be rebuilt and used whenever you build that project.
|
||||
The code for Tauri Core is located in `[Tauri repo root]/core/tauri`, and the Rust API, Macros, and Utils are in `[Tauri repo root]/core/tauri-(api/macros/utils)`. The easiest way to test your changes is to use the `[Tauri repo root]/examples/helloworld` app. It automatically rebuilds and uses your local copy of the Tauri core packages. Just run `yarn tauri build` or `yarn tauri dev` in the helloworld app directory after making changes to test them out. To use your local changes in another project, edit its `src-tauri/Cargo.toml` file so that the `tauri` key looks like `tauri = { path = "PATH" }`, where `PATH` is the relative path to `[Tauri repo root]/core/tauri`. Then, your local copy of the Tauri core packages will be rebuilt and used whenever you build that project.
|
||||
|
||||
#### Building the documentation locally
|
||||
|
||||
|
||||
7
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
7
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
@@ -30,11 +30,10 @@ body:
|
||||
id: reproduction
|
||||
attributes:
|
||||
label: Reproduction
|
||||
description: Steps to reproduce the behavior.
|
||||
description: A link to a reproduction repo or steps to reproduce the behaviour.
|
||||
placeholder: |
|
||||
1. Go to ...
|
||||
2. Click on ...
|
||||
3. See error
|
||||
Please provide a minimal reproduction or steps to reproduce, see this guide https://stackoverflow.com/help/minimal-reproducible-example
|
||||
Why reproduction is required? see this article https://antfu.me/posts/why-reproductions-are-required
|
||||
|
||||
- type: textarea
|
||||
id: expected-behavior
|
||||
|
||||
107
.github/workflows/artifacts-updater.yml
vendored
107
.github/workflows/artifacts-updater.yml
vendored
@@ -1,107 +0,0 @@
|
||||
# Copyright 2019-2023 Tauri Programme within The Commons Conservancy
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
name: updater test artifacts
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 0 * * *'
|
||||
pull_request:
|
||||
paths:
|
||||
- '.github/workflows/artifacts-updater.yml'
|
||||
- 'examples/updater/**'
|
||||
workflow_dispatch:
|
||||
|
||||
env:
|
||||
RUST_BACKTRACE: 1
|
||||
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-artifacts:
|
||||
runs-on: ${{ matrix.platform }}
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
platform: [ubuntu-latest, macos-latest, windows-latest]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: install stable
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
|
||||
- name: install Linux dependencies
|
||||
if: matrix.platform == 'ubuntu-latest'
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y webkit2gtk-4.1 libayatana-appindicator3-dev
|
||||
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
workspaces: |
|
||||
core -> ../target
|
||||
tooling/cli
|
||||
|
||||
- name: build and install cli.rs
|
||||
run: cargo install --path tooling/cli --force
|
||||
- name: Check whether code signing should be enabled
|
||||
id: enablecodesigning
|
||||
env:
|
||||
ENABLE_CODE_SIGNING: ${{ secrets.APPLE_CERTIFICATE }}
|
||||
run: |
|
||||
echo "Enable code signing: ${{ env.ENABLE_CODE_SIGNING != '' }}"
|
||||
echo "::set-output name=enabled::${{ env.ENABLE_CODE_SIGNING != '' }}"
|
||||
|
||||
# run only on tauri-apps/tauri repo (require secrets)
|
||||
- name: build sample artifacts + code signing (updater)
|
||||
if: steps.enablecodesigning.outputs.enabled == 'true'
|
||||
working-directory: ./examples/updater
|
||||
run: |
|
||||
yarn install
|
||||
cargo tauri build --verbose
|
||||
env:
|
||||
# Notarization (disabled)
|
||||
# FIXME: enable only on `dev` push maybe? as it take some times...
|
||||
#
|
||||
# APPLE_ID: ${{ secrets.APPLE_ID }}
|
||||
# APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }}
|
||||
|
||||
# Apple code signing testing
|
||||
APPLE_CERTIFICATE: ${{ secrets.APPLE_CERTIFICATE }}
|
||||
APPLE_CERTIFICATE_PASSWORD: ${{ secrets.APPLE_CERTIFICATE_PASSWORD }}
|
||||
APPLE_SIGNING_IDENTITY: ${{ secrets.APPLE_SIGNING_IDENTITY }}
|
||||
# Updater signature is exposed here to make sure it works in PR's
|
||||
TAURI_PRIVATE_KEY: dW50cnVzdGVkIGNvbW1lbnQ6IHJzaWduIGVuY3J5cHRlZCBzZWNyZXQga2V5ClJXUlRZMEl5YTBGV3JiTy9lRDZVd3NkL0RoQ1htZmExNDd3RmJaNmRMT1ZGVjczWTBKZ0FBQkFBQUFBQUFBQUFBQUlBQUFBQWdMekUzVkE4K0tWQ1hjeGt1Vkx2QnRUR3pzQjVuV0ZpM2czWXNkRm9hVUxrVnB6TUN3K1NheHJMREhQbUVWVFZRK3NIL1VsMDBHNW5ET1EzQno0UStSb21nRW4vZlpTaXIwZFh5ZmRlL1lSN0dKcHdyOUVPclVvdzFhVkxDVnZrbHM2T1o4Tk1NWEU9Cg==
|
||||
TAURI_KEY_PASSWORD:
|
||||
# run on PRs and forks
|
||||
- name: build sample artifacts (updater)
|
||||
if: steps.enablecodesigning.outputs.enabled != 'true'
|
||||
working-directory: ./examples/updater
|
||||
run: |
|
||||
yarn install
|
||||
cargo tauri build --verbose
|
||||
env:
|
||||
TAURI_PRIVATE_KEY: dW50cnVzdGVkIGNvbW1lbnQ6IHJzaWduIGVuY3J5cHRlZCBzZWNyZXQga2V5ClJXUlRZMEl5YTBGV3JiTy9lRDZVd3NkL0RoQ1htZmExNDd3RmJaNmRMT1ZGVjczWTBKZ0FBQkFBQUFBQUFBQUFBQUlBQUFBQWdMekUzVkE4K0tWQ1hjeGt1Vkx2QnRUR3pzQjVuV0ZpM2czWXNkRm9hVUxrVnB6TUN3K1NheHJMREhQbUVWVFZRK3NIL1VsMDBHNW5ET1EzQno0UStSb21nRW4vZlpTaXIwZFh5ZmRlL1lSN0dKcHdyOUVPclVvdzFhVkxDVnZrbHM2T1o4Tk1NWEU9Cg==
|
||||
TAURI_KEY_PASSWORD:
|
||||
# upload assets
|
||||
- uses: actions/upload-artifact@v2
|
||||
if: matrix.platform == 'ubuntu-latest'
|
||||
with:
|
||||
name: linux-updater-artifacts
|
||||
path: ./examples/updater/src-tauri/target/release/bundle/appimage/updater-example_*.AppImage.*
|
||||
- uses: actions/upload-artifact@v2
|
||||
if: matrix.platform == 'windows-latest'
|
||||
with:
|
||||
name: windows-updater-artifacts
|
||||
path: ./examples/updater/src-tauri/target/release/bundle/msi/*
|
||||
- uses: actions/upload-artifact@v2
|
||||
if: matrix.platform == 'macos-latest'
|
||||
with:
|
||||
name: macos-updater-artifacts
|
||||
path: ./examples/updater/src-tauri/target/release/bundle/macos/updater-example.app.tar.*
|
||||
8
.github/workflows/check-generated-files.yml
vendored
8
.github/workflows/check-generated-files.yml
vendored
@@ -12,7 +12,7 @@ on:
|
||||
- 'core/tauri/scripts/bundle.global.js'
|
||||
- 'core/tauri-utils/src/config.rs'
|
||||
- 'tooling/cli/schema.json'
|
||||
- 'core/config-schema/schema.json'
|
||||
- 'core/tauri-config-schema/schema.json'
|
||||
push:
|
||||
branches:
|
||||
- dev
|
||||
@@ -22,7 +22,7 @@ on:
|
||||
- 'core/tauri/scripts/bundle.global.js'
|
||||
- 'core/tauri-utils/src/config.rs'
|
||||
- 'tooling/cli/schema.json'
|
||||
- 'core/config-schema/schema.json'
|
||||
- 'core/tauri-config-schema/schema.json'
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
@@ -47,7 +47,7 @@ jobs:
|
||||
schema:
|
||||
- 'core/tauri-utils/src/config.rs'
|
||||
- 'tooling/cli/schema.json'
|
||||
- 'core/config-schema/schema.json'
|
||||
- 'core/tauri-config-schema/schema.json'
|
||||
|
||||
check-api:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -90,7 +90,7 @@ jobs:
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: build
|
||||
args: --manifest-path ./core/config-schema/Cargo.toml
|
||||
args: --manifest-path ./core/tauri-config-schema/Cargo.toml
|
||||
|
||||
- name: check schema
|
||||
run: ./.scripts/ci/has-diff.sh
|
||||
|
||||
@@ -72,19 +72,17 @@ jobs:
|
||||
if: |
|
||||
steps.covector.outputs.successfulPublish == 'true' &&
|
||||
contains(steps.covector.outputs.packagesPublished, 'cli.rs')
|
||||
uses: peter-evans/repository-dispatch@v1
|
||||
uses: benc-uk/workflow-dispatch@v1
|
||||
with:
|
||||
token: ${{ secrets.ORG_TAURI_BOT_PAT }}
|
||||
repository: tauri-apps/tauri
|
||||
event-type: publish-clijs
|
||||
client-payload: '{"releaseId": "${{ steps.covector.outputs.cli.js-releaseId }}" }'
|
||||
workflow: publish-cli-js.yml
|
||||
inputs: '{"releaseId": "${{ steps.covector.outputs.cli.js-releaseId }}", "ref": "${{ github.ref }}" }'
|
||||
|
||||
- name: Trigger cli.rs publishing workflow
|
||||
if: |
|
||||
steps.covector.outputs.successfulPublish == 'true' &&
|
||||
contains(steps.covector.outputs.packagesPublished, 'cli.rs')
|
||||
uses: peter-evans/repository-dispatch@v1
|
||||
uses: benc-uk/workflow-dispatch@v1
|
||||
with:
|
||||
token: ${{ secrets.ORG_TAURI_BOT_PAT }}
|
||||
repository: tauri-apps/tauri
|
||||
event-type: publish-clirs
|
||||
workflow: publish-cli-rs.yml
|
||||
|
||||
3
.github/workflows/lint-fmt-core.yml
vendored
3
.github/workflows/lint-fmt-core.yml
vendored
@@ -50,11 +50,10 @@ jobs:
|
||||
clippy:
|
||||
- { args: '', key: 'empty' }
|
||||
- {
|
||||
args: '--features compression,wry,linux-protocol-headers,isolation,custom-protocol,api-all,cli,updater,system-tray,windows7-compat,http-multipart',
|
||||
args: '--features compression,wry,linux-protocol-headers,isolation,custom-protocol,system-tray',
|
||||
key: 'all'
|
||||
}
|
||||
- { args: '--features custom-protocol', key: 'custom-protocol' }
|
||||
- { args: '--features api-all', key: 'api-all' }
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
38
.github/workflows/publish-cli-js.yml
vendored
38
.github/workflows/publish-cli-js.yml
vendored
@@ -30,64 +30,64 @@ jobs:
|
||||
target: x86_64-apple-darwin
|
||||
architecture: x64
|
||||
build: |
|
||||
yarn build:release
|
||||
yarn build:release --features openssl-vendored
|
||||
strip -x *.node
|
||||
- host: windows-latest
|
||||
build: yarn build:release
|
||||
build: yarn build:release --features openssl-vendored
|
||||
target: x86_64-pc-windows-msvc
|
||||
architecture: x64
|
||||
- host: windows-latest
|
||||
build: yarn build:release --target i686-pc-windows-msvc
|
||||
build: yarn build:release --features openssl-vendored --target i686-pc-windows-msvc
|
||||
target: i686-pc-windows-msvc
|
||||
architecture: x64
|
||||
- host: ubuntu-18.04
|
||||
- host: ubuntu-20.04
|
||||
target: x86_64-unknown-linux-gnu
|
||||
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian
|
||||
build: |
|
||||
cd tooling/cli/node
|
||||
yarn build:release --target x86_64-unknown-linux-gnu
|
||||
yarn build:release --features openssl-vendored --target x86_64-unknown-linux-gnu
|
||||
strip *.node
|
||||
- host: ubuntu-18.04
|
||||
- host: ubuntu-20.04
|
||||
target: x86_64-unknown-linux-musl
|
||||
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine
|
||||
build: |
|
||||
cd tooling/cli/node
|
||||
yarn build:release
|
||||
yarn build:release --features openssl-vendored
|
||||
strip *.node
|
||||
- host: macos-latest
|
||||
target: aarch64-apple-darwin
|
||||
build: |
|
||||
yarn build:release --target=aarch64-apple-darwin
|
||||
yarn build:release --features openssl-vendored --target=aarch64-apple-darwin
|
||||
strip -x *.node
|
||||
- host: ubuntu-18.04
|
||||
- host: ubuntu-20.04
|
||||
target: aarch64-unknown-linux-gnu
|
||||
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian-aarch64
|
||||
build: |
|
||||
cd tooling/cli/node
|
||||
yarn build:release --target aarch64-unknown-linux-gnu
|
||||
yarn build:release --features openssl-vendored --target aarch64-unknown-linux-gnu
|
||||
aarch64-unknown-linux-gnu-strip *.node
|
||||
- host: ubuntu-18.04
|
||||
- host: ubuntu-20.04
|
||||
architecture: x64
|
||||
target: armv7-unknown-linux-gnueabihf
|
||||
setup: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf -y
|
||||
build: |
|
||||
yarn build:release --target=armv7-unknown-linux-gnueabihf
|
||||
yarn build:release --features openssl-vendored --target=armv7-unknown-linux-gnueabihf
|
||||
arm-linux-gnueabihf-strip *.node
|
||||
- host: ubuntu-18.04
|
||||
- host: ubuntu-20.04
|
||||
architecture: x64
|
||||
target: aarch64-unknown-linux-musl
|
||||
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine
|
||||
build: |
|
||||
cd tooling/cli/node
|
||||
rustup target add aarch64-unknown-linux-musl
|
||||
yarn build:release --target aarch64-unknown-linux-musl
|
||||
yarn build:release --features openssl-vendored --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:release --target aarch64-pc-windows-msvc
|
||||
# build: yarn build:release --features openssl-vendored --target aarch64-pc-windows-msvc
|
||||
name: stable - ${{ matrix.settings.target }} - node@16
|
||||
runs-on: ${{ matrix.settings.host }}
|
||||
steps:
|
||||
@@ -179,7 +179,7 @@ jobs:
|
||||
# freebsd-version
|
||||
# cd ./tooling/cli/node/
|
||||
# yarn install --ignore-scripts --frozen-lockfile --registry https://registry.npmjs.org --network-timeout 300000
|
||||
# yarn build:release
|
||||
# yarn build:release --features openssl-vendored
|
||||
# strip -x *.node
|
||||
# rm -rf node_modules
|
||||
# rm -rf ../target
|
||||
@@ -299,7 +299,7 @@ jobs:
|
||||
shell: bash
|
||||
- name: Install system dependencies
|
||||
run: |
|
||||
apk add openssl-dev musl-dev glib-dev cairo-dev pkgconfig gdk-pixbuf-dev webkit2gtk-dev curl libappindicator-dev gtk+3.0-dev
|
||||
apk add openssl-dev musl-dev glib-dev cairo-dev pkgconfig gdk-pixbuf-dev webkit2gtk-dev curl gtk+3.0-dev
|
||||
- name: Setup and run tests
|
||||
run: |
|
||||
yarn tauri --help
|
||||
@@ -355,7 +355,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 webkit2gtk-4.1 libayatana-appindicator3-dev
|
||||
DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get install --no-install-recommends -y unzip libayatana-appindicator3-dev
|
||||
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
|
||||
@@ -401,4 +401,4 @@ jobs:
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
NPM_TOKEN: ${{ secrets.ORG_NPM_TOKEN }}
|
||||
RELEASE_ID: ${{ github.event.client_payload.releaseId || github.event.inputs.releaseId }}
|
||||
RELEASE_ID: ${{ github.event.client_payload.releaseId || inputs.releaseId }}
|
||||
|
||||
7
.github/workflows/publish-cli-rs.yml
vendored
7
.github/workflows/publish-cli-rs.yml
vendored
@@ -18,7 +18,7 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
config:
|
||||
- os: ubuntu-18.04
|
||||
- os: ubuntu-20.04
|
||||
rust_target: x86_64-unknown-linux-gnu
|
||||
ext: ''
|
||||
- os: macos-latest
|
||||
@@ -32,14 +32,13 @@ jobs:
|
||||
ext: '.exe'
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: 'Setup Rust'
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
targets: ${{ matrix.config.rust_target }}
|
||||
|
||||
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
key: ${{ matrix.config.rust_target }}
|
||||
|
||||
5
.github/workflows/test-android.yml
vendored
5
.github/workflows/test-android.yml
vendored
@@ -2,7 +2,7 @@
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
name: test mobile
|
||||
name: test android
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
@@ -14,6 +14,7 @@ on:
|
||||
- '!tooling/cli/src/mobile/ios/**'
|
||||
- 'core/tauri-build/src/mobile.rs'
|
||||
- 'core/tauri/mobile/android/**'
|
||||
- 'core/tauri/mobile/android-codegen/**'
|
||||
workflow_dispatch:
|
||||
|
||||
concurrency:
|
||||
@@ -56,7 +57,7 @@ jobs:
|
||||
- uses: actions/setup-java@v3
|
||||
with:
|
||||
distribution: temurin
|
||||
java-version: 11
|
||||
java-version: 17
|
||||
cache: gradle
|
||||
|
||||
- name: Setup NDK
|
||||
|
||||
16
.github/workflows/test-core.yml
vendored
16
.github/workflows/test-core.yml
vendored
@@ -34,35 +34,35 @@ jobs:
|
||||
- {
|
||||
target: x86_64-pc-windows-msvc,
|
||||
os: windows-latest,
|
||||
toolchain: '1.64.0',
|
||||
toolchain: '1.65.0',
|
||||
cross: false,
|
||||
command: 'test'
|
||||
}
|
||||
- {
|
||||
target: x86_64-unknown-linux-gnu,
|
||||
os: ubuntu-latest,
|
||||
toolchain: '1.64.0',
|
||||
toolchain: '1.65.0',
|
||||
cross: false,
|
||||
command: 'test'
|
||||
}
|
||||
- {
|
||||
target: x86_64-apple-darwin,
|
||||
os: macos-latest,
|
||||
toolchain: '1.64.0',
|
||||
toolchain: '1.65.0',
|
||||
cross: false,
|
||||
command: 'test'
|
||||
}
|
||||
- {
|
||||
target: aarch64-apple-ios,
|
||||
os: macos-latest,
|
||||
toolchain: '1.64.0',
|
||||
toolchain: '1.65.0',
|
||||
cross: false,
|
||||
command: 'build'
|
||||
}
|
||||
- {
|
||||
target: aarch64-linux-android,
|
||||
os: ubuntu-latest,
|
||||
toolchain: '1.64.0',
|
||||
toolchain: '1.65.0',
|
||||
cross: true,
|
||||
command: 'build'
|
||||
}
|
||||
@@ -72,11 +72,7 @@ jobs:
|
||||
key: no-default
|
||||
}
|
||||
- {
|
||||
args: --features api-all,
|
||||
key: api-all
|
||||
}
|
||||
- {
|
||||
args: --features compression,wry,linux-protocol-headers,isolation,custom-protocol,api-all,cli,updater,system-tray,windows7-compat,http-multipart,
|
||||
args: --features compression,wry,linux-protocol-headers,isolation,custom-protocol,system-tray,
|
||||
key: all
|
||||
}
|
||||
|
||||
|
||||
@@ -10,4 +10,4 @@ dist
|
||||
/tooling/cli/node
|
||||
/tooling/cli/schema.json
|
||||
/tooling/api/docs/js-api.json
|
||||
/core/config-schema/schema.json
|
||||
/core/tauri-config-schema/schema.json
|
||||
|
||||
@@ -19,10 +19,10 @@ let url = null
|
||||
switch (kind) {
|
||||
case 'cargo':
|
||||
url = `https://crates.io/api/v1/crates/${packageName}`
|
||||
break;
|
||||
break
|
||||
case 'npm':
|
||||
url = `https://registry.npmjs.org/${packageName}`
|
||||
break;
|
||||
break
|
||||
default:
|
||||
throw new Error('unexpected kind ' + kind)
|
||||
}
|
||||
@@ -30,7 +30,7 @@ switch (kind) {
|
||||
const options = {
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
'Accept': 'application/json',
|
||||
Accept: 'application/json',
|
||||
'User-Agent': 'tauri (https://github.com/tauri-apps/tauri)'
|
||||
}
|
||||
}
|
||||
@@ -44,10 +44,12 @@ https.get(url, options, (response) => {
|
||||
response.on('end', function () {
|
||||
const data = JSON.parse(chunks.join(''))
|
||||
if (kind === 'cargo') {
|
||||
const versions = data.versions.filter(v => v.num.startsWith(target))
|
||||
const versions = data.versions.filter((v) => v.num.startsWith(target))
|
||||
console.log(versions.length ? versions[0].num : '0.0.0')
|
||||
} else if (kind === 'npm') {
|
||||
const versions = Object.keys(data.versions).filter(v => v.startsWith(target))
|
||||
const versions = Object.keys(data.versions).filter((v) =>
|
||||
v.startsWith(target)
|
||||
)
|
||||
console.log(versions[versions.length - 1] || '0.0.0')
|
||||
}
|
||||
})
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
declare -a examples=("api" "sidecar" "updater" "resources" "tauri-dynamic-lib" "workspace")
|
||||
declare -a examples=("api" "sidecar" "resources" "tauri-dynamic-lib" "workspace")
|
||||
declare -a tooling=("bench" "cli" "webdriver")
|
||||
|
||||
for example in "${examples[@]}"
|
||||
|
||||
@@ -8,21 +8,19 @@ members = [
|
||||
"core/tauri-utils",
|
||||
"core/tauri-build",
|
||||
"core/tauri-codegen",
|
||||
"core/config-schema",
|
||||
"core/tauri-config-schema",
|
||||
|
||||
# integration tests
|
||||
"core/tests/restart",
|
||||
"core/tests/app-updater"
|
||||
]
|
||||
|
||||
exclude = [
|
||||
# examples that can be compiled with the tauri CLI
|
||||
"examples/api/src-tauri",
|
||||
"examples/updater/src-tauri",
|
||||
"examples/resources/src-tauri",
|
||||
"examples/sidecar/src-tauri",
|
||||
"examples/web/core",
|
||||
"examples/workspace"
|
||||
"examples/workspace",
|
||||
]
|
||||
|
||||
# default to small, optimized workspace release binaries
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user