Răsfoiți Sursa

Apply Version Updates From Current Changes (#4217)

Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
github-actions[bot] 3 ani în urmă
părinte
comite
2c040eaadd

+ 6 - 0
.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",

+ 5 - 0
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.

+ 3 - 3
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"

+ 6 - 0
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.

+ 2 - 2
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" ] }

+ 7 - 0
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.

+ 3 - 3
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 = [ ]

+ 1 - 1
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"
 

+ 1 - 1
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"

+ 6 - 0
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.

+ 1 - 1
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"

+ 12 - 0
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<time::OffsetDateTime>`.
+  - [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.

+ 4 - 4
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 }

+ 5 - 0
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.

+ 2 - 2
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 <burtonageo@gmail.com>",
   "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"

+ 7 - 0
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+.

+ 3 - 3
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",

+ 3 - 3
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"

+ 3 - 3
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"
 }

+ 7 - 0
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+.

+ 1 - 1
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",