From e0b38d7434e50ee40468282f84ed5545d91c0e66 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 16 Jan 2024 18:11:50 -0300 Subject: [PATCH] Apply Version Updates From Current Changes (#8438) Co-authored-by: amrbashir --- .changes/pre.json | 18 ++++++++++++++++- core/tauri-build/CHANGELOG.md | 7 +++++++ core/tauri-build/Cargo.toml | 6 +++--- core/tauri-codegen/CHANGELOG.md | 6 ++++++ core/tauri-codegen/Cargo.toml | 4 ++-- core/tauri-macros/CHANGELOG.md | 11 +++++++++++ core/tauri-macros/Cargo.toml | 6 +++--- core/tauri-runtime-wry/CHANGELOG.md | 23 ++++++++++++++++++++++ core/tauri-runtime-wry/Cargo.toml | 6 +++--- core/tauri-runtime/CHANGELOG.md | 10 ++++++++++ core/tauri-runtime/Cargo.toml | 4 ++-- core/tauri-utils/CHANGELOG.md | 6 ++++++ core/tauri-utils/Cargo.toml | 2 +- core/tauri/CHANGELOG.md | 30 +++++++++++++++++++++++++++++ core/tauri/Cargo.toml | 12 ++++++------ tooling/api/CHANGELOG.md | 7 +++++++ tooling/api/package.json | 2 +- tooling/bundler/CHANGELOG.md | 16 +++++++++++++++ tooling/bundler/Cargo.toml | 4 ++-- tooling/cli/CHANGELOG.md | 27 ++++++++++++++++++++++++++ tooling/cli/Cargo.lock | 22 ++++++++++++++++----- tooling/cli/Cargo.toml | 6 +++--- tooling/cli/metadata-v2.json | 6 +++--- tooling/cli/node/CHANGELOG.md | 26 +++++++++++++++++++++++++ tooling/cli/node/package.json | 2 +- 25 files changed, 233 insertions(+), 36 deletions(-) diff --git a/.changes/pre.json b/.changes/pre.json index e8f2cecd8..f8f97e8da 100644 --- a/.changes/pre.json +++ b/.changes/pre.json @@ -20,6 +20,7 @@ ".changes/api-app.md", ".changes/api-ipc-refactor.md", ".changes/api-min-node-18.md", + ".changes/api-module-resolution-node.md", ".changes/api-moduleresolution-node.md", ".changes/api-primitives-core.md", ".changes/api-primitives.md", @@ -28,11 +29,16 @@ ".changes/api-tray-menu.md", ".changes/api-window.md", ".changes/app-builder-send.md", + ".changes/app-bundle-files-config.md", + ".changes/app-bundle-files.md", ".changes/app-plugin-core.md", + ".changes/arboard.md", ".changes/build-android-env-vars.md", ".changes/bump-1.3.md", ".changes/bump-1.5.md", ".changes/bundler-remove-dialog-option.md", + ".changes/bundler-rpm.md", + ".changes/bundler-socks-proxy.md", ".changes/bundler-zip-deflate.md", ".changes/channel-api.md", ".changes/channel-rust.md", @@ -45,6 +51,8 @@ ".changes/cli-config-target-mobile.md", ".changes/cli-env-vars.md", ".changes/cli-expose-plugin-config.md", + ".changes/cli-hook-invalid-target-triple-env-vars.md", + ".changes/cli-hooks-env-vars-breaking.md", ".changes/cli-ios-build.md", ".changes/cli-ios-metadata-env-var.md", ".changes/cli-key-properties.md", @@ -67,6 +75,7 @@ ".changes/cli-wry-0-28.md", ".changes/codegen-mobile-devurl.md", ".changes/codegen-target-from-utils.md", + ".changes/config-f64-deserialize.md", ".changes/config-incognito.md", ".changes/config-tray-icon-tooltip.md", ".changes/config-tray-icon.md", @@ -85,6 +94,7 @@ ".changes/dev-proxy-response-cache.md", ".changes/dev-proxy.md", ".changes/devicectl.md", + ".changes/dialog-window-forward-slash.md", ".changes/dmg-settings.md", ".changes/dnd-position.md", ".changes/downgrade-min-sdk-version.md", @@ -117,6 +127,7 @@ ".changes/fix-ipc-payload.md", ".changes/fix-ipc-remote-url-macos.md", ".changes/fix-mobile-env-vars.md", + ".changes/fix-mock-tauri-internals.md", ".changes/fix-nodejs-android-cmds.md", ".changes/fix-orientation-crash.md", ".changes/fix-plugin-ios-bool.md", @@ -171,6 +182,7 @@ ".changes/migrate-cmd.md", ".changes/migrate-csp.md", ".changes/migrate-plugins.md", + ".changes/migrate-tauri-build-version.md", ".changes/min-sdk-version.md", ".changes/mobile-config-naming-conventions.md", ".changes/mobile-config.md", @@ -206,7 +218,7 @@ ".changes/napi-rs.md", ".changes/npm-pass-args.md", ".changes/nsis-bulgarian.md", - ".changes/nsis-german.md", + ".changes/on-download-hook.md", ".changes/on-navigation-plugin.md", ".changes/on-new-intent.md", ".changes/on-page-load-hook.md", @@ -250,6 +262,7 @@ ".changes/rfd101.md", ".changes/run-event-opened.md", ".changes/run-mobile-plugin.md", + ".changes/runevent-filedrop.md", ".changes/runtime-bump-deps.md", ".changes/runtime-create-window-handler.md", ".changes/runtime-custom-protocol-async.md", @@ -259,6 +272,7 @@ ".changes/runtime-navigate-method.md", ".changes/runtime-navigation-handler-url-arg.md", ".changes/runtime-new-args.md", + ".changes/runtime-on-download-hooks.md", ".changes/runtime-opened-event.md", ".changes/safepathbuf-refactor.md", ".changes/set-progress-bar-api.md", @@ -290,6 +304,7 @@ ".changes/tauri-menu-tray-refactor.md", ".changes/tauri-mobile-entry-point.md", ".changes/tauri-nsview.md", + ".changes/tauri-remove-global-window-event-type.md", ".changes/tauri-resources-table.md", ".changes/tauri-run_on_main_thread.md", ".changes/tauri-runtime-uuid.md", @@ -309,6 +324,7 @@ ".changes/tempdir-core.md", ".changes/tls-features-automatically-enabled.md", ".changes/tls-features-refactor.md", + ".changes/tracing.md", ".changes/ubuntu-20.04-cli.js.md", ".changes/ubuntu-20.04-cli.rs.md", ".changes/update-entitlements-api.md", diff --git a/core/tauri-build/CHANGELOG.md b/core/tauri-build/CHANGELOG.md index 7665c0a85..c353ffb26 100644 --- a/core/tauri-build/CHANGELOG.md +++ b/core/tauri-build/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## \[2.0.0-alpha.14] + +### Dependencies + +- Upgraded to `tauri-utils@2.0.0-alpha.13` +- Upgraded to `tauri-codegen@2.0.0-alpha.13` + ## \[2.0.0-alpha.13] ### Dependencies diff --git a/core/tauri-build/Cargo.toml b/core/tauri-build/Cargo.toml index 8e59ac9a4..d2e7b0b9f 100644 --- a/core/tauri-build/Cargo.toml +++ b/core/tauri-build/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-build" -version = "2.0.0-alpha.13" +version = "2.0.0-alpha.14" description = "build time code to pair with https://crates.io/crates/tauri" exclude = [ "CHANGELOG.md", "/target" ] readme = "README.md" @@ -28,8 +28,8 @@ rustdoc-args = [ "--cfg", "docsrs" ] [dependencies] anyhow = "1" quote = { version = "1", optional = true } -tauri-codegen = { version = "2.0.0-alpha.12", path = "../tauri-codegen", optional = true } -tauri-utils = { version = "2.0.0-alpha.12", path = "../tauri-utils", features = [ "build", "resources" ] } +tauri-codegen = { version = "2.0.0-alpha.13", path = "../tauri-codegen", optional = true } +tauri-utils = { version = "2.0.0-alpha.13", path = "../tauri-utils", features = [ "build", "resources" ] } cargo_toml = "0.17" serde = "1" serde_json = "1" diff --git a/core/tauri-codegen/CHANGELOG.md b/core/tauri-codegen/CHANGELOG.md index 5651befd9..ebc49d656 100644 --- a/core/tauri-codegen/CHANGELOG.md +++ b/core/tauri-codegen/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## \[2.0.0-alpha.13] + +### Dependencies + +- Upgraded to `tauri-utils@2.0.0-alpha.13` + ## \[2.0.0-alpha.12] ### Dependencies diff --git a/core/tauri-codegen/Cargo.toml b/core/tauri-codegen/Cargo.toml index f77e22561..7c41b8e67 100644 --- a/core/tauri-codegen/Cargo.toml +++ b/core/tauri-codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-codegen" -version = "2.0.0-alpha.12" +version = "2.0.0-alpha.13" description = "code generation meant to be consumed inside of `tauri` through `tauri-build` or `tauri-macros`" exclude = [ "CHANGELOG.md", "/target" ] readme = "README.md" @@ -19,7 +19,7 @@ proc-macro2 = "1" quote = "1" serde = { version = "1", features = [ "derive" ] } serde_json = "1" -tauri-utils = { version = "2.0.0-alpha.12", path = "../tauri-utils", features = [ "build" ] } +tauri-utils = { version = "2.0.0-alpha.13", path = "../tauri-utils", features = [ "build" ] } thiserror = "1" walkdir = "2" brotli = { version = "3", optional = true, default-features = false, features = [ "std" ] } diff --git a/core/tauri-macros/CHANGELOG.md b/core/tauri-macros/CHANGELOG.md index ecb86702d..a77d58261 100644 --- a/core/tauri-macros/CHANGELOG.md +++ b/core/tauri-macros/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +## \[2.0.0-alpha.13] + +### Enhancements + +- [`d621d343`](https://www.github.com/tauri-apps/tauri/commit/d621d3437ce3947175eecf345b2c6d1c4c7ce020)([#8607](https://www.github.com/tauri-apps/tauri/pull/8607)) Added tracing for window startup, plugins, `Window::eval`, events, IPC, updater and custom protocol request handlers behind the `tracing` feature flag. + +### Dependencies + +- Upgraded to `tauri-utils@2.0.0-alpha.13` +- Upgraded to `tauri-codegen@2.0.0-alpha.13` + ## \[2.0.0-alpha.12] ### Dependencies diff --git a/core/tauri-macros/Cargo.toml b/core/tauri-macros/Cargo.toml index 58309c9fc..16ffde159 100644 --- a/core/tauri-macros/Cargo.toml +++ b/core/tauri-macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-macros" -version = "2.0.0-alpha.12" +version = "2.0.0-alpha.13" 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.4" -tauri-codegen = { version = "2.0.0-alpha.12", default-features = false, path = "../tauri-codegen" } -tauri-utils = { version = "2.0.0-alpha.12", path = "../tauri-utils" } +tauri-codegen = { version = "2.0.0-alpha.13", default-features = false, path = "../tauri-codegen" } +tauri-utils = { version = "2.0.0-alpha.13", path = "../tauri-utils" } [features] custom-protocol = [ ] diff --git a/core/tauri-runtime-wry/CHANGELOG.md b/core/tauri-runtime-wry/CHANGELOG.md index 52ed4179b..76e2a26d2 100644 --- a/core/tauri-runtime-wry/CHANGELOG.md +++ b/core/tauri-runtime-wry/CHANGELOG.md @@ -1,5 +1,28 @@ # Changelog +## \[1.0.0-alpha.9] + +### New Features + +- [`29ced5ce`](https://www.github.com/tauri-apps/tauri/commit/29ced5ceec40b2934094ade2db9a8855f294e1d1)([#8159](https://www.github.com/tauri-apps/tauri/pull/8159)) Added download event closure via `PendingWindow::download_handler`. + +### Enhancements + +- [`d621d343`](https://www.github.com/tauri-apps/tauri/commit/d621d3437ce3947175eecf345b2c6d1c4c7ce020)([#8607](https://www.github.com/tauri-apps/tauri/pull/8607)) Added tracing for window startup, plugins, `Window::eval`, events, IPC, updater and custom protocol request handlers behind the `tracing` feature flag. + +### Bug Fixes + +- [`0d0501cb`](https://www.github.com/tauri-apps/tauri/commit/0d0501cb7b5e767c51a3697a148acfe84211a7ad)([#8394](https://www.github.com/tauri-apps/tauri/pull/8394)) Use `arboard` instead of `tao` clipboard implementation to prevent a crash. + +### What's Changed + +- [`cb640c8e`](https://www.github.com/tauri-apps/tauri/commit/cb640c8e949a3d78d78162e2e61b51bf8afae983)([#8393](https://www.github.com/tauri-apps/tauri/pull/8393)) Fix `RunEvent::WindowEvent(event: WindowEvent::FileDrop(FileDropEvent))` never triggered and always prevent default OS behavior when `disable_file_drop_handler` is not used. + +### Dependencies + +- Upgraded to `tauri-utils@2.0.0-alpha.13` +- Upgraded to `tauri-runtime@1.0.0-alpha.8` + ## \[1.0.0-alpha.8] ### Dependencies diff --git a/core/tauri-runtime-wry/Cargo.toml b/core/tauri-runtime-wry/Cargo.toml index f56316088..a6a705cd5 100644 --- a/core/tauri-runtime-wry/Cargo.toml +++ b/core/tauri-runtime-wry/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-runtime-wry" -version = "1.0.0-alpha.8" +version = "1.0.0-alpha.9" description = "Wry bindings to the Tauri runtime" exclude = [ "CHANGELOG.md", "/target" ] readme = "README.md" @@ -15,8 +15,8 @@ rust-version = { workspace = true } [dependencies] wry = { version = "0.35.2", default-features = false, features = [ "file-drop", "protocol", "os-webview" ] } tao = { version = "0.24", default-features = false, features = [ "rwh_05" ] } -tauri-runtime = { version = "1.0.0-alpha.7", path = "../tauri-runtime" } -tauri-utils = { version = "2.0.0-alpha.12", path = "../tauri-utils" } +tauri-runtime = { version = "1.0.0-alpha.8", path = "../tauri-runtime" } +tauri-utils = { version = "2.0.0-alpha.13", path = "../tauri-utils" } raw-window-handle = "0.5" http = "0.2" tracing = { version = "0.1", optional = true } diff --git a/core/tauri-runtime/CHANGELOG.md b/core/tauri-runtime/CHANGELOG.md index 7e6611035..a4fe67580 100644 --- a/core/tauri-runtime/CHANGELOG.md +++ b/core/tauri-runtime/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## \[1.0.0-alpha.8] + +### New Features + +- [`29ced5ce`](https://www.github.com/tauri-apps/tauri/commit/29ced5ceec40b2934094ade2db9a8855f294e1d1)([#8159](https://www.github.com/tauri-apps/tauri/pull/8159)) Added download event closure via `PendingWindow::download_handler`. + +### Dependencies + +- Upgraded to `tauri-utils@2.0.0-alpha.13` + ## \[1.0.0-alpha.7] ### Dependencies diff --git a/core/tauri-runtime/Cargo.toml b/core/tauri-runtime/Cargo.toml index 957f5d566..2b7c5557f 100644 --- a/core/tauri-runtime/Cargo.toml +++ b/core/tauri-runtime/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-runtime" -version = "1.0.0-alpha.7" +version = "1.0.0-alpha.8" description = "Runtime for Tauri applications" exclude = [ "CHANGELOG.md", "/target" ] readme = "README.md" @@ -29,7 +29,7 @@ targets = [ serde = { version = "1.0", features = [ "derive" ] } serde_json = "1.0" thiserror = "1.0" -tauri-utils = { version = "2.0.0-alpha.12", path = "../tauri-utils" } +tauri-utils = { version = "2.0.0-alpha.13", path = "../tauri-utils" } http = "0.2.4" raw-window-handle = "0.5" url = { version = "2" } diff --git a/core/tauri-utils/CHANGELOG.md b/core/tauri-utils/CHANGELOG.md index 2b4f2a8de..40bf10124 100644 --- a/core/tauri-utils/CHANGELOG.md +++ b/core/tauri-utils/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## \[2.0.0-alpha.13] + +### Bug Fixes + +- [`9b230de7`](https://www.github.com/tauri-apps/tauri/commit/9b230de7bc6690c2733f5324d50b999af1f7a6ef)([#8407](https://www.github.com/tauri-apps/tauri/pull/8407)) Fix compile error when parsing config that includes float values. + ## \[2.0.0-alpha.12] ### New Features diff --git a/core/tauri-utils/Cargo.toml b/core/tauri-utils/Cargo.toml index 0baf33f47..36ade20f0 100644 --- a/core/tauri-utils/Cargo.toml +++ b/core/tauri-utils/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-utils" -version = "2.0.0-alpha.12" +version = "2.0.0-alpha.13" description = "Utilities for Tauri" exclude = [ "CHANGELOG.md", "/target" ] readme = "README.md" diff --git a/core/tauri/CHANGELOG.md b/core/tauri/CHANGELOG.md index ce0ff38d1..622ec1078 100644 --- a/core/tauri/CHANGELOG.md +++ b/core/tauri/CHANGELOG.md @@ -1,5 +1,35 @@ # Changelog +## \[2.0.0-alpha.21] + +### New Features + +- [`29ced5ce`](https://www.github.com/tauri-apps/tauri/commit/29ced5ceec40b2934094ade2db9a8855f294e1d1)([#8159](https://www.github.com/tauri-apps/tauri/pull/8159)) Added `WindowBuilder::on_download` to handle download request events. + +### Enhancements + +- [`d621d343`](https://www.github.com/tauri-apps/tauri/commit/d621d3437ce3947175eecf345b2c6d1c4c7ce020)([#8607](https://www.github.com/tauri-apps/tauri/pull/8607)) Added tracing for window startup, plugins, `Window::eval`, events, IPC, updater and custom protocol request handlers behind the `tracing` feature flag. + +### Bug Fixes + +- [`50a3d170`](https://www.github.com/tauri-apps/tauri/commit/50a3d170f242178d41fe7e8a3adf964541f6fe9c)([#8408](https://www.github.com/tauri-apps/tauri/pull/8408)) On Windows, fix `open` dialog `defaultPath`, when invoked from JS, not working if the path uses forward slash (`/`) + +### What's Changed + +- [`cb640c8e`](https://www.github.com/tauri-apps/tauri/commit/cb640c8e949a3d78d78162e2e61b51bf8afae983)([#8393](https://www.github.com/tauri-apps/tauri/pull/8393)) Fix `RunEvent::WindowEvent(event: WindowEvent::FileDrop(FileDropEvent))` never triggered and always prevent default OS behavior when `disable_file_drop_handler` is not used. + +### Dependencies + +- Upgraded to `tauri-runtime-wry@1.0.0-alpha.9` +- Upgraded to `tauri-utils@2.0.0-alpha.13` +- Upgraded to `tauri-runtime@1.0.0-alpha.8` +- Upgraded to `tauri-macros@2.0.0-alpha.13` +- Upgraded to `tauri-build@2.0.0-alpha.14` + +### Breaking Changes + +- [`2032228c`](https://www.github.com/tauri-apps/tauri/commit/2032228cad0de6500616ca765af5c9ff1f231f0f)([#8430](https://www.github.com/tauri-apps/tauri/pull/8430)) Removed `GlobalWindowEvent` struct, and unpacked its field to be passed directly to `tauri::Builder::on_window_event`. + ## \[2.0.0-alpha.20] ### Dependencies diff --git a/core/tauri/Cargo.toml b/core/tauri/Cargo.toml index 36e8dd5d8..efc49e51f 100644 --- a/core/tauri/Cargo.toml +++ b/core/tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri" -version = "2.0.0-alpha.20" +version = "2.0.0-alpha.21" description = "Make tiny, secure apps for all desktop platforms with Tauri" exclude = [ "/test", "/.scripts", "CHANGELOG.md", "/target" ] readme = "README.md" @@ -49,10 +49,10 @@ uuid = { version = "1", features = [ "v4" ], optional = true } url = { version = "2.4" } anyhow = "1.0" thiserror = "1.0" -tauri-runtime = { version = "1.0.0-alpha.7", path = "../tauri-runtime" } -tauri-macros = { version = "2.0.0-alpha.12", path = "../tauri-macros" } -tauri-utils = { version = "2.0.0-alpha.12", features = [ "resources" ], path = "../tauri-utils" } -tauri-runtime-wry = { version = "1.0.0-alpha.8", path = "../tauri-runtime-wry", optional = true } +tauri-runtime = { version = "1.0.0-alpha.8", path = "../tauri-runtime" } +tauri-macros = { version = "2.0.0-alpha.13", path = "../tauri-macros" } +tauri-utils = { version = "2.0.0-alpha.13", features = [ "resources" ], path = "../tauri-utils" } +tauri-runtime-wry = { version = "1.0.0-alpha.9", path = "../tauri-runtime-wry", optional = true } getrandom = "0.2" serde_repr = "0.1" state = "0.6" @@ -109,7 +109,7 @@ swift-rs = "1.0.6" [build-dependencies] heck = "0.4" -tauri-build = { path = "../tauri-build/", version = "2.0.0-alpha.13" } +tauri-build = { path = "../tauri-build/", version = "2.0.0-alpha.14" } [dev-dependencies] proptest = "1.4.0" diff --git a/tooling/api/CHANGELOG.md b/tooling/api/CHANGELOG.md index c32bee261..f69646e80 100644 --- a/tooling/api/CHANGELOG.md +++ b/tooling/api/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## \[2.0.0-alpha.14] + +### Bug Fixes + +- [`1c582a94`](https://www.github.com/tauri-apps/tauri/commit/1c582a942e345a066b65620e4db9f688ec142bb9)([#8392](https://www.github.com/tauri-apps/tauri/pull/8392)) Fix a regression where typescript could not find types when using `"moduleResolution": "node"` +- [`97e33412`](https://www.github.com/tauri-apps/tauri/commit/97e334129956159bbd60e1c531b6acd3bc6139a6)([#8534](https://www.github.com/tauri-apps/tauri/pull/8534)) `mockIPC` and `mockWindows` no longer crash if `window.__TAURI_INTERNALS__` is undefined. + ## \[2.0.0-alpha.13] ### New Features diff --git a/tooling/api/package.json b/tooling/api/package.json index dc523423c..941f70d86 100644 --- a/tooling/api/package.json +++ b/tooling/api/package.json @@ -1,6 +1,6 @@ { "name": "@tauri-apps/api", - "version": "2.0.0-alpha.13", + "version": "2.0.0-alpha.14", "description": "Tauri API definitions", "funding": { "type": "opencollective", diff --git a/tooling/bundler/CHANGELOG.md b/tooling/bundler/CHANGELOG.md index 186139381..e26f93306 100644 --- a/tooling/bundler/CHANGELOG.md +++ b/tooling/bundler/CHANGELOG.md @@ -1,5 +1,21 @@ # Changelog +## \[2.0.0-alpha.14] + +### New Features + +- [`27bad32d`](https://www.github.com/tauri-apps/tauri/commit/27bad32d4d4acca8155b20225d529d540fb9aaf4)([#7798](https://www.github.com/tauri-apps/tauri/pull/7798)) Add `files` object on the `tauri > bundle > macOS` configuration option. +- [`27bad32d`](https://www.github.com/tauri-apps/tauri/commit/27bad32d4d4acca8155b20225d529d540fb9aaf4)([#7798](https://www.github.com/tauri-apps/tauri/pull/7798)) Add `files` map on the `MacOsSettings` struct to add custom files to the `.app` bundle. + +### Enhancements + +- [`091100ac`](https://www.github.com/tauri-apps/tauri/commit/091100acbb507b51de39fb1446f685926f888fd2)([#5202](https://www.github.com/tauri-apps/tauri/pull/5202)) Add RPM packaging +- [`8032b22f`](https://www.github.com/tauri-apps/tauri/commit/8032b22f2a5b866e4be8b9bd2165eedd09309e15)([#8596](https://www.github.com/tauri-apps/tauri/pull/8596)) Support using socks proxy from environment when downloading files. + +### Dependencies + +- Upgraded to `tauri-utils@2.0.0-alpha.13` + ## \[2.0.0-alpha.13] ### Dependencies diff --git a/tooling/bundler/Cargo.toml b/tooling/bundler/Cargo.toml index 3990f81d2..99dd815f4 100644 --- a/tooling/bundler/Cargo.toml +++ b/tooling/bundler/Cargo.toml @@ -2,7 +2,7 @@ workspace = { } [package] name = "tauri-bundler" -version = "2.0.0-alpha.13" +version = "2.0.0-alpha.14" authors = [ "George Burton ", "Tauri Programme within The Commons Conservancy" @@ -17,7 +17,7 @@ rust-version = "1.70" exclude = [ "CHANGELOG.md", "/target", "rustfmt.toml" ] [dependencies] -tauri-utils = { version = "2.0.0-alpha.12", path = "../../core/tauri-utils", features = [ "resources" ] } +tauri-utils = { version = "2.0.0-alpha.13", path = "../../core/tauri-utils", features = [ "resources" ] } image = "0.24.7" libflate = "2.0" anyhow = "1.0" diff --git a/tooling/cli/CHANGELOG.md b/tooling/cli/CHANGELOG.md index 82c46886d..c484e7181 100644 --- a/tooling/cli/CHANGELOG.md +++ b/tooling/cli/CHANGELOG.md @@ -1,5 +1,32 @@ # Changelog +## \[2.0.0-alpha.21] + +### New Features + +- [`27bad32d`](https://www.github.com/tauri-apps/tauri/commit/27bad32d4d4acca8155b20225d529d540fb9aaf4)([#7798](https://www.github.com/tauri-apps/tauri/pull/7798)) Add `files` object on the `tauri > bundle > macOS` configuration option. +- [`0ec28c39`](https://www.github.com/tauri-apps/tauri/commit/0ec28c39f478de7199a66dd75e8642e1aa1344e6)([#8529](https://www.github.com/tauri-apps/tauri/pull/8529)) Include tauri-build on the migration script. + +### Enhancements + +- [`091100ac`](https://www.github.com/tauri-apps/tauri/commit/091100acbb507b51de39fb1446f685926f888fd2)([#5202](https://www.github.com/tauri-apps/tauri/pull/5202)) Add RPM packaging + +### Bug Fixes + +- [`4f73057e`](https://www.github.com/tauri-apps/tauri/commit/4f73057e6fd4c137bc112367fb91f5fc0c8a39f6)([#8486](https://www.github.com/tauri-apps/tauri/pull/8486)) Prevent `Invalid target triple` warnings and correctly set `TAURI_ENV_` vars when target triple contains 4 components. + +### Dependencies + +- Upgraded to `tauri-bundler@2.0.0-alpha.14` +- Upgraded to `tauri-utils@2.0.0-alpha.13` + +### Breaking Changes + +- [`4f73057e`](https://www.github.com/tauri-apps/tauri/commit/4f73057e6fd4c137bc112367fb91f5fc0c8a39f6)([#8486](https://www.github.com/tauri-apps/tauri/pull/8486)) Removed `TAURI_ENV_PLATFORM_TYPE` which will not be set for CLI hook commands anymore, use `TAURI_ENV_PLATFORM` instead. Also Changed value of `TAURI_ENV_PLATFORM` and `TAURI_ENV_ARCH` values to match the target triple more accurately: + + - `darwin` and `androideabi` are no longer replaced with `macos` and `android` in `TAURI_ENV_PLATFORM`. + - `i686` and `i586` are no longer replaced with `x86` in `TAURI_ENV_ARCH`. + ## \[2.0.0-alpha.20] ### Dependencies diff --git a/tooling/cli/Cargo.lock b/tooling/cli/Cargo.lock index 232a261a5..18bfc22d5 100644 --- a/tooling/cli/Cargo.lock +++ b/tooling/cli/Cargo.lock @@ -4457,6 +4457,17 @@ dependencies = [ "windows-sys 0.48.0", ] +[[package]] +name = "socks" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0c3dbbd9ae980613c6dd8e28a9407b50509d3803b57624d5dfe8315218cd58b" +dependencies = [ + "byteorder", + "libc", + "winapi", +] + [[package]] name = "soketto" version = "0.7.1" @@ -4726,7 +4737,7 @@ dependencies = [ [[package]] name = "tauri-bundler" -version = "2.0.0-alpha.13" +version = "2.0.0-alpha.14" dependencies = [ "anyhow", "ar", @@ -4754,7 +4765,7 @@ dependencies = [ "strsim", "tar", "tauri-icns", - "tauri-utils 2.0.0-alpha.12", + "tauri-utils 2.0.0-alpha.13", "tempfile", "thiserror", "time", @@ -4768,7 +4779,7 @@ dependencies = [ [[package]] name = "tauri-cli" -version = "2.0.0-alpha.20" +version = "2.0.0-alpha.21" dependencies = [ "anyhow", "axum", @@ -4818,7 +4829,7 @@ dependencies = [ "tauri-bundler", "tauri-icns", "tauri-utils 1.5.0", - "tauri-utils 2.0.0-alpha.12", + "tauri-utils 2.0.0-alpha.13", "thiserror", "tokio", "toml 0.8.8", @@ -4884,7 +4895,7 @@ dependencies = [ [[package]] name = "tauri-utils" -version = "2.0.0-alpha.12" +version = "2.0.0-alpha.13" dependencies = [ "aes-gcm", "ctor 0.2.5", @@ -5412,6 +5423,7 @@ dependencies = [ "once_cell", "rustls", "rustls-webpki", + "socks", "url", "webpki-roots", ] diff --git a/tooling/cli/Cargo.toml b/tooling/cli/Cargo.toml index cc175357a..5d1e3704b 100644 --- a/tooling/cli/Cargo.toml +++ b/tooling/cli/Cargo.toml @@ -3,7 +3,7 @@ members = [ "node" ] [package] name = "tauri-cli" -version = "2.0.0-alpha.20" +version = "2.0.0-alpha.21" authors = [ "Tauri Programme within The Commons Conservancy" ] edition = "2021" rust-version = "1.70" @@ -49,7 +49,7 @@ sublime_fuzzy = "0.7" clap_complete = "4" clap = { version = "4.4", features = [ "derive", "env" ] } anyhow = "1.0" -tauri-bundler = { version = "2.0.0-alpha.13", default-features = false, path = "../bundler" } +tauri-bundler = { version = "2.0.0-alpha.14", default-features = false, path = "../bundler" } colored = "2.0" serde = { version = "1.0", features = [ "derive" ] } serde_json = "1.0" @@ -59,7 +59,7 @@ shared_child = "1.0" duct = "0.13" toml_edit = "0.21" json-patch = "1.2" -tauri-utils = { version = "2.0.0-alpha.12", path = "../../core/tauri-utils", features = [ "isolation", "schema", "config-json5", "config-toml" ] } +tauri-utils = { version = "2.0.0-alpha.13", path = "../../core/tauri-utils", features = [ "isolation", "schema", "config-json5", "config-toml" ] } tauri-utils-v1 = { version = "1", package = "tauri-utils", features = [ "isolation", "schema", "config-json5", "config-toml" ] } toml = "0.8" jsonschema = "0.17" diff --git a/tooling/cli/metadata-v2.json b/tooling/cli/metadata-v2.json index 38a20e5d2..6d4e33473 100644 --- a/tooling/cli/metadata-v2.json +++ b/tooling/cli/metadata-v2.json @@ -1,8 +1,8 @@ { "cli.js": { - "version": "2.0.0-alpha.20", + "version": "2.0.0-alpha.21", "node": ">= 10.0.0" }, - "tauri": "2.0.0-alpha.20", - "tauri-build": "2.0.0-alpha.13" + "tauri": "2.0.0-alpha.21", + "tauri-build": "2.0.0-alpha.14" } diff --git a/tooling/cli/node/CHANGELOG.md b/tooling/cli/node/CHANGELOG.md index 066cb2758..d1bd0dfc8 100644 --- a/tooling/cli/node/CHANGELOG.md +++ b/tooling/cli/node/CHANGELOG.md @@ -1,5 +1,31 @@ # Changelog +## \[2.0.0-alpha.21] + +### New Features + +- [`27bad32d`](https://www.github.com/tauri-apps/tauri/commit/27bad32d4d4acca8155b20225d529d540fb9aaf4)([#7798](https://www.github.com/tauri-apps/tauri/pull/7798)) Add `files` object on the `tauri > bundle > macOS` configuration option. +- [`0ec28c39`](https://www.github.com/tauri-apps/tauri/commit/0ec28c39f478de7199a66dd75e8642e1aa1344e6)([#8529](https://www.github.com/tauri-apps/tauri/pull/8529)) Include tauri-build on the migration script. + +### Enhancements + +- [`091100ac`](https://www.github.com/tauri-apps/tauri/commit/091100acbb507b51de39fb1446f685926f888fd2)([#5202](https://www.github.com/tauri-apps/tauri/pull/5202)) Add RPM packaging + +### Bug Fixes + +- [`4f73057e`](https://www.github.com/tauri-apps/tauri/commit/4f73057e6fd4c137bc112367fb91f5fc0c8a39f6)([#8486](https://www.github.com/tauri-apps/tauri/pull/8486)) Prevent `Invalid target triple` warnings and correctly set `TAURI_ENV_` vars when target triple contains 4 components. + +### Dependencies + +- Upgraded to `tauri-cli@2.0.0-alpha.21` + +### Breaking Changes + +- [`4f73057e`](https://www.github.com/tauri-apps/tauri/commit/4f73057e6fd4c137bc112367fb91f5fc0c8a39f6)([#8486](https://www.github.com/tauri-apps/tauri/pull/8486)) Removed `TAURI_ENV_PLATFORM_TYPE` which will not be set for CLI hook commands anymore, use `TAURI_ENV_PLATFORM` instead. Also Changed value of `TAURI_ENV_PLATFORM` and `TAURI_ENV_ARCH` values to match the target triple more accurately: + + - `darwin` and `androideabi` are no longer replaced with `macos` and `android` in `TAURI_ENV_PLATFORM`. + - `i686` and `i586` are no longer replaced with `x86` in `TAURI_ENV_ARCH`. + ## \[2.0.0-alpha.20] ### Dependencies diff --git a/tooling/cli/node/package.json b/tooling/cli/node/package.json index 57e28ca43..74cfc7a49 100644 --- a/tooling/cli/node/package.json +++ b/tooling/cli/node/package.json @@ -1,6 +1,6 @@ { "name": "@tauri-apps/cli", - "version": "2.0.0-alpha.20", + "version": "2.0.0-alpha.21", "description": "Command line interface for building Tauri apps", "funding": { "type": "opencollective",