diff --git a/.changes/bundler-appimage-arch-env.md b/.changes/bundler-appimage-arch-env.md deleted file mode 100644 index c69dc4610bd7..000000000000 --- a/.changes/bundler-appimage-arch-env.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -tauri-bundler: "patch:bug" ---- - -The bundler now sets the `ARCH` env var to the current build target to prevent potential issues with `appimagetool`'s auto-detection. diff --git a/.changes/bundler-bundleName.md b/.changes/bundler-bundleName.md deleted file mode 100644 index 861f31923e65..000000000000 --- a/.changes/bundler-bundleName.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"tauri-bundler": "minor:feat" -"tauri-cli": "minor:feat" -"tauri-codegen": "minor:feat" -"tauri-utils": "minor:feat" -"@tauri-apps/cli": "minor:feat" ---- - -Added support for the `bundleName` property in the macOS bundler configuration. This allows specifying the `CFBundleName` value for generated macOS bundles. \ No newline at end of file diff --git a/.changes/change-pr-13288.md b/.changes/change-pr-13288.md deleted file mode 100644 index b7589dc1d8d8..000000000000 --- a/.changes/change-pr-13288.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": 'patch:bug' ---- - -Prevent the JavaScript runtime crashing when channel events fire in a webview that no longer has callbacks for the channel. diff --git a/.changes/change-pr-13401.md b/.changes/change-pr-13401.md deleted file mode 100644 index ec4e3856b82e..000000000000 --- a/.changes/change-pr-13401.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": 'patch:bug' ---- - -fix(macOS): caculation for work area diff --git a/.changes/cli-dev-slow-start.md b/.changes/cli-dev-slow-start.md deleted file mode 100644 index 259c951886c3..000000000000 --- a/.changes/cli-dev-slow-start.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -tauri-cli: "patch:bug" ---- - -Fix `dev`, `build` and `bundle` commands always take 2 seconds to start diff --git a/.changes/default-permissions-doc.md b/.changes/default-permissions-doc.md deleted file mode 100644 index 4e8bc57ba0ec..000000000000 --- a/.changes/default-permissions-doc.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -tauri-utils: "minor:bug" ---- - -Only write `This default permission set includes the following` to the reference if the default permission set is not empty diff --git a/.changes/dynamic-acl-feature.md b/.changes/dynamic-acl-feature.md deleted file mode 100644 index 413e1468ddb6..000000000000 --- a/.changes/dynamic-acl-feature.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"tauri": 'minor:changes' -"tauri-codegen": 'minor:changes' -"tauri-utils": 'minor:changes' ---- - -Put dynamic ACL into a feature `dynamic-acl`, this is currently enabled by default to align with the previous behaviors, you can disable it through `default-features = false` to reduce the final binary size by not including the ACL references diff --git a/.changes/dynamic-dispatch-async-commands.md b/.changes/dynamic-dispatch-async-commands.md deleted file mode 100644 index 3af90a42f116..000000000000 --- a/.changes/dynamic-dispatch-async-commands.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -tauri: "patch:perf" ---- - -Use dynamic dispatch for async commands in dev, this should speed up the compilation time by quite a bit, and significantly reduces the incremental compilation time diff --git a/.changes/feat-webview-auto-resize.md b/.changes/feat-webview-auto-resize.md deleted file mode 100644 index d332dd790ff5..000000000000 --- a/.changes/feat-webview-auto-resize.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"tauri": "minor:feat" -"@tauri-apps/api": "minor:feat" ---- - -Expose the `setAutoResize` API for webviews in `@tauri-apps/api`. - diff --git a/.changes/feature-gate-html-manipulation.md b/.changes/feature-gate-html-manipulation.md deleted file mode 100644 index c694d98a384a..000000000000 --- a/.changes/feature-gate-html-manipulation.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri": 'patch:changes' -"tauri-utils": 'patch:breaking' ---- - -Feature gated the HTML manipulation code in `tauri-utils` behined a flag to reduce compile time diff --git a/.changes/fix-capability-filter.md b/.changes/fix-capability-filter.md deleted file mode 100644 index 38b5f55e5432..000000000000 --- a/.changes/fix-capability-filter.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-utils": patch:bug ---- - -Fix capability filtering via `tauri.conf.json > app > security > capabilities` not working when generating allowed commands. diff --git a/.changes/fix-custom-signer-uninstaller.md b/.changes/fix-custom-signer-uninstaller.md deleted file mode 100644 index f3d1e6a16ce8..000000000000 --- a/.changes/fix-custom-signer-uninstaller.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-bundler": patch:bug ---- - -Fix custom Windows sign command failing to sign app uninstaller if it references relative paths. \ No newline at end of file diff --git a/.changes/fix-dock-icon-gnome-wayland.md b/.changes/fix-dock-icon-gnome-wayland.md deleted file mode 100644 index e00ad6f1f17a..000000000000 --- a/.changes/fix-dock-icon-gnome-wayland.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-bundler": patch:bug ---- - -Fixes app icon not being displayed on Gnome dock and grid view when using Wayland. diff --git a/.changes/fix-frontenddir-target-error.md b/.changes/fix-frontenddir-target-error.md deleted file mode 100644 index 4ae48f76ccc2..000000000000 --- a/.changes/fix-frontenddir-target-error.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": "patch:bug" -"@tauri-apps/cli": "patch:bug" ---- - -fix: allow the target directory to be inside frontendDir as long as it is not the Rust target directory inside frontendDir. diff --git a/.changes/fix-ios-register-listener.md b/.changes/fix-ios-register-listener.md deleted file mode 100644 index 9914b5fdd9f1..000000000000 --- a/.changes/fix-ios-register-listener.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": patch:bug ---- - -Fixes multiple event listeners registration for iOS plugins. \ No newline at end of file diff --git a/.changes/fix-main-binary-name-with-dot.md b/.changes/fix-main-binary-name-with-dot.md deleted file mode 100644 index 2069b2d5c273..000000000000 --- a/.changes/fix-main-binary-name-with-dot.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-utils": "patch:bug" -"tauri-bundler": "patch:bug" ---- - -Fix `mainBinaryName` doesn't work when there's `.` in it diff --git a/.changes/fix-mobile-identifier-changes.md b/.changes/fix-mobile-identifier-changes.md deleted file mode 100644 index ab0c0866cb64..000000000000 --- a/.changes/fix-mobile-identifier-changes.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": patch:bug -"@tauri-apps/cli": patch:bug ---- - -Fixes Android and iOS dev/build commands not working when the app identifier is being modified by the `--config` option. diff --git a/.changes/fix-path-join-error.md b/.changes/fix-path-join-error.md deleted file mode 100644 index 6360f75517c0..000000000000 --- a/.changes/fix-path-join-error.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri": "minor:bug" -"@tauri-apps/api": "minor:bug" ---- - -Fixed path joining behavior where `path.join('', 'a')` incorrectly returns "/a" instead of "a". diff --git a/.changes/fix-prevent-overflow-monitor-check.md b/.changes/fix-prevent-overflow-monitor-check.md deleted file mode 100644 index 10dd387444ba..000000000000 --- a/.changes/fix-prevent-overflow-monitor-check.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-runtime-wry": patch:bug ---- - -Fix monitor check on the window prevent overflow implementation. diff --git a/.changes/fix-set-window-effects-main-thread.md b/.changes/fix-set-window-effects-main-thread.md deleted file mode 100644 index b9d7a2df8839..000000000000 --- a/.changes/fix-set-window-effects-main-thread.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": "patch:bug" ---- - -Fixed set_window_effects not runs on main thread in WindowBuilder. diff --git a/.changes/fix-tray-get-by-id.md b/.changes/fix-tray-get-by-id.md deleted file mode 100644 index 13474ce8f2b0..000000000000 --- a/.changes/fix-tray-get-by-id.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": patch:bug ---- - -Fix `TrayIcon.getById` returning a new resource ID instead of reusing a previously created id from `TrayIcon.new`. diff --git a/.changes/fix-webview-proxy-url.md b/.changes/fix-webview-proxy-url.md deleted file mode 100644 index 9cdd786372cf..000000000000 --- a/.changes/fix-webview-proxy-url.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tauri': 'patch:bug' ---- - -Fix JavaScript API `Webview.proxyUrl` had no effect when used in the `Webview` constructor diff --git a/.changes/kuchikiki-bump.md b/.changes/kuchikiki-bump.md deleted file mode 100644 index db28df43aad6..000000000000 --- a/.changes/kuchikiki-bump.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"tauri-cli": minor:deps -"@tauri-apps/cli": minor:deps -"tauri-utils": minor:deps ---- - -Update html5ever to 0.29 and kuchikiki to version 0.8.8-speedreader. diff --git a/.changes/mobile-args.md b/.changes/mobile-args.md deleted file mode 100644 index 1b44058b3ff8..000000000000 --- a/.changes/mobile-args.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": "minor:feat" -"@tauri-apps/cli": "minor:feat" ---- - -Allow passing Cargo arguments to mobile dev and build commands. diff --git a/.changes/mobile-init-config.md b/.changes/mobile-init-config.md deleted file mode 100644 index 2d58a536af9f..000000000000 --- a/.changes/mobile-init-config.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": "minor:feat" -"@tauri-apps/cli": "minor:feat" ---- - -Allow passing `--config` arguments to the `ios init` and `android init` commands to tweak the configuration used to initialize the mobile projects. diff --git a/.changes/monitor-workarea-js.md b/.changes/monitor-workarea-js.md deleted file mode 100644 index 2a5dedc88c86..000000000000 --- a/.changes/monitor-workarea-js.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@tauri-apps/api": "minor:feat" ---- - -Add `Monitor.workArea` field. diff --git a/.changes/monitor-workarea-rust.md b/.changes/monitor-workarea-rust.md deleted file mode 100644 index 01b2e1c3821e..000000000000 --- a/.changes/monitor-workarea-rust.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri": "minor:feat" ---- - -Add `Monitor::work_area` getter - diff --git a/.changes/nsis-checkapprunning-macro.md b/.changes/nsis-checkapprunning-macro.md deleted file mode 100644 index 3d277ac8a06c..000000000000 --- a/.changes/nsis-checkapprunning-macro.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"tauri-bundler": "minor:feat" -"tauri-cli": "minor:feat" -"@tauri-apps/cli": "minor:feat" ---- - -Allow using `CheckIfAppIsRunning` macro inside NSIS hooks, for example `!insertmacro CheckIfAppIsRunning "another-executable.exe" "Another Executable"`. - diff --git a/.changes/physical-logical-rect.md b/.changes/physical-logical-rect.md deleted file mode 100644 index b54d9fab004d..000000000000 --- a/.changes/physical-logical-rect.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri": "minor:feat" ---- - -Added `tauri::PhysicalRect` and `tauri::LogicalRect` types. - diff --git a/.changes/run-set-theme-on-main-thread.md b/.changes/run-set-theme-on-main-thread.md deleted file mode 100644 index f6d515bfbe90..000000000000 --- a/.changes/run-set-theme-on-main-thread.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-runtime-wry": patch:bug ---- - -Fix `AppHandle::set_theme` crashes or has no effect on macOS if not ran on main thread diff --git a/.changes/service-worker-allowed-http-header.md b/.changes/service-worker-allowed-http-header.md deleted file mode 100644 index 31de203e60e8..000000000000 --- a/.changes/service-worker-allowed-http-header.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-utils": 'minor:feat' -"tauri": 'minor:feat' ---- -Adds the option to configure the HTTP `Service-Worker-Allowed` response header in `app > security > headers` \ No newline at end of file diff --git a/.changes/sync-product-name.md b/.changes/sync-product-name.md deleted file mode 100644 index 01110bb7bce1..000000000000 --- a/.changes/sync-product-name.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": "minor:feat" -"@tauri-apps/cli": "minor:feat" ---- - -Synchronize Tauri config productName changes with the iOS Xcode project. diff --git a/.changes/tao-wry-bump.md b/.changes/tao-wry-bump.md deleted file mode 100644 index d11833ca8d09..000000000000 --- a/.changes/tao-wry-bump.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri": minor:deps -"tauri-runtime-wry": minor:deps ---- - -Updated tao to 0.34, wry to 0.52 and webview2-com to 0.38. \ No newline at end of file diff --git a/.changes/transform-callback.md b/.changes/transform-callback.md deleted file mode 100644 index 500cd4c8190b..000000000000 --- a/.changes/transform-callback.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@tauri-apps/api": minor:changes -"tauri": minor:changes ---- - -`transformCallback` now registers the callbacks inside `window.__TAURI_INTERNALS__.callbacks` instead of directly on `window['_{id}']` diff --git a/.changes/unlisten-race-condition.md b/.changes/unlisten-race-condition.md deleted file mode 100644 index eaffeaee31eb..000000000000 --- a/.changes/unlisten-race-condition.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@tauri-apps/api": minor:bug -"tauri": minor:bug ---- - -Immediately unregister event listener when the unlisten function is called. diff --git a/.changes/warn-dot-app-id.md b/.changes/warn-dot-app-id.md deleted file mode 100644 index 514be44b88ff..000000000000 --- a/.changes/warn-dot-app-id.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": "patch:feat" -"@tauri-apps/cli": "patch:feat" ---- - -Warn the user that the app id shouldn't end in `.app` because it conflicts with the application bundle extension on macOS diff --git a/.changes/webview-runtime-check.md b/.changes/webview-runtime-check.md deleted file mode 100644 index 823d50f1bd70..000000000000 --- a/.changes/webview-runtime-check.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"tauri": "patch:enhance" -"tauri-runtime-wry": "patch:enhance" ---- - -Check if the webview runtime is accessible when creating a webview, returning an error if it doesn't. - diff --git a/.changes/windows-fullscreen.md b/.changes/windows-fullscreen.md deleted file mode 100644 index 47d0634a7b8f..000000000000 --- a/.changes/windows-fullscreen.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -tauri-runtime-wry: "patch:bug" ---- - -Allow web fullscreen APIs to work on Windows (e.g. `video.requestFullscreen` and `document.exitFullscreen`) diff --git a/.changes/x11-feature.md b/.changes/x11-feature.md deleted file mode 100644 index 5928407a29cc..000000000000 --- a/.changes/x11-feature.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"tauri": minor:feat -"tauri-runtime-wry": minor:feat ---- - -Added `x11` Cargo feature (enabled by default). Disabling it is useful for apps that only support Wayland, reducing its size. -**NOTE**: When manually disabling tauri default features, you must enable the `x11` feature to support it. diff --git a/.changes/xcode-script-simulator-detect-fix.md b/.changes/xcode-script-simulator-detect-fix.md deleted file mode 100644 index 1e1e5c0bf184..000000000000 --- a/.changes/xcode-script-simulator-detect-fix.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"tauri-cli": patch:bug -"@tauri-apps/cli": patch:bug ---- - -Fix simulator build detection on Xcode. diff --git a/Cargo.lock b/Cargo.lock index c8b666ba4ac9..4081065f27a2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1320,7 +1320,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "117725a109d387c937a1533ce01b450cbde6b88abceea8473c4d7a85853cda3c" dependencies = [ "lazy_static", - "windows-sys 0.59.0", + "windows-sys 0.48.0", ] [[package]] @@ -2312,7 +2312,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "33d852cb9b869c2a9b3df2f71a3074817f01e1844f839a144f5fcef059a4eb5d" dependencies = [ "libc", - "windows-sys 0.59.0", + "windows-sys 0.52.0", ] [[package]] @@ -4244,7 +4244,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fc2f4eb4bc735547cfed7c0a4922cbd04a4655978c09b54f1f7b228750664c34" dependencies = [ "cfg-if", - "windows-targets 0.52.6", + "windows-targets 0.48.5", ] [[package]] @@ -6313,7 +6313,7 @@ dependencies = [ "once_cell", "socket2", "tracing", - "windows-sys 0.59.0", + "windows-sys 0.52.0", ] [[package]] @@ -6997,7 +6997,7 @@ dependencies = [ "errno", "libc", "linux-raw-sys 0.4.15", - "windows-sys 0.59.0", + "windows-sys 0.52.0", ] [[package]] @@ -8327,7 +8327,7 @@ checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1" [[package]] name = "tauri" -version = "2.5.1" +version = "2.6.0" dependencies = [ "anyhow", "bytes", @@ -8387,7 +8387,7 @@ dependencies = [ [[package]] name = "tauri-build" -version = "2.2.0" +version = "2.3.0" dependencies = [ "anyhow", "cargo_toml", @@ -8409,7 +8409,7 @@ dependencies = [ [[package]] name = "tauri-bundler" -version = "2.4.0" +version = "2.5.0" dependencies = [ "anyhow", "ar", @@ -8454,7 +8454,7 @@ dependencies = [ [[package]] name = "tauri-cli" -version = "2.5.0" +version = "2.6.0" dependencies = [ "anyhow", "ar", @@ -8544,7 +8544,7 @@ dependencies = [ [[package]] name = "tauri-codegen" -version = "2.2.0" +version = "2.3.0" dependencies = [ "base64 0.22.1", "brotli", @@ -8630,7 +8630,7 @@ dependencies = [ [[package]] name = "tauri-macros" -version = "2.2.0" +version = "2.3.0" dependencies = [ "heck 0.5.0", "proc-macro2", @@ -8642,7 +8642,7 @@ dependencies = [ [[package]] name = "tauri-plugin" -version = "2.2.0" +version = "2.3.0" dependencies = [ "anyhow", "glob", @@ -8690,7 +8690,7 @@ dependencies = [ [[package]] name = "tauri-runtime" -version = "2.6.0" +version = "2.7.0" dependencies = [ "cookie", "dpi", @@ -8710,7 +8710,7 @@ dependencies = [ [[package]] name = "tauri-runtime-wry" -version = "2.6.0" +version = "2.7.0" dependencies = [ "gtk", "http 1.2.0", @@ -8761,7 +8761,7 @@ dependencies = [ [[package]] name = "tauri-utils" -version = "2.4.0" +version = "2.5.0" dependencies = [ "aes-gcm", "anyhow", @@ -8832,7 +8832,7 @@ dependencies = [ "getrandom 0.2.15", "once_cell", "rustix 0.38.43", - "windows-sys 0.59.0", + "windows-sys 0.52.0", ] [[package]] @@ -10083,7 +10083,7 @@ version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb" dependencies = [ - "windows-sys 0.59.0", + "windows-sys 0.48.0", ] [[package]] diff --git a/crates/tauri-build/CHANGELOG.md b/crates/tauri-build/CHANGELOG.md index e5b5f4b01cef..d90b92a40982 100644 --- a/crates/tauri-build/CHANGELOG.md +++ b/crates/tauri-build/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## \[2.2.1] + +### Dependencies + +- Upgraded to `tauri-codegen@2.3.0` +- Upgraded to `tauri-utils@2.5.0` + ## \[2.2.0] ### Dependencies diff --git a/crates/tauri-build/Cargo.toml b/crates/tauri-build/Cargo.toml index c3fa9f00e616..abcda0482054 100644 --- a/crates/tauri-build/Cargo.toml +++ b/crates/tauri-build/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-build" -version = "2.2.0" +version = "2.3.0" 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.2.0", path = "../tauri-codegen", optional = true } -tauri-utils = { version = "2.4.0", path = "../tauri-utils", features = [ +tauri-codegen = { version = "2.3.0", path = "../tauri-codegen", optional = true } +tauri-utils = { version = "2.5.0", path = "../tauri-utils", features = [ "build", "resources", ] } diff --git a/crates/tauri-bundler/CHANGELOG.md b/crates/tauri-bundler/CHANGELOG.md index dec061bb5cd9..7da6bf283ecd 100644 --- a/crates/tauri-bundler/CHANGELOG.md +++ b/crates/tauri-bundler/CHANGELOG.md @@ -1,5 +1,23 @@ # Changelog +## \[2.5.0] + +### New Features + +- [`414619c36`](https://www.github.com/tauri-apps/tauri/commit/414619c36e94e21939534dd72c0438b93da75546) ([#13536](https://www.github.com/tauri-apps/tauri/pull/13536) by [@Tunglies](https://www.github.com/tauri-apps/tauri/../../Tunglies)) Added support for the `bundleName` property in the macOS bundler configuration. This allows specifying the `CFBundleName` value for generated macOS bundles. +- [`7322f0579`](https://www.github.com/tauri-apps/tauri/commit/7322f057923aaec88960ad5556776774b745762f) ([#13502](https://www.github.com/tauri-apps/tauri/pull/13502) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Allow using `CheckIfAppIsRunning` macro inside NSIS hooks, for example `!insertmacro CheckIfAppIsRunning "another-executable.exe" "Another Executable"`. + +### Bug Fixes + +- [`479cee3d3`](https://www.github.com/tauri-apps/tauri/commit/479cee3d3680f9020005bdfb380d3a9482e286a1) ([#13260](https://www.github.com/tauri-apps/tauri/pull/13260) by [@FabianLars](https://www.github.com/tauri-apps/tauri/../../FabianLars)) The bundler now sets the `ARCH` env var to the current build target to prevent potential issues with `appimagetool`'s auto-detection. +- [`e045fe32c`](https://www.github.com/tauri-apps/tauri/commit/e045fe32c9b0bed954916dc42528e28ee19f75b8) ([#13334](https://www.github.com/tauri-apps/tauri/pull/13334) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Fix custom Windows sign command failing to sign app uninstaller if it references relative paths. +- [`bd8a7cf39`](https://www.github.com/tauri-apps/tauri/commit/bd8a7cf39df316bf27c73a303d5e650301af0104) ([#13581](https://www.github.com/tauri-apps/tauri/pull/13581) by [@martpie](https://www.github.com/tauri-apps/tauri/../../martpie)) Fixes app icon not being displayed on Gnome dock and grid view when using Wayland. +- [`b52da29d5`](https://www.github.com/tauri-apps/tauri/commit/b52da29d5dbdb675ddba438a335e6a59f620e536) ([#13429](https://www.github.com/tauri-apps/tauri/pull/13429) by [@Legend-Master](https://www.github.com/tauri-apps/tauri/../../Legend-Master)) Fix `mainBinaryName` doesn't work when there's `.` in it + +### Dependencies + +- Upgraded to `tauri-utils@2.5.0` + ## \[2.4.0] ### New Features diff --git a/crates/tauri-bundler/Cargo.toml b/crates/tauri-bundler/Cargo.toml index 6acd74ad5504..4b2f52514aac 100644 --- a/crates/tauri-bundler/Cargo.toml +++ b/crates/tauri-bundler/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-bundler" -version = "2.4.0" +version = "2.5.0" 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.4.0", path = "../tauri-utils", features = [ +tauri-utils = { version = "2.5.0", path = "../tauri-utils", features = [ "resources", ] } image = "0.25" diff --git a/crates/tauri-cli/CHANGELOG.md b/crates/tauri-cli/CHANGELOG.md index 0bcf1e8629f0..9f041dbfa4c8 100644 --- a/crates/tauri-cli/CHANGELOG.md +++ b/crates/tauri-cli/CHANGELOG.md @@ -1,5 +1,29 @@ # Changelog +## \[2.6.0] + +### New Features + +- [`414619c36`](https://www.github.com/tauri-apps/tauri/commit/414619c36e94e21939534dd72c0438b93da75546) ([#13536](https://www.github.com/tauri-apps/tauri/pull/13536) by [@Tunglies](https://www.github.com/tauri-apps/tauri/../../Tunglies)) Added support for the `bundleName` property in the macOS bundler configuration. This allows specifying the `CFBundleName` value for generated macOS bundles. +- [`3242e1c94`](https://www.github.com/tauri-apps/tauri/commit/3242e1c946c441b58665ba5d612f3a3f1eafe0b6) ([#13659](https://www.github.com/tauri-apps/tauri/pull/13659) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Allow passing Cargo arguments to mobile dev and build commands. +- [`d1ce9af62`](https://www.github.com/tauri-apps/tauri/commit/d1ce9af62881e3f7d86a495c9c40df5b7f9d1c04) ([#13660](https://www.github.com/tauri-apps/tauri/pull/13660) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Allow passing `--config` arguments to the `ios init` and `android init` commands to tweak the configuration used to initialize the mobile projects. +- [`7322f0579`](https://www.github.com/tauri-apps/tauri/commit/7322f057923aaec88960ad5556776774b745762f) ([#13502](https://www.github.com/tauri-apps/tauri/pull/13502) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Allow using `CheckIfAppIsRunning` macro inside NSIS hooks, for example `!insertmacro CheckIfAppIsRunning "another-executable.exe" "Another Executable"`. +- [`4a880ca69`](https://www.github.com/tauri-apps/tauri/commit/4a880ca697bab6d63a2a51ea94e1988cc8c4ea4a) ([#13658](https://www.github.com/tauri-apps/tauri/pull/13658) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Synchronize Tauri config productName changes with the iOS Xcode project. +- [`8ee14a864`](https://www.github.com/tauri-apps/tauri/commit/8ee14a86480510c15823586cf28084e615cb7a9c) ([#13618](https://www.github.com/tauri-apps/tauri/pull/13618) by [@Sky-walkerX](https://www.github.com/tauri-apps/tauri/../../Sky-walkerX)) Warn the user that the app id shouldn't end in `.app` because it conflicts with the application bundle extension on macOS + +### Bug Fixes + +- [`574a4d4d3`](https://www.github.com/tauri-apps/tauri/commit/574a4d4d36762b5b09dc3fcfcbcae3a0df0b6d89) ([#13426](https://www.github.com/tauri-apps/tauri/pull/13426) by [@Legend-Master](https://www.github.com/tauri-apps/tauri/../../Legend-Master)) Fix `dev`, `build` and `bundle` commands always take 2 seconds to start +- [`35aa7e121`](https://www.github.com/tauri-apps/tauri/commit/35aa7e1218f34d0805e280e3ec32529d0cb0d733) ([#13294](https://www.github.com/tauri-apps/tauri/pull/13294) by [@kingsword09](https://www.github.com/tauri-apps/tauri/../../kingsword09)) fix: allow the target directory to be inside frontendDir as long as it is not the Rust target directory inside frontendDir. +- [`ec6065fa4`](https://www.github.com/tauri-apps/tauri/commit/ec6065fa4a6427266ecfb0c0f62f008574bb7880) ([#13625](https://www.github.com/tauri-apps/tauri/pull/13625) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Fixes Android and iOS dev/build commands not working when the app identifier is being modified by the `--config` option. +- [`5a5291d66`](https://www.github.com/tauri-apps/tauri/commit/5a5291d66cb8a955c9d4f8e975782646ac0cc6e7) ([#13483](https://www.github.com/tauri-apps/tauri/pull/13483) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Fix simulator build detection on Xcode. + +### Dependencies + +- Upgraded to `tauri-bundler@2.5.0` +- Upgraded to `tauri-utils@2.5.0` +- [`9c16eefa3`](https://www.github.com/tauri-apps/tauri/commit/9c16eefa319b4697bac1d1019bbb5f93eca63173) ([#13629](https://www.github.com/tauri-apps/tauri/pull/13629) by [@sftse](https://www.github.com/tauri-apps/tauri/../../sftse)) Update html5ever to 0.29 and kuchikiki to version 0.8.8-speedreader. + ## \[2.5.0] ### New Features diff --git a/crates/tauri-cli/Cargo.toml b/crates/tauri-cli/Cargo.toml index a4ebfc9bc23f..6cd28bcdbb69 100644 --- a/crates/tauri-cli/Cargo.toml +++ b/crates/tauri-cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-cli" -version = "2.5.0" +version = "2.6.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.4.0", default-features = false, path = "../tauri-bundler" } +tauri-bundler = { version = "2.5.0", default-features = false, path = "../tauri-bundler" } colored = "2" serde = { version = "1", features = ["derive"] } serde_json = { version = "1", features = ["preserve_order"] } @@ -58,7 +58,7 @@ shared_child = "1" duct = "1.0" toml_edit = { version = "0.22", features = ["serde"] } json-patch = "3" -tauri-utils = { version = "2.4.0", path = "../tauri-utils", features = [ +tauri-utils = { version = "2.5.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 71de1d6155d0..09001027fede 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.5.1", + "$id": "https://schema.tauri.app/config/2.6.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 06e875fa3ad1..b0315f6f92c3 100644 --- a/crates/tauri-cli/metadata-v2.json +++ b/crates/tauri-cli/metadata-v2.json @@ -1,9 +1,9 @@ { "cli.js": { - "version": "2.5.0", + "version": "2.6.0", "node": ">= 10.0.0" }, - "tauri": "2.5.1", - "tauri-build": "2.2.0", - "tauri-plugin": "2.2.0" + "tauri": "2.6.0", + "tauri-build": "2.3.0", + "tauri-plugin": "2.3.0" } diff --git a/crates/tauri-codegen/CHANGELOG.md b/crates/tauri-codegen/CHANGELOG.md index 35192600c040..ae3cd5dcc42e 100644 --- a/crates/tauri-codegen/CHANGELOG.md +++ b/crates/tauri-codegen/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## \[2.3.0] + +### New Features + +- [`414619c36`](https://www.github.com/tauri-apps/tauri/commit/414619c36e94e21939534dd72c0438b93da75546) ([#13536](https://www.github.com/tauri-apps/tauri/pull/13536) by [@Tunglies](https://www.github.com/tauri-apps/tauri/../../Tunglies)) Added support for the `bundleName` property in the macOS bundler configuration. This allows specifying the `CFBundleName` value for generated macOS bundles. + +### What's Changed + +- [`168629646`](https://www.github.com/tauri-apps/tauri/commit/168629646335f24cc7f1c4a61df22688b2198f98) ([#13418](https://www.github.com/tauri-apps/tauri/pull/13418) by [@Legend-Master](https://www.github.com/tauri-apps/tauri/../../Legend-Master)) Put dynamic ACL into a feature `dynamic-acl`, this is currently enabled by default to align with the previous behaviors, you can disable it through `default-features = false` to reduce the final binary size by not including the ACL references + +### Dependencies + +- Upgraded to `tauri-utils@2.5.0` + ## \[2.2.0] ### Dependencies diff --git a/crates/tauri-codegen/Cargo.toml b/crates/tauri-codegen/Cargo.toml index 187cd84ef15b..1ca6900e3ac3 100644 --- a/crates/tauri-codegen/Cargo.toml +++ b/crates/tauri-codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-codegen" -version = "2.2.0" +version = "2.3.0" 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.4.0", path = "../tauri-utils", features = [ +tauri-utils = { version = "2.5.0", path = "../tauri-utils", features = [ "build", ] } thiserror = "2" diff --git a/crates/tauri-macros/CHANGELOG.md b/crates/tauri-macros/CHANGELOG.md index 4b7e6b63f2a6..f252fb8b7953 100644 --- a/crates/tauri-macros/CHANGELOG.md +++ b/crates/tauri-macros/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## \[2.2.1] + +### Dependencies + +- Upgraded to `tauri-codegen@2.3.0` +- Upgraded to `tauri-utils@2.5.0` + ## \[2.2.0] ### Dependencies diff --git a/crates/tauri-macros/Cargo.toml b/crates/tauri-macros/Cargo.toml index 110982237255..e7c0b95d3ddd 100644 --- a/crates/tauri-macros/Cargo.toml +++ b/crates/tauri-macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-macros" -version = "2.2.0" +version = "2.3.0" 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.2.0", default-features = false, path = "../tauri-codegen" } -tauri-utils = { version = "2.4.0", path = "../tauri-utils" } +tauri-codegen = { version = "2.3.0", default-features = false, path = "../tauri-codegen" } +tauri-utils = { version = "2.5.0", path = "../tauri-utils" } [features] custom-protocol = [] diff --git a/crates/tauri-plugin/CHANGELOG.md b/crates/tauri-plugin/CHANGELOG.md index b3bf2f624a43..73c262c4ab2d 100644 --- a/crates/tauri-plugin/CHANGELOG.md +++ b/crates/tauri-plugin/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## \[2.2.1] + +### Dependencies + +- Upgraded to `tauri-utils@2.5.0` + ## \[2.2.0] ### Dependencies diff --git a/crates/tauri-plugin/Cargo.toml b/crates/tauri-plugin/Cargo.toml index ccc6aade2bc6..8238423fdfc6 100644 --- a/crates/tauri-plugin/Cargo.toml +++ b/crates/tauri-plugin/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-plugin" -version = "2.2.0" +version = "2.3.0" 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.4.0", default-features = false, features = [ +tauri-utils = { version = "2.5.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 de354a75d27a..8a84817a7221 100644 --- a/crates/tauri-runtime-wry/CHANGELOG.md +++ b/crates/tauri-runtime-wry/CHANGELOG.md @@ -1,5 +1,28 @@ # Changelog +## \[2.7.0] + +### New Features + +- [`9c16eefa3`](https://www.github.com/tauri-apps/tauri/commit/9c16eefa319b4697bac1d1019bbb5f93eca63173) ([#13629](https://www.github.com/tauri-apps/tauri/pull/13629) by [@sftse](https://www.github.com/tauri-apps/tauri/../../sftse)) Added `x11` Cargo feature (enabled by default). Disabling it is useful for apps that only support Wayland, reducing its size. + **NOTE**: When manually disabling tauri default features, you must enable the `x11` feature to support it. + +### Enhancements + +- [`96ecfca42`](https://www.github.com/tauri-apps/tauri/commit/96ecfca428e4e5d9ff5d5eeed3f94a06a466ed02) ([#13406](https://www.github.com/tauri-apps/tauri/pull/13406) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Check if the webview runtime is accessible when creating a webview, returning an error if it doesn't. + +### Bug Fixes + +- [`f0662e41f`](https://www.github.com/tauri-apps/tauri/commit/f0662e41f4f78ec5a3f88aa76a7367d37d740291) ([#13365](https://www.github.com/tauri-apps/tauri/pull/13365) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Fix monitor check on the window prevent overflow implementation. +- [`4acae1ec0`](https://www.github.com/tauri-apps/tauri/commit/4acae1ec02f2e0b0501d6b79b0bb862893296abd) ([#13443](https://www.github.com/tauri-apps/tauri/pull/13443) by [@Legend-Master](https://www.github.com/tauri-apps/tauri/../../Legend-Master)) Fix `AppHandle::set_theme` crashes or has no effect on macOS if not ran on main thread +- [`78d15e892`](https://www.github.com/tauri-apps/tauri/commit/78d15e892d30fb3f8494f0c00685fb455740a181) ([#13558](https://www.github.com/tauri-apps/tauri/pull/13558) by [@Legend-Master](https://www.github.com/tauri-apps/tauri/../../Legend-Master)) Allow web fullscreen APIs to work on Windows (e.g. `video.requestFullscreen` and `document.exitFullscreen`) + +### Dependencies + +- Upgraded to `tauri-utils@2.5.0` +- Upgraded to `tauri-runtime@2.7.0` +- [`9c16eefa3`](https://www.github.com/tauri-apps/tauri/commit/9c16eefa319b4697bac1d1019bbb5f93eca63173) ([#13629](https://www.github.com/tauri-apps/tauri/pull/13629) by [@sftse](https://www.github.com/tauri-apps/tauri/../../sftse)) Updated tao to 0.34, wry to 0.52 and webview2-com to 0.38. + ## \[2.6.0] ### New Features diff --git a/crates/tauri-runtime-wry/Cargo.toml b/crates/tauri-runtime-wry/Cargo.toml index 19bca17830c7..dc9d7239687d 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.6.0" +version = "2.7.0" description = "Wry bindings to the Tauri runtime" exclude = ["CHANGELOG.md", "/target"] readme = "README.md" @@ -24,8 +24,8 @@ wry = { version = "0.52", default-features = false, features = [ "linux-body", ] } tao = { version = "0.34", default-features = false, features = ["rwh_06"] } -tauri-runtime = { version = "2.6.0", path = "../tauri-runtime" } -tauri-utils = { version = "2.4.0", path = "../tauri-utils" } +tauri-runtime = { version = "2.7.0", path = "../tauri-runtime" } +tauri-utils = { version = "2.5.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 fce197a971d6..7b494a9650fd 100644 --- a/crates/tauri-runtime/CHANGELOG.md +++ b/crates/tauri-runtime/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## \[2.7.0] + +### Dependencies + +- Upgraded to `tauri-utils@2.5.0` +- [`9c16eefa3`](https://www.github.com/tauri-apps/tauri/commit/9c16eefa319b4697bac1d1019bbb5f93eca63173) ([#13629](https://www.github.com/tauri-apps/tauri/pull/13629)) Update html5ever to 0.29 and kuchikiki to version 0.8.8-speedreader. + ## \[2.6.0] ### New Features diff --git a/crates/tauri-runtime/Cargo.toml b/crates/tauri-runtime/Cargo.toml index 721af20e5b55..6c4edfd16b9b 100644 --- a/crates/tauri-runtime/Cargo.toml +++ b/crates/tauri-runtime/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-runtime" -version = "2.6.0" +version = "2.7.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.4.0", path = "../tauri-utils" } +tauri-utils = { version = "2.5.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 71de1d6155d0..09001027fede 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.5.1", + "$id": "https://schema.tauri.app/config/2.6.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 0d60810f341c..3d756ff283f5 100644 --- a/crates/tauri-utils/CHANGELOG.md +++ b/crates/tauri-utils/CHANGELOG.md @@ -1,5 +1,30 @@ # Changelog +## \[2.5.0] + +### New Features + +- [`414619c36`](https://www.github.com/tauri-apps/tauri/commit/414619c36e94e21939534dd72c0438b93da75546) ([#13536](https://www.github.com/tauri-apps/tauri/pull/13536) by [@Tunglies](https://www.github.com/tauri-apps/tauri/../../Tunglies)) Added support for the `bundleName` property in the macOS bundler configuration. This allows specifying the `CFBundleName` value for generated macOS bundles. +- [`09c19932d`](https://www.github.com/tauri-apps/tauri/commit/09c19932d2ddf05f28bcdc73796a966532e7ca1c) ([#13304](https://www.github.com/tauri-apps/tauri/pull/13304) by [@39zde](https://www.github.com/tauri-apps/tauri/../../39zde)) Adds the option to configure the HTTP `Service-Worker-Allowed` response header in `app > security > headers` + +### Bug Fixes + +- [`eb3f0248c`](https://www.github.com/tauri-apps/tauri/commit/eb3f0248c25f1d259cf0fa9448b3c7c2b75b24a7) ([#13646](https://www.github.com/tauri-apps/tauri/pull/13646) by [@Legend-Master](https://www.github.com/tauri-apps/tauri/../../Legend-Master)) Only write `This default permission set includes the following` to the reference if the default permission set is not empty +- [`c8a30a61d`](https://www.github.com/tauri-apps/tauri/commit/c8a30a61d20552b43afd6f21cb66d18185314148) ([#13476](https://www.github.com/tauri-apps/tauri/pull/13476) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Fix capability filtering via `tauri.conf.json > app > security > capabilities` not working when generating allowed commands. +- [`b52da29d5`](https://www.github.com/tauri-apps/tauri/commit/b52da29d5dbdb675ddba438a335e6a59f620e536) ([#13429](https://www.github.com/tauri-apps/tauri/pull/13429) by [@Legend-Master](https://www.github.com/tauri-apps/tauri/../../Legend-Master)) Fix `mainBinaryName` doesn't work when there's `.` in it + +### What's Changed + +- [`168629646`](https://www.github.com/tauri-apps/tauri/commit/168629646335f24cc7f1c4a61df22688b2198f98) ([#13418](https://www.github.com/tauri-apps/tauri/pull/13418) by [@Legend-Master](https://www.github.com/tauri-apps/tauri/../../Legend-Master)) Put dynamic ACL into a feature `dynamic-acl`, this is currently enabled by default to align with the previous behaviors, you can disable it through `default-features = false` to reduce the final binary size by not including the ACL references + +### Dependencies + +- [`9c16eefa3`](https://www.github.com/tauri-apps/tauri/commit/9c16eefa319b4697bac1d1019bbb5f93eca63173) ([#13629](https://www.github.com/tauri-apps/tauri/pull/13629) by [@sftse](https://www.github.com/tauri-apps/tauri/../../sftse)) Update html5ever to 0.29 and kuchikiki to version 0.8.8-speedreader. + +### Breaking Changes + +- [`b7cdb3b39`](https://www.github.com/tauri-apps/tauri/commit/b7cdb3b39ef7e84773ce9312535825801350fa20) ([#13410](https://www.github.com/tauri-apps/tauri/pull/13410) by [@Legend-Master](https://www.github.com/tauri-apps/tauri/../../Legend-Master)) Feature gated the HTML manipulation code in `tauri-utils` behined a flag to reduce compile time + ## \[2.4.0] ### New Features diff --git a/crates/tauri-utils/Cargo.toml b/crates/tauri-utils/Cargo.toml index a592e0d0bb75..69dc2971de88 100644 --- a/crates/tauri-utils/Cargo.toml +++ b/crates/tauri-utils/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-utils" -version = "2.4.0" +version = "2.5.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 4e3dcd154416..d3374bc00aec 100644 --- a/crates/tauri/CHANGELOG.md +++ b/crates/tauri/CHANGELOG.md @@ -1,5 +1,53 @@ # Changelog +## \[2.6.0] + +### New Features + +- [`50ebddaa2`](https://www.github.com/tauri-apps/tauri/commit/50ebddaa2d83033a393a176ba07ef28352b98210) ([#13319](https://www.github.com/tauri-apps/tauri/pull/13319) by [@kingsword09](https://www.github.com/tauri-apps/tauri/../../kingsword09)) Expose the `setAutoResize` API for webviews in `@tauri-apps/api`. +- [`267368fd4`](https://www.github.com/tauri-apps/tauri/commit/267368fd4f83e0a71dfb1b72a66d56592a2066bc) ([#13276](https://www.github.com/tauri-apps/tauri/pull/13276) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Add `Monitor::work_area` getter +- [`267368fd4`](https://www.github.com/tauri-apps/tauri/commit/267368fd4f83e0a71dfb1b72a66d56592a2066bc) ([#13276](https://www.github.com/tauri-apps/tauri/pull/13276) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Added `tauri::PhysicalRect` and `tauri::LogicalRect` types. +- [`09c19932d`](https://www.github.com/tauri-apps/tauri/commit/09c19932d2ddf05f28bcdc73796a966532e7ca1c) ([#13304](https://www.github.com/tauri-apps/tauri/pull/13304) by [@39zde](https://www.github.com/tauri-apps/tauri/../../39zde)) Adds the option to configure the HTTP `Service-Worker-Allowed` response header in `app > security > headers` +- [`9c16eefa3`](https://www.github.com/tauri-apps/tauri/commit/9c16eefa319b4697bac1d1019bbb5f93eca63173) ([#13629](https://www.github.com/tauri-apps/tauri/pull/13629) by [@sftse](https://www.github.com/tauri-apps/tauri/../../sftse)) Added `x11` Cargo feature (enabled by default). Disabling it is useful for apps that only support Wayland, reducing its size. + **NOTE**: When manually disabling tauri default features, you must enable the `x11` feature to support it. + +### Enhancements + +- [`96ecfca42`](https://www.github.com/tauri-apps/tauri/commit/96ecfca428e4e5d9ff5d5eeed3f94a06a466ed02) ([#13406](https://www.github.com/tauri-apps/tauri/pull/13406) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Check if the webview runtime is accessible when creating a webview, returning an error if it doesn't. + +### Bug Fixes + +- [`94b77b36e`](https://www.github.com/tauri-apps/tauri/commit/94b77b36e35cd8396a5589fbcce26cf44f43d938) ([#13288](https://www.github.com/tauri-apps/tauri/pull/13288) by [@oscartbeaumont](https://www.github.com/tauri-apps/tauri/../../oscartbeaumont)) Prevent the JavaScript runtime crashing when channel events fire in a webview that no longer has callbacks for the channel. +- [`bc2f0e48a`](https://www.github.com/tauri-apps/tauri/commit/bc2f0e48acba5c1c99b9fceb1000863c47df89ef) ([#13401](https://www.github.com/tauri-apps/tauri/pull/13401) by [@oscartbeaumont](https://www.github.com/tauri-apps/tauri/../../oscartbeaumont)) fix(macOS): caculation for work area +- [`dfacb656d`](https://www.github.com/tauri-apps/tauri/commit/dfacb656d266de5d99656b1513eacc0f498f0b0a) ([#13360](https://www.github.com/tauri-apps/tauri/pull/13360) by [@velocitysystems](https://www.github.com/tauri-apps/tauri/../../velocitysystems)) Fixes multiple event listeners registration for iOS plugins. +- [`23b9da75b`](https://www.github.com/tauri-apps/tauri/commit/23b9da75b91379cca9520bc53b10fdf39ebae241) ([#13324](https://www.github.com/tauri-apps/tauri/pull/13324) by [@kingsword09](https://www.github.com/tauri-apps/tauri/../../kingsword09)) Fixed path joining behavior where `path.join('', 'a')` incorrectly returns "/a" instead of "a". +- [`638804e9c`](https://www.github.com/tauri-apps/tauri/commit/638804e9c488afdcd51bff8f329a321903337263) ([#13423](https://www.github.com/tauri-apps/tauri/pull/13423) by [@kingsword09](https://www.github.com/tauri-apps/tauri/../../kingsword09)) Fixed set_window_effects not runs on main thread in WindowBuilder. +- [`039f44b7b`](https://www.github.com/tauri-apps/tauri/commit/039f44b7b1ecd411e3b3406aa28ccb8e8a0ec63a) ([#13307](https://www.github.com/tauri-apps/tauri/pull/13307) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Fix `TrayIcon.getById` returning a new resource ID instead of reusing a previously created id from `TrayIcon.new`. +- [`76cbeef20`](https://www.github.com/tauri-apps/tauri/commit/76cbeef20848d9adf95c0e95ca17058dbf76fe1e) ([#13278](https://www.github.com/tauri-apps/tauri/pull/13278) by [@situ2001](https://www.github.com/tauri-apps/tauri/../../situ2001)) Fix JavaScript API `Webview.proxyUrl` had no effect when used in the `Webview` constructor +- [`b985eaf0a`](https://www.github.com/tauri-apps/tauri/commit/b985eaf0a231ea570e36d686c665cddbc76ab4f6) ([#13306](https://www.github.com/tauri-apps/tauri/pull/13306) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Immediately unregister event listener when the unlisten function is called. + +### Performance Improvements + +- [`6a39f4999`](https://www.github.com/tauri-apps/tauri/commit/6a39f49991e613e8f3befe0e8dff288482ccdd89) ([#13464](https://www.github.com/tauri-apps/tauri/pull/13464) by [@Legend-Master](https://www.github.com/tauri-apps/tauri/../../Legend-Master)) Use dynamic dispatch for async commands in dev, this should speed up the compilation time by quite a bit, and significantly reduces the incremental compilation time + +### What's Changed + +- [`168629646`](https://www.github.com/tauri-apps/tauri/commit/168629646335f24cc7f1c4a61df22688b2198f98) ([#13418](https://www.github.com/tauri-apps/tauri/pull/13418) by [@Legend-Master](https://www.github.com/tauri-apps/tauri/../../Legend-Master)) Put dynamic ACL into a feature `dynamic-acl`, this is currently enabled by default to align with the previous behaviors, you can disable it through `default-features = false` to reduce the final binary size by not including the ACL references +- [`b5c549d18`](https://www.github.com/tauri-apps/tauri/commit/b5c549d1898ecdb712822c02dc665cc6771fbd07) ([#13325](https://www.github.com/tauri-apps/tauri/pull/13325) by [@Legend-Master](https://www.github.com/tauri-apps/tauri/../../Legend-Master)) `transformCallback` now registers the callbacks inside `window.__TAURI_INTERNALS__.callbacks` instead of directly on `window['_{id}']` + +### Dependencies + +- Upgraded to `tauri-utils@2.5.0` +- Upgraded to `tauri-runtime-wry@2.7.0` +- Upgraded to `tauri-macros@2.3.0` +- Upgraded to `tauri-build@2.3.0` +- Upgraded to `tauri-runtime@2.7.0` +- [`9c16eefa3`](https://www.github.com/tauri-apps/tauri/commit/9c16eefa319b4697bac1d1019bbb5f93eca63173) ([#13629](https://www.github.com/tauri-apps/tauri/pull/13629) by [@sftse](https://www.github.com/tauri-apps/tauri/../../sftse)) Updated tao to 0.34, wry to 0.52 and webview2-com to 0.38. + +### Breaking Changes + +- [`b7cdb3b39`](https://www.github.com/tauri-apps/tauri/commit/b7cdb3b39ef7e84773ce9312535825801350fa20) ([#13410](https://www.github.com/tauri-apps/tauri/pull/13410) by [@Legend-Master](https://www.github.com/tauri-apps/tauri/../../Legend-Master)) Feature gated the HTML manipulation code in `tauri-utils` behined a flag to reduce compile time + ## \[2.5.1] ### Enhancements diff --git a/crates/tauri/Cargo.toml b/crates/tauri/Cargo.toml index 5e8177b3819a..3fc70a99e5b9 100644 --- a/crates/tauri/Cargo.toml +++ b/crates/tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri" -version = "2.5.1" +version = "2.6.0" description = "Make tiny, secure apps for all desktop platforms with Tauri" exclude = ["/test", "/.scripts", "CHANGELOG.md", "/target"] readme = "README.md" @@ -56,12 +56,12 @@ uuid = { version = "1", features = ["v4"], optional = true } url = "2" anyhow = "1" thiserror = "2" -tauri-runtime = { version = "2.6.0", path = "../tauri-runtime" } -tauri-macros = { version = "2.2.0", path = "../tauri-macros" } -tauri-utils = { version = "2.4.0", features = [ +tauri-runtime = { version = "2.7.0", path = "../tauri-runtime" } +tauri-macros = { version = "2.3.0", path = "../tauri-macros" } +tauri-utils = { version = "2.5.0", features = [ "resources", ], path = "../tauri-utils" } -tauri-runtime-wry = { version = "2.6.0", path = "../tauri-runtime-wry", default-features = false, optional = true } +tauri-runtime-wry = { version = "2.7.0", path = "../tauri-runtime-wry", default-features = false, optional = true } getrandom = "0.2" serde_repr = "0.1" http = "1" @@ -154,8 +154,8 @@ objc2-ui-kit = { version = "0.3.0", default-features = false, features = [ [build-dependencies] glob = "0.3" heck = "0.5" -tauri-build = { path = "../tauri-build/", default-features = false, version = "2.2.0" } -tauri-utils = { path = "../tauri-utils/", version = "2.4.0", features = [ +tauri-build = { path = "../tauri-build/", default-features = false, version = "2.3.0" } +tauri-utils = { path = "../tauri-utils/", version = "2.5.0", features = [ "build", ] } diff --git a/packages/api/CHANGELOG.md b/packages/api/CHANGELOG.md index 4b6caa3d33f3..18c560ba0552 100644 --- a/packages/api/CHANGELOG.md +++ b/packages/api/CHANGELOG.md @@ -1,5 +1,21 @@ # Changelog +## \[2.6.0] + +### New Features + +- [`50ebddaa2`](https://www.github.com/tauri-apps/tauri/commit/50ebddaa2d83033a393a176ba07ef28352b98210) ([#13319](https://www.github.com/tauri-apps/tauri/pull/13319) by [@kingsword09](https://www.github.com/tauri-apps/tauri/../../kingsword09)) Expose the `setAutoResize` API for webviews in `@tauri-apps/api`. +- [`267368fd4`](https://www.github.com/tauri-apps/tauri/commit/267368fd4f83e0a71dfb1b72a66d56592a2066bc) ([#13276](https://www.github.com/tauri-apps/tauri/pull/13276) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Add `Monitor.workArea` field. + +### Bug Fixes + +- [`23b9da75b`](https://www.github.com/tauri-apps/tauri/commit/23b9da75b91379cca9520bc53b10fdf39ebae241) ([#13324](https://www.github.com/tauri-apps/tauri/pull/13324) by [@kingsword09](https://www.github.com/tauri-apps/tauri/../../kingsword09)) Fixed path joining behavior where `path.join('', 'a')` incorrectly returns "/a" instead of "a". +- [`b985eaf0a`](https://www.github.com/tauri-apps/tauri/commit/b985eaf0a231ea570e36d686c665cddbc76ab4f6) ([#13306](https://www.github.com/tauri-apps/tauri/pull/13306) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Immediately unregister event listener when the unlisten function is called. + +### What's Changed + +- [`b5c549d18`](https://www.github.com/tauri-apps/tauri/commit/b5c549d1898ecdb712822c02dc665cc6771fbd07) ([#13325](https://www.github.com/tauri-apps/tauri/pull/13325) by [@Legend-Master](https://www.github.com/tauri-apps/tauri/../../Legend-Master)) `transformCallback` now registers the callbacks inside `window.__TAURI_INTERNALS__.callbacks` instead of directly on `window['_{id}']` + ## \[2.5.0] ### New Features diff --git a/packages/api/package.json b/packages/api/package.json index 3a136cf585ba..5bfab1bb20b5 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -1,6 +1,6 @@ { "name": "@tauri-apps/api", - "version": "2.5.0", + "version": "2.6.0", "description": "Tauri API definitions", "funding": { "type": "opencollective", diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index d82185bba804..d0af1c91d081 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,27 @@ # Changelog +## \[2.6.0] + +### New Features + +- [`414619c36`](https://www.github.com/tauri-apps/tauri/commit/414619c36e94e21939534dd72c0438b93da75546) ([#13536](https://www.github.com/tauri-apps/tauri/pull/13536) by [@Tunglies](https://www.github.com/tauri-apps/tauri/../../Tunglies)) Added support for the `bundleName` property in the macOS bundler configuration. This allows specifying the `CFBundleName` value for generated macOS bundles. +- [`3242e1c94`](https://www.github.com/tauri-apps/tauri/commit/3242e1c946c441b58665ba5d612f3a3f1eafe0b6) ([#13659](https://www.github.com/tauri-apps/tauri/pull/13659) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Allow passing Cargo arguments to mobile dev and build commands. +- [`d1ce9af62`](https://www.github.com/tauri-apps/tauri/commit/d1ce9af62881e3f7d86a495c9c40df5b7f9d1c04) ([#13660](https://www.github.com/tauri-apps/tauri/pull/13660) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Allow passing `--config` arguments to the `ios init` and `android init` commands to tweak the configuration used to initialize the mobile projects. +- [`7322f0579`](https://www.github.com/tauri-apps/tauri/commit/7322f057923aaec88960ad5556776774b745762f) ([#13502](https://www.github.com/tauri-apps/tauri/pull/13502) by [@amrbashir](https://www.github.com/tauri-apps/tauri/../../amrbashir)) Allow using `CheckIfAppIsRunning` macro inside NSIS hooks, for example `!insertmacro CheckIfAppIsRunning "another-executable.exe" "Another Executable"`. +- [`4a880ca69`](https://www.github.com/tauri-apps/tauri/commit/4a880ca697bab6d63a2a51ea94e1988cc8c4ea4a) ([#13658](https://www.github.com/tauri-apps/tauri/pull/13658) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Synchronize Tauri config productName changes with the iOS Xcode project. +- [`8ee14a864`](https://www.github.com/tauri-apps/tauri/commit/8ee14a86480510c15823586cf28084e615cb7a9c) ([#13618](https://www.github.com/tauri-apps/tauri/pull/13618) by [@Sky-walkerX](https://www.github.com/tauri-apps/tauri/../../Sky-walkerX)) Warn the user that the app id shouldn't end in `.app` because it conflicts with the application bundle extension on macOS + +### Bug Fixes + +- [`35aa7e121`](https://www.github.com/tauri-apps/tauri/commit/35aa7e1218f34d0805e280e3ec32529d0cb0d733) ([#13294](https://www.github.com/tauri-apps/tauri/pull/13294) by [@kingsword09](https://www.github.com/tauri-apps/tauri/../../kingsword09)) fix: allow the target directory to be inside frontendDir as long as it is not the Rust target directory inside frontendDir. +- [`ec6065fa4`](https://www.github.com/tauri-apps/tauri/commit/ec6065fa4a6427266ecfb0c0f62f008574bb7880) ([#13625](https://www.github.com/tauri-apps/tauri/pull/13625) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Fixes Android and iOS dev/build commands not working when the app identifier is being modified by the `--config` option. +- [`5a5291d66`](https://www.github.com/tauri-apps/tauri/commit/5a5291d66cb8a955c9d4f8e975782646ac0cc6e7) ([#13483](https://www.github.com/tauri-apps/tauri/pull/13483) by [@lucasfernog](https://www.github.com/tauri-apps/tauri/../../lucasfernog)) Fix simulator build detection on Xcode. + +### Dependencies + +- Upgraded to `tauri-cli@2.6.0` +- [`9c16eefa3`](https://www.github.com/tauri-apps/tauri/commit/9c16eefa319b4697bac1d1019bbb5f93eca63173) ([#13629](https://www.github.com/tauri-apps/tauri/pull/13629) by [@sftse](https://www.github.com/tauri-apps/tauri/../../sftse)) Update html5ever to 0.29 and kuchikiki to version 0.8.8-speedreader. + ## \[2.5.0] ### New Features diff --git a/packages/cli/package.json b/packages/cli/package.json index 7393b5842d05..0fbb94d69dea 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@tauri-apps/cli", - "version": "2.5.0", + "version": "2.6.0", "description": "Command line interface for building Tauri apps", "funding": { "type": "opencollective",