Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/dev' into nsis-ensure-webview2…
Browse files Browse the repository at this point in the history
…-version
  • Loading branch information
Legend-Master committed Aug 22, 2024
2 parents 56b46ab + 1add13b commit 039b5c2
Show file tree
Hide file tree
Showing 325 changed files with 14,886 additions and 7,888 deletions.
6 changes: 6 additions & 0 deletions .changes/add-notarize-error.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"tauri-cli": patch:bug
"@tauri-apps/cli": patch:bug
---

Include notarization error output in the error message if it fails.
5 changes: 5 additions & 0 deletions .changes/allow-commands-by-default.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri-build": patch:feat
---

Added `InlinedPlugin::default_permission` to autogenerate the default permission of an inlined plugin.
6 changes: 6 additions & 0 deletions .changes/android-gradle-8-9.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'tauri-cli': 'patch:enhance'
'@tauri-apps/cli': 'patch:enhance'
---

Update gradle to 8.9 and the gradle android plugin to 8.5.1 in the android templates (requires latest Android Studio). This should add support for Java 21 but Java 17 keeps being the recommended version.
6 changes: 6 additions & 0 deletions .changes/android-port-forward-fixes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"tauri-cli": patch:bug
"@tauri-apps/cli": patch:bug
---

Fixes `android dev` port forward failing under some conditions, add better logging and error handling.
5 changes: 5 additions & 0 deletions .changes/append_invoke_initialization_script.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri": patch:enhance
---

Added `Builder::append_invoke_initialization_script`.
7 changes: 7 additions & 0 deletions .changes/avoid-rebuilds.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"tauri": patch:bug
"tauri-build": patch:bug
"tauri-utils": patch:bug
---

Prevent build script from rerunning unnecessarily by only writing files when the content changes.
6 changes: 6 additions & 0 deletions .changes/brotli-6.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"tauri-codegen": patch:deps
"tauri-utils": patch:deps
---

Updated brotli to v6.
8 changes: 8 additions & 0 deletions .changes/bundler-object-custom-sign-command.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"tauri-bundler": patch:feat
"tauri-utils": patch:feat
"@tauri-apps/cli": patch:feat
"tauri-cli": patch:feat
---

Custom sign command with object notation for whitespaces in the command path and arguments.
6 changes: 6 additions & 0 deletions .changes/change-default-export-option-debugging.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"tauri-cli": patch:changes
"@tauri-apps/cli": patch:changes
---

Change iOS template default export method from deprecated `development` to `debugging`.
5 changes: 5 additions & 0 deletions .changes/change-pr-10498.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri-bundler": patch:bug
---

Correct nsis pre-uninstall hook to post-uninstall
5 changes: 5 additions & 0 deletions .changes/change-pr-10619.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri-bundler": "patch:bug"
---

Fixed an issue that caused the bundler to not be able to download the AppImage tooling when building for ARM 32bit.
6 changes: 6 additions & 0 deletions .changes/change-pr-10676.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@tauri-apps/cli": 'patch:bug'
"tauri-cli": 'patch:bug'
---

Change plugin template call to `register_ios_plugin` params to snake case
6 changes: 6 additions & 0 deletions .changes/check-android-lib-symbols.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"tauri-cli": patch:enhance
"@tauri-apps/cli": patch:enhance
---

Check if the Rust library contains the symbols required at runtime for Android and iOS apps.
6 changes: 6 additions & 0 deletions .changes/cli-add-no-fmt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"tauri-cli": "patch:enhance"
"@tauri-apps/cli": "patch:enhance"
---

Added `--no-fmt` option to the `add` command to skip formatting the code after applying changes.
6 changes: 6 additions & 0 deletions .changes/cli-android-template-androidtv.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"tauri-cli": "patch:feat"
"@tauri-apps/cli": "patch:feat"
---

Add necessary options to `AndroidManifest.xml` in android template to support AndroidTV.
6 changes: 6 additions & 0 deletions .changes/cli-make-app-dir-consistent.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"tauri-cli": patch:bug
"@tauri-apps/cli": patch:bug
---

CLI commands will now consistently search for the `app_dir` (the directory containing `package.json`) from the current working directory of the command invocation.
6 changes: 6 additions & 0 deletions .changes/cli-mobile-checks.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"tauri-cli": patch:enhance
"@tauri-apps/cli": patch:enhance
---

Check if identifier or lib name changed when running mobile commands.
5 changes: 5 additions & 0 deletions .changes/cli-signtool-path.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri-bundler": patch:feat
---

