Browse Source

Apply Version Updates From Current Changes (#4175)

Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
github-actions[bot] 3 years ago
parent
commit
8b6bb6720c

+ 13 - 0
.changes/pre.json

@@ -125,6 +125,7 @@
     ".changes/devtools-apis.md",
     ".changes/devtools-hotkey.md",
     ".changes/dialog-parent-macos.md",
+    ".changes/dialog-type.md",
     ".changes/emit-and-trigger-tauri-events.md",
     ".changes/emit-window-created-backend.md",
     ".changes/enable-linux-cookie-persistence.md",
@@ -133,17 +134,22 @@
     ".changes/exit-loop-destroyed.md",
     ".changes/expose-escape-json-string.md",
     ".changes/expose-global-shortcut.md",
+    ".changes/expose-message-dialog-title.md",
     ".changes/extract-file-breaking.change.md",
     ".changes/extract-files-breaking-change.md",
     ".changes/extract-performance.md",
     ".changes/file-drop-percent-decode.md",
     ".changes/find-icon.md",
     ".changes/fix-api-timeout-type.md",
+    ".changes/fix-app-create-window.md",
+    ".changes/fix-appimage-bundle-arch.md",
     ".changes/fix-asset-protocol-panicking.md",
     ".changes/fix-asset-protocol-validation.md",
     ".changes/fix-before-dev-command.md",
     ".changes/fix-before-dev-kill-unix.md",
+    ".changes/fix-berry-info-cli.md",
     ".changes/fix-block-on-runtime.md",
+    ".changes/fix-center-window.md",
     ".changes/fix-cli-lookup.md",
     ".changes/fix-cli-powershell.md",
     ".changes/fix-cli-prompts.md",
@@ -167,6 +173,7 @@
     ".changes/fix-focus-blur-events-wry.md",
     ".changes/fix-focus-blur-events.md",
     ".changes/fix-form-serialization.md",
+    ".changes/fix-fs-scope-windows.md",
     ".changes/fix-glob-resource-wix.md",
     ".changes/fix-inner-size.md",
     ".changes/fix-linux-resource-path.md",
@@ -187,10 +194,12 @@
     ".changes/fix-runtime-traits-requirements.md",
     ".changes/fix-safe-block-on.md",
     ".changes/fix-set-size-freeze.md",
+    ".changes/fix-sidecar-refresh.md",
     ".changes/fix-tauri-docsrs.md",
     ".changes/fix-tray-command.md",
     ".changes/fix-tray-menu-ids-update.md",
     ".changes/fix-tray-remove-windows.md",
+    ".changes/fix-updater-docs.md",
     ".changes/fix-updater-msi.md",
     ".changes/fix-updater-percent-decode.md",
     ".changes/fix-window-builder-export.md",
@@ -206,8 +215,10 @@
     ".changes/fix-windows-resources.md",
     ".changes/fix-windows-sidecar.md",
     ".changes/fix-windows-sign-product-name.md",
+    ".changes/fix-windows-timeout-http.md",
     ".changes/fix-windows-upgrade.md",
     ".changes/fix-wix-reinstallmode.md",
+    ".changes/fix-wix-upgrade.md",
     ".changes/fix-wry-window-destroyed-event.md",
     ".changes/fix-yarn-pnp.md",
     ".changes/fixed-webview2-runtime.md",
@@ -339,6 +350,7 @@
     ".changes/unlisten-fix.md",
     ".changes/unlisten.md",
     ".changes/update-response-methods.md",
+    ".changes/update-windows.md",
     ".changes/update-wry-0.16.2.md",
     ".changes/update-wry.md",
     ".changes/updater-check-api.md",
@@ -366,6 +378,7 @@
     ".changes/webview-attributes-clipboard.md",
     ".changes/webview-getters.md",
     ".changes/webview2-com.md",
+    ".changes/window-builder-lifetime.md",
     ".changes/window-builder-theme.md",
     ".changes/window-builder.md",
     ".changes/window-confirm.md",

+ 5 - 0
core/tauri-build/CHANGELOG.md

@@ -1,5 +1,10 @@
 # Changelog
 
+## \[1.0.0-rc.10]
+
+- Delete existing sidecar before copying new one.
+  - [a737f25c](https://www.github.com/tauri-apps/tauri/commit/a737f25c1078083e0b0f7f338f5c958b86914323) fix(tauri-build): delete existing sidecar file, closes [#4134](https://www.github.com/tauri-apps/tauri/pull/4134) ([#4167](https://www.github.com/tauri-apps/tauri/pull/4167)) on 2022-05-18
+
 ## \[1.0.0-rc.9]
 
 - Search `tauri.conf.json > tauri > bundle > icons` for a `.ico` file for the window icon instead of simple default `icons/icon.ico` when `WindowsAttributes::window_icon_path` is not set.

+ 1 - 1
core/tauri-build/Cargo.toml

@@ -1,6 +1,6 @@
 [package]
 name = "tauri-build"
-version = "1.0.0-rc.9"
+version = "1.0.0-rc.10"
 authors = [ "Tauri Programme within The Commons Conservancy" ]
 categories = [ "gui", "web-programming" ]
 license = "Apache-2.0 OR MIT"

+ 7 - 0
core/tauri-runtime-wry/CHANGELOG.md

@@ -1,5 +1,12 @@
 # Changelog
 
+## \[0.6.0]
+
+- Account the monitor position when centering a window.
+  - [a7a9fde1](https://www.github.com/tauri-apps/tauri/commit/a7a9fde16fb7c35d48d4f97e83ff95b8baf9e090) fix(core): account for monitor position when centering window ([#4166](https://www.github.com/tauri-apps/tauri/pull/4166)) on 2022-05-21
+- Update `windows-rs` to `0.37.0`, which requires Rust 1.61.0+.
+  - [2326be39](https://www.github.com/tauri-apps/tauri/commit/2326be39821890cdd4de76e7029a531424dcb26f) feat(core): update windows-rs to 0.37.0 ([#4199](https://www.github.com/tauri-apps/tauri/pull/4199)) on 2022-05-24
+
 ## \[0.5.2]
 
 - Use the event loop proxy to create a window so it doesn't deadlock on Windows.

+ 5 - 5
core/tauri-runtime-wry/Cargo.toml

@@ -1,6 +1,6 @@
 [package]
 name = "tauri-runtime-wry"
-version = "0.5.2"
+version = "0.6.0"
 authors = [ "Tauri Programme within The Commons Conservancy" ]
 categories = [ "gui", "web-programming" ]
 license = "Apache-2.0 OR MIT"
@@ -14,7 +14,7 @@ readme = "README.md"
 
 [dependencies]
 wry = { version = "0.17.0", default-features = false, features = [ "file-drop", "protocol" ] }
-tauri-runtime = { version = "0.5.1", path = "../tauri-runtime" }
+tauri-runtime = { version = "0.6.0", path = "../tauri-runtime" }
 tauri-utils = { version = "1.0.0-rc.7", path = "../tauri-utils" }
 uuid = { version = "1", features = [ "v4" ] }
 rand = "0.8"
@@ -22,9 +22,9 @@ rand = "0.8"
 [target."cfg(windows)".dependencies]
 webview2-com = "0.16.0"
 
-[target."cfg(windows)".dependencies.windows]
-version = "0.37.0"
-features = [ "Win32_Foundation" ]
+  [target."cfg(windows)".dependencies.windows]
+  version = "0.37.0"
+  features = [ "Win32_Foundation" ]
 
 [target."cfg(any(target_os = \"linux\", target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"openbsd\", target_os = \"netbsd\"))".dependencies]
 gtk = { version = "0.15", features = [ "v3_20" ] }

+ 5 - 0
core/tauri-runtime/CHANGELOG.md

@@ -1,5 +1,10 @@
 # Changelog
 
+## \[0.6.0]
+
+- Update `windows-rs` to `0.37.0`, which requires Rust 1.61.0+.
+  - [2326be39](https://www.github.com/tauri-apps/tauri/commit/2326be39821890cdd4de76e7029a531424dcb26f) feat(core): update windows-rs to 0.37.0 ([#4199](https://www.github.com/tauri-apps/tauri/pull/4199)) on 2022-05-24
+
 ## \[0.5.1]
 
 - Fix `.mjs` not being recognised as a file extension for JavaScript files (`text/javascript`).

+ 1 - 1
core/tauri-runtime/Cargo.toml

@@ -1,6 +1,6 @@
 [package]
 name = "tauri-runtime"
-version = "0.5.1"
+version = "0.6.0"
 authors = [ "Tauri Programme within The Commons Conservancy" ]
 categories = [ "gui", "web-programming" ]
 license = "Apache-2.0 OR MIT"

+ 21 - 0
core/tauri/CHANGELOG.md

@@ -1,5 +1,26 @@
 # Changelog
 
+## \[1.0.0-rc.12]
+
+- Expose option to set the dialog type.
+  - [f46175d5](https://www.github.com/tauri-apps/tauri/commit/f46175d5d46fa3eae66ad2415a0eb1efb7d31da2) feat(core): expose option to set dialog type, closes [#4183](https://www.github.com/tauri-apps/tauri/pull/4183) ([#4187](https://www.github.com/tauri-apps/tauri/pull/4187)) on 2022-05-21
+- Expose `title` option in the message dialog API.
+  - [ae99f991](https://www.github.com/tauri-apps/tauri/commit/ae99f991674d77c322a2240d10ed4b78ed2f4d4b) feat(core): expose message dialog's title option, ref [#4183](https://www.github.com/tauri-apps/tauri/pull/4183) ([#4186](https://www.github.com/tauri-apps/tauri/pull/4186)) on 2022-05-21
+- Immediately create windows when using `tauri::App` as manager.
+  - [52d17754](https://www.github.com/tauri-apps/tauri/commit/52d177543ab5d0b316628ef30c2a32f303bc451d) fix(core): immediately create window when using tauri::App, closes [#4170](https://www.github.com/tauri-apps/tauri/pull/4170) ([#4172](https://www.github.com/tauri-apps/tauri/pull/4172)) on 2022-05-21
+- Account the monitor position when centering a window.
+  - [a7a9fde1](https://www.github.com/tauri-apps/tauri/commit/a7a9fde16fb7c35d48d4f97e83ff95b8baf9e090) fix(core): account for monitor position when centering window ([#4166](https://www.github.com/tauri-apps/tauri/pull/4166)) on 2022-05-21
+- Allow the canonical, absolute form of a path for the filesystem scope on Windows if `std::fs::canonicalize` returns a path, fallback to `\\?\$PATH`.
+  - [78f2565e](https://www.github.com/tauri-apps/tauri/commit/78f2565e14a5a8292045200967a36d6a40899721) fix: allow return value of fs::canonicalize on fs scope, closes [#4130](https://www.github.com/tauri-apps/tauri/pull/4130) ([#4188](https://www.github.com/tauri-apps/tauri/pull/4188)) on 2022-05-21
+- Fixes updater documentation not showing on docs.rs.
+  - [55892c35](https://www.github.com/tauri-apps/tauri/commit/55892c35f5c60836a8b7244e1660a83a01a4bc37) fix(core): updater documentation not showing on docs.rs ([#4190](https://www.github.com/tauri-apps/tauri/pull/4190)) on 2022-05-22
+- Fixes HTTP timeout not working on Windows when using the `attohttpc` client.
+  - [d99c5d58](https://www.github.com/tauri-apps/tauri/commit/d99c5d583bdb1429966283cc5cd4a977cf0770b2) fix(core): HTTP timeout not working on Windows, closes [#4050](https://www.github.com/tauri-apps/tauri/pull/4050) ([#4185](https://www.github.com/tauri-apps/tauri/pull/4185)) on 2022-05-21
+- Update `windows-rs` to `0.37.0`, which requires Rust 1.61.0+.
+  - [2326be39](https://www.github.com/tauri-apps/tauri/commit/2326be39821890cdd4de76e7029a531424dcb26f) feat(core): update windows-rs to 0.37.0 ([#4199](https://www.github.com/tauri-apps/tauri/pull/4199)) on 2022-05-24
+- **Breaking change:** The `WindowBuilder` struct now has a lifetime annotation `WindowBuilder<R: Runtime, 'a>`.
+  - [52d17754](https://www.github.com/tauri-apps/tauri/commit/52d177543ab5d0b316628ef30c2a32f303bc451d) fix(core): immediately create window when using tauri::App, closes [#4170](https://www.github.com/tauri-apps/tauri/pull/4170) ([#4172](https://www.github.com/tauri-apps/tauri/pull/4172)) on 2022-05-21
+
 ## \[1.0.0-rc.11]
 
 - Added the `App::get_cli_matches` helper function.

+ 6 - 6
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.11"
+version = "1.0.0-rc.12"
 
 [package.metadata.docs.rs]
 no-default-features = true
@@ -55,10 +55,10 @@ url = { version = "2.2" }
 anyhow = "1.0"
 thiserror = "1.0"
 once_cell = "1.10"
-tauri-runtime = { version = "0.5.1", path = "../tauri-runtime" }
+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-runtime-wry = { version = "0.5.2", path = "../tauri-runtime-wry", optional = true }
+tauri-runtime-wry = { version = "0.6.0", path = "../tauri-runtime-wry", optional = true }
 rand = "0.8"
 semver = { version = "1.0", features = [ "serde" ] }
 serde_repr = "0.1"
@@ -107,9 +107,9 @@ objc = "0.2"
 [target."cfg(windows)".dependencies]
 webview2-com = "0.16.0"
 
-[target."cfg(windows)".dependencies.windows]
-version = "0.37.0"
-features = [ "Win32_Foundation" ]
+  [target."cfg(windows)".dependencies.windows]
+  version = "0.37.0"
+  features = [ "Win32_Foundation" ]
 
 [build-dependencies]
 heck = "0.4"

+ 7 - 0
tooling/api/CHANGELOG.md

@@ -1,5 +1,12 @@
 # Changelog
 
+## \[1.0.0-rc.6]
+
+- Expose option to set the dialog type.
+  - [f46175d5](https://www.github.com/tauri-apps/tauri/commit/f46175d5d46fa3eae66ad2415a0eb1efb7d31da2) feat(core): expose option to set dialog type, closes [#4183](https://www.github.com/tauri-apps/tauri/pull/4183) ([#4187](https://www.github.com/tauri-apps/tauri/pull/4187)) on 2022-05-21
+- Expose `title` option in the message dialog API.
+  - [ae99f991](https://www.github.com/tauri-apps/tauri/commit/ae99f991674d77c322a2240d10ed4b78ed2f4d4b) feat(core): expose message dialog's title option, ref [#4183](https://www.github.com/tauri-apps/tauri/pull/4183) ([#4186](https://www.github.com/tauri-apps/tauri/pull/4186)) on 2022-05-21
+
 ## \[1.0.0-rc.5]
 
 - Fixes the type of `http > connectTimeout`.

+ 1 - 1
tooling/api/package.json

@@ -1,6 +1,6 @@
 {
   "name": "@tauri-apps/api",
-  "version": "1.0.0-rc.5",
+  "version": "1.0.0-rc.6",
   "description": "Tauri API definitions",
   "type": "module",
   "funding": {

+ 7 - 0
tooling/bundler/CHANGELOG.md

@@ -1,5 +1,12 @@
 # Changelog
 
+## \[1.0.0-rc.8]
+
+- Use binary arch instead of `x86_64` on the AppImage bundle script.
+  - [6830a739](https://www.github.com/tauri-apps/tauri/commit/6830a739535e920f1857a1946fb69750a6d7b92f) fix(bundler): use binary arch on appimage bundle script ([#4194](https://www.github.com/tauri-apps/tauri/pull/4194)) on 2022-05-23
+- Fixes lost files on upgrade due to wrong implementation to keep shortcuts.
+  - [8539e02f](https://www.github.com/tauri-apps/tauri/commit/8539e02f7fd56cc47b25ed45c8403d66abe262ac) fix(bundler): wix upgrade do not installing new files, closes [#4182](https://www.github.com/tauri-apps/tauri/pull/4182) on 2022-05-21
+
 ## \[1.0.0-rc.7]
 
 - Change `tsp` value from `Option<bool>` to `bool`.

+ 1 - 1
tooling/bundler/Cargo.toml

@@ -2,7 +2,7 @@ workspace = { }
 
 [package]
 name = "tauri-bundler"
-version = "1.0.0-rc.7"
+version = "1.0.0-rc.8"
 authors = [
   "George Burton <burtonageo@gmail.com>",
   "Tauri Programme within The Commons Conservancy"

+ 5 - 0
tooling/cli/CHANGELOG.md

@@ -1,5 +1,10 @@
 # Changelog
 
+## \[1.0.0-rc.12]
+
+- Properly fetch the NPM dependency information when using Yarn 2+.
+  - [cdfa6255](https://www.github.com/tauri-apps/tauri/commit/cdfa62551115586725bd3e4c04f12c5256f20790) fix(cli): properly read info when using yarn 2+, closes [#4106](https://www.github.com/tauri-apps/tauri/pull/4106) ([#4193](https://www.github.com/tauri-apps/tauri/pull/4193)) on 2022-05-23
+
 ## \[1.0.0-rc.11]
 
 - Allow configuring the display options for the MSI execution allowing quieter updates.

+ 2 - 2
tooling/cli/Cargo.lock

@@ -2699,7 +2699,7 @@ dependencies = [
 
 [[package]]
 name = "tauri-bundler"
-version = "1.0.0-rc.7"
+version = "1.0.0-rc.8"
 dependencies = [
  "anyhow",
  "ar",
@@ -2734,7 +2734,7 @@ dependencies = [
 
 [[package]]
 name = "tauri-cli"
-version = "1.0.0-rc.11"
+version = "1.0.0-rc.12"
 dependencies = [
  "anyhow",
  "base64",

+ 2 - 2
tooling/cli/Cargo.toml

@@ -3,7 +3,7 @@ members = [ "node" ]
 
 [package]
 name = "tauri-cli"
-version = "1.0.0-rc.11"
+version = "1.0.0-rc.12"
 authors = [ "Tauri Programme within The Commons Conservancy" ]
 edition = "2021"
 rust-version = "1.57"
@@ -30,7 +30,7 @@ path = "src/main.rs"
 [dependencies]
 clap = { version = "3.1", features = [ "derive" ] }
 anyhow = "1.0"
-tauri-bundler = { version = "1.0.0-rc.7", path = "../bundler" }
+tauri-bundler = { version = "1.0.0-rc.8", path = "../bundler" }
 colored = "2.0"
 once_cell = "1.10"
 serde = { version = "1.0", features = [ "derive" ] }

+ 3 - 3
tooling/cli/metadata.json

@@ -1,8 +1,8 @@
 {
   "cli.js": {
-    "version": "1.0.0-rc.11",
+    "version": "1.0.0-rc.12",
     "node": ">= 10.0.0"
   },
-  "tauri": "1.0.0-rc.11",
-  "tauri-build": "1.0.0-rc.9"
+  "tauri": "1.0.0-rc.12",
+  "tauri-build": "1.0.0-rc.10"
 }

+ 5 - 0
tooling/cli/node/CHANGELOG.md

@@ -1,5 +1,10 @@
 # Changelog
 
+## \[1.0.0-rc.12]
+
+- Properly fetch the NPM dependency information when using Yarn 2+.
+  - [cdfa6255](https://www.github.com/tauri-apps/tauri/commit/cdfa62551115586725bd3e4c04f12c5256f20790) fix(cli): properly read info when using yarn 2+, closes [#4106](https://www.github.com/tauri-apps/tauri/pull/4106) ([#4193](https://www.github.com/tauri-apps/tauri/pull/4193)) on 2022-05-23
+
 ## \[1.0.0-rc.11]
 
 - Allow configuring the display options for the MSI execution allowing quieter updates.

+ 1 - 1
tooling/cli/node/package.json

@@ -1,6 +1,6 @@
 {
   "name": "@tauri-apps/cli",
-  "version": "1.0.0-rc.11",
+  "version": "1.0.0-rc.12",
   "description": "Command line interface for building Tauri apps",
   "funding": {
     "type": "opencollective",