From 11b5e9c5250e9fd00e77aae653f04fced664887b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 2 Oct 2024 07:36:42 -0300 Subject: [PATCH] apply version updates (#11175) Co-authored-by: lucasfernog --- .changes/pre.json | 7 +++++++ Cargo.lock | 8 ++++---- crates/tauri-bundler/CHANGELOG.md | 10 ++++++++++ crates/tauri-bundler/Cargo.toml | 4 ++-- crates/tauri-cli/CHANGELOG.md | 17 +++++++++++++++++ crates/tauri-cli/Cargo.toml | 6 +++--- crates/tauri-cli/config.schema.json | 2 +- crates/tauri-cli/metadata-v2.json | 4 ++-- crates/tauri-macos-sign/CHANGELOG.md | 6 ++++++ crates/tauri-macos-sign/Cargo.toml | 2 +- .../schemas/config.schema.json | 2 +- crates/tauri/CHANGELOG.md | 11 +++++++++++ crates/tauri/Cargo.toml | 2 +- packages/cli/CHANGELOG.md | 16 ++++++++++++++++ packages/cli/package.json | 2 +- 15 files changed, 83 insertions(+), 16 deletions(-) diff --git a/.changes/pre.json b/.changes/pre.json index a95205d71..3cbb12d4b 100644 --- a/.changes/pre.json +++ b/.changes/pre.json @@ -54,9 +54,11 @@ ".changes/core-unmanage.md", ".changes/crash-closing-window-multiple-times.md", ".changes/custom-invoke-system-invoke-key.md", + ".changes/custom-protocol-label.md", ".changes/dev-url-localhost-mobile.md", ".changes/do-not-exit-on-log-fail.md", ".changes/embed-plist-no-unit-val.md", + ".changes/enhance-android-port-forwarding.md", ".changes/enhance-ios-lib-validation.md", ".changes/enhance-permission-error-message.md", ".changes/ensure-gradlew-unix.md", @@ -77,6 +79,7 @@ ".changes/fix-dev-server-proxy-url.md", ".changes/fix-export-default-permissions.md", ".changes/fix-identifier-config-required.md", + ".changes/fix-ios-app-export.md", ".changes/fix-ios-automatic-signing-ci.md", ".changes/fix-ios-build-older-swift.md", ".changes/fix-ios-build-simulator.md", @@ -97,6 +100,7 @@ ".changes/fix-v1-frontend-migration.md", ".changes/fix-xcodebuild-arch.md", ".changes/get-window-async.md", + ".changes/ide-commands-verbosity.md", ".changes/improve-cli-init.md", ".changes/infer-signing-identity.md", ".changes/inject-mobile-resources.md", @@ -140,10 +144,12 @@ ".changes/resources-map-becoming-dirs.md", ".changes/resources-path-deb-rpm.md", ".changes/restart-handle-binary-name-change.md", + ".changes/revert-10969-consistent-update-code.md", ".changes/rust-permission-state.md", ".changes/safe-file-path-serialize.md", ".changes/safe-path-buf-from-str.md", ".changes/scope-object-match.md", + ".changes/self-signed-cert.md", ".changes/serialize-array-buffer.md", ".changes/set-theme-api.md", ".changes/set-theme.md", @@ -157,6 +163,7 @@ ".changes/tauri-cli-generate-upgrade-code.md", ".changes/tauri-driver-1.x.md", ".changes/tray-double-click.md", + ".changes/trunk-ios-dev.md", ".changes/universal-bin-build-fails.md", ".changes/update-android-plugin-template.md", ".changes/update-docs-icon-path.md", diff --git a/Cargo.lock b/Cargo.lock index 6837b17c2..056f05ef3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -8684,7 +8684,7 @@ checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1" [[package]] name = "tauri" -version = "2.0.0-rc.16" +version = "2.0.0-rc.17" dependencies = [ "anyhow", "bytes", @@ -8766,7 +8766,7 @@ dependencies = [ [[package]] name = "tauri-bundler" -version = "2.0.1-rc.14" +version = "2.0.1-rc.15" dependencies = [ "anyhow", "ar", @@ -8810,7 +8810,7 @@ dependencies = [ [[package]] name = "tauri-cli" -version = "2.0.0-rc.17" +version = "2.0.0-rc.18" dependencies = [ "anyhow", "ar", @@ -8964,7 +8964,7 @@ dependencies = [ [[package]] name = "tauri-macos-sign" -version = "0.1.1-rc.0" +version = "0.1.1-rc.1" dependencies = [ "anyhow", "apple-codesign", diff --git a/crates/tauri-bundler/CHANGELOG.md b/crates/tauri-bundler/CHANGELOG.md index caa55810f..723688d47 100644 --- a/crates/tauri-bundler/CHANGELOG.md +++ b/crates/tauri-bundler/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## \[2.0.1-rc.15] + +### Bug Fixes + +- [`e10fdb786`](https://www.github.com/tauri-apps/tauri/commit/e10fdb786cc3e23b957238835881c41fa6acf8d4) ([#11182](https://www.github.com/tauri-apps/tauri/pull/11182) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Revert recent change that generated MSI installers with the same product code which prevented updates to happen, it is now ranomized like it previously was. + +### Dependencies + +- Upgraded to `tauri-macos-sign@0.1.1-rc.1` + ## \[2.0.1-rc.14] ### New Features diff --git a/crates/tauri-bundler/Cargo.toml b/crates/tauri-bundler/Cargo.toml index e39c72d5e..dafedb29d 100644 --- a/crates/tauri-bundler/Cargo.toml +++ b/crates/tauri-bundler/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-bundler" -version = "2.0.1-rc.14" +version = "2.0.1-rc.15" authors = [ "George Burton ", "Tauri Programme within The Commons Conservancy", @@ -59,7 +59,7 @@ features = ["Win32_System_SystemInformation", "Win32_System_Diagnostics_Debug"] icns = { package = "tauri-icns", version = "0.1" } time = { version = "0.3", features = ["formatting"] } plist = "1" -tauri-macos-sign = { version = "0.1.1-rc.0", path = "../tauri-macos-sign" } +tauri-macos-sign = { version = "0.1.1-rc.1", path = "../tauri-macos-sign" } [target."cfg(target_os = \"linux\")".dependencies] heck = "0.5" diff --git a/crates/tauri-cli/CHANGELOG.md b/crates/tauri-cli/CHANGELOG.md index 130dce725..f71aba2d7 100644 --- a/crates/tauri-cli/CHANGELOG.md +++ b/crates/tauri-cli/CHANGELOG.md @@ -1,5 +1,22 @@ # Changelog +## \[2.0.0-rc.18] + +### Enhancements + +- [`a08e6ffa6`](https://www.github.com/tauri-apps/tauri/commit/a08e6ffa6fe499553be3c4c620726d6031cd6dd3) ([#11185](https://www.github.com/tauri-apps/tauri/pull/11185) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Enhance port forwarding on `android dev` to be more resilient and tolerate delays when booting up devices. +- [`6cfe7edf6`](https://www.github.com/tauri-apps/tauri/commit/6cfe7edf63636fdf66c429efdeb7bc9a0f404e9f) ([#11186](https://www.github.com/tauri-apps/tauri/pull/11186) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Retain logger verbosity on the `android-studio-script` and `xcode-script` commands. +- [`60a5aea53`](https://www.github.com/tauri-apps/tauri/commit/60a5aea53db02ae6af325812ab97555f2c013d70) ([#11181](https://www.github.com/tauri-apps/tauri/pull/11181) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Set the `TRUNK_SERVE_ADDRESS` environment variable when running on iOS physical devices to support Trunk. + +### Bug Fixes + +- [`f5d61822b`](https://www.github.com/tauri-apps/tauri/commit/f5d61822bf5988827776dd58bed75c19364e86bd) ([#11184](https://www.github.com/tauri-apps/tauri/pull/11184) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Fix iOS application not including the provided capabilities (entitlements). + +### Dependencies + +- Upgraded to `tauri-bundler@2.0.1-rc.15` +- Upgraded to `tauri-macos-sign@0.1.1-rc.1` + ## \[2.0.0-rc.17] ### New Features diff --git a/crates/tauri-cli/Cargo.toml b/crates/tauri-cli/Cargo.toml index 52bf12cef..839db1caa 100644 --- a/crates/tauri-cli/Cargo.toml +++ b/crates/tauri-cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-cli" -version = "2.0.0-rc.17" +version = "2.0.0-rc.18" authors = ["Tauri Programme within The Commons Conservancy"] edition = "2021" rust-version = "1.71" @@ -47,7 +47,7 @@ sublime_fuzzy = "0.7" clap_complete = "4" clap = { version = "4.5", features = ["derive", "env"] } anyhow = "1.0" -tauri-bundler = { version = "2.0.1-rc.14", default-features = false, path = "../tauri-bundler" } +tauri-bundler = { version = "2.0.1-rc.15", default-features = false, path = "../tauri-bundler" } colored = "2.1" serde = { version = "1.0", features = ["derive"] } serde_json = { version = "1.0", features = ["preserve_order"] } @@ -131,7 +131,7 @@ libc = "0.2" [target."cfg(target_os = \"macos\")".dependencies] plist = "1" -tauri-macos-sign = { version = "0.1.1-rc.0", path = "../tauri-macos-sign" } +tauri-macos-sign = { version = "0.1.1-rc.1", path = "../tauri-macos-sign" } object = { version = "0.36", default-features = false, features = [ "macho", "read_core", diff --git a/crates/tauri-cli/config.schema.json b/crates/tauri-cli/config.schema.json index 43ce4731d..1f1a05884 100644 --- a/crates/tauri-cli/config.schema.json +++ b/crates/tauri-cli/config.schema.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", - "$id": "https://schema.tauri.app/config/2.0.0-rc.16", + "$id": "https://schema.tauri.app/config/2.0.0-rc.17", "title": "Config", "description": "The Tauri configuration object.\n It is read from a file where you can define your frontend assets,\n configure the bundler and define a tray icon.\n\n The configuration file is generated by the\n [`tauri init`](https://v2.tauri.app/reference/cli/#init) command that lives in\n your Tauri application source directory (src-tauri).\n\n Once generated, you may modify it at will to customize your Tauri application.\n\n ## File Formats\n\n By default, the configuration is defined as a JSON file named `tauri.conf.json`.\n\n Tauri also supports JSON5 and TOML files via the `config-json5` and `config-toml` Cargo features, respectively.\n The JSON5 file name must be either `tauri.conf.json` or `tauri.conf.json5`.\n The TOML file name is `Tauri.toml`.\n\n ## Platform-Specific Configuration\n\n In addition to the default configuration file, Tauri can\n read a platform-specific configuration from `tauri.linux.conf.json`,\n `tauri.windows.conf.json`, `tauri.macos.conf.json`, `tauri.android.conf.json` and `tauri.ios.conf.json`\n (or `Tauri.linux.toml`, `Tauri.windows.toml`, `Tauri.macos.toml`, `Tauri.android.toml` and `Tauri.ios.toml` if the `Tauri.toml` format is used),\n which gets merged with the main configuration object.\n\n ## Configuration Structure\n\n The configuration is composed of the following objects:\n\n - [`app`](#appconfig): The Tauri configuration\n - [`build`](#buildconfig): The build configuration\n - [`bundle`](#bundleconfig): The bundle configurations\n - [`plugins`](#pluginconfig): The plugins configuration\n\n Example tauri.config.json file:\n\n ```json\n {\n \"productName\": \"tauri-app\",\n \"version\": \"0.1.0\",\n \"build\": {\n \"beforeBuildCommand\": \"\",\n \"beforeDevCommand\": \"\",\n \"devUrl\": \"../dist\",\n \"frontendDist\": \"../dist\"\n },\n \"app\": {\n \"security\": {\n \"csp\": null\n },\n \"windows\": [\n {\n \"fullscreen\": false,\n \"height\": 600,\n \"resizable\": true,\n \"title\": \"Tauri App\",\n \"width\": 800\n }\n ]\n },\n \"bundle\": {},\n \"plugins\": {}\n }\n ```", "type": "object", diff --git a/crates/tauri-cli/metadata-v2.json b/crates/tauri-cli/metadata-v2.json index d0af93886..5845a0e4c 100644 --- a/crates/tauri-cli/metadata-v2.json +++ b/crates/tauri-cli/metadata-v2.json @@ -1,9 +1,9 @@ { "cli.js": { - "version": "2.0.0-rc.17", + "version": "2.0.0-rc.18", "node": ">= 10.0.0" }, - "tauri": "2.0.0-rc.16", + "tauri": "2.0.0-rc.17", "tauri-build": "2.0.0-rc.13", "tauri-plugin": "2.0.0-rc.13" } diff --git a/crates/tauri-macos-sign/CHANGELOG.md b/crates/tauri-macos-sign/CHANGELOG.md index af7e0fce7..433e33204 100644 --- a/crates/tauri-macos-sign/CHANGELOG.md +++ b/crates/tauri-macos-sign/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## \[0.1.1-rc.1] + +### Enhancements + +- [`f5d61822b`](https://www.github.com/tauri-apps/tauri/commit/f5d61822bf5988827776dd58bed75c19364e86bd) ([#11184](https://www.github.com/tauri-apps/tauri/pull/11184) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Added `Keychain::with_certificate_file` and `certificate::generate_self_signed`. + ## \[0.1.1-rc.0] ### Bug Fixes diff --git a/crates/tauri-macos-sign/Cargo.toml b/crates/tauri-macos-sign/Cargo.toml index 05fa8c055..0a7b3323d 100644 --- a/crates/tauri-macos-sign/Cargo.toml +++ b/crates/tauri-macos-sign/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-macos-sign" -version = "0.1.1-rc.0" +version = "0.1.1-rc.1" authors = ["Tauri Programme within The Commons Conservancy"] license = "Apache-2.0 OR MIT" keywords = ["codesign", "signing", "macos", "ios", "tauri"] diff --git a/crates/tauri-schema-generator/schemas/config.schema.json b/crates/tauri-schema-generator/schemas/config.schema.json index 43ce4731d..1f1a05884 100644 --- a/crates/tauri-schema-generator/schemas/config.schema.json +++ b/crates/tauri-schema-generator/schemas/config.schema.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", - "$id": "https://schema.tauri.app/config/2.0.0-rc.16", + "$id": "https://schema.tauri.app/config/2.0.0-rc.17", "title": "Config", "description": "The Tauri configuration object.\n It is read from a file where you can define your frontend assets,\n configure the bundler and define a tray icon.\n\n The configuration file is generated by the\n [`tauri init`](https://v2.tauri.app/reference/cli/#init) command that lives in\n your Tauri application source directory (src-tauri).\n\n Once generated, you may modify it at will to customize your Tauri application.\n\n ## File Formats\n\n By default, the configuration is defined as a JSON file named `tauri.conf.json`.\n\n Tauri also supports JSON5 and TOML files via the `config-json5` and `config-toml` Cargo features, respectively.\n The JSON5 file name must be either `tauri.conf.json` or `tauri.conf.json5`.\n The TOML file name is `Tauri.toml`.\n\n ## Platform-Specific Configuration\n\n In addition to the default configuration file, Tauri can\n read a platform-specific configuration from `tauri.linux.conf.json`,\n `tauri.windows.conf.json`, `tauri.macos.conf.json`, `tauri.android.conf.json` and `tauri.ios.conf.json`\n (or `Tauri.linux.toml`, `Tauri.windows.toml`, `Tauri.macos.toml`, `Tauri.android.toml` and `Tauri.ios.toml` if the `Tauri.toml` format is used),\n which gets merged with the main configuration object.\n\n ## Configuration Structure\n\n The configuration is composed of the following objects:\n\n - [`app`](#appconfig): The Tauri configuration\n - [`build`](#buildconfig): The build configuration\n - [`bundle`](#bundleconfig): The bundle configurations\n - [`plugins`](#pluginconfig): The plugins configuration\n\n Example tauri.config.json file:\n\n ```json\n {\n \"productName\": \"tauri-app\",\n \"version\": \"0.1.0\",\n \"build\": {\n \"beforeBuildCommand\": \"\",\n \"beforeDevCommand\": \"\",\n \"devUrl\": \"../dist\",\n \"frontendDist\": \"../dist\"\n },\n \"app\": {\n \"security\": {\n \"csp\": null\n },\n \"windows\": [\n {\n \"fullscreen\": false,\n \"height\": 600,\n \"resizable\": true,\n \"title\": \"Tauri App\",\n \"width\": 800\n }\n ]\n },\n \"bundle\": {},\n \"plugins\": {}\n }\n ```", "type": "object", diff --git a/crates/tauri/CHANGELOG.md b/crates/tauri/CHANGELOG.md index ff4bf7a9b..2dd693494 100644 --- a/crates/tauri/CHANGELOG.md +++ b/crates/tauri/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +## \[2.0.0-rc.17] + +### Breaking Changes + +- [`354be36d4`](https://www.github.com/tauri-apps/tauri/commit/354be36d4efed6c0c53639af44607f7b050adfd2) ([#11163](https://www.github.com/tauri-apps/tauri/pull/11163) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Changed uri scheme protocol handler to take `UriSchemeContext` as first argument instead of `AppHandle`. `UriSchemeContext` can be used to access an app handle or the webview label that made the request. The following methods are affected: + + - `tauri::Builder::register_uri_scheme_protocol` + - `tauri::Builder::register_asynchronous_uri_scheme_protocol` + - `tauri::plugin::Builder::register_uri_scheme_protocol` + - `tauri::plugin::Builder::register_asynchronous_uri_scheme_protocol` + ## \[2.0.0-rc.16] ### New Features diff --git a/crates/tauri/Cargo.toml b/crates/tauri/Cargo.toml index 6d2f10d27..4468b69cd 100644 --- a/crates/tauri/Cargo.toml +++ b/crates/tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri" -version = "2.0.0-rc.16" +version = "2.0.0-rc.17" description = "Make tiny, secure apps for all desktop platforms with Tauri" exclude = ["/test", "/.scripts", "CHANGELOG.md", "/target"] readme = "README.md" diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index 591b65f90..254ca0b9c 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,21 @@ # Changelog +## \[2.0.0-rc.18] + +### Enhancements + +- [`a08e6ffa6`](https://www.github.com/tauri-apps/tauri/commit/a08e6ffa6fe499553be3c4c620726d6031cd6dd3) ([#11185](https://www.github.com/tauri-apps/tauri/pull/11185) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Enhance port forwarding on `android dev` to be more resilient and tolerate delays when booting up devices. +- [`6cfe7edf6`](https://www.github.com/tauri-apps/tauri/commit/6cfe7edf63636fdf66c429efdeb7bc9a0f404e9f) ([#11186](https://www.github.com/tauri-apps/tauri/pull/11186) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Retain logger verbosity on the `android-studio-script` and `xcode-script` commands. +- [`60a5aea53`](https://www.github.com/tauri-apps/tauri/commit/60a5aea53db02ae6af325812ab97555f2c013d70) ([#11181](https://www.github.com/tauri-apps/tauri/pull/11181) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Set the `TRUNK_SERVE_ADDRESS` environment variable when running on iOS physical devices to support Trunk. + +### Bug Fixes + +- [`f5d61822b`](https://www.github.com/tauri-apps/tauri/commit/f5d61822bf5988827776dd58bed75c19364e86bd) ([#11184](https://www.github.com/tauri-apps/tauri/pull/11184) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Fix iOS application not including the provided capabilities (entitlements). + +### Dependencies + +- Upgraded to `tauri-cli@2.0.0-rc.18` + ## \[2.0.0-rc.17] ### New Features diff --git a/packages/cli/package.json b/packages/cli/package.json index 7d9f654cf..b0e10c010 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@tauri-apps/cli", - "version": "2.0.0-rc.17", + "version": "2.0.0-rc.18", "description": "Command line interface for building Tauri apps", "funding": { "type": "opencollective",