From 2c040eaaddca90adc008417dcfda24958d9ba221 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 27 May 2022 16:01:43 -0300 Subject: [PATCH] Apply Version Updates From Current Changes (#4217) Co-authored-by: lucasfernog Co-authored-by: Lucas Nogueira --- .changes/pre.json | 6 ++++++ core/tauri-build/CHANGELOG.md | 5 +++++ core/tauri-build/Cargo.toml | 6 +++--- core/tauri-codegen/CHANGELOG.md | 6 ++++++ core/tauri-codegen/Cargo.toml | 4 ++-- core/tauri-macros/CHANGELOG.md | 7 +++++++ core/tauri-macros/Cargo.toml | 6 +++--- core/tauri-runtime-wry/Cargo.toml | 2 +- core/tauri-runtime/Cargo.toml | 2 +- core/tauri-utils/CHANGELOG.md | 6 ++++++ core/tauri-utils/Cargo.toml | 2 +- core/tauri/CHANGELOG.md | 12 ++++++++++++ core/tauri/Cargo.toml | 8 ++++---- tooling/bundler/CHANGELOG.md | 5 +++++ tooling/bundler/Cargo.toml | 4 ++-- tooling/cli/CHANGELOG.md | 7 +++++++ tooling/cli/Cargo.lock | 6 +++--- tooling/cli/Cargo.toml | 6 +++--- tooling/cli/metadata.json | 6 +++--- tooling/cli/node/CHANGELOG.md | 7 +++++++ tooling/cli/node/package.json | 2 +- 21 files changed, 88 insertions(+), 27 deletions(-) diff --git a/.changes/pre.json b/.changes/pre.json index 76d1ee790..fe629d33a 100644 --- a/.changes/pre.json +++ b/.changes/pre.json @@ -68,6 +68,7 @@ ".changes/cli-config-path.md", ".changes/cli-dev-update.md", ".changes/cli-drop-strip.md", + ".changes/cli-fix-gitignored-conf-lookup.md", ".changes/cli-fix-overflow-windows.md", ".changes/cli-handle-dev-err.md", ".changes/cli-improve-waiting-devserver-msg.md", @@ -269,6 +270,7 @@ ".changes/notification-regression.md", ".changes/object-csp.md", ".changes/open-devtools.md", + ".changes/package-info-version.md", ".changes/package-json-configure-app-path.md", ".changes/parent-window-hwnd.md", ".changes/parent-window-macos.md", @@ -323,6 +325,7 @@ ".changes/scopes.md", ".changes/setup-fn-once.md", ".changes/shell-open-with-refactor.md", + ".changes/should-install-refactor.md", ".changes/sidecar-allowlist.md", ".changes/sidecar-runtime-rename.md", ".changes/sidecar-scope-improvement.md", @@ -332,6 +335,7 @@ ".changes/simplify-window-label-types.md", ".changes/state-debug.md", ".changes/state-manage-return-val.md", + ".changes/static-vcruntime.md", ".changes/streaming-small-file-fix.md", ".changes/strip.md", ".changes/tauri-build-default-anyhow-fmt.md", @@ -351,6 +355,8 @@ ".changes/universal-apple-target.md", ".changes/unlisten-fix.md", ".changes/unlisten.md", + ".changes/update-available-refactor.md", + ".changes/update-date-strong-type.md", ".changes/update-response-methods.md", ".changes/update-windows.md", ".changes/update-wry-0.16.2.md", diff --git a/core/tauri-build/CHANGELOG.md b/core/tauri-build/CHANGELOG.md index 4afa11e27..2590a001d 100644 --- a/core/tauri-build/CHANGELOG.md +++ b/core/tauri-build/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## \[1.0.0-rc.12] + +- Statically link the Visual C++ runtime instead of using a merge module on the installer. + - [bb061509](https://www.github.com/tauri-apps/tauri/commit/bb061509fb674bef86ecbc1de3aa8f3e367a9907) refactor(core): statically link vcruntime, closes [#4122](https://www.github.com/tauri-apps/tauri/pull/4122) ([#4227](https://www.github.com/tauri-apps/tauri/pull/4227)) on 2022-05-27 + ## \[1.0.0-rc.11] - Create `dev` cfg alias. diff --git a/core/tauri-build/Cargo.toml b/core/tauri-build/Cargo.toml index 889c76b87..5698729cd 100644 --- a/core/tauri-build/Cargo.toml +++ b/core/tauri-build/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-build" -version = "1.0.0-rc.11" +version = "1.0.0-rc.12" authors = [ "Tauri Programme within The Commons Conservancy" ] categories = [ "gui", "web-programming" ] license = "Apache-2.0 OR MIT" @@ -19,8 +19,8 @@ rustdoc-args = [ "--cfg", "doc_cfg" ] [dependencies] anyhow = "1" quote = { version = "1", optional = true } -tauri-codegen = { version = "1.0.0-rc.7", path = "../tauri-codegen", optional = true } -tauri-utils = { version = "1.0.0-rc.7", path = "../tauri-utils", features = [ "build", "resources" ] } +tauri-codegen = { version = "1.0.0-rc.8", path = "../tauri-codegen", optional = true } +tauri-utils = { version = "1.0.0-rc.8", path = "../tauri-utils", features = [ "build", "resources" ] } cargo_toml = "0.11" serde_json = "1" heck = "0.4" diff --git a/core/tauri-codegen/CHANGELOG.md b/core/tauri-codegen/CHANGELOG.md index a2919e614..0a65392f8 100644 --- a/core/tauri-codegen/CHANGELOG.md +++ b/core/tauri-codegen/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## \[1.0.0-rc.8] + +- **Breaking change:** `PackageInfo::version` is now a `semver::Version` instead of a `String`. + - [2badbd2d](https://www.github.com/tauri-apps/tauri/commit/2badbd2d7ed51bf33c1b547b4c837b600574bd4a) refactor: force semver versions, change updater `should_install` sig ([#4215](https://www.github.com/tauri-apps/tauri/pull/4215)) on 2022-05-25 + - [a7388e23](https://www.github.com/tauri-apps/tauri/commit/a7388e23c3b9019d48b078cae00a75c74d74d11b) fix(ci): adjust change file to include tauri-utils and tauri-codegen on 2022-05-27 + ## \[1.0.0-rc.7] - Allow configuring the display options for the MSI execution allowing quieter updates. diff --git a/core/tauri-codegen/Cargo.toml b/core/tauri-codegen/Cargo.toml index 03f7c1fcd..ae2699af2 100644 --- a/core/tauri-codegen/Cargo.toml +++ b/core/tauri-codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-codegen" -version = "1.0.0-rc.7" +version = "1.0.0-rc.8" authors = [ "Tauri Programme within The Commons Conservancy" ] categories = [ "gui", "web-programming" ] license = "Apache-2.0 OR MIT" @@ -19,7 +19,7 @@ proc-macro2 = "1" quote = "1" serde = { version = "1", features = [ "derive" ] } serde_json = "1" -tauri-utils = { version = "1.0.0-rc.7", path = "../tauri-utils", features = [ "build" ] } +tauri-utils = { version = "1.0.0-rc.8", 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 f98095f87..ec22385a5 100644 --- a/core/tauri-macros/CHANGELOG.md +++ b/core/tauri-macros/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## \[1.0.0-rc.8] + +- **Breaking change:** `PackageInfo::version` is now a `semver::Version` instead of a `String`. + - Bumped due to a bump in tauri-utils. + - [2badbd2d](https://www.github.com/tauri-apps/tauri/commit/2badbd2d7ed51bf33c1b547b4c837b600574bd4a) refactor: force semver versions, change updater `should_install` sig ([#4215](https://www.github.com/tauri-apps/tauri/pull/4215)) on 2022-05-25 + - [a7388e23](https://www.github.com/tauri-apps/tauri/commit/a7388e23c3b9019d48b078cae00a75c74d74d11b) fix(ci): adjust change file to include tauri-utils and tauri-codegen on 2022-05-27 + ## \[1.0.0-rc.7] - Allow configuring the display options for the MSI execution allowing quieter updates. diff --git a/core/tauri-macros/Cargo.toml b/core/tauri-macros/Cargo.toml index 55164d11e..79f4d5380 100644 --- a/core/tauri-macros/Cargo.toml +++ b/core/tauri-macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-macros" -version = "1.0.0-rc.7" +version = "1.0.0-rc.8" authors = [ "Tauri Programme within The Commons Conservancy" ] categories = [ "gui", "os", "filesystem", "web-programming" ] license = "Apache-2.0 OR MIT" @@ -20,8 +20,8 @@ proc-macro2 = "1" quote = "1" syn = { version = "1", features = [ "full" ] } heck = "0.4" -tauri-codegen = { version = "1.0.0-rc.7", default-features = false, path = "../tauri-codegen" } -tauri-utils = { version = "1.0.0-rc.7", path = "../tauri-utils" } +tauri-codegen = { version = "1.0.0-rc.8", default-features = false, path = "../tauri-codegen" } +tauri-utils = { version = "1.0.0-rc.8", path = "../tauri-utils" } [features] custom-protocol = [ ] diff --git a/core/tauri-runtime-wry/Cargo.toml b/core/tauri-runtime-wry/Cargo.toml index f7c8cb0b2..0df3b9d48 100644 --- a/core/tauri-runtime-wry/Cargo.toml +++ b/core/tauri-runtime-wry/Cargo.toml @@ -15,7 +15,7 @@ readme = "README.md" [dependencies] wry = { version = "0.17.0", default-features = false, features = [ "file-drop", "protocol" ] } tauri-runtime = { version = "0.6.0", path = "../tauri-runtime" } -tauri-utils = { version = "1.0.0-rc.7", path = "../tauri-utils" } +tauri-utils = { version = "1.0.0-rc.8", path = "../tauri-utils" } uuid = { version = "1", features = [ "v4" ] } rand = "0.8" diff --git a/core/tauri-runtime/Cargo.toml b/core/tauri-runtime/Cargo.toml index 5239d51e0..b2b63be47 100644 --- a/core/tauri-runtime/Cargo.toml +++ b/core/tauri-runtime/Cargo.toml @@ -26,7 +26,7 @@ targets = [ serde = { version = "1.0", features = [ "derive" ] } serde_json = "1.0" thiserror = "1.0" -tauri-utils = { version = "1.0.0-rc.7", path = "../tauri-utils" } +tauri-utils = { version = "1.0.0-rc.8", path = "../tauri-utils" } uuid = { version = "1", features = [ "v4" ] } http = "0.2.4" http-range = "0.1.4" diff --git a/core/tauri-utils/CHANGELOG.md b/core/tauri-utils/CHANGELOG.md index c2b61672b..38ca61fd6 100644 --- a/core/tauri-utils/CHANGELOG.md +++ b/core/tauri-utils/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## \[1.0.0-rc.8] + +- **Breaking change:** `PackageInfo::version` is now a `semver::Version` instead of a `String`. + - [2badbd2d](https://www.github.com/tauri-apps/tauri/commit/2badbd2d7ed51bf33c1b547b4c837b600574bd4a) refactor: force semver versions, change updater `should_install` sig ([#4215](https://www.github.com/tauri-apps/tauri/pull/4215)) on 2022-05-25 + - [a7388e23](https://www.github.com/tauri-apps/tauri/commit/a7388e23c3b9019d48b078cae00a75c74d74d11b) fix(ci): adjust change file to include tauri-utils and tauri-codegen on 2022-05-27 + ## \[1.0.0-rc.7] - Allow configuring the display options for the MSI execution allowing quieter updates. diff --git a/core/tauri-utils/Cargo.toml b/core/tauri-utils/Cargo.toml index 7635ab8af..8ef1cbeb3 100644 --- a/core/tauri-utils/Cargo.toml +++ b/core/tauri-utils/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-utils" -version = "1.0.0-rc.7" +version = "1.0.0-rc.8" authors = [ "Tauri Programme within The Commons Conservancy" ] license = "Apache-2.0 OR MIT" homepage = "https://tauri.studio" diff --git a/core/tauri/CHANGELOG.md b/core/tauri/CHANGELOG.md index ea41e38df..4e586f2d0 100644 --- a/core/tauri/CHANGELOG.md +++ b/core/tauri/CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog +## \[1.0.0-rc.14] + +- **Breaking change:** `PackageInfo::version` is now a `semver::Version` instead of a `String`. + - [2badbd2d](https://www.github.com/tauri-apps/tauri/commit/2badbd2d7ed51bf33c1b547b4c837b600574bd4a) refactor: force semver versions, change updater `should_install` sig ([#4215](https://www.github.com/tauri-apps/tauri/pull/4215)) on 2022-05-25 + - [a7388e23](https://www.github.com/tauri-apps/tauri/commit/a7388e23c3b9019d48b078cae00a75c74d74d11b) fix(ci): adjust change file to include tauri-utils and tauri-codegen on 2022-05-27 +- **Breaking change**: `UpdateBuilder::should_update` now takes the current version as a `semver::Version` and a `RemoteRelease` struct, allowing you to check other release fields. + - [2badbd2d](https://www.github.com/tauri-apps/tauri/commit/2badbd2d7ed51bf33c1b547b4c837b600574bd4a) refactor: force semver versions, change updater `should_install` sig ([#4215](https://www.github.com/tauri-apps/tauri/pull/4215)) on 2022-05-25 +- **Breaking change:** The `tauri::UpdaterEvent::UpdateEvent` date field is now an `Option`. + - [ac7656ab](https://www.github.com/tauri-apps/tauri/commit/ac7656ab19ebeda1955698ff7a16199d7055d640) refactor(updater): strong type for the `pub_date` field, ref [#4162](https://www.github.com/tauri-apps/tauri/pull/4162) ([#4218](https://www.github.com/tauri-apps/tauri/pull/4218)) on 2022-05-25 +- **Breaking change:** The updater response `pub_date` now must be a valid RFC 3339 string. + - [ac7656ab](https://www.github.com/tauri-apps/tauri/commit/ac7656ab19ebeda1955698ff7a16199d7055d640) refactor(updater): strong type for the `pub_date` field, ref [#4162](https://www.github.com/tauri-apps/tauri/pull/4162) ([#4218](https://www.github.com/tauri-apps/tauri/pull/4218)) on 2022-05-25 + ## \[1.0.0-rc.13] - Fix `` cannot find macro `message_dialog` `` error. diff --git a/core/tauri/Cargo.toml b/core/tauri/Cargo.toml index e2e6423d1..2e738d053 100644 --- a/core/tauri/Cargo.toml +++ b/core/tauri/Cargo.toml @@ -16,7 +16,7 @@ license = "Apache-2.0 OR MIT" name = "tauri" readme = "README.md" repository = "https://github.com/tauri-apps/tauri" -version = "1.0.0-rc.13" +version = "1.0.0-rc.14" [package.metadata.docs.rs] no-default-features = true @@ -56,8 +56,8 @@ anyhow = "1.0" thiserror = "1.0" once_cell = "1.10" tauri-runtime = { version = "0.6.0", path = "../tauri-runtime" } -tauri-macros = { version = "1.0.0-rc.7", path = "../tauri-macros" } -tauri-utils = { version = "1.0.0-rc.7", features = [ "resources" ], path = "../tauri-utils" } +tauri-macros = { version = "1.0.0-rc.8", path = "../tauri-macros" } +tauri-utils = { version = "1.0.0-rc.8", features = [ "resources" ], path = "../tauri-utils" } tauri-runtime-wry = { version = "0.6.0", path = "../tauri-runtime-wry", optional = true } rand = "0.8" semver = { version = "1.0", features = [ "serde" ] } @@ -84,7 +84,7 @@ os_pipe = { version = "1.0", optional = true } rfd = { version = "0.8", optional = true } raw-window-handle = "0.4.2" minisign-verify = { version = "0.2", optional = true } -time = { version = "0.3", features = ["parsing", "formatting"], optional = true } +time = { version = "0.3", features = [ "parsing", "formatting" ], optional = true } os_info = { version = "3.2.0", optional = true } futures-lite = "1.12" regex = { version = "1.5.5", optional = true } diff --git a/tooling/bundler/CHANGELOG.md b/tooling/bundler/CHANGELOG.md index 27ad67e14..dc977fc41 100644 --- a/tooling/bundler/CHANGELOG.md +++ b/tooling/bundler/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## \[1.0.0-rc.9] + +- Statically link the Visual C++ runtime instead of using a merge module on the installer. + - [bb061509](https://www.github.com/tauri-apps/tauri/commit/bb061509fb674bef86ecbc1de3aa8f3e367a9907) refactor(core): statically link vcruntime, closes [#4122](https://www.github.com/tauri-apps/tauri/pull/4122) ([#4227](https://www.github.com/tauri-apps/tauri/pull/4227)) on 2022-05-27 + ## \[1.0.0-rc.8] - Use binary arch instead of `x86_64` on the AppImage bundle script. diff --git a/tooling/bundler/Cargo.toml b/tooling/bundler/Cargo.toml index 173c757b5..e1569db55 100644 --- a/tooling/bundler/Cargo.toml +++ b/tooling/bundler/Cargo.toml @@ -2,7 +2,7 @@ workspace = { } [package] name = "tauri-bundler" -version = "1.0.0-rc.8" +version = "1.0.0-rc.9" authors = [ "George Burton ", "Tauri Programme within The Commons Conservancy" @@ -22,7 +22,7 @@ exclude = [ ] [dependencies] -tauri-utils = { version = "1.0.0-rc.7", path = "../../core/tauri-utils", features = [ "resources" ] } +tauri-utils = { version = "1.0.0-rc.8", path = "../../core/tauri-utils", features = [ "resources" ] } icns = "0.3" image = "0.24.2" libflate = "1.2" diff --git a/tooling/cli/CHANGELOG.md b/tooling/cli/CHANGELOG.md index 2842eb78f..4924a0998 100644 --- a/tooling/cli/CHANGELOG.md +++ b/tooling/cli/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## \[1.0.0-rc.13] + +- Check if `$CWD/src-tauri/tauri.conf.json` exists before walking through the file tree to find the tauri dir in case the whole project is gitignored. + - [bd8f3e29](https://www.github.com/tauri-apps/tauri/commit/bd8f3e298a0cb71809f2e93cc3ebc8e6e5b6a626) fix(cli): manual config lookup to handle gitignored folders, fixes [#3527](https://www.github.com/tauri-apps/tauri/pull/3527) ([#4224](https://www.github.com/tauri-apps/tauri/pull/4224)) on 2022-05-26 +- Statically link the Visual C++ runtime instead of using a merge module on the installer. + - [bb061509](https://www.github.com/tauri-apps/tauri/commit/bb061509fb674bef86ecbc1de3aa8f3e367a9907) refactor(core): statically link vcruntime, closes [#4122](https://www.github.com/tauri-apps/tauri/pull/4122) ([#4227](https://www.github.com/tauri-apps/tauri/pull/4227)) on 2022-05-27 + ## \[1.0.0-rc.12] - Properly fetch the NPM dependency information when using Yarn 2+. diff --git a/tooling/cli/Cargo.lock b/tooling/cli/Cargo.lock index 291f295f4..d48c2033c 100644 --- a/tooling/cli/Cargo.lock +++ b/tooling/cli/Cargo.lock @@ -2699,7 +2699,7 @@ dependencies = [ [[package]] name = "tauri-bundler" -version = "1.0.0-rc.8" +version = "1.0.0-rc.9" dependencies = [ "anyhow", "ar", @@ -2734,7 +2734,7 @@ dependencies = [ [[package]] name = "tauri-cli" -version = "1.0.0-rc.12" +version = "1.0.0-rc.13" dependencies = [ "anyhow", "base64", @@ -2791,7 +2791,7 @@ dependencies = [ [[package]] name = "tauri-utils" -version = "1.0.0-rc.7" +version = "1.0.0-rc.8" dependencies = [ "aes-gcm", "ctor", diff --git a/tooling/cli/Cargo.toml b/tooling/cli/Cargo.toml index 3174ff1ee..80e3dedee 100644 --- a/tooling/cli/Cargo.toml +++ b/tooling/cli/Cargo.toml @@ -3,7 +3,7 @@ members = [ "node" ] [package] name = "tauri-cli" -version = "1.0.0-rc.12" +version = "1.0.0-rc.13" authors = [ "Tauri Programme within The Commons Conservancy" ] edition = "2021" rust-version = "1.57" @@ -29,7 +29,7 @@ path = "src/main.rs" [dependencies] clap = { version = "3.1", features = [ "derive" ] } anyhow = "1.0" -tauri-bundler = { version = "1.0.0-rc.8", path = "../bundler" } +tauri-bundler = { version = "1.0.0-rc.9", path = "../bundler" } colored = "2.0" once_cell = "1.12" serde = { version = "1.0", features = [ "derive" ] } @@ -39,7 +39,7 @@ notify = "4.0" shared_child = "1.0" toml_edit = "0.14" json-patch = "0.2" -tauri-utils = { version = "1.0.0-rc.7", path = "../../core/tauri-utils", features = [ "isolation", "schema", "config-json5" ] } +tauri-utils = { version = "1.0.0-rc.8", path = "../../core/tauri-utils", features = [ "isolation", "schema", "config-json5" ] } toml = "0.5" valico = "3.6" handlebars = "4.3" diff --git a/tooling/cli/metadata.json b/tooling/cli/metadata.json index 45f07297d..192a58f25 100644 --- a/tooling/cli/metadata.json +++ b/tooling/cli/metadata.json @@ -1,8 +1,8 @@ { "cli.js": { - "version": "1.0.0-rc.12", + "version": "1.0.0-rc.13", "node": ">= 10.0.0" }, - "tauri": "1.0.0-rc.13", - "tauri-build": "1.0.0-rc.11" + "tauri": "1.0.0-rc.14", + "tauri-build": "1.0.0-rc.12" } diff --git a/tooling/cli/node/CHANGELOG.md b/tooling/cli/node/CHANGELOG.md index 463b99174..5b140fbd9 100644 --- a/tooling/cli/node/CHANGELOG.md +++ b/tooling/cli/node/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## \[1.0.0-rc.13] + +- Check if `$CWD/src-tauri/tauri.conf.json` exists before walking through the file tree to find the tauri dir in case the whole project is gitignored. + - [bd8f3e29](https://www.github.com/tauri-apps/tauri/commit/bd8f3e298a0cb71809f2e93cc3ebc8e6e5b6a626) fix(cli): manual config lookup to handle gitignored folders, fixes [#3527](https://www.github.com/tauri-apps/tauri/pull/3527) ([#4224](https://www.github.com/tauri-apps/tauri/pull/4224)) on 2022-05-26 +- Statically link the Visual C++ runtime instead of using a merge module on the installer. + - [bb061509](https://www.github.com/tauri-apps/tauri/commit/bb061509fb674bef86ecbc1de3aa8f3e367a9907) refactor(core): statically link vcruntime, closes [#4122](https://www.github.com/tauri-apps/tauri/pull/4122) ([#4227](https://www.github.com/tauri-apps/tauri/pull/4227)) on 2022-05-27 + ## \[1.0.0-rc.12] - Properly fetch the NPM dependency information when using Yarn 2+. diff --git a/tooling/cli/node/package.json b/tooling/cli/node/package.json index 455780e4f..e01191c1f 100644 --- a/tooling/cli/node/package.json +++ b/tooling/cli/node/package.json @@ -1,6 +1,6 @@ { "name": "@tauri-apps/cli", - "version": "1.0.0-rc.12", + "version": "1.0.0-rc.13", "description": "Command line interface for building Tauri apps", "funding": { "type": "opencollective",