`TAURI_WINDOWS_SIGNTOOL_PATH` environment variable for specifying the path to signtool.exe.
111 changes: 34 additions & 77 deletions .changes/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,13 @@
"pkgManagers": {
"rust": {
"version": true,
"getPublishedVersion": "node ../../.scripts/covector/package-latest-version.js cargo ${ pkgFile.pkg.package.name } ${ pkgFile.pkg.package.version }",
"getPublishedVersion": {
"use": "fetch:check",
"options": {
"url": "https://crates.io/api/v1/crates/${ pkg.pkgFile.pkg.package.name }/${ pkg.pkgFile.version }"
}
},
"prepublish": [
"sudo apt-get update",
"sudo apt-get install -y webkit2gtk-4.1 libayatana-appindicator3-dev",
"cargo install cargo-audit --features=fix",
{
"command": "cargo generate-lockfile",
Expand All @@ -43,11 +46,6 @@
}
],
"publish": [
"sleep 15s",
{
"command": "cargo package --no-verify",
"dryRunCommand": true
},
{
"command": "echo '<details>\n<summary><em><h4>Cargo Publish</h4></em></summary>\n\n```'",
"dryRunCommand": true,
Expand All @@ -64,33 +62,34 @@
"pipe": true
}
],
"postpublish": [
"git tag ${ pkg.pkg }-v${ pkgFile.versionMajor } -f",
"git tag ${ pkg.pkg }-v${ pkgFile.versionMajor }.${ pkgFile.versionMinor } -f",
"git push --tags -f"
],
"assets": [
{
"path": "./target/package/${ pkg.pkg }-${ pkgFile.version }.crate",
"name": "${ pkg.pkg }-${ pkgFile.version }.crate"
}
]
"postpublish": {
"use": "fetch:check",
"options": {
"url": "https://crates.io/api/v1/crates/${ pkg.pkgFile.pkg.package.name }/${ pkg.pkgFile.version }"
},
"retries": [5000, 5000, 5000]
}
},
"javascript": {
"version": true,
"getPublishedVersion": "node ../../.scripts/covector/package-latest-version.js npm ${ pkgFile.pkg.name } ${ pkgFile.pkg.version }",
"getPublishedVersion": {
"use": "fetch:check",
"options": {
"url": "https://registry.npmjs.com/${ pkg.pkgFile.pkg.name }/${ pkg.pkgFile.version }"
}
},
"prepublish": [
{
"command": "yarn",
"command": "pnpm i --frozen-lockfile",
"dryRunCommand": true
},
{
"command": "echo '<details>\n<summary><em><h4>Yarn Audit</h4></em></summary>\n\n```'",
"command": "echo '<details>\n<summary><em><h4>PNPM Audit</h4></em></summary>\n\n```'",
"dryRunCommand": true,
"pipe": true
},
{
"command": "yarn audit",
"command": "pnpm audit",
"dryRunCommand": true,
"runFromRoot": true,
"pipe": true
Expand All @@ -99,22 +98,17 @@
"command": "echo '```\n\n</details>\n'",
"dryRunCommand": true,
"pipe": true
},
{
"command": "npm pack",
"dryRunCommand": true
}
],
"publish": [
"sleep 15s",
{
"command": "echo '<details>\n<summary><em><h4>Yarn Publish</h4></em></summary>\n\n```'",
"command": "echo '<details>\n<summary><em><h4>PNPM Publish</h4></em></summary>\n\n```'",
"dryRunCommand": true,
"pipe": true
},
{
"command": "yarn publish --access public --loglevel silly --tag next",
"dryRunCommand": "npm publish --dry-run --access public",
"command": "pnpm publish --access public --loglevel silly --tag next --no-git-checks",
"dryRunCommand": "npm publish --dry-run --access public --no-git-checks",
"pipe": true
},
{
Expand All @@ -123,57 +117,27 @@
"pipe": true
}
],
"postpublish": [
"git tag ${ pkg.pkg }-v${ pkgFile.versionMajor } -f",
"git tag ${ pkg.pkg }-v${ pkgFile.versionMajor }.${ pkgFile.versionMinor } -f",
"git push --tags -f"
]
"postpublish": {
"use": "fetch:check",
"options": {
"url": "https://registry.npmjs.com/${ pkg.pkgFile.pkg.name }/${ pkg.pkgFile.version }"
},
"retries": [5000, 5000, 5000]
}
}
},
"packages": {
"@tauri-apps/api": {
"path": "./tooling/api",
"manager": "javascript",
"assets": [
{
"path": "./tooling/api/dist/tauri-apps-api-${ pkgFile.version }.tgz",
"name": "tauri-apps-api-${ pkgFile.version }.tgz"
}
],
"prepublish": [
{
"command": "yarn",
"dryRunCommand": true
},
{
"command": "echo '<details>\n<summary><em><h4>Yarn Audit</h4></em></summary>\n\n```'",
"dryRunCommand": true,
"pipe": true
},
{
"command": "yarn audit",
"dryRunCommand": true,
"runFromRoot": true,
"pipe": true
},
{
"command": "echo '```\n\n</details>\n'",
"dryRunCommand": true,
"pipe": true
},
{
"command": "yarn npm-pack",
"dryRunCommand": true
}
],
"publish": [
{
"command": "echo '<details>\n<summary><em><h4>Yarn Publish</h4></em></summary>\n\n```'",
"command": "echo '<details>\n<summary><em><h4>PNPM Publish</h4></em></summary>\n\n```'",
"dryRunCommand": true,
"pipe": true
},
{
"command": "yarn npm-publish",
"command": "pnpm npm-publish",
"dryRunCommand": true,
"pipe": true
},
Expand Down Expand Up @@ -253,7 +217,6 @@
"@tauri-apps/cli": {
"path": "./tooling/cli/node",
"manager": "javascript",
"getPublishedVersion": "node ../../../.scripts/covector/package-latest-version.js npm ${ pkgFile.pkg.name } ${ pkgFile.pkg.version }",
"dependencies": ["tauri-cli"],
"postversion": [
"node ../../../.scripts/covector/sync-cli-metadata.js ${ pkg.pkg } ${ release.type }",
Expand All @@ -270,12 +233,6 @@
"postversion": [
"cargo check",
"cargo build --manifest-path ../../core/tauri-config-schema/Cargo.toml"
],
"assets": [
{
"path": "${ pkg.path }/target/package/tauri-cli-${ pkgFile.version }.crate",
"name": "${ pkg.pkg }-${ pkgFile.version }.crate"
}
]
},
"tauri-driver": {
Expand Down
5 changes: 5 additions & 0 deletions .changes/enhance-permission-error-message.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri": patch:enhance
---

Include more information in the IPC permission error message.
7 changes: 7 additions & 0 deletions .changes/feat-remove-target-sdk.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"tauri": patch:changes
"@tauri-apps/cli": patch:changes
"tauri-cli": patch:changes
---

Remove targetSdk from gradle files
5 changes: 5 additions & 0 deletions .changes/fix-android-remove-current-script.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri-utils": patch:bug
---

Properly remove isolation script on Android.
6 changes: 6 additions & 0 deletions .changes/fix-cli-add-plugin-version.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'tauri-cli': 'patch:bug'
'@tauri-apps/cli': 'patch:bug'
---

Changed the `add` command to use a version requirement that matches the CLI's stable and prerelease numbers.
6 changes: 6 additions & 0 deletions .changes/fix-cli-dev-server-android.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"tauri-cli": patch:bug
"@tauri-apps/cli": patch:bug
---

Fixes `android dev` not working when using the builtin dev server.
5 changes: 5 additions & 0 deletions .changes/fix-cli-panic-bun.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@tauri-apps/cli": patch:bug
---

Exit with code 1 if a panic occurs when running the CLI with `bun`.
5 changes: 5 additions & 0 deletions .changes/fix-colon-in-file-path.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri-utils": "patch:bug"
---

Fixed an issue where permission files will be generated with ':' in the file path.
6 changes: 6 additions & 0 deletions .changes/fix-config-override.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"tauri-cli": patch:bug
"@tauri-apps/cli": patch:bug
---

Fixes `[android|ios] build --config <config>` failing to resolve.
5 changes: 5 additions & 0 deletions .changes/fix-export-default-permissions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri-build": patch:bug
---

Correctly export `DefaultPermissionsRule`
6 changes: 6 additions & 0 deletions .changes/fix-ios-build-older-swift.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'tauri-cli': 'patch:bug'
'@tauri-apps/cli': 'patch:bug'
---

Fix Swift plugin compilation on older versions.
6 changes: 6 additions & 0 deletions .changes/fix-ios-bun-support.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"tauri-cli": patch:bug
"@tauri-apps/cli": patch:bug
---

Fixes running `ios dev` and `ios build` using `bun`.
5 changes: 5 additions & 0 deletions .changes/fix-ipc-fallback.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri": patch:bug
---

Fix IPC fallback (postMessage implementation when custom protocol fails) hanging when sending responses.
Loading

0 comments on commit 039b5c2

Please sign in to comment.