Просмотр исходного кода

Apply Version Updates From Current Changes (#3430)

Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
github-actions[bot] 3 лет назад
Родитель
Сommit
8d290cb2d7

+ 11 - 0
.changes/pre.json

@@ -27,6 +27,7 @@
     ".changes/asset-cors.md",
     ".changes/asset-protocol-feature-flag.md",
     ".changes/asset-resolver.md",
+    ".changes/async-cli.js.md",
     ".changes/async-runtime-refactor.md",
     ".changes/async-runtime-set.md",
     ".changes/async-runtime-spawn-blocking.md",
@@ -42,8 +43,11 @@
     ".changes/clap-beta.4.md",
     ".changes/cli-config-path.md",
     ".changes/cli-include-vswhere.md",
+    ".changes/cli-runner-args.md",
+    ".changes/cli-runner-error-message.md",
     ".changes/cli.js-cjs-output.md",
     ".changes/cli.js-fix-ico.md",
+    ".changes/cli.js-improve-error.md",
     ".changes/cli.rs-active-toolchain.md",
     ".changes/cli.rs-build-tools-info.md",
     ".changes/cli.rs-default-svelte-port.md",
@@ -86,6 +90,7 @@
     ".changes/fix-deadlock-path-iter.md",
     ".changes/fix-default-freeze-prototype.md",
     ".changes/fix-dialog-default-path.md",
+    ".changes/fix-ease-plugin-hook-requirements.md",
     ".changes/fix-focus-blur-events-wry.md",
     ".changes/fix-focus-blur-events.md",
     ".changes/fix-inner-size.md",
@@ -97,6 +102,7 @@
     ".changes/fix-ready-check.md",
     ".changes/fix-tray-command.md",
     ".changes/fix-tray-remove-windows.md",
+    ".changes/fix-updater-percent-decode.md",
     ".changes/fix-window-created-listen.md",
     ".changes/fix-window-label-api.md",
     ".changes/fix-window-specific-event-system.md",
@@ -106,6 +112,8 @@
     ".changes/get-menu.md",
     ".changes/going-rc.md",
     ".changes/http-refactor.md",
+    ".changes/increase-tauri-dir-lookup-depth.md",
+    ".changes/info-extend-crates.md",
     ".changes/isolation-pattern.md",
     ".changes/join-handle-abort.md",
     ".changes/json5.md",
@@ -115,6 +123,7 @@
     ".changes/main-thread-api-calls.md",
     ".changes/menu-with-items-constructor.md",
     ".changes/misign-update.md",
+    ".changes/mock-functions.md",
     ".changes/mutable-callbacks.md",
     ".changes/notification-regression.md",
     ".changes/open-devtools.md",
@@ -127,6 +136,7 @@
     ".changes/private-api.md",
     ".changes/raw-headers.md",
     ".changes/raw-window-handle.md",
+    ".changes/refactor-cli-dev-args.md",
     ".changes/refactor-create-tao-window.md",
     ".changes/refactor-dialog-apis.md",
     ".changes/refactor-notification-permission-check.md",
@@ -153,6 +163,7 @@
     ".changes/simplify-window-label-types.md",
     ".changes/streaming-small-file-fix.md",
     ".changes/strip.md",
+    ".changes/template-csp-null.md",
     ".changes/tooling-fix-pnpm-info-error.md",
     ".changes/tray-set-menu.md",
     ".changes/universal-apple-target-sidecar.md",

+ 7 - 0
core/tauri/CHANGELOG.md

@@ -1,5 +1,12 @@
 # Changelog
 
+## \[1.0.0-rc.2]
+
+- Ease the requirements for plugin hooks. `setup` and `setup_with_config` can now be `FnOnce` and `on_webview_ready`, `on_event` and `on_page_load` can be `FnMut`.
+  - [fd557e98](https://www.github.com/tauri-apps/tauri/commit/fd557e984db17335a7c2ff10e6fe9c07065a95ed) Ease plugin hook restrictions ([#3404](https://www.github.com/tauri-apps/tauri/pull/3404)) on 2022-02-13
+- Fixes an issue with the updater when replacing the `{{target}}` and `{{current_version}}` variables due to percent-encoding on the `Url` that is parsed from the configuration.
+  - [20f0477f](https://www.github.com/tauri-apps/tauri/commit/20f0477f95b836cdf03ca66dadd9c0d3c95b198a) fix(core): updater not replacing variables, closes [#3428](https://www.github.com/tauri-apps/tauri/pull/3428) ([#3432](https://www.github.com/tauri-apps/tauri/pull/3432)) on 2022-02-13
+
 ## \[1.0.0-rc.1]
 
 - Change default value for the `freezePrototype` configuration to `false`.

+ 1 - 1
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.1"
+version = "1.0.0-rc.2"
 
 [package.metadata.docs.rs]
 default-features = false

+ 6 - 0
tooling/api/CHANGELOG.md

@@ -1,5 +1,11 @@
 # Changelog
 
+## \[1.0.0-rc.1]
+
+- Provide functions to mock IPC calls during testing and static site generation.
+  - [7e04c072](https://www.github.com/tauri-apps/tauri/commit/7e04c072c4ee2278c648f44575c6c4710ac047f3) feat: add mock functions for testing and SSG ([#3437](https://www.github.com/tauri-apps/tauri/pull/3437)) on 2022-02-14
+  - [6f5ed2e6](https://www.github.com/tauri-apps/tauri/commit/6f5ed2e69cb7ffa0d5c8eb5a744fbf94ed6010d4) fix: change file on 2022-02-14
+
 ## \[1.0.0-rc.0]
 
 - Add `fileDropEnabled` property to `WindowOptions` so you can now disable it when creating windows from js.

+ 1 - 1
tooling/api/package.json

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

+ 15 - 0
tooling/cli/CHANGELOG.md

@@ -1,5 +1,20 @@
 # Changelog
 
+## \[1.0.0-rc.5]
+
+- Allow passing arguments to the `build` runner (`tauri build -- <ARGS>...`).
+  - [679fe1fe](https://www.github.com/tauri-apps/tauri/commit/679fe1fedd6ed016ab1140c8087c2d1404504bfb) feat(cli.rs): allow passing arguments to the build runner, closes [#3398](https://www.github.com/tauri-apps/tauri/pull/3398) ([#3431](https://www.github.com/tauri-apps/tauri/pull/3431)) on 2022-02-13
+- Improve error message when the dev runner command fails.
+  - [759d1afb](https://www.github.com/tauri-apps/tauri/commit/759d1afb86f3657f6071a2ae39c9be21e20ed22c) feat(cli): improve error message when dev runner command fails ([#3447](https://www.github.com/tauri-apps/tauri/pull/3447)) on 2022-02-13
+- Increase `tauri.conf.json` directory lookup depth to `3` and allow changing it with the `TAURI_PATH_DEPTH` environment variable.
+  - [c6031c70](https://www.github.com/tauri-apps/tauri/commit/c6031c7070c6bb7539bbfdfe42cb73012829c910) feat(cli): increase lookup depth, add env var option ([#3451](https://www.github.com/tauri-apps/tauri/pull/3451)) on 2022-02-13
+- Added `tauri-build`, `tao` and `wry` version to the `info` command output.
+  - [16f1173f](https://www.github.com/tauri-apps/tauri/commit/16f1173f456b1db543d0160df2c9828708bfc68a) feat(cli): add tao and wry version to the `info` output ([#3443](https://www.github.com/tauri-apps/tauri/pull/3443)) on 2022-02-13
+- **Breaking change:** The extra arguments passed to `tauri dev` using `-- <ARGS>...` are now propagated to the runner (defaults to cargo). To pass arguments to your binary using Cargo, you now need to run `tauri dev -- -- <ARGS-TO-YOUR-BINARY>...` (notice the double `--`).
+  - [679fe1fe](https://www.github.com/tauri-apps/tauri/commit/679fe1fedd6ed016ab1140c8087c2d1404504bfb) feat(cli.rs): allow passing arguments to the build runner, closes [#3398](https://www.github.com/tauri-apps/tauri/pull/3398) ([#3431](https://www.github.com/tauri-apps/tauri/pull/3431)) on 2022-02-13
+- Change the `init` template configuration to disable CSP for better usability for new users.
+  - [102a5e9b](https://www.github.com/tauri-apps/tauri/commit/102a5e9bb83c5d8388dc9aedc7f03cc57bdae8cb) refactor(cli.rs): change template config CSP to null, closes [#3427](https://www.github.com/tauri-apps/tauri/pull/3427) ([#3429](https://www.github.com/tauri-apps/tauri/pull/3429)) on 2022-02-13
+
 ## \[1.0.0-rc.4]
 
 - Change default value for the `freezePrototype` configuration to `false`.

+ 1 - 1
tooling/cli/Cargo.lock

@@ -2727,7 +2727,7 @@ dependencies = [
 
 [[package]]
 name = "tauri-cli"
-version = "1.0.0-rc.4"
+version = "1.0.0-rc.5"
 dependencies = [
  "anyhow",
  "base64",

+ 1 - 1
tooling/cli/Cargo.toml

@@ -3,7 +3,7 @@ members = [ "node" ]
 
 [package]
 name = "tauri-cli"
-version = "1.0.0-rc.4"
+version = "1.0.0-rc.5"
 authors = [ "Tauri Programme within The Commons Conservancy" ]
 edition = "2021"
 rust-version = "1.57"

+ 2 - 2
tooling/cli/metadata.json

@@ -1,8 +1,8 @@
 {
   "cli.js": {
-    "version": "1.0.0-rc.3",
+    "version": "1.0.0-rc.4",
     "node": ">= 12.13.0"
   },
-  "tauri": "1.0.0-rc.1",
+  "tauri": "1.0.0-rc.2",
   "tauri-build": "1.0.0-rc.1"
 }

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

@@ -1,5 +1,18 @@
 # Changelog
 
+## \[1.0.0-rc.4]
+
+- Change the `run` function to take a callback and run asynchronously instead of blocking the event loop.
+  - [cd9a20b9](https://www.github.com/tauri-apps/tauri/commit/cd9a20b9ab013759b4bdb742f358988022450795) refactor(cli.js): run on separate thread ([#3436](https://www.github.com/tauri-apps/tauri/pull/3436)) on 2022-02-13
+- Improve error message when the dev runner command fails.
+  - [759d1afb](https://www.github.com/tauri-apps/tauri/commit/759d1afb86f3657f6071a2ae39c9be21e20ed22c) feat(cli): improve error message when dev runner command fails ([#3447](https://www.github.com/tauri-apps/tauri/pull/3447)) on 2022-02-13
+- Show full error message from `cli.rs` instead of just the outermost underlying error message.
+  - [63826010](https://www.github.com/tauri-apps/tauri/commit/63826010d1f38544f36afd3aac67c45d4608d15b) feat(cli.js): show full error message ([#3442](https://www.github.com/tauri-apps/tauri/pull/3442)) on 2022-02-13
+- Increase `tauri.conf.json` directory lookup depth to `3` and allow changing it with the `TAURI_PATH_DEPTH` environment variable.
+  - [c6031c70](https://www.github.com/tauri-apps/tauri/commit/c6031c7070c6bb7539bbfdfe42cb73012829c910) feat(cli): increase lookup depth, add env var option ([#3451](https://www.github.com/tauri-apps/tauri/pull/3451)) on 2022-02-13
+- Added `tauri-build`, `tao` and `wry` version to the `info` command output.
+  - [16f1173f](https://www.github.com/tauri-apps/tauri/commit/16f1173f456b1db543d0160df2c9828708bfc68a) feat(cli): add tao and wry version to the `info` output ([#3443](https://www.github.com/tauri-apps/tauri/pull/3443)) on 2022-02-13
+
 ## \[1.0.0-rc.3]
 
 - Change default value for the `freezePrototype` configuration to `false`.

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

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