From 846fadf76f07db7007d412a3d23906bd4148f424 Mon Sep 17 00:00:00 2001 From: lucasfernog Date: Sun, 15 Sep 2024 11:57:27 +0000 Subject: [PATCH 1/2] apply version updates --- .changes/pre.json | 18 ++++++- Cargo.lock | 68 +++++++++++++-------------- crates/tauri-build/CHANGELOG.md | 11 +++++ crates/tauri-build/Cargo.toml | 6 +-- crates/tauri-bundler/CHANGELOG.md | 27 +++++++++++ crates/tauri-bundler/Cargo.toml | 4 +- crates/tauri-cli/CHANGELOG.md | 17 +++++++ crates/tauri-cli/Cargo.toml | 6 +-- crates/tauri-cli/metadata-v2.json | 8 ++-- crates/tauri-codegen/CHANGELOG.md | 6 +++ crates/tauri-codegen/Cargo.toml | 4 +- crates/tauri-macros/CHANGELOG.md | 7 +++ crates/tauri-macros/Cargo.toml | 6 +-- crates/tauri-plugin/CHANGELOG.md | 6 +++ crates/tauri-plugin/Cargo.toml | 4 +- crates/tauri-runtime-wry/CHANGELOG.md | 7 +++ crates/tauri-runtime-wry/Cargo.toml | 6 +-- crates/tauri-runtime/CHANGELOG.md | 6 +++ crates/tauri-runtime/Cargo.toml | 4 +- crates/tauri-utils/CHANGELOG.md | 6 +++ crates/tauri-utils/Cargo.toml | 2 +- crates/tauri/CHANGELOG.md | 28 +++++++++++ crates/tauri/Cargo.toml | 14 +++--- packages/cli/CHANGELOG.md | 11 +++++ packages/cli/package.json | 2 +- 25 files changed, 216 insertions(+), 68 deletions(-) diff --git a/.changes/pre.json b/.changes/pre.json index 4a2ccfe6cb7e..b41d5225c746 100644 --- a/.changes/pre.json +++ b/.changes/pre.json @@ -13,6 +13,8 @@ ".changes/assets-iter-cow.md", ".changes/avoid-rebuilds.md", ".changes/brotli-6.md", + ".changes/bundler-appimage-files.md", + ".changes/bundler-github-mirror-from-env.md", ".changes/bundler-object-custom-sign-command.md", ".changes/capability-id-already-exists.md", ".changes/change-default-export-option-debugging.md", @@ -21,6 +23,7 @@ ".changes/change-pr-10619.md", ".changes/change-pr-10676.md", ".changes/change-pr-10718.md", + ".changes/changelog-path-deb.md", ".changes/check-android-lib-symbols.md", ".changes/cli-add-no-fmt.md", ".changes/cli-android-template-androidtv.md", @@ -30,6 +33,8 @@ ".changes/cli-make-app-dir-consistent.md", ".changes/cli-mobile-checks.md", ".changes/cli-signtool-path.md", + ".changes/cli-template-log-plugin.md", + ".changes/core-default-schema.md", ".changes/core-plugin-namespace.md", ".changes/dev-url-localhost-mobile.md", ".changes/do-not-exit-on-log-fail.md", @@ -40,6 +45,7 @@ ".changes/feat-remove-target-sdk.md", ".changes/fix-adb.md", ".changes/fix-add-plugin-npm-version-req.md", + ".changes/fix-android-proguard.md", ".changes/fix-android-remove-current-script.md", ".changes/fix-cli-add-plugin-version.md", ".changes/fix-cli-dev-server-android.md", @@ -60,6 +66,9 @@ ".changes/fix-isolation-parse-raw-body.md", ".changes/fix-manifest-migration.md", ".changes/fix-missing-codesign-error-macos.md", + ".changes/fix-permission-state-unknown-display.md", + ".changes/fix-request-permissions.md", + ".changes/fix-tauri-build-filedescription.md", ".changes/fix-tauri-plugin-ios-init.md", ".changes/fix-tslib-path.md", ".changes/fix-usage-without-compression.md", @@ -76,6 +85,7 @@ ".changes/ios-invoke-response-null.md", ".changes/isolation-main-frame-origin.md", ".changes/linux-option-gtk-app-id.md", + ".changes/main_binary_name.md", ".changes/maintainer-fallback.md", ".changes/migrate-plugins.md", ".changes/migrate-prevent-duplications.md", @@ -101,10 +111,13 @@ ".changes/resource-dir-android.md", ".changes/resource-dir-ios.md", ".changes/resources-map-becoming-dirs.md", + ".changes/resources-path-deb-rpm.md", + ".changes/restart-handle-binary-name-change.md", ".changes/rust-permission-state.md", ".changes/safe-file-path-serialize.md", ".changes/safe-path-buf-from-str.md", ".changes/serialize-array-buffer.md", + ".changes/store-main-binary-name.md", ".changes/sync-ios-version.md", ".changes/synchronize-config-and-xcode-project.md", ".changes/synchronize-pbxproj-export-options.md", @@ -114,6 +127,7 @@ ".changes/universal-bin-build-fails.md", ".changes/update-android-plugin-template.md", ".changes/update-docs-icon-path.md", + ".changes/update-ios-logging.md", ".changes/update-pbxproj-codesign.md", ".changes/update-tao-wry.md", ".changes/update-trayicon-infer-urlpattern-image.md", @@ -121,6 +135,8 @@ ".changes/utils-autogenerated-command-return-list.md", ".changes/utils-fix-plugin-reference.md", ".changes/v1-migrate-updater.md", - ".changes/v1-migration-improvement.md" + ".changes/v1-migration-improvement.md", + ".changes/wix-consistent-product-code.md", + ".changes/wix-upgrade-code-regression.md" ] } diff --git a/Cargo.lock b/Cargo.lock index dddf9f737bd8..439e72f73896 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -14,7 +14,7 @@ version = "0.1.0" dependencies = [ "insta", "serde_json", - "tauri-utils 2.0.0-rc.10", + "tauri-utils 2.0.0-rc.11", ] [[package]] @@ -7271,7 +7271,7 @@ checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1" [[package]] name = "tauri" -version = "2.0.0-rc.11" +version = "2.0.0-rc.12" dependencies = [ "anyhow", "bytes", @@ -7314,7 +7314,7 @@ dependencies = [ "tauri-macros", "tauri-runtime", "tauri-runtime-wry", - "tauri-utils 2.0.0-rc.10", + "tauri-utils 2.0.0-rc.11", "thiserror", "tokio", "tracing", @@ -7330,7 +7330,7 @@ dependencies = [ [[package]] name = "tauri-build" -version = "2.0.0-rc.10" +version = "2.0.0-rc.11" dependencies = [ "anyhow", "cargo_toml", @@ -7344,7 +7344,7 @@ dependencies = [ "serde", "serde_json", "tauri-codegen", - "tauri-utils 2.0.0-rc.10", + "tauri-utils 2.0.0-rc.11", "tauri-winres", "toml 0.8.19", "walkdir", @@ -7352,7 +7352,7 @@ dependencies = [ [[package]] name = "tauri-bundler" -version = "2.0.1-rc.10" +version = "3.0.0-rc.0" dependencies = [ "anyhow", "ar", @@ -7381,7 +7381,7 @@ dependencies = [ "tar", "tauri-icns", "tauri-macos-sign", - "tauri-utils 2.0.0-rc.10", + "tauri-utils 2.0.0-rc.11", "tempfile", "thiserror", "time", @@ -7396,7 +7396,7 @@ dependencies = [ [[package]] name = "tauri-cli" -version = "2.0.0-rc.12" +version = "2.0.0-rc.13" dependencies = [ "anyhow", "ar", @@ -7460,7 +7460,7 @@ dependencies = [ "tauri-icns", "tauri-macos-sign", "tauri-utils 1.6.0", - "tauri-utils 2.0.0-rc.10", + "tauri-utils 2.0.0-rc.11", "tempfile", "tokio", "toml 0.8.19", @@ -7484,7 +7484,7 @@ dependencies = [ [[package]] name = "tauri-codegen" -version = "2.0.0-rc.10" +version = "2.0.0-rc.11" dependencies = [ "base64 0.22.1", "brotli", @@ -7500,7 +7500,7 @@ dependencies = [ "serde_json", "sha2", "syn 2.0.76", - "tauri-utils 2.0.0-rc.10", + "tauri-utils 2.0.0-rc.11", "thiserror", "time", "url", @@ -7565,19 +7565,21 @@ dependencies = [ [[package]] name = "tauri-macros" -version = "2.0.0-rc.9" +version = "2.0.0-rc.10" dependencies = [ "heck 0.5.0", "proc-macro2", "quote", "syn 2.0.76", "tauri-codegen", - "tauri-utils 2.0.0-rc.10", + "tauri-utils 2.0.0-rc.11", ] [[package]] name = "tauri-plugin" version = "2.0.0-rc.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ad2b0b4fe684059a1b700c1a0d7d51698c05b2257ca64eca2a730d7be2e47c6a" dependencies = [ "anyhow", "glob", @@ -7592,9 +7594,7 @@ dependencies = [ [[package]] name = "tauri-plugin" -version = "2.0.0-rc.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad2b0b4fe684059a1b700c1a0d7d51698c05b2257ca64eca2a730d7be2e47c6a" +version = "2.0.0-rc.11" dependencies = [ "anyhow", "glob", @@ -7602,7 +7602,7 @@ dependencies = [ "schemars", "serde", "serde_json", - "tauri-utils 2.0.0-rc.10 (registry+https://github.com/rust-lang/crates.io-index)", + "tauri-utils 2.0.0-rc.11", "toml 0.8.19", "walkdir", ] @@ -7624,7 +7624,7 @@ dependencies = [ "serde_repr", "swift-rs", "tauri", - "tauri-plugin 2.0.0-rc.10 (registry+https://github.com/rust-lang/crates.io-index)", + "tauri-plugin 2.0.0-rc.10", "thiserror", "time", ] @@ -7636,13 +7636,13 @@ dependencies = [ "log", "serde", "tauri", - "tauri-plugin 2.0.0-rc.10", + "tauri-plugin 2.0.0-rc.11", "thiserror", ] [[package]] name = "tauri-runtime" -version = "2.0.0-rc.10" +version = "2.0.0-rc.11" dependencies = [ "dpi", "gtk", @@ -7651,7 +7651,7 @@ dependencies = [ "raw-window-handle", "serde", "serde_json", - "tauri-utils 2.0.0-rc.10", + "tauri-utils 2.0.0-rc.11", "thiserror", "url", "windows 0.58.0", @@ -7659,7 +7659,7 @@ dependencies = [ [[package]] name = "tauri-runtime-wry" -version = "2.0.0-rc.10" +version = "2.0.0-rc.11" dependencies = [ "cocoa 0.26.0", "gtk", @@ -7671,7 +7671,7 @@ dependencies = [ "softbuffer", "tao", "tauri-runtime", - "tauri-utils 2.0.0-rc.10", + "tauri-utils 2.0.0-rc.11", "tracing", "url", "webkit2gtk", @@ -7687,7 +7687,7 @@ dependencies = [ "schemars", "serde", "serde_json", - "tauri-utils 2.0.0-rc.10", + "tauri-utils 2.0.0-rc.11", "url", ] @@ -7725,18 +7725,16 @@ dependencies = [ [[package]] name = "tauri-utils" version = "2.0.0-rc.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba92ad9cdf7658fefa29a7218dda0acead9400c021bbf9c3f88e98f5e3b9bbab" dependencies = [ - "aes-gcm", - "brotli", "cargo_metadata", "ctor", "dunce", - "getrandom 0.2.15", "glob", "html5ever", "infer 0.16.0", "json-patch 2.0.0", - "json5", "kuchikiki", "log", "memchr", @@ -7750,29 +7748,28 @@ dependencies = [ "serde-untagged", "serde_json", "serde_with", - "serial_test", - "serialize-to-javascript", "swift-rs", "thiserror", "toml 0.8.19", "url", "urlpattern", - "walkdir", ] [[package]] name = "tauri-utils" -version = "2.0.0-rc.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba92ad9cdf7658fefa29a7218dda0acead9400c021bbf9c3f88e98f5e3b9bbab" +version = "2.0.0-rc.11" dependencies = [ + "aes-gcm", + "brotli", "cargo_metadata", "ctor", "dunce", + "getrandom 0.2.15", "glob", "html5ever", "infer 0.16.0", "json-patch 2.0.0", + "json5", "kuchikiki", "log", "memchr", @@ -7786,11 +7783,14 @@ dependencies = [ "serde-untagged", "serde_json", "serde_with", + "serial_test", + "serialize-to-javascript", "swift-rs", "thiserror", "toml 0.8.19", "url", "urlpattern", + "walkdir", ] [[package]] diff --git a/crates/tauri-build/CHANGELOG.md b/crates/tauri-build/CHANGELOG.md index 51a3b001c901..fa4bd4ffd3ec 100644 --- a/crates/tauri-build/CHANGELOG.md +++ b/crates/tauri-build/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +## \[2.0.0-rc.11] + +### Bug Fixes + +- [`9d468774a`](https://www.github.com/tauri-apps/tauri/commit/9d468774a94b5f5210a3012db2e58dbfab4755f4) ([#10975](https://www.github.com/tauri-apps/tauri/pull/10975) by [@FabianLars](https://www.github.com/tauri-apps/tauri/../../FabianLars)) The executable and NSIS installer on Windows will now use the `productName` config for the `FileDescription` property instead of `shortDescription`. + +### Dependencies + +- Upgraded to `tauri-utils@2.0.0-rc.11` +- Upgraded to `tauri-codegen@2.0.0-rc.11` + ## \[2.0.0-rc.10] ### Dependencies diff --git a/crates/tauri-build/Cargo.toml b/crates/tauri-build/Cargo.toml index 59dd155f01fa..e94318db2b1c 100644 --- a/crates/tauri-build/Cargo.toml +++ b/crates/tauri-build/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-build" -version = "2.0.0-rc.10" +version = "2.0.0-rc.11" description = "build time code to pair with https://crates.io/crates/tauri" exclude = ["CHANGELOG.md", "/target"] readme = "README.md" @@ -28,8 +28,8 @@ rustdoc-args = ["--cfg", "docsrs"] [dependencies] anyhow = "1" quote = { version = "1", optional = true } -tauri-codegen = { version = "2.0.0-rc.10", path = "../tauri-codegen", optional = true } -tauri-utils = { version = "2.0.0-rc.10", path = "../tauri-utils", features = [ +tauri-codegen = { version = "2.0.0-rc.11", path = "../tauri-codegen", optional = true } +tauri-utils = { version = "2.0.0-rc.11", path = "../tauri-utils", features = [ "build", "resources", ] } diff --git a/crates/tauri-bundler/CHANGELOG.md b/crates/tauri-bundler/CHANGELOG.md index 0b733abfa7e9..2232aeb65b63 100644 --- a/crates/tauri-bundler/CHANGELOG.md +++ b/crates/tauri-bundler/CHANGELOG.md @@ -1,5 +1,32 @@ # Changelog +## \[3.0.0-rc.0] + +### New Features + +- [`656618225`](https://www.github.com/tauri-apps/tauri/commit/65661822580c31eb10a44be45842e259c598374c) ([#10866](https://www.github.com/tauri-apps/tauri/pull/10866) by [@thep0y](https://www.github.com/tauri-apps/tauri/../../thep0y)) Add `TAURI_BUNDLER_TOOLS_GITHUB_MIRROR` environment variable to specify a GitHub mirror to download files and tools used by tauri bundler. This is designed for areas like Mainland China where GitHub access can be unreliable. +- [`35bd9dd3d`](https://www.github.com/tauri-apps/tauri/commit/35bd9dd3dc3d8972bbc4aa5f4a6c6fa14354e9bf) ([#10977](https://www.github.com/tauri-apps/tauri/pull/10977) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Add `mainBinaryName` config option to set the file name for the main binary. +- [`b13cb208a`](https://www.github.com/tauri-apps/tauri/commit/b13cb208a3b8973a0d8e14bbdc587550982ec1f0) ([#10962](https://www.github.com/tauri-apps/tauri/pull/10962) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Store main binary name in registry for NSIS installer and delete old main binary on updates if the name changes. + +### Enhancements + +- [`a1e88d2b5`](https://www.github.com/tauri-apps/tauri/commit/a1e88d2b57219406332599d8e964e28b9b774068) ([#10969](https://www.github.com/tauri-apps/tauri/pull/10969) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Generate a consistent Product code for MSI installer derived from `identifier` instead of generating random one each build. + +### Bug Fixes + +- [`44d54a071`](https://www.github.com/tauri-apps/tauri/commit/44d54a07107edd38f31be15b49ddca0cacc335e5) ([#11005](https://www.github.com/tauri-apps/tauri/pull/11005) by [@goenning](https://www.github.com/tauri-apps/tauri/../../goenning)) Use appimage files instead of debian files when building appimage +- [`9d468774a`](https://www.github.com/tauri-apps/tauri/commit/9d468774a94b5f5210a3012db2e58dbfab4755f4) ([#10975](https://www.github.com/tauri-apps/tauri/pull/10975) by [@FabianLars](https://www.github.com/tauri-apps/tauri/../../FabianLars)) The executable and NSIS installer on Windows will now use the `productName` config for the `FileDescription` property instead of `shortDescription`. +- [`7eb1171e3`](https://www.github.com/tauri-apps/tauri/commit/7eb1171e3a2eb7bc5085ff28fc8610e5af82bdd5) ([#10967](https://www.github.com/tauri-apps/tauri/pull/10967) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Fix generated `UpgradeCode` for MSI not matching MSI installers created with tauri-bundler@v1. + +### Dependencies + +- Upgraded to `tauri-utils@2.0.0-rc.11` + +### Breaking Changes + +- [`35bd9dd3d`](https://www.github.com/tauri-apps/tauri/commit/35bd9dd3dc3d8972bbc4aa5f4a6c6fa14354e9bf) ([#10977](https://www.github.com/tauri-apps/tauri/pull/10977) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Changed changelog file location in `deb` to `usr/share/doc//changelog.gz` instead of `usr/share/doc//changelog.gz`. For tauri v1 users, the path is unchanged as `product_name` and `main_binary_name` used the same value. +- [`35bd9dd3d`](https://www.github.com/tauri-apps/tauri/commit/35bd9dd3dc3d8972bbc4aa5f4a6c6fa14354e9bf) ([#10977](https://www.github.com/tauri-apps/tauri/pull/10977) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Changed resources directory location in `deb` and `rpm` to `/usr/lib/` instead of `/usr/lib/`. For tauri v1 users, the path is unchanged as `product_name` and `main_binary_name` used the same value. + ## \[2.0.1-rc.10] ### Dependencies diff --git a/crates/tauri-bundler/Cargo.toml b/crates/tauri-bundler/Cargo.toml index 1b3e33235d38..2b000743640b 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.10" +version = "3.0.0-rc.0" authors = [ "George Burton ", "Tauri Programme within The Commons Conservancy", @@ -15,7 +15,7 @@ rust-version = "1.71" exclude = ["CHANGELOG.md", "/target", "rustfmt.toml"] [dependencies] -tauri-utils = { version = "2.0.0-rc.10", path = "../tauri-utils", features = [ +tauri-utils = { version = "2.0.0-rc.11", path = "../tauri-utils", features = [ "resources", ] } image = "0.25.0" diff --git a/crates/tauri-cli/CHANGELOG.md b/crates/tauri-cli/CHANGELOG.md index d8b26b8e5967..ef3c5e7a8be7 100644 --- a/crates/tauri-cli/CHANGELOG.md +++ b/crates/tauri-cli/CHANGELOG.md @@ -1,5 +1,22 @@ # Changelog +## \[2.0.0-rc.13] + +### New Features + +- [`656618225`](https://www.github.com/tauri-apps/tauri/commit/65661822580c31eb10a44be45842e259c598374c) ([#10866](https://www.github.com/tauri-apps/tauri/pull/10866) by [@thep0y](https://www.github.com/tauri-apps/tauri/../../thep0y)) Add `TAURI_BUNDLER_TOOLS_GITHUB_MIRROR` environment variable to specify a GitHub mirror to download files and tools used by tauri bundler. This is designed for areas like Mainland China where GitHub access can be unreliable. +- [`35bd9dd3d`](https://www.github.com/tauri-apps/tauri/commit/35bd9dd3dc3d8972bbc4aa5f4a6c6fa14354e9bf) ([#10977](https://www.github.com/tauri-apps/tauri/pull/10977) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Add `mainBinaryName` config option to set the file name for the main binary. + +### Enhancements + +- [`6c5340f8b`](https://www.github.com/tauri-apps/tauri/commit/6c5340f8b2549dfe89f19656304e65cd670afc92) ([#11004](https://www.github.com/tauri-apps/tauri/pull/11004) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Added the `log` plugin to the app template, which is required to visualize logs on Android and iOS. +- [`3ad2427dc`](https://www.github.com/tauri-apps/tauri/commit/3ad2427dc08f12c61edc726b587acce32eca1080) ([#10961](https://www.github.com/tauri-apps/tauri/pull/10961) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Only render app logs on iOS unless `-vv` is provided to the `ios dev` command. + +### Dependencies + +- Upgraded to `tauri-bundler@3.0.0-rc.0` +- Upgraded to `tauri-utils@2.0.0-rc.11` + ## \[2.0.0-rc.12] ### Bug Fixes diff --git a/crates/tauri-cli/Cargo.toml b/crates/tauri-cli/Cargo.toml index e5fdf81fee65..f027b94bed26 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.12" +version = "2.0.0-rc.13" 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.10", default-features = false, path = "../tauri-bundler" } +tauri-bundler = { version = "3.0.0-rc.0", default-features = false, path = "../tauri-bundler" } colored = "2.1" serde = { version = "1.0", features = ["derive"] } serde_json = { version = "1.0", features = ["preserve_order"] } @@ -57,7 +57,7 @@ shared_child = "1.0" duct = "0.13" toml_edit = { version = "0.22", features = ["serde"] } json-patch = "2.0" -tauri-utils = { version = "2.0.0-rc.10", path = "../tauri-utils", features = [ +tauri-utils = { version = "2.0.0-rc.11", path = "../tauri-utils", features = [ "isolation", "schema", "config-json5", diff --git a/crates/tauri-cli/metadata-v2.json b/crates/tauri-cli/metadata-v2.json index cb890601b65c..a299e41e647f 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.13", + "version": "2.0.0-rc.14", "node": ">= 10.0.0" }, - "tauri": "2.0.0-rc.11", - "tauri-build": "2.0.0-rc.10", - "tauri-plugin": "2.0.0-rc.10" + "tauri": "2.0.0-rc.12", + "tauri-build": "2.0.0-rc.11", + "tauri-plugin": "2.0.0-rc.11" } diff --git a/crates/tauri-codegen/CHANGELOG.md b/crates/tauri-codegen/CHANGELOG.md index 0d463f741a74..d3281ea4144d 100644 --- a/crates/tauri-codegen/CHANGELOG.md +++ b/crates/tauri-codegen/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## \[2.0.0-rc.11] + +### Dependencies + +- Upgraded to `tauri-utils@2.0.0-rc.11` + ## \[2.0.0-rc.10] ### Dependencies diff --git a/crates/tauri-codegen/Cargo.toml b/crates/tauri-codegen/Cargo.toml index 5a826350d4c1..6d4d6234ba2e 100644 --- a/crates/tauri-codegen/Cargo.toml +++ b/crates/tauri-codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-codegen" -version = "2.0.0-rc.10" +version = "2.0.0-rc.11" description = "code generation meant to be consumed inside of `tauri` through `tauri-build` or `tauri-macros`" exclude = ["CHANGELOG.md", "/target"] readme = "README.md" @@ -20,7 +20,7 @@ quote = "1" syn = "2" serde = { version = "1", features = ["derive"] } serde_json = "1" -tauri-utils = { version = "2.0.0-rc.10", path = "../tauri-utils", features = [ +tauri-utils = { version = "2.0.0-rc.11", path = "../tauri-utils", features = [ "build", ] } thiserror = "1" diff --git a/crates/tauri-macros/CHANGELOG.md b/crates/tauri-macros/CHANGELOG.md index 40fca47add6e..47f12cab6690 100644 --- a/crates/tauri-macros/CHANGELOG.md +++ b/crates/tauri-macros/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## \[2.0.0-rc.10] + +### Dependencies + +- Upgraded to `tauri-utils@2.0.0-rc.11` +- Upgraded to `tauri-codegen@2.0.0-rc.11` + ## \[2.0.0-rc.9] ### Dependencies diff --git a/crates/tauri-macros/Cargo.toml b/crates/tauri-macros/Cargo.toml index 80584cd1d34d..7363e04121f0 100644 --- a/crates/tauri-macros/Cargo.toml +++ b/crates/tauri-macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-macros" -version = "2.0.0-rc.9" +version = "2.0.0-rc.10" description = "Macros for the tauri crate." exclude = ["CHANGELOG.md", "/target"] readme = "README.md" @@ -20,8 +20,8 @@ proc-macro2 = { version = "1", features = ["span-locations"] } quote = "1" syn = { version = "2", features = ["full"] } heck = "0.5" -tauri-codegen = { version = "2.0.0-rc.10", default-features = false, path = "../tauri-codegen" } -tauri-utils = { version = "2.0.0-rc.10", path = "../tauri-utils" } +tauri-codegen = { version = "2.0.0-rc.11", default-features = false, path = "../tauri-codegen" } +tauri-utils = { version = "2.0.0-rc.11", path = "../tauri-utils" } [features] custom-protocol = [] diff --git a/crates/tauri-plugin/CHANGELOG.md b/crates/tauri-plugin/CHANGELOG.md index c01f4e320598..e93aced769cf 100644 --- a/crates/tauri-plugin/CHANGELOG.md +++ b/crates/tauri-plugin/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## \[2.0.0-rc.11] + +### Dependencies + +- Upgraded to `tauri-utils@2.0.0-rc.11` + ## \[2.0.0-rc.10] ### Dependencies diff --git a/crates/tauri-plugin/Cargo.toml b/crates/tauri-plugin/Cargo.toml index ba77046e8a8c..891fb7f1067c 100644 --- a/crates/tauri-plugin/Cargo.toml +++ b/crates/tauri-plugin/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-plugin" -version = "2.0.0-rc.10" +version = "2.0.0-rc.11" description = "Build script and runtime Tauri plugin definitions" authors.workspace = true homepage.workspace = true @@ -30,7 +30,7 @@ runtime = [] [dependencies] anyhow = { version = "1", optional = true } serde = { version = "1", optional = true } -tauri-utils = { version = "2.0.0-rc.10", default-features = false, features = [ +tauri-utils = { version = "2.0.0-rc.11", default-features = false, features = [ "build", ], path = "../tauri-utils" } serde_json = { version = "1", optional = true } diff --git a/crates/tauri-runtime-wry/CHANGELOG.md b/crates/tauri-runtime-wry/CHANGELOG.md index c1fbcd0f99ba..6ebba860df75 100644 --- a/crates/tauri-runtime-wry/CHANGELOG.md +++ b/crates/tauri-runtime-wry/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## \[2.0.0-rc.11] + +### Dependencies + +- Upgraded to `tauri-utils@2.0.0-rc.11` +- Upgraded to `tauri-runtime@2.0.0-rc.11` + ## \[2.0.0-rc.10] ### Dependencies diff --git a/crates/tauri-runtime-wry/Cargo.toml b/crates/tauri-runtime-wry/Cargo.toml index eea441ac754e..8eaabe2dac68 100644 --- a/crates/tauri-runtime-wry/Cargo.toml +++ b/crates/tauri-runtime-wry/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-runtime-wry" -version = "2.0.0-rc.10" +version = "2.0.0-rc.11" description = "Wry bindings to the Tauri runtime" exclude = ["CHANGELOG.md", "/target"] readme = "README.md" @@ -24,8 +24,8 @@ wry = { version = "0.43.1", default-features = false, features = [ "linux-body", ] } tao = { version = "0.30", default-features = false, features = ["rwh_06"] } -tauri-runtime = { version = "2.0.0-rc.10", path = "../tauri-runtime" } -tauri-utils = { version = "2.0.0-rc.10", path = "../tauri-utils" } +tauri-runtime = { version = "2.0.0-rc.11", path = "../tauri-runtime" } +tauri-utils = { version = "2.0.0-rc.11", path = "../tauri-utils" } raw-window-handle = "0.6" http = "1.1" url = "2" diff --git a/crates/tauri-runtime/CHANGELOG.md b/crates/tauri-runtime/CHANGELOG.md index d1b5d1598ea8..86b192e4a667 100644 --- a/crates/tauri-runtime/CHANGELOG.md +++ b/crates/tauri-runtime/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## \[2.0.0-rc.11] + +### Dependencies + +- Upgraded to `tauri-utils@2.0.0-rc.11` + ## \[2.0.0-rc.10] ### Dependencies diff --git a/crates/tauri-runtime/Cargo.toml b/crates/tauri-runtime/Cargo.toml index baca4126c029..de98245b9e56 100644 --- a/crates/tauri-runtime/Cargo.toml +++ b/crates/tauri-runtime/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-runtime" -version = "2.0.0-rc.10" +version = "2.0.0-rc.11" description = "Runtime for Tauri applications" exclude = ["CHANGELOG.md", "/target"] readme = "README.md" @@ -29,7 +29,7 @@ targets = [ serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" thiserror = "1.0" -tauri-utils = { version = "2.0.0-rc.10", path = "../tauri-utils" } +tauri-utils = { version = "2.0.0-rc.11", path = "../tauri-utils" } http = "1.1" raw-window-handle = "0.6" url = { version = "2" } diff --git a/crates/tauri-utils/CHANGELOG.md b/crates/tauri-utils/CHANGELOG.md index a7115757ea06..859bb17ee63b 100644 --- a/crates/tauri-utils/CHANGELOG.md +++ b/crates/tauri-utils/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## \[2.0.0-rc.11] + +### New Features + +- [`35bd9dd3d`](https://www.github.com/tauri-apps/tauri/commit/35bd9dd3dc3d8972bbc4aa5f4a6c6fa14354e9bf) ([#10977](https://www.github.com/tauri-apps/tauri/pull/10977) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Add `mainBinaryName` config option to set the file name for the main binary. + ## \[2.0.0-rc.10] ### Bug Fixes diff --git a/crates/tauri-utils/Cargo.toml b/crates/tauri-utils/Cargo.toml index f62c9a79f8bc..2a253c5c6cba 100644 --- a/crates/tauri-utils/Cargo.toml +++ b/crates/tauri-utils/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-utils" -version = "2.0.0-rc.10" +version = "2.0.0-rc.11" description = "Utilities for Tauri" exclude = ["CHANGELOG.md", "/target"] readme = "README.md" diff --git a/crates/tauri/CHANGELOG.md b/crates/tauri/CHANGELOG.md index b2863109653a..46ff9edaf77a 100644 --- a/crates/tauri/CHANGELOG.md +++ b/crates/tauri/CHANGELOG.md @@ -1,5 +1,33 @@ # Changelog +## \[2.0.0-rc.12] + +### New Features + +- [`35bd9dd3d`](https://www.github.com/tauri-apps/tauri/commit/35bd9dd3dc3d8972bbc4aa5f4a6c6fa14354e9bf) ([#10977](https://www.github.com/tauri-apps/tauri/pull/10977) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Add `mainBinaryName` config option to set the file name for the main binary. + +### Enhancements + +- [`5eb036f33`](https://www.github.com/tauri-apps/tauri/commit/5eb036f33951a9946f25ce5fa7fc47ae4469aa60) ([#11002](https://www.github.com/tauri-apps/tauri/pull/11002) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Handle macOS binary name change on the `process::restart` function. + +### Bug Fixes + +- [`63649d82d`](https://www.github.com/tauri-apps/tauri/commit/63649d82d20b8f69d973b41bd0c157997770d6a0) ([#10971](https://www.github.com/tauri-apps/tauri/pull/10971) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Fix schema generation for `core:default` set. +- [`be18ed50d`](https://www.github.com/tauri-apps/tauri/commit/be18ed50d8e04261da1553662a768e7ce0f1dd8f) ([#10982](https://www.github.com/tauri-apps/tauri/pull/10982) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Add a Proguard rule to prevent custom JSON deserializer and serializer classes from being optimized away. +- [`00182ebf8`](https://www.github.com/tauri-apps/tauri/commit/00182ebf894b83302179ccb7f415f97d04600c77) ([#10988](https://www.github.com/tauri-apps/tauri/pull/10988) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Fix `requestPermissions` not resolving on Android. + +### Dependencies + +- Upgraded to `tauri-build@2.0.0-rc.11` +- Upgraded to `tauri-utils@2.0.0-rc.11` +- Upgraded to `tauri-runtime@2.0.0-rc.11` +- Upgraded to `tauri-runtime-wry@2.0.0-rc.11` +- Upgraded to `tauri-macros@2.0.0-rc.10` + +### Breaking Changes + +- [`fe5ff1228`](https://www.github.com/tauri-apps/tauri/commit/fe5ff1228c34cf12929d861454ab9716da9480da) ([#10978](https://www.github.com/tauri-apps/tauri/pull/10978) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Rename `PermissionState::Unknown` to `PermissionState::Prompt`. + ## \[2.0.0-rc.11] ### Bug Fixes diff --git a/crates/tauri/Cargo.toml b/crates/tauri/Cargo.toml index 78cc7e8cb380..19a9d9ca4c75 100644 --- a/crates/tauri/Cargo.toml +++ b/crates/tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri" -version = "2.0.0-rc.11" +version = "2.0.0-rc.12" description = "Make tiny, secure apps for all desktop platforms with Tauri" exclude = ["/test", "/.scripts", "CHANGELOG.md", "/target"] readme = "README.md" @@ -57,12 +57,12 @@ uuid = { version = "1", features = ["v4"], optional = true } url = "2" anyhow = "1.0" thiserror = "1.0" -tauri-runtime = { version = "2.0.0-rc.10", path = "../tauri-runtime" } -tauri-macros = { version = "2.0.0-rc.9", path = "../tauri-macros" } -tauri-utils = { version = "2.0.0-rc.10", features = [ +tauri-runtime = { version = "2.0.0-rc.11", path = "../tauri-runtime" } +tauri-macros = { version = "2.0.0-rc.10", path = "../tauri-macros" } +tauri-utils = { version = "2.0.0-rc.11", features = [ "resources", ], path = "../tauri-utils" } -tauri-runtime-wry = { version = "2.0.0-rc.10", path = "../tauri-runtime-wry", optional = true } +tauri-runtime-wry = { version = "2.0.0-rc.11", path = "../tauri-runtime-wry", optional = true } getrandom = "0.2" serde_repr = "0.1" state = "0.6" @@ -127,8 +127,8 @@ swift-rs = "1.0.7" [build-dependencies] heck = "0.5" -tauri-build = { path = "../tauri-build/", default-features = false, version = "2.0.0-rc.10" } -tauri-utils = { path = "../tauri-utils/", version = "2.0.0-rc.10", features = [ +tauri-build = { path = "../tauri-build/", default-features = false, version = "2.0.0-rc.11" } +tauri-utils = { path = "../tauri-utils/", version = "2.0.0-rc.11", features = [ "build", ] } diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index 590b29200c54..2583377e4162 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +## \[2.0.0-rc.14] + +### Enhancements + +- [`6c5340f8b`](https://www.github.com/tauri-apps/tauri/commit/6c5340f8b2549dfe89f19656304e65cd670afc92) ([#11004](https://www.github.com/tauri-apps/tauri/pull/11004) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Added the `log` plugin to the app template, which is required to visualize logs on Android and iOS. +- [`3ad2427dc`](https://www.github.com/tauri-apps/tauri/commit/3ad2427dc08f12c61edc726b587acce32eca1080) ([#10961](https://www.github.com/tauri-apps/tauri/pull/10961) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Only render app logs on iOS unless `-vv` is provided to the `ios dev` command. + +### Dependencies + +- Upgraded to `tauri-cli@2.0.0-rc.13` + ## \[2.0.0-rc.13] ### Bug Fixes diff --git a/packages/cli/package.json b/packages/cli/package.json index e75a8fd853de..ef62adac51bd 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@tauri-apps/cli", - "version": "2.0.0-rc.13", + "version": "2.0.0-rc.14", "description": "Command line interface for building Tauri apps", "funding": { "type": "opencollective", From bb12d604bbb6dc99d640bd37478e9dc99d613835 Mon Sep 17 00:00:00 2001 From: Lucas Nogueira Date: Sun, 15 Sep 2024 09:01:20 -0300 Subject: [PATCH 2/2] bundler back to 2.0.0-rc --- Cargo.lock | 2 +- crates/tauri-bundler/CHANGELOG.md | 2 +- crates/tauri-bundler/Cargo.toml | 2 +- crates/tauri-cli/CHANGELOG.md | 2 +- crates/tauri-cli/Cargo.toml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 439e72f73896..7d7373b258e5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -7352,7 +7352,7 @@ dependencies = [ [[package]] name = "tauri-bundler" -version = "3.0.0-rc.0" +version = "2.0.1-rc.11" dependencies = [ "anyhow", "ar", diff --git a/crates/tauri-bundler/CHANGELOG.md b/crates/tauri-bundler/CHANGELOG.md index 2232aeb65b63..fc3ff449f978 100644 --- a/crates/tauri-bundler/CHANGELOG.md +++ b/crates/tauri-bundler/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## \[3.0.0-rc.0] +## \[2.0.1-rc.11] ### New Features diff --git a/crates/tauri-bundler/Cargo.toml b/crates/tauri-bundler/Cargo.toml index 2b000743640b..ab84d3509b4c 100644 --- a/crates/tauri-bundler/Cargo.toml +++ b/crates/tauri-bundler/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-bundler" -version = "3.0.0-rc.0" +version = "2.0.1-rc.11" authors = [ "George Burton ", "Tauri Programme within The Commons Conservancy", diff --git a/crates/tauri-cli/CHANGELOG.md b/crates/tauri-cli/CHANGELOG.md index ef3c5e7a8be7..68360600a666 100644 --- a/crates/tauri-cli/CHANGELOG.md +++ b/crates/tauri-cli/CHANGELOG.md @@ -14,7 +14,7 @@ ### Dependencies -- Upgraded to `tauri-bundler@3.0.0-rc.0` +- Upgraded to `tauri-bundler@2.0.1-rc.11` - Upgraded to `tauri-utils@2.0.0-rc.11` ## \[2.0.0-rc.12] diff --git a/crates/tauri-cli/Cargo.toml b/crates/tauri-cli/Cargo.toml index f027b94bed26..1562a2b4c55f 100644 --- a/crates/tauri-cli/Cargo.toml +++ b/crates/tauri-cli/Cargo.toml @@ -47,7 +47,7 @@ sublime_fuzzy = "0.7" clap_complete = "4" clap = { version = "4.5", features = ["derive", "env"] } anyhow = "1.0" -tauri-bundler = { version = "3.0.0-rc.0", default-features = false, path = "../tauri-bundler" } +tauri-bundler = { version = "2.0.1-rc.11", default-features = false, path = "../tauri-bundler" } colored = "2.1" serde = { version = "1.0", features = ["derive"] } serde_json = { version = "1.0", features = ["preserve_order"] }