From 1367ff5ec622f46b9447133ee8443808af04266b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 20 Oct 2024 10:29:13 -0300 Subject: [PATCH] apply version updates (#11373) Co-authored-by: lucasfernog --- .../asset-protocol-expose-content-range.md | 5 ----- .changes/bundler-wix-version.md | 6 ------ .changes/fix-register-listener.md | 5 ----- ...ned-menu-item-with-text-on-menu-builders.md | 5 ----- .changes/remove-unused-metadata-references.md | 6 ------ .changes/resources-close-fallback.md | 5 ----- .changes/support-custom-repo-structure.md | 7 ------- Cargo.lock | 6 +++--- crates/tauri-bundler/CHANGELOG.md | 6 ++++++ crates/tauri-bundler/Cargo.toml | 2 +- crates/tauri-cli/CHANGELOG.md | 11 +++++++++++ crates/tauri-cli/Cargo.toml | 4 ++-- crates/tauri-cli/config.schema.json | 2 +- crates/tauri-cli/metadata-v2.json | 4 ++-- .../schemas/config.schema.json | 2 +- crates/tauri/CHANGELOG.md | 18 ++++++++++++++++++ crates/tauri/Cargo.toml | 2 +- packages/api/CHANGELOG.md | 10 ++++++++++ packages/api/package.json | 2 +- packages/cli/CHANGELOG.md | 11 +++++++++++ packages/cli/package.json | 2 +- 21 files changed, 69 insertions(+), 52 deletions(-) delete mode 100644 .changes/asset-protocol-expose-content-range.md delete mode 100644 .changes/bundler-wix-version.md delete mode 100644 .changes/fix-register-listener.md delete mode 100644 .changes/predefined-menu-item-with-text-on-menu-builders.md delete mode 100644 .changes/remove-unused-metadata-references.md delete mode 100644 .changes/resources-close-fallback.md delete mode 100644 .changes/support-custom-repo-structure.md diff --git a/.changes/asset-protocol-expose-content-range.md b/.changes/asset-protocol-expose-content-range.md deleted file mode 100644 index 055a9ac1402f..000000000000 --- a/.changes/asset-protocol-expose-content-range.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": patch:bug ---- - -Expose `content-range` header in `range` response of `asset` protocol diff --git a/.changes/bundler-wix-version.md b/.changes/bundler-wix-version.md deleted file mode 100644 index a9ae4e1c2e1b..000000000000 --- a/.changes/bundler-wix-version.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-bundler": "patch:feat" ---- - -Add `bundler > windows > wix > version` to manually specify a wix-compatible version. - diff --git a/.changes/fix-register-listener.md b/.changes/fix-register-listener.md deleted file mode 100644 index 317ca4411226..000000000000 --- a/.changes/fix-register-listener.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@tauri-apps/api": patch:bug ---- - -Fixes `addPluginListener` not working. diff --git a/.changes/predefined-menu-item-with-text-on-menu-builders.md b/.changes/predefined-menu-item-with-text-on-menu-builders.md deleted file mode 100644 index 9c5a6a51b997..000000000000 --- a/.changes/predefined-menu-item-with-text-on-menu-builders.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": "patch:feat" ---- - -Add new methods on `tauri::menu::MenuBuilder` and `tauri::menu::SubmenuBuilder` to create predefined menu item with specific text. diff --git a/.changes/remove-unused-metadata-references.md b/.changes/remove-unused-metadata-references.md deleted file mode 100644 index 125d735043f4..000000000000 --- a/.changes/remove-unused-metadata-references.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@tauri-apps/api": patch:changes -"tauri": patch:changes ---- - -Remove references to no longer used `__TAURI_INTERNALS__.metadata.windows` and `__TAURI_INTERNALS__.metadata.webviews`. diff --git a/.changes/resources-close-fallback.md b/.changes/resources-close-fallback.md deleted file mode 100644 index 2a7c15eec33c..000000000000 --- a/.changes/resources-close-fallback.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": patch:enhance ---- - -Fallback to the Window and AppHandle resource table when closing a resource by ID. diff --git a/.changes/support-custom-repo-structure.md b/.changes/support-custom-repo-structure.md deleted file mode 100644 index 33ae9c3d2423..000000000000 --- a/.changes/support-custom-repo-structure.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@tauri-apps/cli": patch:enhance -"tauri-cli": patch:enhance ---- - -Support custom project directory structure where the Tauri app folder is not a subfolder of the frontend project. -The frontend and Tauri app project paths can be set with the `TAURI_FRONTEND_PATH` and the `TAURI_APP_PATH` environment variables respectively. diff --git a/Cargo.lock b/Cargo.lock index d127b991ca62..d06aa6c2e969 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -8821,7 +8821,7 @@ checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1" [[package]] name = "tauri" -version = "2.0.4" +version = "2.0.5" dependencies = [ "anyhow", "bytes", @@ -8903,7 +8903,7 @@ dependencies = [ [[package]] name = "tauri-bundler" -version = "2.0.3" +version = "2.0.4" dependencies = [ "anyhow", "ar", @@ -8947,7 +8947,7 @@ dependencies = [ [[package]] name = "tauri-cli" -version = "2.0.3" +version = "2.0.4" dependencies = [ "anyhow", "ar", diff --git a/crates/tauri-bundler/CHANGELOG.md b/crates/tauri-bundler/CHANGELOG.md index 77d3a8853e1f..7c914b189bac 100644 --- a/crates/tauri-bundler/CHANGELOG.md +++ b/crates/tauri-bundler/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## \[2.0.4] + +### New Features + +- [`c8f55b615`](https://www.github.com/tauri-apps/tauri/commit/c8f55b615d2d98ade5c0f1896139dc283382a176) ([#11388](https://www.github.com/tauri-apps/tauri/pull/11388) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Add `bundler > windows > wix > version` to manually specify a wix-compatible version. + ## \[2.0.3] ### New Features diff --git a/crates/tauri-bundler/Cargo.toml b/crates/tauri-bundler/Cargo.toml index 35bf4c3aca28..b5452ec6fa1b 100644 --- a/crates/tauri-bundler/Cargo.toml +++ b/crates/tauri-bundler/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-bundler" -version = "2.0.3" +version = "2.0.4" authors = [ "George Burton ", "Tauri Programme within The Commons Conservancy", diff --git a/crates/tauri-cli/CHANGELOG.md b/crates/tauri-cli/CHANGELOG.md index 71fc5eaf9bf9..1f4d6378a038 100644 --- a/crates/tauri-cli/CHANGELOG.md +++ b/crates/tauri-cli/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +## \[2.0.4] + +### Enhancements + +- [`e4c9268b1`](https://www.github.com/tauri-apps/tauri/commit/e4c9268b19c614dc9ebb0895448fd16de7efee80) ([#11258](https://www.github.com/tauri-apps/tauri/pull/11258) by [@regexident](https://www.github.com/tauri-apps/tauri/../../regexident)) Support custom project directory structure where the Tauri app folder is not a subfolder of the frontend project. + The frontend and Tauri app project paths can be set with the `TAURI_FRONTEND_PATH` and the `TAURI_APP_PATH` environment variables respectively. + +### Dependencies + +- Upgraded to `tauri-bundler@2.0.4` + ## \[2.0.3] ### New Features diff --git a/crates/tauri-cli/Cargo.toml b/crates/tauri-cli/Cargo.toml index 8f9236a36833..8c22079cc397 100644 --- a/crates/tauri-cli/Cargo.toml +++ b/crates/tauri-cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-cli" -version = "2.0.3" +version = "2.0.4" authors = ["Tauri Programme within The Commons Conservancy"] edition = "2021" rust-version = "1.77.2" @@ -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.3", default-features = false, path = "../tauri-bundler" } +tauri-bundler = { version = "2.0.4", default-features = false, path = "../tauri-bundler" } colored = "2.1" serde = { version = "1.0", features = ["derive"] } serde_json = { version = "1.0", features = ["preserve_order"] } diff --git a/crates/tauri-cli/config.schema.json b/crates/tauri-cli/config.schema.json index 9bc3f4577bd6..1b50e7b2c693 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.4", + "$id": "https://schema.tauri.app/config/2.0.5", "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 1cf6f62a54b3..eada14df9f14 100644 --- a/crates/tauri-cli/metadata-v2.json +++ b/crates/tauri-cli/metadata-v2.json @@ -1,9 +1,9 @@ { "cli.js": { - "version": "2.0.3", + "version": "2.0.4", "node": ">= 10.0.0" }, - "tauri": "2.0.4", + "tauri": "2.0.5", "tauri-build": "2.0.1", "tauri-plugin": "2.0.1" } diff --git a/crates/tauri-schema-generator/schemas/config.schema.json b/crates/tauri-schema-generator/schemas/config.schema.json index 9bc3f4577bd6..1b50e7b2c693 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.4", + "$id": "https://schema.tauri.app/config/2.0.5", "title": "Config", "description": "The Tauri configuration object.\n It is read from a file where you can define your frontend assets,\n configure the bundler and define a tray icon.\n\n The configuration file is generated by the\n [`tauri init`](https://v2.tauri.app/reference/cli/#init) command that lives in\n your Tauri application source directory (src-tauri).\n\n Once generated, you may modify it at will to customize your Tauri application.\n\n ## File Formats\n\n By default, the configuration is defined as a JSON file named `tauri.conf.json`.\n\n Tauri also supports JSON5 and TOML files via the `config-json5` and `config-toml` Cargo features, respectively.\n The JSON5 file name must be either `tauri.conf.json` or `tauri.conf.json5`.\n The TOML file name is `Tauri.toml`.\n\n ## Platform-Specific Configuration\n\n In addition to the default configuration file, Tauri can\n read a platform-specific configuration from `tauri.linux.conf.json`,\n `tauri.windows.conf.json`, `tauri.macos.conf.json`, `tauri.android.conf.json` and `tauri.ios.conf.json`\n (or `Tauri.linux.toml`, `Tauri.windows.toml`, `Tauri.macos.toml`, `Tauri.android.toml` and `Tauri.ios.toml` if the `Tauri.toml` format is used),\n which gets merged with the main configuration object.\n\n ## Configuration Structure\n\n The configuration is composed of the following objects:\n\n - [`app`](#appconfig): The Tauri configuration\n - [`build`](#buildconfig): The build configuration\n - [`bundle`](#bundleconfig): The bundle configurations\n - [`plugins`](#pluginconfig): The plugins configuration\n\n Example tauri.config.json file:\n\n ```json\n {\n \"productName\": \"tauri-app\",\n \"version\": \"0.1.0\",\n \"build\": {\n \"beforeBuildCommand\": \"\",\n \"beforeDevCommand\": \"\",\n \"devUrl\": \"../dist\",\n \"frontendDist\": \"../dist\"\n },\n \"app\": {\n \"security\": {\n \"csp\": null\n },\n \"windows\": [\n {\n \"fullscreen\": false,\n \"height\": 600,\n \"resizable\": true,\n \"title\": \"Tauri App\",\n \"width\": 800\n }\n ]\n },\n \"bundle\": {},\n \"plugins\": {}\n }\n ```", "type": "object", diff --git a/crates/tauri/CHANGELOG.md b/crates/tauri/CHANGELOG.md index b48a2e7f5716..23e951cc3839 100644 --- a/crates/tauri/CHANGELOG.md +++ b/crates/tauri/CHANGELOG.md @@ -1,5 +1,23 @@ # Changelog +## \[2.0.5] + +### New Features + +- [`6cd917c22`](https://www.github.com/tauri-apps/tauri/commit/6cd917c227596e4e557496347ccae8ef579f6ea0) ([#11390](https://www.github.com/tauri-apps/tauri/pull/11390) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Add new methods on `tauri::menu::MenuBuilder` and `tauri::menu::SubmenuBuilder` to create predefined menu item with specific text. + +### Enhancements + +- [`eb61d44f9`](https://www.github.com/tauri-apps/tauri/commit/eb61d44f9fc1be591c3d10a6ac1451aa39e6a77b) ([#11398](https://www.github.com/tauri-apps/tauri/pull/11398) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Fallback to the Window and AppHandle resource table when closing a resource by ID. + +### Bug Fixes + +- [`e1bf6ef8c`](https://www.github.com/tauri-apps/tauri/commit/e1bf6ef8cbe3421eeaec47a222446121bcc28354) ([#11374](https://www.github.com/tauri-apps/tauri/pull/11374) by [@chrox](https://www.github.com/tauri-apps/tauri/../../chrox)) Expose `content-range` header in `range` response of `asset` protocol + +### What's Changed + +- [`2e88633ba`](https://www.github.com/tauri-apps/tauri/commit/2e88633ba4da8fc289c6d8a29c36f3327f9b576e) ([#11369](https://www.github.com/tauri-apps/tauri/pull/11369) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Remove references to no longer used `__TAURI_INTERNALS__.metadata.windows` and `__TAURI_INTERNALS__.metadata.webviews`. + ## \[2.0.4] ### New Features diff --git a/crates/tauri/Cargo.toml b/crates/tauri/Cargo.toml index 5501bb9f82ca..d62529064e8c 100644 --- a/crates/tauri/Cargo.toml +++ b/crates/tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri" -version = "2.0.4" +version = "2.0.5" description = "Make tiny, secure apps for all desktop platforms with Tauri" exclude = ["/test", "/.scripts", "CHANGELOG.md", "/target"] readme = "README.md" diff --git a/packages/api/CHANGELOG.md b/packages/api/CHANGELOG.md index 83cbfdfbab94..7a551431760f 100644 --- a/packages/api/CHANGELOG.md +++ b/packages/api/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## \[2.0.3] + +### Bug Fixes + +- [`fbb45c674`](https://www.github.com/tauri-apps/tauri/commit/fbb45c674ca92fbbe04f1a8360e5f2e477dd4297) ([#11423](https://www.github.com/tauri-apps/tauri/pull/11423) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Fixes `addPluginListener` not working. + +### What's Changed + +- [`2e88633ba`](https://www.github.com/tauri-apps/tauri/commit/2e88633ba4da8fc289c6d8a29c36f3327f9b576e) ([#11369](https://www.github.com/tauri-apps/tauri/pull/11369) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Remove references to no longer used `__TAURI_INTERNALS__.metadata.windows` and `__TAURI_INTERNALS__.metadata.webviews`. + ## \[2.0.2] ### What's Changed diff --git a/packages/api/package.json b/packages/api/package.json index b162accb29ff..6a3f4ac7e4bd 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -1,6 +1,6 @@ { "name": "@tauri-apps/api", - "version": "2.0.2", + "version": "2.0.3", "description": "Tauri API definitions", "funding": { "type": "opencollective", diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index de363cfd77b3..1a0b196ccec2 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +## \[2.0.4] + +### Enhancements + +- [`e4c9268b1`](https://www.github.com/tauri-apps/tauri/commit/e4c9268b19c614dc9ebb0895448fd16de7efee80) ([#11258](https://www.github.com/tauri-apps/tauri/pull/11258) by [@regexident](https://www.github.com/tauri-apps/tauri/../../regexident)) Support custom project directory structure where the Tauri app folder is not a subfolder of the frontend project. + The frontend and Tauri app project paths can be set with the `TAURI_FRONTEND_PATH` and the `TAURI_APP_PATH` environment variables respectively. + +### Dependencies + +- Upgraded to `tauri-cli@2.0.4` + ## \[2.0.3] ### New Features diff --git a/packages/cli/package.json b/packages/cli/package.json index 89acd241eba5..7a68df5a3d67 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@tauri-apps/cli", - "version": "2.0.3", + "version": "2.0.4", "description": "Command line interface for building Tauri apps", "funding": { "type": "opencollective",