diff --git a/.changes/pre.json b/.changes/pre.json index 1609e7e0d2b..1e221d1763a 100644 --- a/.changes/pre.json +++ b/.changes/pre.json @@ -8,6 +8,7 @@ ".changes/android-gradle-8-9.md", ".changes/android-port-forward-fixes.md", ".changes/api-permissions-plugin.md", + ".changes/api-to-physical.md", ".changes/append_invoke_initialization_script.md", ".changes/asset-resolver-dev-fallback.md", ".changes/assets-iter-cow.md", @@ -34,10 +35,12 @@ ".changes/cli-info-plugins.md", ".changes/cli-make-app-dir-consistent.md", ".changes/cli-mobile-checks.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/custom-invoke-system-invoke-key.md", ".changes/dev-url-localhost-mobile.md", ".changes/do-not-exit-on-log-fail.md", ".changes/embed-plist-no-unit-val.md", @@ -109,6 +112,7 @@ ".changes/refactor-ipc-error.md", ".changes/refactor-ipc-response.md", ".changes/remove-cargo-config-creation.md", + ".changes/remove-invoke-system-responder.md", ".changes/remove-open-command.md", ".changes/remove-unsecure-configs.md", ".changes/remove-webview_fixed_runtime_path.md", @@ -141,6 +145,7 @@ ".changes/utils-fix-plugin-reference.md", ".changes/v1-migrate-updater.md", ".changes/v1-migration-improvement.md", + ".changes/window-config-create.md", ".changes/wix-consistent-product-code.md", ".changes/wix-upgrade-code-regression.md" ] diff --git a/Cargo.lock b/Cargo.lock index 17d96b98101..befd86f0aea 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.11", + "tauri-utils 2.0.0-rc.12", ] [[package]] @@ -7316,7 +7316,7 @@ checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1" [[package]] name = "tauri" -version = "2.0.0-rc.14" +version = "2.0.0-rc.15" dependencies = [ "anyhow", "bytes", @@ -7361,7 +7361,7 @@ dependencies = [ "tauri-macros", "tauri-runtime", "tauri-runtime-wry", - "tauri-utils 2.0.0-rc.11", + "tauri-utils 2.0.0-rc.12", "thiserror", "tokio", "tracing", @@ -7377,7 +7377,7 @@ dependencies = [ [[package]] name = "tauri-build" -version = "2.0.0-rc.11" +version = "2.0.0-rc.12" dependencies = [ "anyhow", "cargo_toml", @@ -7391,7 +7391,7 @@ dependencies = [ "serde", "serde_json", "tauri-codegen", - "tauri-utils 2.0.0-rc.11", + "tauri-utils 2.0.0-rc.12", "tauri-winres", "toml 0.8.19", "walkdir", @@ -7399,7 +7399,7 @@ dependencies = [ [[package]] name = "tauri-bundler" -version = "2.0.1-rc.12" +version = "2.0.1-rc.13" dependencies = [ "anyhow", "ar", @@ -7428,7 +7428,7 @@ dependencies = [ "tar", "tauri-icns", "tauri-macos-sign", - "tauri-utils 2.0.0-rc.11", + "tauri-utils 2.0.0-rc.12", "tempfile", "thiserror", "time", @@ -7443,7 +7443,7 @@ dependencies = [ [[package]] name = "tauri-cli" -version = "2.0.0-rc.15" +version = "2.0.0-rc.16" dependencies = [ "anyhow", "ar", @@ -7507,7 +7507,7 @@ dependencies = [ "tauri-icns", "tauri-macos-sign", "tauri-utils 1.6.0", - "tauri-utils 2.0.0-rc.11", + "tauri-utils 2.0.0-rc.12", "tempfile", "tokio", "toml 0.8.19", @@ -7531,7 +7531,7 @@ dependencies = [ [[package]] name = "tauri-codegen" -version = "2.0.0-rc.11" +version = "2.0.0-rc.12" dependencies = [ "base64 0.22.1", "brotli", @@ -7547,7 +7547,7 @@ dependencies = [ "serde_json", "sha2", "syn 2.0.76", - "tauri-utils 2.0.0-rc.11", + "tauri-utils 2.0.0-rc.12", "thiserror", "time", "url", @@ -7612,14 +7612,14 @@ dependencies = [ [[package]] name = "tauri-macros" -version = "2.0.0-rc.10" +version = "2.0.0-rc.11" dependencies = [ "heck 0.5.0", "proc-macro2", "quote", "syn 2.0.76", "tauri-codegen", - "tauri-utils 2.0.0-rc.11", + "tauri-utils 2.0.0-rc.12", ] [[package]] @@ -7641,7 +7641,7 @@ dependencies = [ [[package]] name = "tauri-plugin" -version = "2.0.0-rc.11" +version = "2.0.0-rc.12" dependencies = [ "anyhow", "glob", @@ -7649,7 +7649,7 @@ dependencies = [ "schemars", "serde", "serde_json", - "tauri-utils 2.0.0-rc.11", + "tauri-utils 2.0.0-rc.12", "toml 0.8.19", "walkdir", ] @@ -7683,13 +7683,13 @@ dependencies = [ "log", "serde", "tauri", - "tauri-plugin 2.0.0-rc.11", + "tauri-plugin 2.0.0-rc.12", "thiserror", ] [[package]] name = "tauri-runtime" -version = "2.0.0-rc.11" +version = "2.0.0-rc.12" dependencies = [ "dpi", "gtk", @@ -7698,7 +7698,7 @@ dependencies = [ "raw-window-handle", "serde", "serde_json", - "tauri-utils 2.0.0-rc.11", + "tauri-utils 2.0.0-rc.12", "thiserror", "url", "windows 0.58.0", @@ -7706,7 +7706,7 @@ dependencies = [ [[package]] name = "tauri-runtime-wry" -version = "2.0.0-rc.12" +version = "2.0.0-rc.13" dependencies = [ "gtk", "http 1.1.0", @@ -7720,7 +7720,7 @@ dependencies = [ "softbuffer", "tao", "tauri-runtime", - "tauri-utils 2.0.0-rc.11", + "tauri-utils 2.0.0-rc.12", "tracing", "url", "webkit2gtk", @@ -7736,7 +7736,7 @@ dependencies = [ "schemars", "serde", "serde_json", - "tauri-utils 2.0.0-rc.11", + "tauri-utils 2.0.0-rc.12", "url", ] @@ -7820,7 +7820,7 @@ dependencies = [ [[package]] name = "tauri-utils" -version = "2.0.0-rc.11" +version = "2.0.0-rc.12" dependencies = [ "aes-gcm", "brotli", diff --git a/crates/tauri-build/CHANGELOG.md b/crates/tauri-build/CHANGELOG.md index fa4bd4ffd3e..28807f77980 100644 --- a/crates/tauri-build/CHANGELOG.md +++ b/crates/tauri-build/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## \[2.0.0-rc.12] + +### Dependencies + +- Upgraded to `tauri-utils@2.0.0-rc.12` +- Upgraded to `tauri-codegen@2.0.0-rc.12` + ## \[2.0.0-rc.11] ### Bug Fixes diff --git a/crates/tauri-build/Cargo.toml b/crates/tauri-build/Cargo.toml index e94318db2b1..4f054fcf2c8 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.11" +version = "2.0.0-rc.12" 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.11", path = "../tauri-codegen", optional = true } -tauri-utils = { version = "2.0.0-rc.11", path = "../tauri-utils", features = [ +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 = [ "build", "resources", ] } diff --git a/crates/tauri-bundler/CHANGELOG.md b/crates/tauri-bundler/CHANGELOG.md index f81e6bb637c..8d9c2bd2157 100644 --- a/crates/tauri-bundler/CHANGELOG.md +++ b/crates/tauri-bundler/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## \[2.0.1-rc.13] + +### Dependencies + +- Upgraded to `tauri-utils@2.0.0-rc.12` + ## \[2.0.1-rc.12] ### Bug Fixes diff --git a/crates/tauri-bundler/Cargo.toml b/crates/tauri-bundler/Cargo.toml index 98d054fbd5f..ccf94336f92 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.12" +version = "2.0.1-rc.13" 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.11", path = "../tauri-utils", features = [ +tauri-utils = { version = "2.0.0-rc.12", path = "../tauri-utils", features = [ "resources", ] } image = "0.25.0" diff --git a/crates/tauri-cli/CHANGELOG.md b/crates/tauri-cli/CHANGELOG.md index 9cfe1cc1370..f09530b0a6b 100644 --- a/crates/tauri-cli/CHANGELOG.md +++ b/crates/tauri-cli/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +## \[2.0.0-rc.16] + +### New Features + +- [`9bb8fc618`](https://www.github.com/tauri-apps/tauri/commit/9bb8fc6189a93bcb811588b36e710d0f7818a1f9) ([#11030](https://www.github.com/tauri-apps/tauri/pull/11030) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Add `--no-example` flag for `tauri plugin new` and `tauri plugin init` to disable creation of an example project. + +### Dependencies + +- Upgraded to `tauri-utils@2.0.0-rc.12` +- Upgraded to `tauri-bundler@2.0.1-rc.13` + ## \[2.0.0-rc.15] ### Enhancements diff --git a/crates/tauri-cli/Cargo.toml b/crates/tauri-cli/Cargo.toml index 7dc7e099596..499ba4d6f51 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.15" +version = "2.0.0-rc.16" 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.12", default-features = false, path = "../tauri-bundler" } +tauri-bundler = { version = "2.0.1-rc.13", 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.11", path = "../tauri-utils", features = [ +tauri-utils = { version = "2.0.0-rc.12", 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 3be04f4cc58..0b0bd96c2a1 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.14", + "$id": "https://schema.tauri.app/config/2.0.0-rc.15", "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://tauri.app/v1/api/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 97e334c06c1..890726524ce 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.15", + "version": "2.0.0-rc.16", "node": ">= 10.0.0" }, - "tauri": "2.0.0-rc.14", - "tauri-build": "2.0.0-rc.11", - "tauri-plugin": "2.0.0-rc.11" + "tauri": "2.0.0-rc.15", + "tauri-build": "2.0.0-rc.12", + "tauri-plugin": "2.0.0-rc.12" } diff --git a/crates/tauri-codegen/CHANGELOG.md b/crates/tauri-codegen/CHANGELOG.md index d3281ea4144..46fd62a6458 100644 --- a/crates/tauri-codegen/CHANGELOG.md +++ b/crates/tauri-codegen/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## \[2.0.0-rc.12] + +### Dependencies + +- Upgraded to `tauri-utils@2.0.0-rc.12` + ## \[2.0.0-rc.11] ### Dependencies diff --git a/crates/tauri-codegen/Cargo.toml b/crates/tauri-codegen/Cargo.toml index 6d4d6234ba2..a5931b4165c 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.11" +version = "2.0.0-rc.12" 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.11", path = "../tauri-utils", features = [ +tauri-utils = { version = "2.0.0-rc.12", path = "../tauri-utils", features = [ "build", ] } thiserror = "1" diff --git a/crates/tauri-macros/CHANGELOG.md b/crates/tauri-macros/CHANGELOG.md index 47f12cab669..64fcbaba994 100644 --- a/crates/tauri-macros/CHANGELOG.md +++ b/crates/tauri-macros/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## \[2.0.0-rc.11] + +### Dependencies + +- Upgraded to `tauri-utils@2.0.0-rc.12` +- Upgraded to `tauri-codegen@2.0.0-rc.12` + ## \[2.0.0-rc.10] ### Dependencies diff --git a/crates/tauri-macros/Cargo.toml b/crates/tauri-macros/Cargo.toml index 7363e04121f..dfff0936c8c 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.10" +version = "2.0.0-rc.11" 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.11", default-features = false, path = "../tauri-codegen" } -tauri-utils = { version = "2.0.0-rc.11", path = "../tauri-utils" } +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" } [features] custom-protocol = [] diff --git a/crates/tauri-plugin/CHANGELOG.md b/crates/tauri-plugin/CHANGELOG.md index e93aced769c..fca0b4a7e0b 100644 --- a/crates/tauri-plugin/CHANGELOG.md +++ b/crates/tauri-plugin/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## \[2.0.0-rc.12] + +### Dependencies + +- Upgraded to `tauri-utils@2.0.0-rc.12` + ## \[2.0.0-rc.11] ### Dependencies diff --git a/crates/tauri-plugin/Cargo.toml b/crates/tauri-plugin/Cargo.toml index 891fb7f1067..4b63150747b 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.11" +version = "2.0.0-rc.12" 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.11", default-features = false, features = [ +tauri-utils = { version = "2.0.0-rc.12", 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 91aa62b9277..72cb3a55d67 100644 --- a/crates/tauri-runtime-wry/CHANGELOG.md +++ b/crates/tauri-runtime-wry/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## \[2.0.0-rc.13] + +### Dependencies + +- Upgraded to `tauri-utils@2.0.0-rc.12` +- Upgraded to `tauri-runtime@2.0.0-rc.12` + ## \[2.0.0-rc.12] ### Enhancements diff --git a/crates/tauri-runtime-wry/Cargo.toml b/crates/tauri-runtime-wry/Cargo.toml index 2e13c597a28..3a6f357ada7 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.12" +version = "2.0.0-rc.13" 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.11", path = "../tauri-runtime" } -tauri-utils = { version = "2.0.0-rc.11", path = "../tauri-utils" } +tauri-runtime = { version = "2.0.0-rc.12", path = "../tauri-runtime" } +tauri-utils = { version = "2.0.0-rc.12", 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 86b192e4a66..bb8ed78e296 100644 --- a/crates/tauri-runtime/CHANGELOG.md +++ b/crates/tauri-runtime/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## \[2.0.0-rc.12] + +### Dependencies + +- Upgraded to `tauri-utils@2.0.0-rc.12` + ## \[2.0.0-rc.11] ### Dependencies diff --git a/crates/tauri-runtime/Cargo.toml b/crates/tauri-runtime/Cargo.toml index de98245b9e5..a67eaf493df 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.11" +version = "2.0.0-rc.12" 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.11", path = "../tauri-utils" } +tauri-utils = { version = "2.0.0-rc.12", 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 3be04f4cc58..0b0bd96c2a1 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.14", + "$id": "https://schema.tauri.app/config/2.0.0-rc.15", "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://tauri.app/v1/api/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 859bb17ee63..dc475a27629 100644 --- a/crates/tauri-utils/CHANGELOG.md +++ b/crates/tauri-utils/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## \[2.0.0-rc.12] + +### New Features + +- [`ad294d274`](https://www.github.com/tauri-apps/tauri/commit/ad294d274dd81d2ef91ed73af9163b6e9b8eb964) ([#11032](https://www.github.com/tauri-apps/tauri/pull/11032) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Add `app > windows > create` option to choose whether to create this window at app startup or not. + ## \[2.0.0-rc.11] ### New Features diff --git a/crates/tauri-utils/Cargo.toml b/crates/tauri-utils/Cargo.toml index 2a253c5c6cb..033ccf0c65e 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.11" +version = "2.0.0-rc.12" description = "Utilities for Tauri" exclude = ["CHANGELOG.md", "/target"] readme = "README.md" diff --git a/crates/tauri/CHANGELOG.md b/crates/tauri/CHANGELOG.md index 76ea1817561..00037d33904 100644 --- a/crates/tauri/CHANGELOG.md +++ b/crates/tauri/CHANGELOG.md @@ -1,5 +1,27 @@ # Changelog +## \[2.0.0-rc.15] + +### New Features + +- [`ad294d274`](https://www.github.com/tauri-apps/tauri/commit/ad294d274dd81d2ef91ed73af9163b6e9b8eb964) ([#11032](https://www.github.com/tauri-apps/tauri/pull/11032) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Add `app > windows > create` option to choose whether to create this window at app startup or not. + +### Enhancements + +- [`e7fd676c2`](https://www.github.com/tauri-apps/tauri/commit/e7fd676c2741929727e3e25bd81cd6ea45e4da7b) ([#11025](https://www.github.com/tauri-apps/tauri/pull/11025) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Inject `__INVOKE_KEY__` into custom invoke systems so their implementations can properly construct `tauri::webview::InvokeRequest`. + +### Dependencies + +- Upgraded to `tauri-utils@2.0.0-rc.12` +- Upgraded to `tauri-runtime@2.0.0-rc.12` +- Upgraded to `tauri-runtime-wry@2.0.0-rc.13` +- Upgraded to `tauri-macros@2.0.0-rc.11` +- Upgraded to `tauri-build@2.0.0-rc.12` + +### Breaking Changes + +- [`551e0624a`](https://www.github.com/tauri-apps/tauri/commit/551e0624a903ed6cf8390add7868c655c7778ce4) ([#11027](https://www.github.com/tauri-apps/tauri/pull/11027) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Remove the `responder` part of a custom invoke system now that the responder can be set directly in the `tauri::WebviewWindow::on_message` function. + ## \[2.0.0-rc.14] ### Bug Fixes diff --git a/crates/tauri/Cargo.toml b/crates/tauri/Cargo.toml index 4ae2c7bf07d..5f4ea2c0ed6 100644 --- a/crates/tauri/Cargo.toml +++ b/crates/tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri" -version = "2.0.0-rc.14" +version = "2.0.0-rc.15" 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.11", path = "../tauri-runtime" } -tauri-macros = { version = "2.0.0-rc.10", path = "../tauri-macros" } -tauri-utils = { version = "2.0.0-rc.11", features = [ +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 = [ "resources", ], path = "../tauri-utils" } -tauri-runtime-wry = { version = "2.0.0-rc.12", path = "../tauri-runtime-wry", optional = true } +tauri-runtime-wry = { version = "2.0.0-rc.13", path = "../tauri-runtime-wry", optional = true } getrandom = "0.2" serde_repr = "0.1" state = "0.6" @@ -135,8 +135,8 @@ swift-rs = "1.0.7" [build-dependencies] heck = "0.5" -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 = [ +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 = [ "build", ] } diff --git a/packages/api/CHANGELOG.md b/packages/api/CHANGELOG.md index c4cf96e9a87..f2bfcee2f64 100644 --- a/packages/api/CHANGELOG.md +++ b/packages/api/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## \[2.0.0-rc.5] + +### New Features + +- [`ddf69157b`](https://www.github.com/tauri-apps/tauri/commit/ddf69157b54249f3321ca72db6703812019f1ab9) ([#11031](https://www.github.com/tauri-apps/tauri/pull/11031) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Add `toPhysical` method on `LogicalPositon` and `LogicalSize` classes. + ## \[2.0.0-rc.4] ### Enhancements diff --git a/packages/api/package.json b/packages/api/package.json index 12aa27091e5..a34c260a3b7 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -1,6 +1,6 @@ { "name": "@tauri-apps/api", - "version": "2.0.0-rc.4", + "version": "2.0.0-rc.5", "description": "Tauri API definitions", "funding": { "type": "opencollective", diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index bf85fc7748e..fb5161ce550 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## \[2.0.0-rc.16] + +### New Features + +- [`9bb8fc618`](https://www.github.com/tauri-apps/tauri/commit/9bb8fc6189a93bcb811588b36e710d0f7818a1f9) ([#11030](https://www.github.com/tauri-apps/tauri/pull/11030) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Add `--no-example` flag for `tauri plugin new` and `tauri plugin init` to disable creation of an example project. + +### Dependencies + +- Upgraded to `tauri-cli@2.0.0-rc.16` + ## \[2.0.0-rc.15] ### Enhancements diff --git a/packages/cli/package.json b/packages/cli/package.json index 9aaa7e379e3..77cb16553af 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@tauri-apps/cli", - "version": "2.0.0-rc.15", + "version": "2.0.0-rc.16", "description": "Command line interface for building Tauri apps", "funding": { "type": "opencollective",