diff --git a/.changes/pre.json b/.changes/pre.json index 1e221d1763a2..a95205d71191 100644 --- a/.changes/pre.json +++ b/.changes/pre.json @@ -9,6 +9,7 @@ ".changes/android-port-forward-fixes.md", ".changes/api-permissions-plugin.md", ".changes/api-to-physical.md", + ".changes/api-tray-event-refactor.md", ".changes/append_invoke_initialization_script.md", ".changes/asset-resolver-dev-fallback.md", ".changes/assets-iter-cow.md", @@ -16,7 +17,11 @@ ".changes/brotli-6.md", ".changes/bundler-appimage-files.md", ".changes/bundler-github-mirror-from-env.md", + ".changes/bundler-github-mirror-template.md", + ".changes/bundler-gnueabi-armel.md", + ".changes/bundler-nsis-webview2-success.md", ".changes/bundler-object-custom-sign-command.md", + ".changes/button-state-camel-case.md", ".changes/capability-id-already-exists.md", ".changes/change-default-export-option-debugging.md", ".changes/change-pr-10435.md", @@ -24,10 +29,14 @@ ".changes/change-pr-10619.md", ".changes/change-pr-10676.md", ".changes/change-pr-10718.md", + ".changes/change-pr-11056.md", ".changes/change-type-of-macos-webview.md", ".changes/changelog-path-deb.md", ".changes/check-android-lib-symbols.md", + ".changes/clear-all-browsing-data-api.md", + ".changes/clear-all-browsing-data.md", ".changes/cli-add-no-fmt.md", + ".changes/cli-add-npm.md", ".changes/cli-android-template-androidtv.md", ".changes/cli-desktop-port-exposure.md", ".changes/cli-handle-main-binary.md", @@ -35,11 +44,15 @@ ".changes/cli-info-plugins.md", ".changes/cli-make-app-dir-consistent.md", ".changes/cli-mobile-checks.md", + ".changes/cli-plugin-init-no-github-by-default.md", + ".changes/cli-plugin-init-no-github.md", ".changes/cli-plugin-no-example.md", ".changes/cli-signtool-path.md", ".changes/cli-template-log-plugin.md", ".changes/core-default-schema.md", ".changes/core-plugin-namespace.md", + ".changes/core-unmanage.md", + ".changes/crash-closing-window-multiple-times.md", ".changes/custom-invoke-system-invoke-key.md", ".changes/dev-url-localhost-mobile.md", ".changes/do-not-exit-on-log-fail.md", @@ -52,10 +65,12 @@ ".changes/fix-add-plugin-npm-version-req.md", ".changes/fix-android-proguard.md", ".changes/fix-android-remove-current-script.md", + ".changes/fix-bun-ios-usage.md", ".changes/fix-cli-add-plugin-version.md", ".changes/fix-cli-dev-server-android.md", ".changes/fix-cli-panic-bun.md", ".changes/fix-colon-in-file-path.md", + ".changes/fix-conditional-ios-deployment-target.md", ".changes/fix-conf-parsing-error-filepath.md", ".changes/fix-config-override.md", ".changes/fix-context-stack-size.md", @@ -66,11 +81,13 @@ ".changes/fix-ios-build-older-swift.md", ".changes/fix-ios-build-simulator.md", ".changes/fix-ios-bun-support.md", + ".changes/fix-ios-proj-sync.md", ".changes/fix-ios-signing-api-key.md", ".changes/fix-ipc-fallback.md", ".changes/fix-isolation-parse-raw-body.md", ".changes/fix-manifest-migration.md", ".changes/fix-missing-codesign-error-macos.md", + ".changes/fix-pbxproj-id-parse.md", ".changes/fix-permission-state-unknown-display.md", ".changes/fix-request-permissions.md", ".changes/fix-tauri-build-filedescription.md", @@ -98,6 +115,7 @@ ".changes/migrate-v1-plugin-npm.md", ".changes/migrate-vue-svelte.md", ".changes/min-ios-version.md", + ".changes/mobile-async.md", ".changes/mobile-identifier.md", ".changes/mobile-plugin-get-args.md", ".changes/nsis-ensure-webview2-version.md", @@ -116,6 +134,7 @@ ".changes/remove-open-command.md", ".changes/remove-unsecure-configs.md", ".changes/remove-webview_fixed_runtime_path.md", + ".changes/rerun-if-platform-conf.changes.md", ".changes/resource-dir-android.md", ".changes/resource-dir-ios.md", ".changes/resources-map-becoming-dirs.md", @@ -124,12 +143,18 @@ ".changes/rust-permission-state.md", ".changes/safe-file-path-serialize.md", ".changes/safe-path-buf-from-str.md", + ".changes/scope-object-match.md", ".changes/serialize-array-buffer.md", + ".changes/set-theme-api.md", + ".changes/set-theme.md", + ".changes/share-webcontext.md", + ".changes/sign-non-zipped-updater-with-v1-compatible.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", ".changes/tauri-build.md", + ".changes/tauri-cli-generate-upgrade-code.md", ".changes/tauri-driver-1.x.md", ".changes/tray-double-click.md", ".changes/universal-bin-build-fails.md", @@ -140,12 +165,18 @@ ".changes/update-tao-wry.md", ".changes/update-trayicon-infer-urlpattern-image.md", ".changes/update-wry.md", + ".changes/upgrade-code-option.md", ".changes/use-objc2.md", ".changes/utils-autogenerated-command-return-list.md", ".changes/utils-fix-plugin-reference.md", ".changes/v1-migrate-updater.md", ".changes/v1-migration-improvement.md", + ".changes/webview-hide-show-api.md", + ".changes/webview-hide-show-runtime.md", + ".changes/webview-hide-show.md", ".changes/window-config-create.md", + ".changes/window-set-enabled-api.md", + ".changes/window-set-enabled.md", ".changes/wix-consistent-product-code.md", ".changes/wix-upgrade-code-regression.md" ] diff --git a/Cargo.lock b/Cargo.lock index c68157014d08..f4b5b1bcf9e9 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.12", + "tauri-utils 2.0.0-rc.13", ] [[package]] @@ -7236,7 +7236,7 @@ checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1" [[package]] name = "tauri" -version = "2.0.0-rc.15" +version = "2.0.0-rc.16" dependencies = [ "anyhow", "bytes", @@ -7280,7 +7280,7 @@ dependencies = [ "tauri-macros", "tauri-runtime", "tauri-runtime-wry", - "tauri-utils 2.0.0-rc.12", + "tauri-utils 2.0.0-rc.13", "thiserror", "tokio", "tracing", @@ -7296,7 +7296,7 @@ dependencies = [ [[package]] name = "tauri-build" -version = "2.0.0-rc.12" +version = "2.0.0-rc.13" dependencies = [ "anyhow", "cargo_toml", @@ -7310,7 +7310,7 @@ dependencies = [ "serde", "serde_json", "tauri-codegen", - "tauri-utils 2.0.0-rc.12", + "tauri-utils 2.0.0-rc.13", "tauri-winres", "toml 0.8.19", "walkdir", @@ -7318,7 +7318,7 @@ dependencies = [ [[package]] name = "tauri-bundler" -version = "2.0.1-rc.13" +version = "2.0.1-rc.14" dependencies = [ "anyhow", "ar", @@ -7347,7 +7347,7 @@ dependencies = [ "tar", "tauri-icns", "tauri-macos-sign", - "tauri-utils 2.0.0-rc.12", + "tauri-utils 2.0.0-rc.13", "tempfile", "thiserror", "time", @@ -7362,7 +7362,7 @@ dependencies = [ [[package]] name = "tauri-cli" -version = "2.0.0-rc.16" +version = "2.0.0-rc.17" dependencies = [ "anyhow", "ar", @@ -7426,7 +7426,7 @@ dependencies = [ "tauri-icns", "tauri-macos-sign", "tauri-utils 1.6.0", - "tauri-utils 2.0.0-rc.12", + "tauri-utils 2.0.0-rc.13", "tempfile", "tokio", "toml 0.8.19", @@ -7451,7 +7451,7 @@ dependencies = [ [[package]] name = "tauri-codegen" -version = "2.0.0-rc.12" +version = "2.0.0-rc.13" dependencies = [ "base64 0.22.1", "brotli", @@ -7467,7 +7467,7 @@ dependencies = [ "serde_json", "sha2", "syn 2.0.77", - "tauri-utils 2.0.0-rc.12", + "tauri-utils 2.0.0-rc.13", "thiserror", "time", "url", @@ -7532,14 +7532,14 @@ dependencies = [ [[package]] name = "tauri-macros" -version = "2.0.0-rc.11" +version = "2.0.0-rc.12" dependencies = [ "heck 0.5.0", "proc-macro2", "quote", "syn 2.0.77", "tauri-codegen", - "tauri-utils 2.0.0-rc.12", + "tauri-utils 2.0.0-rc.13", ] [[package]] @@ -7561,7 +7561,7 @@ dependencies = [ [[package]] name = "tauri-plugin" -version = "2.0.0-rc.12" +version = "2.0.0-rc.13" dependencies = [ "anyhow", "glob", @@ -7569,7 +7569,7 @@ dependencies = [ "schemars", "serde", "serde_json", - "tauri-utils 2.0.0-rc.12", + "tauri-utils 2.0.0-rc.13", "toml 0.8.19", "walkdir", ] @@ -7603,13 +7603,13 @@ dependencies = [ "log", "serde", "tauri", - "tauri-plugin 2.0.0-rc.12", + "tauri-plugin 2.0.0-rc.13", "thiserror", ] [[package]] name = "tauri-runtime" -version = "2.0.0-rc.12" +version = "2.0.0-rc.13" dependencies = [ "dpi", "gtk", @@ -7618,7 +7618,7 @@ dependencies = [ "raw-window-handle", "serde", "serde_json", - "tauri-utils 2.0.0-rc.12", + "tauri-utils 2.0.0-rc.13", "thiserror", "url", "windows", @@ -7626,7 +7626,7 @@ dependencies = [ [[package]] name = "tauri-runtime-wry" -version = "2.0.0-rc.13" +version = "2.0.0-rc.14" dependencies = [ "gtk", "http 1.1.0", @@ -7640,7 +7640,7 @@ dependencies = [ "softbuffer", "tao", "tauri-runtime", - "tauri-utils 2.0.0-rc.12", + "tauri-utils 2.0.0-rc.13", "tracing", "url", "webkit2gtk", @@ -7656,7 +7656,7 @@ dependencies = [ "schemars", "serde", "serde_json", - "tauri-utils 2.0.0-rc.12", + "tauri-utils 2.0.0-rc.13", "url", ] @@ -7740,7 +7740,7 @@ dependencies = [ [[package]] name = "tauri-utils" -version = "2.0.0-rc.12" +version = "2.0.0-rc.13" dependencies = [ "aes-gcm", "brotli", diff --git a/crates/tauri-build/CHANGELOG.md b/crates/tauri-build/CHANGELOG.md index 28807f779808..ec9b89c24124 100644 --- a/crates/tauri-build/CHANGELOG.md +++ b/crates/tauri-build/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +## \[2.0.0-rc.13] + +### Bug Fixes + +- [`1efa5e718`](https://www.github.com/tauri-apps/tauri/commit/1efa5e7184009537b688a395596c696173ae0231) ([#11099](https://www.github.com/tauri-apps/tauri/pull/11099) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Rerun build script if the platform-specific configuration file changes. + +### Dependencies + +- Upgraded to `tauri-utils@2.0.0-rc.13` +- Upgraded to `tauri-codegen@2.0.0-rc.13` + ## \[2.0.0-rc.12] ### Dependencies diff --git a/crates/tauri-build/Cargo.toml b/crates/tauri-build/Cargo.toml index 4f054fcf2c8d..41cc60dd1803 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.12" +version = "2.0.0-rc.13" 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.12", path = "../tauri-codegen", optional = true } -tauri-utils = { version = "2.0.0-rc.12", path = "../tauri-utils", features = [ +tauri-codegen = { version = "2.0.0-rc.13", path = "../tauri-codegen", optional = true } +tauri-utils = { version = "2.0.0-rc.13", path = "../tauri-utils", features = [ "build", "resources", ] } diff --git a/crates/tauri-bundler/CHANGELOG.md b/crates/tauri-bundler/CHANGELOG.md index 8d9c2bd2157d..caa55810fe9e 100644 --- a/crates/tauri-bundler/CHANGELOG.md +++ b/crates/tauri-bundler/CHANGELOG.md @@ -1,5 +1,21 @@ # Changelog +## \[2.0.1-rc.14] + +### New Features + +- [`06718b456`](https://www.github.com/tauri-apps/tauri/commit/06718b4569577a004daed9b8455e852a50b4b80f) ([#11096](https://www.github.com/tauri-apps/tauri/pull/11096) by [@thep0y](https://www.github.com/tauri-apps/tauri/../../thep0y)) Add the `TAURI_BUNDLER_TOOLS_GITHUB_MIRROR_TEMPLATE` environment variable to specify a more accessible mirror template, facilitating companies, organizations, or individuals who cannot access GitHub to download the necessary files through their own mirror servers. +- [`f57a729cd`](https://www.github.com/tauri-apps/tauri/commit/f57a729cd8f7e10d8daf0b9d5b85f9c7ad530496) ([#11039](https://www.github.com/tauri-apps/tauri/pull/11039) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Add `upgradeCode` in `wix` configuration to set an upgrade code for your MSI installer. This is recommended to be set if you plan to change your `productName`. + +### Bug Fixes + +- [`dfba0ede6`](https://www.github.com/tauri-apps/tauri/commit/dfba0ede683656f265681f68cd61c8511ea49847) ([#11084](https://www.github.com/tauri-apps/tauri/pull/11084) by [@olivierlemasle](https://www.github.com/tauri-apps/tauri/../../olivierlemasle)) Detect ARM gnueabi as soft-float (armel) instead of hard-float (armhf). Also change the signature of `tauri_bundler::bundle::Settings::binary_arch` to return an enum instead of a `&str`. +- [`544328d5a`](https://www.github.com/tauri-apps/tauri/commit/544328d5a304979b92e542e6bacdb539e9e8fbdc) ([#11139](https://www.github.com/tauri-apps/tauri/pull/11139) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Fix NSIS installer failing to determine whether webview installer downloaded correctly or not. + +### Dependencies + +- Upgraded to `tauri-utils@2.0.0-rc.13` + ## \[2.0.1-rc.13] ### Dependencies diff --git a/crates/tauri-bundler/Cargo.toml b/crates/tauri-bundler/Cargo.toml index 13bf85f8c924..e39c72d5e9f5 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.13" +version = "2.0.1-rc.14" 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.12", path = "../tauri-utils", features = [ +tauri-utils = { version = "2.0.0-rc.13", path = "../tauri-utils", features = [ "resources", ] } image = "0.25.0" diff --git a/crates/tauri-cli/CHANGELOG.md b/crates/tauri-cli/CHANGELOG.md index f09530b0a6bd..130dce7254a8 100644 --- a/crates/tauri-cli/CHANGELOG.md +++ b/crates/tauri-cli/CHANGELOG.md @@ -1,5 +1,34 @@ # Changelog +## \[2.0.0-rc.17] + +### New Features + +- [`06718b456`](https://www.github.com/tauri-apps/tauri/commit/06718b4569577a004daed9b8455e852a50b4b80f) ([#11096](https://www.github.com/tauri-apps/tauri/pull/11096) by [@thep0y](https://www.github.com/tauri-apps/tauri/../../thep0y)) Add the `TAURI_BUNDLER_TOOLS_GITHUB_MIRROR_TEMPLATE` environment variable to specify a more accessible mirror template, facilitating companies, organizations, or individuals who cannot access GitHub to download the necessary files through their own mirror servers. +- [`a944b9b05`](https://www.github.com/tauri-apps/tauri/commit/a944b9b05bc5ae6125ff451e86c5b207c511f3d7) ([#11118](https://www.github.com/tauri-apps/tauri/pull/11118) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Add `--github-workflows` flag for `tauri plugin new/init`. +- [`f57a729cd`](https://www.github.com/tauri-apps/tauri/commit/f57a729cd8f7e10d8daf0b9d5b85f9c7ad530496) ([#11039](https://www.github.com/tauri-apps/tauri/pull/11039) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Add `tauri inspect wix-upgrade-code` to print default Upgrade Code for your MSI installer derived from `productName`. + +### Enhancements + +- [`67b8a9a17`](https://www.github.com/tauri-apps/tauri/commit/67b8a9a17a0315ccba681a646678dc1922f5ebf2) ([#10940](https://www.github.com/tauri-apps/tauri/pull/10940) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Generate `.sig` signature files for installers and bundles when `createUpdaterArtifacts` is set to `v1Compatible` + +### Bug Fixes + +- [`62b52f60a`](https://www.github.com/tauri-apps/tauri/commit/62b52f60a22ef84c4a2a2d9e662038b49f58e16c) ([#11064](https://www.github.com/tauri-apps/tauri/pull/11064) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Fix `tauri add` failing to add NPM depenency with `npm` package manager. +- [`56e087471`](https://www.github.com/tauri-apps/tauri/commit/56e087471a347f6bee7422221a956925c60b17e3) ([#11100](https://www.github.com/tauri-apps/tauri/pull/11100) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Fix iOS xcode-script usage with `bun`. +- [`b88e22a5f`](https://www.github.com/tauri-apps/tauri/commit/b88e22a5fe4e2e4376d6cad64d1e74d104ca8927) ([#11063](https://www.github.com/tauri-apps/tauri/pull/11063) by [@FabianLars](https://www.github.com/tauri-apps/tauri/../../FabianLars)) The cli now only sets the iOS deployment target environment variable when building for iOS. +- [`8d22c0c81`](https://www.github.com/tauri-apps/tauri/commit/8d22c0c814e7227d5e56ce9a08929045ccea1a1b) ([#11101](https://www.github.com/tauri-apps/tauri/pull/11101) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Only modify the iOS Xcode project "sign style" if we need to enforce manual signing. +- [`df24cb944`](https://www.github.com/tauri-apps/tauri/commit/df24cb944249ee398f6c8ba8c19757b398eec701) ([#11168](https://www.github.com/tauri-apps/tauri/pull/11168) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Fixes Xcode pbxproj file parsing not expecting `_` in build configuration IDs. + +### Dependencies + +- Upgraded to `tauri-bundler@2.0.1-rc.14` +- Upgraded to `tauri-utils@2.0.0-rc.13` + +### Breaking Changes + +- [`a944b9b05`](https://www.github.com/tauri-apps/tauri/commit/a944b9b05bc5ae6125ff451e86c5b207c511f3d7) ([#11118](https://www.github.com/tauri-apps/tauri/pull/11118) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) `tauri plugin init/new` will no longer generate a `.github` directory with workflows by default, instead use the new `--github-workflows` flag. + ## \[2.0.0-rc.16] ### New Features diff --git a/crates/tauri-cli/Cargo.toml b/crates/tauri-cli/Cargo.toml index b706e9457fe5..f873f9b9ff5e 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.16" +version = "2.0.0-rc.17" 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.13", default-features = false, path = "../tauri-bundler" } +tauri-bundler = { version = "2.0.1-rc.14", 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.12", path = "../tauri-utils", features = [ +tauri-utils = { version = "2.0.0-rc.13", path = "../tauri-utils", features = [ "isolation", "schema", "config-json5", diff --git a/crates/tauri-cli/config.schema.json b/crates/tauri-cli/config.schema.json index 15ba9921b604..43ce4731d935 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.15", + "$id": "https://schema.tauri.app/config/2.0.0-rc.16", "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 890726524ced..d0af9388610c 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.16", + "version": "2.0.0-rc.17", "node": ">= 10.0.0" }, - "tauri": "2.0.0-rc.15", - "tauri-build": "2.0.0-rc.12", - "tauri-plugin": "2.0.0-rc.12" + "tauri": "2.0.0-rc.16", + "tauri-build": "2.0.0-rc.13", + "tauri-plugin": "2.0.0-rc.13" } diff --git a/crates/tauri-codegen/CHANGELOG.md b/crates/tauri-codegen/CHANGELOG.md index 46fd62a64586..f31ad6d080ef 100644 --- a/crates/tauri-codegen/CHANGELOG.md +++ b/crates/tauri-codegen/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## \[2.0.0-rc.13] + +### Bug Fixes + +- [`1efa5e718`](https://www.github.com/tauri-apps/tauri/commit/1efa5e7184009537b688a395596c696173ae0231) ([#11099](https://www.github.com/tauri-apps/tauri/pull/11099) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Rerun build script if the platform-specific configuration file changes. + +### Dependencies + +- Upgraded to `tauri-utils@2.0.0-rc.13` + ## \[2.0.0-rc.12] ### Dependencies diff --git a/crates/tauri-codegen/Cargo.toml b/crates/tauri-codegen/Cargo.toml index a5931b4165c2..a06a51491c3b 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.12" +version = "2.0.0-rc.13" 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.12", path = "../tauri-utils", features = [ +tauri-utils = { version = "2.0.0-rc.13", path = "../tauri-utils", features = [ "build", ] } thiserror = "1" diff --git a/crates/tauri-macros/CHANGELOG.md b/crates/tauri-macros/CHANGELOG.md index 64fcbaba9941..09e5a8ca72a6 100644 --- a/crates/tauri-macros/CHANGELOG.md +++ b/crates/tauri-macros/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +## \[2.0.0-rc.12] + +### New Features + +- [`1d8b67b29`](https://www.github.com/tauri-apps/tauri/commit/1d8b67b2970a09ec478093e127612fac823de805) ([#11162](https://www.github.com/tauri-apps/tauri/pull/11162) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Support async functions for `mobile_entry_point` macro + +### Dependencies + +- Upgraded to `tauri-utils@2.0.0-rc.13` +- Upgraded to `tauri-codegen@2.0.0-rc.13` + ## \[2.0.0-rc.11] ### Dependencies diff --git a/crates/tauri-macros/Cargo.toml b/crates/tauri-macros/Cargo.toml index dfff0936c8cb..dc9cd8c89a9c 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.11" +version = "2.0.0-rc.12" 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.12", default-features = false, path = "../tauri-codegen" } -tauri-utils = { version = "2.0.0-rc.12", path = "../tauri-utils" } +tauri-codegen = { version = "2.0.0-rc.13", default-features = false, path = "../tauri-codegen" } +tauri-utils = { version = "2.0.0-rc.13", path = "../tauri-utils" } [features] custom-protocol = [] diff --git a/crates/tauri-plugin/CHANGELOG.md b/crates/tauri-plugin/CHANGELOG.md index fca0b4a7e0bc..1a4d5e2bdc28 100644 --- a/crates/tauri-plugin/CHANGELOG.md +++ b/crates/tauri-plugin/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## \[2.0.0-rc.13] + +### Dependencies + +- Upgraded to `tauri-utils@2.0.0-rc.13` + ## \[2.0.0-rc.12] ### Dependencies diff --git a/crates/tauri-plugin/Cargo.toml b/crates/tauri-plugin/Cargo.toml index 4b63150747be..4b0477e3869d 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.12" +version = "2.0.0-rc.13" 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.12", default-features = false, features = [ +tauri-utils = { version = "2.0.0-rc.13", 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 72cb3a55d676..2d5e892355b3 100644 --- a/crates/tauri-runtime-wry/CHANGELOG.md +++ b/crates/tauri-runtime-wry/CHANGELOG.md @@ -1,5 +1,24 @@ # Changelog +## \[2.0.0-rc.14] + +### New Features + +- [`a247170e1`](https://www.github.com/tauri-apps/tauri/commit/a247170e1f620a9b012274b11cfe51e90327d6e9) ([#11056](https://www.github.com/tauri-apps/tauri/pull/11056) by [@SpikeHD](https://www.github.com/tauri-apps/tauri/../../SpikeHD)) Expose the ability to enabled browser extensions in WebView2 on Windows. +- [`9014a3f17`](https://www.github.com/tauri-apps/tauri/commit/9014a3f1765ca406ea5c3e5224267a79c52cd53d) ([#11066](https://www.github.com/tauri-apps/tauri/pull/11066) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Add `WebviewWindow::clear_all_browsing_data` and `Webview::clear_all_browsing_data` to clear the webview browsing data. +- [`95df53a2e`](https://www.github.com/tauri-apps/tauri/commit/95df53a2ed96873cd35a4b14a5e312d07e4e3004) ([#11143](https://www.github.com/tauri-apps/tauri/pull/11143) by [@Legend-Master](https://www.github.com/tauri-apps/tauri/../../Legend-Master)) Add the ability to set theme dynamically using `Window::set_theme`, `App::set_theme` +- [`d9d2502b4`](https://www.github.com/tauri-apps/tauri/commit/d9d2502b41e39efde679e30c8955006e2ba9ea64) ([#11140](https://www.github.com/tauri-apps/tauri/pull/11140) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Add `WebviewDispatch::hide` and `WebviewDispatch::show` methods. +- [`de7414aab`](https://www.github.com/tauri-apps/tauri/commit/de7414aab935e45540594ea930eb60bae4dbc979) ([#11154](https://www.github.com/tauri-apps/tauri/pull/11154) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Add `Window::set_enabled` and `Window::is_enabled` methods + +### Bug Fixes + +- [`62b3a5cd1`](https://www.github.com/tauri-apps/tauri/commit/62b3a5cd1c804440c2130ab36cc3eadb3baf61cb) ([#11043](https://www.github.com/tauri-apps/tauri/pull/11043) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Fix `localStorage` not shared between webviews that use the same data directory. + +### Dependencies + +- Upgraded to `tauri-runtime@2.0.0-rc.13` +- Upgraded to `tauri-utils@2.0.0-rc.13` + ## \[2.0.0-rc.13] ### Dependencies diff --git a/crates/tauri-runtime-wry/Cargo.toml b/crates/tauri-runtime-wry/Cargo.toml index 38c6d67bc95b..bda37a337d54 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.13" +version = "2.0.0-rc.14" description = "Wry bindings to the Tauri runtime" exclude = ["CHANGELOG.md", "/target"] readme = "README.md" @@ -24,8 +24,8 @@ wry = { version = "0.44.0", default-features = false, features = [ "linux-body", ] } tao = { version = "0.30.2", default-features = false, features = ["rwh_06"] } -tauri-runtime = { version = "2.0.0-rc.12", path = "../tauri-runtime" } -tauri-utils = { version = "2.0.0-rc.12", path = "../tauri-utils" } +tauri-runtime = { version = "2.0.0-rc.13", path = "../tauri-runtime" } +tauri-utils = { version = "2.0.0-rc.13", 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 bb8ed78e296f..a006ebd8c7e7 100644 --- a/crates/tauri-runtime/CHANGELOG.md +++ b/crates/tauri-runtime/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## \[2.0.0-rc.13] + +### New Features + +- [`a247170e1`](https://www.github.com/tauri-apps/tauri/commit/a247170e1f620a9b012274b11cfe51e90327d6e9) ([#11056](https://www.github.com/tauri-apps/tauri/pull/11056) by [@SpikeHD](https://www.github.com/tauri-apps/tauri/../../SpikeHD)) Expose the ability to enabled browser extensions in WebView2 on Windows. +- [`9014a3f17`](https://www.github.com/tauri-apps/tauri/commit/9014a3f1765ca406ea5c3e5224267a79c52cd53d) ([#11066](https://www.github.com/tauri-apps/tauri/pull/11066) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Add `WebviewWindow::clear_all_browsing_data` and `Webview::clear_all_browsing_data` to clear the webview browsing data. +- [`95df53a2e`](https://www.github.com/tauri-apps/tauri/commit/95df53a2ed96873cd35a4b14a5e312d07e4e3004) ([#11143](https://www.github.com/tauri-apps/tauri/pull/11143) by [@Legend-Master](https://www.github.com/tauri-apps/tauri/../../Legend-Master)) Add the ability to set theme dynamically using `Window::set_theme`, `App::set_theme` +- [`d9d2502b4`](https://www.github.com/tauri-apps/tauri/commit/d9d2502b41e39efde679e30c8955006e2ba9ea64) ([#11140](https://www.github.com/tauri-apps/tauri/pull/11140) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Add `WebviewDispatch::hide` and `WebviewDispatch::show` methods. +- [`de7414aab`](https://www.github.com/tauri-apps/tauri/commit/de7414aab935e45540594ea930eb60bae4dbc979) ([#11154](https://www.github.com/tauri-apps/tauri/pull/11154) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Add `Window::set_enabled` and `Window::is_enabled` methods + +### Dependencies + +- Upgraded to `tauri-utils@2.0.0-rc.13` + ## \[2.0.0-rc.12] ### Dependencies diff --git a/crates/tauri-runtime/Cargo.toml b/crates/tauri-runtime/Cargo.toml index a67eaf493dfb..78d720ff94db 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.12" +version = "2.0.0-rc.13" 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.12", path = "../tauri-utils" } +tauri-utils = { version = "2.0.0-rc.13", path = "../tauri-utils" } http = "1.1" raw-window-handle = "0.6" url = { version = "2" } diff --git a/crates/tauri-schema-generator/schemas/config.schema.json b/crates/tauri-schema-generator/schemas/config.schema.json index 15ba9921b604..43ce4731d935 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.15", + "$id": "https://schema.tauri.app/config/2.0.0-rc.16", "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-utils/CHANGELOG.md b/crates/tauri-utils/CHANGELOG.md index dc475a27629d..54f66eb5525f 100644 --- a/crates/tauri-utils/CHANGELOG.md +++ b/crates/tauri-utils/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +## \[2.0.0-rc.13] + +### New Features + +- [`a247170e1`](https://www.github.com/tauri-apps/tauri/commit/a247170e1f620a9b012274b11cfe51e90327d6e9) ([#11056](https://www.github.com/tauri-apps/tauri/pull/11056) by [@SpikeHD](https://www.github.com/tauri-apps/tauri/../../SpikeHD)) Expose the ability to enabled browser extensions in WebView2 on Windows. +- [`f57a729cd`](https://www.github.com/tauri-apps/tauri/commit/f57a729cd8f7e10d8daf0b9d5b85f9c7ad530496) ([#11039](https://www.github.com/tauri-apps/tauri/pull/11039) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Add `upgradeCode` in `wix` configuration to set an upgrade code for your MSI installer. This is recommended to be set if you plan to change your `productName`. + +### Bug Fixes + +- [`1efa5e718`](https://www.github.com/tauri-apps/tauri/commit/1efa5e7184009537b688a395596c696173ae0231) ([#11099](https://www.github.com/tauri-apps/tauri/pull/11099) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Rerun build script if the platform-specific configuration file changes. + ## \[2.0.0-rc.12] ### New Features diff --git a/crates/tauri-utils/Cargo.toml b/crates/tauri-utils/Cargo.toml index a41f6b093281..381fea68ebba 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.12" +version = "2.0.0-rc.13" description = "Utilities for Tauri" exclude = ["CHANGELOG.md", "/target"] readme = "README.md" diff --git a/crates/tauri/CHANGELOG.md b/crates/tauri/CHANGELOG.md index 00037d33904f..ff4bf7a9b219 100644 --- a/crates/tauri/CHANGELOG.md +++ b/crates/tauri/CHANGELOG.md @@ -1,5 +1,36 @@ # Changelog +## \[2.0.0-rc.16] + +### New Features + +- [`a247170e1`](https://www.github.com/tauri-apps/tauri/commit/a247170e1f620a9b012274b11cfe51e90327d6e9) ([#11056](https://www.github.com/tauri-apps/tauri/pull/11056) by [@SpikeHD](https://www.github.com/tauri-apps/tauri/../../SpikeHD)) Expose the ability to enabled browser extensions in WebView2 on Windows. +- [`9014a3f17`](https://www.github.com/tauri-apps/tauri/commit/9014a3f1765ca406ea5c3e5224267a79c52cd53d) ([#11066](https://www.github.com/tauri-apps/tauri/pull/11066) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Add `WebviewWindow::clear_all_browsing_data` and `Webview::clear_all_browsing_data` to clear the webview browsing data. +- [`0ddfc59d6`](https://www.github.com/tauri-apps/tauri/commit/0ddfc59d6785e3b6a85a674a2f80d4c0affd2898) ([#11071](https://www.github.com/tauri-apps/tauri/pull/11071) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Add `Manager::unmanage` to remove previously managed state. +- [`1d8b67b29`](https://www.github.com/tauri-apps/tauri/commit/1d8b67b2970a09ec478093e127612fac823de805) ([#11162](https://www.github.com/tauri-apps/tauri/pull/11162) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Support async functions for `mobile_entry_point` macro +- [`5621174b0`](https://www.github.com/tauri-apps/tauri/commit/5621174b05f615e1589292ccd3954dc7e6b5569f) ([#11132](https://www.github.com/tauri-apps/tauri/pull/11132) by [@chippers](https://www.github.com/tauri-apps/tauri/../../chippers)) Add `ScopeObjectMatch` for easy scope validation those that can be represented by a boolean return value. +- [`95df53a2e`](https://www.github.com/tauri-apps/tauri/commit/95df53a2ed96873cd35a4b14a5e312d07e4e3004) ([#11143](https://www.github.com/tauri-apps/tauri/pull/11143) by [@Legend-Master](https://www.github.com/tauri-apps/tauri/../../Legend-Master)) Add the ability to set theme dynamically using `Window::set_theme`, `App::set_theme` +- [`d9d2502b4`](https://www.github.com/tauri-apps/tauri/commit/d9d2502b41e39efde679e30c8955006e2ba9ea64) ([#11140](https://www.github.com/tauri-apps/tauri/pull/11140) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Add `Webview::hide` and `Webview::show` methods. +- [`de7414aab`](https://www.github.com/tauri-apps/tauri/commit/de7414aab935e45540594ea930eb60bae4dbc979) ([#11154](https://www.github.com/tauri-apps/tauri/pull/11154) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Add `Window::set_enabled` and `Window::is_enabled` methods + +### Bug Fixes + +- [`948772a65`](https://www.github.com/tauri-apps/tauri/commit/948772a657eb3caf20843628abac9109e3b67d41) ([#11114](https://www.github.com/tauri-apps/tauri/pull/11114) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Change the `button_state` tray event field to camelCase `buttonState`. +- [`a49fc999f`](https://www.github.com/tauri-apps/tauri/commit/a49fc999fc3eba3bfd47480b0a8c68c0b45e3127) ([#11161](https://www.github.com/tauri-apps/tauri/pull/11161) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Fix internal crash when trying to close the same window multiple times. +- [`62b3a5cd1`](https://www.github.com/tauri-apps/tauri/commit/62b3a5cd1c804440c2130ab36cc3eadb3baf61cb) ([#11043](https://www.github.com/tauri-apps/tauri/pull/11043) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Fix `localStorage` not shared between webviews that use the same data directory. + +### Dependencies + +- Upgraded to `tauri-runtime-wry@2.0.0-rc.14` +- Upgraded to `tauri-runtime@2.0.0-rc.13` +- Upgraded to `tauri-utils@2.0.0-rc.13` +- Upgraded to `tauri-macros@2.0.0-rc.12` +- Upgraded to `tauri-build@2.0.0-rc.13` + +### Breaking Changes + +- [`0b4495996`](https://www.github.com/tauri-apps/tauri/commit/0b4495996d3131a5ee80fbb2c71a28203e491ee7) ([#11121](https://www.github.com/tauri-apps/tauri/pull/11121) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Simplified emitted tray event JS value and updated `TrayIconEvent` type definition to match it. + ## \[2.0.0-rc.15] ### New Features diff --git a/crates/tauri/Cargo.toml b/crates/tauri/Cargo.toml index 2929d8a94f5f..6d2f10d27d35 100644 --- a/crates/tauri/Cargo.toml +++ b/crates/tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri" -version = "2.0.0-rc.15" +version = "2.0.0-rc.16" 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.12", path = "../tauri-runtime" } -tauri-macros = { version = "2.0.0-rc.11", path = "../tauri-macros" } -tauri-utils = { version = "2.0.0-rc.12", features = [ +tauri-runtime = { version = "2.0.0-rc.13", path = "../tauri-runtime" } +tauri-macros = { version = "2.0.0-rc.12", path = "../tauri-macros" } +tauri-utils = { version = "2.0.0-rc.13", features = [ "resources", ], path = "../tauri-utils" } -tauri-runtime-wry = { version = "2.0.0-rc.13", path = "../tauri-runtime-wry", optional = true } +tauri-runtime-wry = { version = "2.0.0-rc.14", path = "../tauri-runtime-wry", optional = true } getrandom = "0.2" serde_repr = "0.1" http = "1.1" @@ -134,8 +134,8 @@ swift-rs = "1.0.7" [build-dependencies] heck = "0.5" -tauri-build = { path = "../tauri-build/", default-features = false, version = "2.0.0-rc.12" } -tauri-utils = { path = "../tauri-utils/", version = "2.0.0-rc.12", features = [ +tauri-build = { path = "../tauri-build/", default-features = false, version = "2.0.0-rc.13" } +tauri-utils = { path = "../tauri-utils/", version = "2.0.0-rc.13", features = [ "build", ] } diff --git a/packages/api/CHANGELOG.md b/packages/api/CHANGELOG.md index f2bfcee2f648..964bca020a73 100644 --- a/packages/api/CHANGELOG.md +++ b/packages/api/CHANGELOG.md @@ -1,5 +1,22 @@ # Changelog +## \[2.0.0-rc.6] + +### New Features + +- [`9014a3f17`](https://www.github.com/tauri-apps/tauri/commit/9014a3f1765ca406ea5c3e5224267a79c52cd53d) ([#11066](https://www.github.com/tauri-apps/tauri/pull/11066) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Add `WebviewWindow.clearAllBrowsingData` and `Webview.clearAllBrowsingData` to clear the webview browsing data. +- [`95df53a2e`](https://www.github.com/tauri-apps/tauri/commit/95df53a2ed96873cd35a4b14a5e312d07e4e3004) ([#11143](https://www.github.com/tauri-apps/tauri/pull/11143) by [@Legend-Master](https://www.github.com/tauri-apps/tauri/../../Legend-Master)) Add the ability to set theme dynamically using `Window.setTheme` or `setTheme` function from the `app` module +- [`d9d2502b4`](https://www.github.com/tauri-apps/tauri/commit/d9d2502b41e39efde679e30c8955006e2ba9ea64) ([#11140](https://www.github.com/tauri-apps/tauri/pull/11140) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Add `Webview.hide` and `Webview.show` methods. +- [`de7414aab`](https://www.github.com/tauri-apps/tauri/commit/de7414aab935e45540594ea930eb60bae4dbc979) ([#11154](https://www.github.com/tauri-apps/tauri/pull/11154) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Add `Window::setEnabled` and `Window::isEnabled` methods + +### Bug Fixes + +- [`948772a65`](https://www.github.com/tauri-apps/tauri/commit/948772a657eb3caf20843628abac9109e3b67d41) ([#11114](https://www.github.com/tauri-apps/tauri/pull/11114) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Change the `button_state` tray event field to camelCase `buttonState`. + +### Breaking Changes + +- [`0b4495996`](https://www.github.com/tauri-apps/tauri/commit/0b4495996d3131a5ee80fbb2c71a28203e491ee7) ([#11121](https://www.github.com/tauri-apps/tauri/pull/11121) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Simplified emitted tray event JS value and updated `TrayIconEvent` type definition to match it. + ## \[2.0.0-rc.5] ### New Features diff --git a/packages/api/package.json b/packages/api/package.json index c7ba8732778d..3a48e7735ea3 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -1,6 +1,6 @@ { "name": "@tauri-apps/api", - "version": "2.0.0-rc.5", + "version": "2.0.0-rc.6", "description": "Tauri API definitions", "funding": { "type": "opencollective", diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index fb5161ce5500..591b65f901e9 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,28 @@ # Changelog +## \[2.0.0-rc.17] + +### New Features + +- [`a944b9b05`](https://www.github.com/tauri-apps/tauri/commit/a944b9b05bc5ae6125ff451e86c5b207c511f3d7) ([#11118](https://www.github.com/tauri-apps/tauri/pull/11118) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Add `--github-workflows` flag for `tauri plugin new/init`. +- [`f57a729cd`](https://www.github.com/tauri-apps/tauri/commit/f57a729cd8f7e10d8daf0b9d5b85f9c7ad530496) ([#11039](https://www.github.com/tauri-apps/tauri/pull/11039) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Add `tauri inspect wix-upgrade-code` to print default Upgrade Code for your MSI installer derived from `productName`. + +### Bug Fixes + +- [`62b52f60a`](https://www.github.com/tauri-apps/tauri/commit/62b52f60a22ef84c4a2a2d9e662038b49f58e16c) ([#11064](https://www.github.com/tauri-apps/tauri/pull/11064) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Fix `tauri add` failing to add NPM depenency with `npm` package manager. +- [`56e087471`](https://www.github.com/tauri-apps/tauri/commit/56e087471a347f6bee7422221a956925c60b17e3) ([#11100](https://www.github.com/tauri-apps/tauri/pull/11100) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Fix iOS xcode-script usage with `bun`. +- [`b88e22a5f`](https://www.github.com/tauri-apps/tauri/commit/b88e22a5fe4e2e4376d6cad64d1e74d104ca8927) ([#11063](https://www.github.com/tauri-apps/tauri/pull/11063) by [@FabianLars](https://www.github.com/tauri-apps/tauri/../../FabianLars)) The cli now only sets the iOS deployment target environment variable when building for iOS. +- [`8d22c0c81`](https://www.github.com/tauri-apps/tauri/commit/8d22c0c814e7227d5e56ce9a08929045ccea1a1b) ([#11101](https://www.github.com/tauri-apps/tauri/pull/11101) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Only modify the iOS Xcode project "sign style" if we need to enforce manual signing. +- [`df24cb944`](https://www.github.com/tauri-apps/tauri/commit/df24cb944249ee398f6c8ba8c19757b398eec701) ([#11168](https://www.github.com/tauri-apps/tauri/pull/11168) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Fixes Xcode pbxproj file parsing not expecting `_` in build configuration IDs. + +### Dependencies + +- Upgraded to `tauri-cli@2.0.0-rc.17` + +### Breaking Changes + +- [`a944b9b05`](https://www.github.com/tauri-apps/tauri/commit/a944b9b05bc5ae6125ff451e86c5b207c511f3d7) ([#11118](https://www.github.com/tauri-apps/tauri/pull/11118) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) `tauri plugin init/new` will no longer generate a `.github` directory with workflows by default, instead use the new `--github-workflows` flag. + ## \[2.0.0-rc.16] ### New Features diff --git a/packages/cli/package.json b/packages/cli/package.json index 004990ee6e46..7d9f654cfc4b 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@tauri-apps/cli", - "version": "2.0.0-rc.16", + "version": "2.0.0-rc.17", "description": "Command line interface for building Tauri apps", "funding": { "type": "opencollective",