diff --git a/.changes/disable-background-throttling.md b/.changes/disable-background-throttling.md deleted file mode 100644 index 48f6e20e4260..000000000000 --- a/.changes/disable-background-throttling.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -'tauri-cli': 'minor:enhance' -'tauri-runtime': 'minor:enhance' -'tauri-runtime-wry': 'minor:enhance' -'tauri-utils': 'minor:enhance' -'tauri': 'minor:enhance' -'@tauri-apps/api': 'minor:enhance' -'@tauri-apps/cli': 'minor:enhance' ---- - -Add an option to change the default background throttling policy (currently for WebKit only). diff --git a/.changes/emit-str.md b/.changes/emit-str.md deleted file mode 100644 index b4b63c923219..000000000000 --- a/.changes/emit-str.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -tauri: 'minor:feat' ---- - -Add `emit_str*` methods to `Emitter` trait to allow emitting JSON serialized data directly. diff --git a/.changes/export-ExitRequestApi.md b/.changes/export-ExitRequestApi.md deleted file mode 100644 index e8026009043c..000000000000 --- a/.changes/export-ExitRequestApi.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -tauri: 'minor:feat' ---- - -Export `struct tauri::ExitRequestApi`. diff --git a/.changes/nsis-ukranian.md b/.changes/nsis-ukranian.md deleted file mode 100644 index 645c93213238..000000000000 --- a/.changes/nsis-ukranian.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri-bundler': 'patch:enhance' ---- - -Added Ukrainian translation for the custom tauri messages in the nsis bundle diff --git a/.changes/path-resolver-clone.md b/.changes/path-resolver-clone.md deleted file mode 100644 index 680e6c63ba6c..000000000000 --- a/.changes/path-resolver-clone.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": "patch:enhance" ---- - -Derive `Clone` for `PathResolver` struct. diff --git a/.changes/webview-navigate-borrow-self.md b/.changes/webview-navigate-borrow-self.md deleted file mode 100644 index f80cf726e34d..000000000000 --- a/.changes/webview-navigate-borrow-self.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri': 'minor:bug' ---- - -`Webview::navigate` and `WebviewWindow::navigate` borrows `&self` instead of unnecessarily borrowing `&mut self`. diff --git a/Cargo.lock b/Cargo.lock index 28031d69f68f..0ba3692bac16 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -14,7 +14,7 @@ version = "0.1.0" dependencies = [ "insta", "serde_json", - "tauri-utils 2.1.1", + "tauri-utils 2.2.0", ] [[package]] @@ -9010,7 +9010,7 @@ checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1" [[package]] name = "tauri" -version = "2.2.5" +version = "2.3.0" dependencies = [ "anyhow", "bytes", @@ -9054,7 +9054,7 @@ dependencies = [ "tauri-macros", "tauri-runtime", "tauri-runtime-wry", - "tauri-utils 2.1.1", + "tauri-utils 2.2.0", "thiserror 2.0.10", "tokio", "tracing", @@ -9070,7 +9070,7 @@ dependencies = [ [[package]] name = "tauri-build" -version = "2.0.5" +version = "2.0.6" dependencies = [ "anyhow", "cargo_toml", @@ -9084,7 +9084,7 @@ dependencies = [ "serde", "serde_json", "tauri-codegen", - "tauri-utils 2.1.1", + "tauri-utils 2.2.0", "tauri-winres", "toml 0.8.19", "walkdir", @@ -9092,7 +9092,7 @@ dependencies = [ [[package]] name = "tauri-bundler" -version = "2.2.3" +version = "2.2.4" dependencies = [ "anyhow", "ar", @@ -9121,7 +9121,7 @@ dependencies = [ "tar", "tauri-icns", "tauri-macos-sign", - "tauri-utils 2.1.1", + "tauri-utils 2.2.0", "tempfile", "thiserror 2.0.10", "time", @@ -9136,7 +9136,7 @@ dependencies = [ [[package]] name = "tauri-cli" -version = "2.2.7" +version = "2.3.0" dependencies = [ "anyhow", "ar", @@ -9201,7 +9201,7 @@ dependencies = [ "tauri-icns", "tauri-macos-sign", "tauri-utils 1.6.0", - "tauri-utils 2.1.1", + "tauri-utils 2.2.0", "tempfile", "tokio", "toml 0.8.19", @@ -9226,7 +9226,7 @@ dependencies = [ [[package]] name = "tauri-codegen" -version = "2.0.4" +version = "2.0.5" dependencies = [ "base64 0.22.1", "brotli", @@ -9242,7 +9242,7 @@ dependencies = [ "serde_json", "sha2", "syn 2.0.95", - "tauri-utils 2.1.1", + "tauri-utils 2.2.0", "thiserror 2.0.10", "time", "url", @@ -9312,19 +9312,21 @@ dependencies = [ [[package]] name = "tauri-macros" -version = "2.0.4" +version = "2.0.5" dependencies = [ "heck 0.5.0", "proc-macro2", "quote", "syn 2.0.95", "tauri-codegen", - "tauri-utils 2.1.1", + "tauri-utils 2.2.0", ] [[package]] name = "tauri-plugin" version = "2.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5841b9a0200e954ef7457f8d327091424328891e267a97b641dc246cc54d0dec" dependencies = [ "anyhow", "glob", @@ -9339,9 +9341,7 @@ dependencies = [ [[package]] name = "tauri-plugin" -version = "2.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5841b9a0200e954ef7457f8d327091424328891e267a97b641dc246cc54d0dec" +version = "2.0.5" dependencies = [ "anyhow", "glob", @@ -9349,7 +9349,7 @@ dependencies = [ "schemars", "serde", "serde_json", - "tauri-utils 2.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "tauri-utils 2.2.0", "toml 0.8.19", "walkdir", ] @@ -9371,7 +9371,7 @@ dependencies = [ "serde_repr", "swift-rs", "tauri", - "tauri-plugin 2.0.4 (registry+https://github.com/rust-lang/crates.io-index)", + "tauri-plugin 2.0.4", "thiserror 2.0.10", "time", ] @@ -9383,13 +9383,13 @@ dependencies = [ "log", "serde", "tauri", - "tauri-plugin 2.0.4", + "tauri-plugin 2.0.5", "thiserror 2.0.10", ] [[package]] name = "tauri-runtime" -version = "2.3.0" +version = "2.4.0" dependencies = [ "dpi", "gtk", @@ -9398,7 +9398,7 @@ dependencies = [ "raw-window-handle", "serde", "serde_json", - "tauri-utils 2.1.1", + "tauri-utils 2.2.0", "thiserror 2.0.10", "url", "windows 0.58.0", @@ -9406,7 +9406,7 @@ dependencies = [ [[package]] name = "tauri-runtime-wry" -version = "2.3.0" +version = "2.4.0" dependencies = [ "gtk", "http 1.2.0", @@ -9420,7 +9420,7 @@ dependencies = [ "softbuffer", "tao", "tauri-runtime", - "tauri-utils 2.1.1", + "tauri-utils 2.2.0", "tracing", "url", "webkit2gtk", @@ -9436,7 +9436,7 @@ dependencies = [ "schemars", "serde", "serde_json", - "tauri-utils 2.1.1", + "tauri-utils 2.2.0", "url", ] @@ -9488,19 +9488,17 @@ dependencies = [ [[package]] name = "tauri-utils" version = "2.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "96fb10e7cc97456b2d5b9c03e335b5de5da982039a303a20d10006885e4523a0" dependencies = [ - "aes-gcm", - "brotli", "cargo_metadata", "ctor", "dunce", - "getrandom 0.2.15", "glob", "html5ever", "http 1.2.0", "infer 0.16.0", "json-patch 3.0.1", - "json5", "kuchikiki", "log", "memchr", @@ -9514,31 +9512,30 @@ dependencies = [ "serde-untagged", "serde_json", "serde_with", - "serial_test", - "serialize-to-javascript", "swift-rs", "thiserror 2.0.10", "toml 0.8.19", "url", "urlpattern", "uuid", - "walkdir", ] [[package]] name = "tauri-utils" -version = "2.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96fb10e7cc97456b2d5b9c03e335b5de5da982039a303a20d10006885e4523a0" +version = "2.2.0" dependencies = [ + "aes-gcm", + "brotli", "cargo_metadata", "ctor", "dunce", + "getrandom 0.2.15", "glob", "html5ever", "http 1.2.0", "infer 0.16.0", "json-patch 3.0.1", + "json5", "kuchikiki", "log", "memchr", @@ -9552,12 +9549,15 @@ dependencies = [ "serde-untagged", "serde_json", "serde_with", + "serial_test", + "serialize-to-javascript", "swift-rs", "thiserror 2.0.10", "toml 0.8.19", "url", "urlpattern", "uuid", + "walkdir", ] [[package]] diff --git a/crates/tauri-build/CHANGELOG.md b/crates/tauri-build/CHANGELOG.md index 6129d590e6cc..810689be147b 100644 --- a/crates/tauri-build/CHANGELOG.md +++ b/crates/tauri-build/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## \[2.0.6] + +### Dependencies + +- Upgraded to `tauri-utils@2.2.0` +- Upgraded to `tauri-codegen@2.0.5` + ## \[2.0.5] ### Bug Fixes diff --git a/crates/tauri-build/Cargo.toml b/crates/tauri-build/Cargo.toml index f3ade73a944f..7558180a5df0 100644 --- a/crates/tauri-build/Cargo.toml +++ b/crates/tauri-build/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-build" -version = "2.0.5" +version = "2.0.6" 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.4", path = "../tauri-codegen", optional = true } -tauri-utils = { version = "2.1.1", path = "../tauri-utils", features = [ +tauri-codegen = { version = "2.0.5", path = "../tauri-codegen", optional = true } +tauri-utils = { version = "2.2.0", path = "../tauri-utils", features = [ "build", "resources", ] } diff --git a/crates/tauri-bundler/CHANGELOG.md b/crates/tauri-bundler/CHANGELOG.md index 21690a90240b..669783d9f179 100644 --- a/crates/tauri-bundler/CHANGELOG.md +++ b/crates/tauri-bundler/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## \[2.2.4] + +### Enhancements + +- [`5eba0785c`](https://www.github.com/tauri-apps/tauri/commit/5eba0785c461a0d0bec47653eaf6ccdf5f05d347) ([#12605](https://www.github.com/tauri-apps/tauri/pull/12605) by [@niusia-ua](https://www.github.com/tauri-apps/tauri/../../niusia-ua)) Added Ukrainian translation for the custom tauri messages in the nsis bundle + +### Dependencies + +- Upgraded to `tauri-utils@2.2.0` + ## \[2.2.3] ### Bug Fixes diff --git a/crates/tauri-bundler/Cargo.toml b/crates/tauri-bundler/Cargo.toml index d9d73eba89b3..566cd0541d4f 100644 --- a/crates/tauri-bundler/Cargo.toml +++ b/crates/tauri-bundler/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-bundler" -version = "2.2.3" +version = "2.2.4" authors = [ "George Burton ", "Tauri Programme within The Commons Conservancy", @@ -15,7 +15,7 @@ rust-version = "1.77.2" exclude = ["CHANGELOG.md", "/target", "rustfmt.toml"] [dependencies] -tauri-utils = { version = "2.1.1", path = "../tauri-utils", features = [ +tauri-utils = { version = "2.2.0", path = "../tauri-utils", features = [ "resources", ] } image = "0.25" diff --git a/crates/tauri-cli/CHANGELOG.md b/crates/tauri-cli/CHANGELOG.md index 1b835d08c924..b78985390278 100644 --- a/crates/tauri-cli/CHANGELOG.md +++ b/crates/tauri-cli/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +## \[2.3.0] + +### Enhancements + +- [`a2d36b8c3`](https://www.github.com/tauri-apps/tauri/commit/a2d36b8c34a8dcfc6736797ca5cd4665faf75e7e) ([#12181](https://www.github.com/tauri-apps/tauri/pull/12181) by [@bastiankistner](https://www.github.com/tauri-apps/tauri/../../bastiankistner)) Add an option to change the default background throttling policy (currently for WebKit only). + +### Dependencies + +- Upgraded to `tauri-utils@2.2.0` +- Upgraded to `tauri-bundler@2.2.4` + ## \[2.2.7] ### Bug Fixes diff --git a/crates/tauri-cli/Cargo.toml b/crates/tauri-cli/Cargo.toml index aeb173b6f3f4..d23e26e7a3af 100644 --- a/crates/tauri-cli/Cargo.toml +++ b/crates/tauri-cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-cli" -version = "2.2.7" +version = "2.3.0" 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", features = ["derive", "env"] } anyhow = "1" -tauri-bundler = { version = "2.2.3", default-features = false, path = "../tauri-bundler" } +tauri-bundler = { version = "2.2.4", default-features = false, path = "../tauri-bundler" } colored = "2" serde = { version = "1", features = ["derive"] } serde_json = { version = "1", features = ["preserve_order"] } @@ -57,7 +57,7 @@ shared_child = "1" duct = "0.13" toml_edit = { version = "0.22", features = ["serde"] } json-patch = "3" -tauri-utils = { version = "2.1.1", path = "../tauri-utils", features = [ +tauri-utils = { version = "2.2.0", 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 9a63a76789aa..7fe4581e971c 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.2.5", + "$id": "https://schema.tauri.app/config/2.3.0", "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\": \"http://localhost:3000\",\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 5a9838abcea8..b1e75b0ccece 100644 --- a/crates/tauri-cli/metadata-v2.json +++ b/crates/tauri-cli/metadata-v2.json @@ -1,9 +1,9 @@ { "cli.js": { - "version": "2.2.7", + "version": "2.3.0", "node": ">= 10.0.0" }, - "tauri": "2.2.5", - "tauri-build": "2.0.4", - "tauri-plugin": "2.0.3" + "tauri": "2.3.0", + "tauri-build": "2.0.5", + "tauri-plugin": "2.0.4" } diff --git a/crates/tauri-codegen/CHANGELOG.md b/crates/tauri-codegen/CHANGELOG.md index 6064d6453c45..456969e4b632 100644 --- a/crates/tauri-codegen/CHANGELOG.md +++ b/crates/tauri-codegen/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## \[2.0.5] + +### Dependencies + +- Upgraded to `tauri-utils@2.2.0` + ## \[2.0.4] ### Dependencies diff --git a/crates/tauri-codegen/Cargo.toml b/crates/tauri-codegen/Cargo.toml index e1431e523211..5e3a2385c666 100644 --- a/crates/tauri-codegen/Cargo.toml +++ b/crates/tauri-codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-codegen" -version = "2.0.4" +version = "2.0.5" 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.1.1", path = "../tauri-utils", features = [ +tauri-utils = { version = "2.2.0", path = "../tauri-utils", features = [ "build", ] } thiserror = "2" diff --git a/crates/tauri-macros/CHANGELOG.md b/crates/tauri-macros/CHANGELOG.md index 543a9709ac38..014033ae366b 100644 --- a/crates/tauri-macros/CHANGELOG.md +++ b/crates/tauri-macros/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## \[2.0.5] + +### Dependencies + +- Upgraded to `tauri-utils@2.2.0` +- Upgraded to `tauri-codegen@2.0.5` + ## \[2.0.4] ### Dependencies diff --git a/crates/tauri-macros/Cargo.toml b/crates/tauri-macros/Cargo.toml index 741d095296b8..19e0ef36b733 100644 --- a/crates/tauri-macros/Cargo.toml +++ b/crates/tauri-macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-macros" -version = "2.0.4" +version = "2.0.5" 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.4", default-features = false, path = "../tauri-codegen" } -tauri-utils = { version = "2.1.1", path = "../tauri-utils" } +tauri-codegen = { version = "2.0.5", default-features = false, path = "../tauri-codegen" } +tauri-utils = { version = "2.2.0", path = "../tauri-utils" } [features] custom-protocol = [] diff --git a/crates/tauri-plugin/CHANGELOG.md b/crates/tauri-plugin/CHANGELOG.md index 4d52d8c03e3c..df2e295f53d6 100644 --- a/crates/tauri-plugin/CHANGELOG.md +++ b/crates/tauri-plugin/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## \[2.0.5] + +### Dependencies + +- Upgraded to `tauri-utils@2.2.0` + ## \[2.0.4] ### Dependencies diff --git a/crates/tauri-plugin/Cargo.toml b/crates/tauri-plugin/Cargo.toml index 916a79b9cbf0..945a64f3954c 100644 --- a/crates/tauri-plugin/Cargo.toml +++ b/crates/tauri-plugin/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-plugin" -version = "2.0.4" +version = "2.0.5" 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.1.1", default-features = false, features = [ +tauri-utils = { version = "2.2.0", 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 ac0dcdf462cf..531b9a13af6e 100644 --- a/crates/tauri-runtime-wry/CHANGELOG.md +++ b/crates/tauri-runtime-wry/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +## \[2.4.0] + +### Enhancements + +- [`a2d36b8c3`](https://www.github.com/tauri-apps/tauri/commit/a2d36b8c34a8dcfc6736797ca5cd4665faf75e7e) ([#12181](https://www.github.com/tauri-apps/tauri/pull/12181) by [@bastiankistner](https://www.github.com/tauri-apps/tauri/../../bastiankistner)) Add an option to change the default background throttling policy (currently for WebKit only). + +### Dependencies + +- Upgraded to `tauri-runtime@2.4.0` +- Upgraded to `tauri-utils@2.2.0` + ## \[2.3.0] ### New Features diff --git a/crates/tauri-runtime-wry/Cargo.toml b/crates/tauri-runtime-wry/Cargo.toml index 2030326b6f53..6800fc020a8b 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.3.0" +version = "2.4.0" description = "Wry bindings to the Tauri runtime" exclude = ["CHANGELOG.md", "/target"] readme = "README.md" @@ -24,8 +24,8 @@ wry = { version = "0.48.1", default-features = false, features = [ "linux-body", ] } tao = { version = "0.31.0", default-features = false, features = ["rwh_06"] } -tauri-runtime = { version = "2.3.0", path = "../tauri-runtime" } -tauri-utils = { version = "2.1.1", path = "../tauri-utils" } +tauri-runtime = { version = "2.4.0", path = "../tauri-runtime" } +tauri-utils = { version = "2.2.0", path = "../tauri-utils" } raw-window-handle = "0.6" http = "1" url = "2" diff --git a/crates/tauri-runtime/CHANGELOG.md b/crates/tauri-runtime/CHANGELOG.md index a9045047f898..afa49bfc3ac1 100644 --- a/crates/tauri-runtime/CHANGELOG.md +++ b/crates/tauri-runtime/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## \[2.4.0] + +### Enhancements + +- [`a2d36b8c3`](https://www.github.com/tauri-apps/tauri/commit/a2d36b8c34a8dcfc6736797ca5cd4665faf75e7e) ([#12181](https://www.github.com/tauri-apps/tauri/pull/12181) by [@bastiankistner](https://www.github.com/tauri-apps/tauri/../../bastiankistner)) Add an option to change the default background throttling policy (currently for WebKit only). + +### Dependencies + +- Upgraded to `tauri-utils@2.2.0` + ## \[2.3.0] ### New Features diff --git a/crates/tauri-runtime/Cargo.toml b/crates/tauri-runtime/Cargo.toml index 0e2171b9c574..bd92a904c083 100644 --- a/crates/tauri-runtime/Cargo.toml +++ b/crates/tauri-runtime/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-runtime" -version = "2.3.0" +version = "2.4.0" description = "Runtime for Tauri applications" exclude = ["CHANGELOG.md", "/target"] readme = "README.md" @@ -29,7 +29,7 @@ targets = [ serde = { version = "1", features = ["derive"] } serde_json = "1" thiserror = "2" -tauri-utils = { version = "2.1.1", path = "../tauri-utils" } +tauri-utils = { version = "2.2.0", path = "../tauri-utils" } http = "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 9a63a76789aa..7fe4581e971c 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.2.5", + "$id": "https://schema.tauri.app/config/2.3.0", "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\": \"http://localhost:3000\",\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 c951b181c159..f89dd35ddac8 100644 --- a/crates/tauri-utils/CHANGELOG.md +++ b/crates/tauri-utils/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## \[2.2.0] + +### Enhancements + +- [`a2d36b8c3`](https://www.github.com/tauri-apps/tauri/commit/a2d36b8c34a8dcfc6736797ca5cd4665faf75e7e) ([#12181](https://www.github.com/tauri-apps/tauri/pull/12181) by [@bastiankistner](https://www.github.com/tauri-apps/tauri/../../bastiankistner)) Add an option to change the default background throttling policy (currently for WebKit only). + ## \[2.1.1] ### Bug Fixes diff --git a/crates/tauri-utils/Cargo.toml b/crates/tauri-utils/Cargo.toml index 273582cc2460..10fbaebf269f 100644 --- a/crates/tauri-utils/Cargo.toml +++ b/crates/tauri-utils/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-utils" -version = "2.1.1" +version = "2.2.0" description = "Utilities for Tauri" exclude = ["CHANGELOG.md", "/target"] readme = "README.md" diff --git a/crates/tauri/CHANGELOG.md b/crates/tauri/CHANGELOG.md index 88ebe4657445..c8a205d17936 100644 --- a/crates/tauri/CHANGELOG.md +++ b/crates/tauri/CHANGELOG.md @@ -1,5 +1,29 @@ # Changelog +## \[2.3.0] + +### New Features + +- [`abdd55807`](https://www.github.com/tauri-apps/tauri/commit/abdd55807587f1bb41b95d0b129ba24b3c6e1d28) ([#12460](https://www.github.com/tauri-apps/tauri/pull/12460) by [@WSH032](https://www.github.com/tauri-apps/tauri/../../WSH032)) Add `emit_str*` methods to `Emitter` trait to allow emitting JSON serialized data directly. +- [`7d8252679`](https://www.github.com/tauri-apps/tauri/commit/7d8252679d7c28b948d94ccd8130a5c9feaa3d27) ([#12701](https://www.github.com/tauri-apps/tauri/pull/12701) by [@WSH032](https://www.github.com/tauri-apps/tauri/../../WSH032)) Export `struct tauri::ExitRequestApi`. + +### Enhancements + +- [`a2d36b8c3`](https://www.github.com/tauri-apps/tauri/commit/a2d36b8c34a8dcfc6736797ca5cd4665faf75e7e) ([#12181](https://www.github.com/tauri-apps/tauri/pull/12181) by [@bastiankistner](https://www.github.com/tauri-apps/tauri/../../bastiankistner)) Add an option to change the default background throttling policy (currently for WebKit only). +- [`e9c9c4d6f`](https://www.github.com/tauri-apps/tauri/commit/e9c9c4d6f6f9c39f848183bc432790b1f9cb74fc) ([#12529](https://www.github.com/tauri-apps/tauri/pull/12529) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Derive `Clone` for `PathResolver` struct. + +### Bug Fixes + +- [`3dbcbe768`](https://www.github.com/tauri-apps/tauri/commit/3dbcbe7685319724c41e66d912b5daaec7f99868) ([#12461](https://www.github.com/tauri-apps/tauri/pull/12461) by [@WSH032](https://www.github.com/tauri-apps/tauri/../../WSH032)) `Webview::navigate` and `WebviewWindow::navigate` borrows `&self` instead of unnecessarily borrowing `&mut self`. + +### Dependencies + +- Upgraded to `tauri-runtime@2.4.0` +- Upgraded to `tauri-runtime-wry@2.4.0` +- Upgraded to `tauri-utils@2.2.0` +- Upgraded to `tauri-macros@2.0.5` +- Upgraded to `tauri-build@2.0.6` + ## \[2.2.5] ### Bug Fixes diff --git a/crates/tauri/Cargo.toml b/crates/tauri/Cargo.toml index 412d12ba2819..9048d769b69a 100644 --- a/crates/tauri/Cargo.toml +++ b/crates/tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri" -version = "2.2.5" +version = "2.3.0" 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" thiserror = "2" -tauri-runtime = { version = "2.3.0", path = "../tauri-runtime" } -tauri-macros = { version = "2.0.4", path = "../tauri-macros" } -tauri-utils = { version = "2.1.1", features = [ +tauri-runtime = { version = "2.4.0", path = "../tauri-runtime" } +tauri-macros = { version = "2.0.5", path = "../tauri-macros" } +tauri-utils = { version = "2.2.0", features = [ "resources", ], path = "../tauri-utils" } -tauri-runtime-wry = { version = "2.3.0", path = "../tauri-runtime-wry", optional = true } +tauri-runtime-wry = { version = "2.4.0", path = "../tauri-runtime-wry", optional = true } getrandom = "0.2" serde_repr = "0.1" http = "1" @@ -145,8 +145,8 @@ swift-rs = "1" [build-dependencies] glob = "0.3" heck = "0.5" -tauri-build = { path = "../tauri-build/", default-features = false, version = "2.0.5" } -tauri-utils = { path = "../tauri-utils/", version = "2.1.1", features = [ +tauri-build = { path = "../tauri-build/", default-features = false, version = "2.0.6" } +tauri-utils = { path = "../tauri-utils/", version = "2.2.0", features = [ "build", ] } diff --git a/packages/api/CHANGELOG.md b/packages/api/CHANGELOG.md index fe345868d8a7..773d222ead15 100644 --- a/packages/api/CHANGELOG.md +++ b/packages/api/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## \[2.3.0] + +### Enhancements + +- [`a2d36b8c3`](https://www.github.com/tauri-apps/tauri/commit/a2d36b8c34a8dcfc6736797ca5cd4665faf75e7e) ([#12181](https://www.github.com/tauri-apps/tauri/pull/12181) by [@bastiankistner](https://www.github.com/tauri-apps/tauri/../../bastiankistner)) Add an option to change the default background throttling policy (currently for WebKit only). + ## \[2.2.0] ### New Features diff --git a/packages/api/package.json b/packages/api/package.json index 3ad600cd5289..86bad0d81e38 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -1,6 +1,6 @@ { "name": "@tauri-apps/api", - "version": "2.2.0", + "version": "2.3.0", "description": "Tauri API definitions", "funding": { "type": "opencollective", diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index 4062b1db57b1..df08d6c5f0bb 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## \[2.3.0] + +### Enhancements + +- [`a2d36b8c3`](https://www.github.com/tauri-apps/tauri/commit/a2d36b8c34a8dcfc6736797ca5cd4665faf75e7e) ([#12181](https://www.github.com/tauri-apps/tauri/pull/12181) by [@bastiankistner](https://www.github.com/tauri-apps/tauri/../../bastiankistner)) Add an option to change the default background throttling policy (currently for WebKit only). + +### Dependencies + +- Upgraded to `tauri-cli@2.3.0` + ## \[2.2.7] ### Bug Fixes diff --git a/packages/cli/package.json b/packages/cli/package.json index d6894c808cd5..a1b6fd29c758 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@tauri-apps/cli", - "version": "2.2.7", + "version": "2.3.0", "description": "Command line interface for building Tauri apps", "funding": { "type": "opencollective",