Browse Source

Apply Version Updates From Current Changes (#2513)

Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
github-actions[bot] 4 năm trước cách đây
mục cha
commit
52723ee8a1

+ 4 - 0
.changes/pre.json

@@ -35,6 +35,7 @@
     ".changes/app-set-activation-policy.md",
     ".changes/app-state.md",
     ".changes/appwindow-events.md",
+    ".changes/asset-path.md",
     ".changes/asset-protocol.md",
     ".changes/assets-refactor.md",
     ".changes/async-commands.md",
@@ -75,6 +76,7 @@
     ".changes/cli.js-rustup.md",
     ".changes/cli.rs-dev-workspaces.md",
     ".changes/cli.rs-features-arg.md",
+    ".changes/cli.rs-fix-cli.yml-assertion.md",
     ".changes/cli.rs-libwebkit2gtk-4.0-37.md",
     ".changes/cli.rs-release-arg.md",
     ".changes/cli.rs-wix-banner-icon.md",
@@ -221,6 +223,7 @@
     ".changes/product-name-original.md",
     ".changes/raw-window-handle-dependency.md",
     ".changes/readd-esm-cli.js.md",
+    ".changes/refactor-register-uri-scheme-protocol.md",
     ".changes/refactor-settings.md",
     ".changes/refactor-window-management.md",
     ".changes/regular-script-invoke-key-injection.md",
@@ -263,6 +266,7 @@
     ".changes/tauri-icon-fix.md",
     ".changes/tauri-info-framework-bundler.md",
     ".changes/tauri-macos-tray-icon-template.md",
+    ".changes/tauri-protocol.md",
     ".changes/tauri-ready-event.md",
     ".changes/tauri-updater-linux.md",
     ".changes/tauri-updater-windows.md",

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

@@ -1,5 +1,10 @@
 # Changelog
 
+## \[0.2.1]
+
+- Migrate to latest custom protocol allowing `Partial content` streaming and Header parsing.
+  - [539e4489](https://www.github.com/tauri-apps/tauri/commit/539e4489e0bac7029d86917e9982ea49e02fe489) refactor: custom protocol ([#2503](https://www.github.com/tauri-apps/tauri/pull/2503)) on 2021-08-23
+
 ## \[0.2.0]
 
 - Fix blur/focus events being incorrect on Windows.

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

@@ -1,6 +1,6 @@
 [package]
 name = "tauri-runtime-wry"
-version = "0.2.0"
+version = "0.2.1"
 authors = [ "Tauri Programme within The Commons Conservancy" ]
 categories = [ "gui", "web-programming" ]
 license = "Apache-2.0 OR MIT"
@@ -13,7 +13,7 @@ readme = "README.md"
 
 [dependencies]
 wry = { version = "0.12", default-features = false, features = [ "file-drop", "protocol" ] }
-tauri-runtime = { version = "0.2.0", path = "../tauri-runtime" }
+tauri-runtime = { version = "0.2.1", path = "../tauri-runtime" }
 tauri-utils = { version = "1.0.0-beta.3", path = "../tauri-utils" }
 uuid = { version = "0.8.2", features = [ "v4" ] }
 infer = "0.4"

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

@@ -1,5 +1,12 @@
 # Changelog
 
+## \[0.2.1]
+
+- **Breaking change:** Removed `register_uri_scheme_protocol` from the `WebviewAttibutes` struct and renamed `register_global_uri_scheme_protocol` to `register_uri_scheme_protocol` on the `Builder` struct, which now takes a `Fn(&AppHandle, &http::Request) -> http::Response` closure.
+  - [539e4489](https://www.github.com/tauri-apps/tauri/commit/539e4489e0bac7029d86917e9982ea49e02fe489) refactor: custom protocol ([#2503](https://www.github.com/tauri-apps/tauri/pull/2503)) on 2021-08-23
+- Migrate to latest custom protocol allowing `Partial content` streaming and Header parsing.
+  - [539e4489](https://www.github.com/tauri-apps/tauri/commit/539e4489e0bac7029d86917e9982ea49e02fe489) refactor: custom protocol ([#2503](https://www.github.com/tauri-apps/tauri/pull/2503)) on 2021-08-23
+
 ## \[0.2.0]
 
 - Fix blur/focus events being incorrect on Windows.

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

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

+ 10 - 0
core/tauri/CHANGELOG.md

@@ -1,5 +1,15 @@
 # Changelog
 
+## \[1.0.0-beta.8]
+
+- Fix missing asset protocol path.Now the protocol is `https://asset.localhost/path/to/file` on Windows. Lunix and macOS
+  is still `asset://path/to/file`.
+  - [994b5325](https://www.github.com/tauri-apps/tauri/commit/994b5325dd385f564b37fe1530c5d798dc925fff) fix: missing asset protocol path ([#2484](https://www.github.com/tauri-apps/tauri/pull/2484)) on 2021-08-23
+- **Breaking change:** Removed `register_uri_scheme_protocol` from the `WebviewAttibutes` struct and renamed `register_global_uri_scheme_protocol` to `register_uri_scheme_protocol` on the `Builder` struct, which now takes a `Fn(&AppHandle, &http::Request) -> http::Response` closure.
+  - [539e4489](https://www.github.com/tauri-apps/tauri/commit/539e4489e0bac7029d86917e9982ea49e02fe489) refactor: custom protocol ([#2503](https://www.github.com/tauri-apps/tauri/pull/2503)) on 2021-08-23
+- Migrate to latest custom protocol allowing `Partial content` streaming and Header parsing.
+  - [539e4489](https://www.github.com/tauri-apps/tauri/commit/539e4489e0bac7029d86917e9982ea49e02fe489) refactor: custom protocol ([#2503](https://www.github.com/tauri-apps/tauri/pull/2503)) on 2021-08-23
+
 ## \[1.0.0-beta.7]
 
 - Cleanup application on `AppHandle#exit`.

+ 3 - 3
core/tauri/Cargo.toml

@@ -1,6 +1,6 @@
 [package]
 name = "tauri"
-version = "1.0.0-beta.7"
+version = "1.0.0-beta.8"
 authors = [ "Tauri Programme within The Commons Conservancy" ]
 categories = [ "gui", "web-programming" ]
 license = "Apache-2.0 OR MIT"
@@ -39,10 +39,10 @@ uuid = { version = "0.8", features = [ "v4" ] }
 url = { version = "2.2" }
 thiserror = "1.0"
 once_cell = "1.8"
-tauri-runtime = { version = "0.2.0", path = "../tauri-runtime" }
+tauri-runtime = { version = "0.2.1", path = "../tauri-runtime" }
 tauri-macros = { version = "1.0.0-beta.5", path = "../tauri-macros" }
 tauri-utils = { version = "1.0.0-beta.3", path = "../tauri-utils" }
-tauri-runtime-wry = { version = "0.2.0", path = "../tauri-runtime-wry", optional = true }
+tauri-runtime-wry = { version = "0.2.1", path = "../tauri-runtime-wry", optional = true }
 rand = "0.8"
 tempfile = "3"
 semver = "1.0"

+ 6 - 0
tooling/api/CHANGELOG.md

@@ -1,5 +1,11 @@
 # Changelog
 
+## \[1.0.0-beta.7]
+
+- Fix missing asset protocol path.Now the protocol is `https://asset.localhost/path/to/file` on Windows. Lunix and macOS
+  is still `asset://path/to/file`.
+  - [994b5325](https://www.github.com/tauri-apps/tauri/commit/994b5325dd385f564b37fe1530c5d798dc925fff) fix: missing asset protocol path ([#2484](https://www.github.com/tauri-apps/tauri/pull/2484)) on 2021-08-23
+
 ## \[1.0.0-beta.6]
 
 - `bundle` now exports `clipboard` module so you can `import { clipboard } from "@tauri-apps/api"`.

+ 1 - 1
tooling/api/package.json

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

+ 6 - 0
tooling/cli.js/CHANGELOG.md

@@ -1,5 +1,11 @@
 # Changelog
 
+## \[1.0.0-beta.10]
+
+- Update cli.yml to pass clap ArgSettings::MultipleValues assertion.
+  - Bumped due to a bump in cli.rs.
+  - [0391ac3d](https://www.github.com/tauri-apps/tauri/commit/0391ac3dc96d9c74c34a957e4cb70da88a0a85b7) fix: Update cli.yml to pass clap ArgSettings::MultipleValues assertion. ([#2506](https://www.github.com/tauri-apps/tauri/pull/2506)) ([#2507](https://www.github.com/tauri-apps/tauri/pull/2507)) on 2021-08-22
+
 ## \[1.0.0-beta.9]
 
 - The CLI is now an ES module and requires at least Node.js v12.20. Fixed previous releases by using Rollup instead of Webpack.

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

@@ -1,6 +1,6 @@
 {
   "name": "@tauri-apps/cli",
-  "version": "1.0.0-beta.9",
+  "version": "1.0.0-beta.10",
   "description": "Command line interface for building Tauri apps",
   "type": "module",
   "bin": {

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

@@ -1,5 +1,10 @@
 # Changelog
 
+## \[1.0.0-beta.7]
+
+- Update cli.yml to pass clap ArgSettings::MultipleValues assertion.
+  - [0391ac3d](https://www.github.com/tauri-apps/tauri/commit/0391ac3dc96d9c74c34a957e4cb70da88a0a85b7) fix: Update cli.yml to pass clap ArgSettings::MultipleValues assertion. ([#2506](https://www.github.com/tauri-apps/tauri/pull/2506)) ([#2507](https://www.github.com/tauri-apps/tauri/pull/2507)) on 2021-08-22
+
 ## \[1.0.0-beta.6]
 
 - Added `APPLE_SIGNING_IDENTITY` as supported environment variable for the bundler.

+ 1 - 1
tooling/cli.rs/Cargo.lock

@@ -1906,7 +1906,7 @@ dependencies = [
 
 [[package]]
 name = "tauri-cli"
-version = "1.0.0-beta.6"
+version = "1.0.0-beta.7"
 dependencies = [
  "anyhow",
  "base64",

+ 1 - 1
tooling/cli.rs/Cargo.toml

@@ -2,7 +2,7 @@ workspace = { }
 
 [package]
 name = "tauri-cli"
-version = "1.0.0-beta.6"
+version = "1.0.0-beta.7"
 authors = [ "Tauri Programme within The Commons Conservancy" ]
 edition = "2018"
 categories = [ "gui", "web-programming" ]

+ 2 - 2
tooling/cli.rs/metadata.json

@@ -1,8 +1,8 @@
 {
   "cli.js": {
-    "version": "1.0.0-beta.9",
+    "version": "1.0.0-beta.10",
     "node": ">= 12.13.0"
   },
-  "tauri": "1.0.0-beta.7",
+  "tauri": "1.0.0-beta.8",
   "tauri-build": "1.0.0-beta.4"
 }