瀏覽代碼

(NEXT) Apply Version Updates From Current Changes (#6633)

Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
github-actions[bot] 2 年之前
父節點
當前提交
f3917e7ee8

+ 9 - 0
.changes/pre.json

@@ -6,6 +6,9 @@
     ".changes/build-android-env-vars.md",
     ".changes/bump-1.3.md",
     ".changes/cli-android-build.md",
+    ".changes/cli-android-dev-release.md",
+    ".changes/cli-android-specified-targets-only.md",
+    ".changes/cli-built-in-dev-server-mobile.md",
     ".changes/cli-dev-server-port.md",
     ".changes/cli-ios-build.md",
     ".changes/cli-mobile-auto-ip.md",
@@ -18,6 +21,7 @@
     ".changes/default-tls-features.md",
     ".changes/dev-proxy-response-cache.md",
     ".changes/dev-proxy.md",
+    ".changes/downgrade-min-sdk-version.md",
     ".changes/dynamic-wry-plugin.md",
     ".changes/enable-minify.md",
     ".changes/error-on-identifier-change.md",
@@ -28,12 +32,14 @@
     ".changes/fix-ios-template.md",
     ".changes/fix-mobile-env-vars.md",
     ".changes/fix-orientation-crash.md",
+    ".changes/fix-plugin-template-cargotoml.md",
     ".changes/fix-proguard-rules.md",
     ".changes/fix-shell-build.md",
     ".changes/fix-tauri-binary-windows.md",
     ".changes/force-colored-logs.md",
     ".changes/gtk16.md",
     ".changes/improve-local-ip-detection.md",
+    ".changes/improve-mobile-plugin-error-handling.md",
     ".changes/inject-proguard.md",
     ".changes/invoke-return-bool.md",
     ".changes/ios-deployment-target.md",
@@ -43,6 +49,7 @@
     ".changes/lib-name-xcode.md",
     ".changes/local-dev-path-mobile.md",
     ".changes/logcat-all-tags.md",
+    ".changes/min-sdk-version.md",
     ".changes/mobile-config.md",
     ".changes/mobile-dev-watcher-ignore-gen.md",
     ".changes/mobile-entry-point-macro.md",
@@ -57,7 +64,9 @@
     ".changes/napi-rs.md",
     ".changes/npm-pass-args.md",
     ".changes/only-proxy-on-mobile.md",
+    ".changes/open-ts-overload.md",
     ".changes/package-info-crate-name.md",
+    ".changes/plugin-handle-clone.md",
     ".changes/plugin-init-fns.md",
     ".changes/plugin-init-refactor.md",
     ".changes/plugin-setup-refactor.md",

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

@@ -1,5 +1,11 @@
 # Changelog
 
+## \[2.0.0-alpha.4]
+
+- Added `android` configuration object under `tauri > bundle`.
+  - Bumped due to a bump in tauri-utils.
+  - [db4c9dc6](https://www.github.com/tauri-apps/tauri/commit/db4c9dc655e07ee2184fe04571f500f7910890cd) feat(core): add option to configure Android's minimum SDK version ([#6651](https://www.github.com/tauri-apps/tauri/pull/6651)) on 2023-04-07
+
 ## \[2.0.0-alpha.3]
 
 - Read the `IPHONEOS_DEPLOYMENT_TARGET` environment variable to set the Swift iOS target version, defaults to 13.

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

@@ -1,6 +1,6 @@
 [package]
 name = "tauri-build"
-version = "2.0.0-alpha.3"
+version = "2.0.0-alpha.4"
 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 = "2.0.0-alpha.3", path = "../tauri-codegen", optional = true }
-tauri-utils = { version = "2.0.0-alpha.3", path = "../tauri-utils", features = [ "build", "resources" ] }
+tauri-codegen = { version = "2.0.0-alpha.4", path = "../tauri-codegen", optional = true }
+tauri-utils = { version = "2.0.0-alpha.4", path = "../tauri-utils", features = [ "build", "resources" ] }
 cargo_toml = "0.14"
 serde = "1"
 serde_json = "1"

+ 6 - 0
core/tauri-codegen/CHANGELOG.md

@@ -1,5 +1,11 @@
 # Changelog
 
+## \[2.0.0-alpha.4]
+
+- Added `android` configuration object under `tauri > bundle`.
+  - Bumped due to a bump in tauri-utils.
+  - [db4c9dc6](https://www.github.com/tauri-apps/tauri/commit/db4c9dc655e07ee2184fe04571f500f7910890cd) feat(core): add option to configure Android's minimum SDK version ([#6651](https://www.github.com/tauri-apps/tauri/pull/6651)) on 2023-04-07
+
 ## \[2.0.0-alpha.3]
 
 - Pull changes from Tauri 1.3 release.

+ 2 - 2
core/tauri-codegen/Cargo.toml

@@ -1,6 +1,6 @@
 [package]
 name = "tauri-codegen"
-version = "2.0.0-alpha.3"
+version = "2.0.0-alpha.4"
 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 = "2.0.0-alpha.3", path = "../tauri-utils", features = [ "build" ] }
+tauri-utils = { version = "2.0.0-alpha.4", path = "../tauri-utils", features = [ "build" ] }
 thiserror = "1"
 walkdir = "2"
 brotli = { version = "3", optional = true, default-features = false, features = [ "std" ] }

+ 6 - 0
core/tauri-macros/CHANGELOG.md

@@ -1,5 +1,11 @@
 # Changelog
 
+## \[2.0.0-alpha.4]
+
+- Added `android` configuration object under `tauri > bundle`.
+  - Bumped due to a bump in tauri-utils.
+  - [db4c9dc6](https://www.github.com/tauri-apps/tauri/commit/db4c9dc655e07ee2184fe04571f500f7910890cd) feat(core): add option to configure Android's minimum SDK version ([#6651](https://www.github.com/tauri-apps/tauri/pull/6651)) on 2023-04-07
+
 ## \[2.0.0-alpha.3]
 
 - Pull changes from Tauri 1.3 release.

+ 3 - 3
core/tauri-macros/Cargo.toml

@@ -1,6 +1,6 @@
 [package]
 name = "tauri-macros"
-version = "2.0.0-alpha.3"
+version = "2.0.0-alpha.4"
 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 = "2.0.0-alpha.3", default-features = false, path = "../tauri-codegen" }
-tauri-utils = { version = "2.0.0-alpha.3", path = "../tauri-utils" }
+tauri-codegen = { version = "2.0.0-alpha.4", default-features = false, path = "../tauri-codegen" }
+tauri-utils = { version = "2.0.0-alpha.4", path = "../tauri-utils" }
 
 [features]
 custom-protocol = [ ]

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

@@ -1,5 +1,11 @@
 # Changelog
 
+## \[0.13.0-alpha.4]
+
+- Added `android` configuration object under `tauri > bundle`.
+  - Bumped due to a bump in tauri-utils.
+  - [db4c9dc6](https://www.github.com/tauri-apps/tauri/commit/db4c9dc655e07ee2184fe04571f500f7910890cd) feat(core): add option to configure Android's minimum SDK version ([#6651](https://www.github.com/tauri-apps/tauri/pull/6651)) on 2023-04-07
+
 ## \[0.13.0-alpha.3]
 
 - Pull changes from Tauri 1.3 release.

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

@@ -1,6 +1,6 @@
 [package]
 name = "tauri-runtime-wry"
-version = "0.13.0-alpha.3"
+version = "0.13.0-alpha.4"
 authors = [ "Tauri Programme within The Commons Conservancy" ]
 categories = [ "gui", "web-programming" ]
 license = "Apache-2.0 OR MIT"
@@ -14,8 +14,8 @@ readme = "README.md"
 
 [dependencies]
 wry = { version = "0.27.3", default-features = false, features = [ "file-drop", "protocol" ] }
-tauri-runtime = { version = "0.13.0-alpha.3", path = "../tauri-runtime" }
-tauri-utils = { version = "2.0.0-alpha.3", path = "../tauri-utils" }
+tauri-runtime = { version = "0.13.0-alpha.4", path = "../tauri-runtime" }
+tauri-utils = { version = "2.0.0-alpha.4", path = "../tauri-utils" }
 uuid = { version = "1", features = [ "v4" ] }
 rand = "0.8"
 raw-window-handle = "0.5"

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

@@ -1,5 +1,11 @@
 # Changelog
 
+## \[0.13.0-alpha.4]
+
+- Added `android` configuration object under `tauri > bundle`.
+  - Bumped due to a bump in tauri-utils.
+  - [db4c9dc6](https://www.github.com/tauri-apps/tauri/commit/db4c9dc655e07ee2184fe04571f500f7910890cd) feat(core): add option to configure Android's minimum SDK version ([#6651](https://www.github.com/tauri-apps/tauri/pull/6651)) on 2023-04-07
+
 ## \[0.13.0-alpha.3]
 
 - Pull changes from Tauri 1.3 release.

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

@@ -1,6 +1,6 @@
 [package]
 name = "tauri-runtime"
-version = "0.13.0-alpha.3"
+version = "0.13.0-alpha.4"
 authors = [ "Tauri Programme within The Commons Conservancy" ]
 categories = [ "gui", "web-programming" ]
 license = "Apache-2.0 OR MIT"
@@ -26,7 +26,7 @@ targets = [
 serde = { version = "1.0", features = [ "derive" ] }
 serde_json = "1.0"
 thiserror = "1.0"
-tauri-utils = { version = "2.0.0-alpha.3", path = "../tauri-utils" }
+tauri-utils = { version = "2.0.0-alpha.4", path = "../tauri-utils" }
 uuid = { version = "1", features = [ "v4" ] }
 http = "0.2.4"
 http-range = "0.1.4"

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

@@ -1,5 +1,10 @@
 # Changelog
 
+## \[2.0.0-alpha.4]
+
+- Added `android` configuration object under `tauri > bundle`.
+  - [db4c9dc6](https://www.github.com/tauri-apps/tauri/commit/db4c9dc655e07ee2184fe04571f500f7910890cd) feat(core): add option to configure Android's minimum SDK version ([#6651](https://www.github.com/tauri-apps/tauri/pull/6651)) on 2023-04-07
+
 ## \[2.0.0-alpha.3]
 
 - Pull changes from Tauri 1.3 release.

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

@@ -1,6 +1,6 @@
 [package]
 name = "tauri-utils"
-version = "2.0.0-alpha.3"
+version = "2.0.0-alpha.4"
 authors = [ "Tauri Programme within The Commons Conservancy" ]
 license = "Apache-2.0 OR MIT"
 homepage = "https://tauri.app"

+ 9 - 0
core/tauri/CHANGELOG.md

@@ -1,5 +1,14 @@
 # Changelog
 
+## \[2.0.0-alpha.7]
+
+- Change minimum Android SDK version to 21 for the plugin library.
+  - [db4c9dc6](https://www.github.com/tauri-apps/tauri/commit/db4c9dc655e07ee2184fe04571f500f7910890cd) feat(core): add option to configure Android's minimum SDK version ([#6651](https://www.github.com/tauri-apps/tauri/pull/6651)) on 2023-04-07
+- Improve the `run_mobile_plugin` function error handling.
+  - [f0570d9f](https://www.github.com/tauri-apps/tauri/commit/f0570d9feee05792cc720d26ef32da5eaed7f797) feat(core): improve `run_mobile_plugin` error handling ([#6655](https://www.github.com/tauri-apps/tauri/pull/6655)) on 2023-04-07
+- Implement `Clone` for `plugin::PluginHandle`.
+  - [052c5822](https://www.github.com/tauri-apps/tauri/commit/052c5822b53d55e118674d13914f58113a0d1121) feat(core): implement Clone for PluginHandle ([#6644](https://www.github.com/tauri-apps/tauri/pull/6644)) on 2023-04-05
+
 ## \[2.0.0-alpha.6]
 
 - Fix compilation issues without the shell API features.

+ 5 - 5
core/tauri/Cargo.toml

@@ -10,7 +10,7 @@ license = "Apache-2.0 OR MIT"
 name = "tauri"
 readme = "README.md"
 repository = "https://github.com/tauri-apps/tauri"
-version = "2.0.0-alpha.6"
+version = "2.0.0-alpha.7"
 links = "Tauri"
 
 [package.metadata.docs.rs]
@@ -47,10 +47,10 @@ url = { version = "2.3" }
 anyhow = "1.0"
 thiserror = "1.0"
 once_cell = "1"
-tauri-runtime = { version = "0.13.0-alpha.3", path = "../tauri-runtime" }
-tauri-macros = { version = "2.0.0-alpha.3", path = "../tauri-macros" }
-tauri-utils = { version = "2.0.0-alpha.3", features = [ "resources" ], path = "../tauri-utils" }
-tauri-runtime-wry = { version = "0.13.0-alpha.3", path = "../tauri-runtime-wry", optional = true }
+tauri-runtime = { version = "0.13.0-alpha.4", path = "../tauri-runtime" }
+tauri-macros = { version = "2.0.0-alpha.4", path = "../tauri-macros" }
+tauri-utils = { version = "2.0.0-alpha.4", features = [ "resources" ], path = "../tauri-utils" }
+tauri-runtime-wry = { version = "0.13.0-alpha.4", path = "../tauri-runtime-wry", optional = true }
 rand = "0.8"
 semver = { version = "1.0", features = [ "serde" ] }
 serde_repr = "0.1"

+ 5 - 0
tooling/api/CHANGELOG.md

@@ -1,5 +1,10 @@
 # Changelog
 
+## \[2.0.0-alpha.3]
+
+- Overload the dialog `open` function to have better TS result types.
+  - [1eacd51d](https://www.github.com/tauri-apps/tauri/commit/1eacd51d185ba69a3c3cb2cc93c792e2d5929843) overloaded the open function for convenient type inference ([#5619](https://www.github.com/tauri-apps/tauri/pull/5619)) on 2023-04-07
+
 ## \[2.0.0-alpha.2]
 
 - Added `raw` encoding option to read stdout and stderr raw bytes.

+ 1 - 1
tooling/api/package.json

@@ -1,6 +1,6 @@
 {
   "name": "@tauri-apps/api",
-  "version": "2.0.0-alpha.2",
+  "version": "2.0.0-alpha.3",
   "description": "Tauri API definitions",
   "type": "module",
   "funding": {

+ 6 - 0
tooling/bundler/CHANGELOG.md

@@ -1,5 +1,11 @@
 # Changelog
 
+## \[2.0.0-alpha.4]
+
+- Added `android` configuration object under `tauri > bundle`.
+  - Bumped due to a bump in tauri-utils.
+  - [db4c9dc6](https://www.github.com/tauri-apps/tauri/commit/db4c9dc655e07ee2184fe04571f500f7910890cd) feat(core): add option to configure Android's minimum SDK version ([#6651](https://www.github.com/tauri-apps/tauri/pull/6651)) on 2023-04-07
+
 ## \[2.0.0-alpha.3]
 
 - Pull changes from Tauri 1.3 release.

+ 2 - 2
tooling/bundler/Cargo.toml

@@ -2,7 +2,7 @@ workspace = { }
 
 [package]
 name = "tauri-bundler"
-version = "2.0.0-alpha.3"
+version = "2.0.0-alpha.4"
 authors = [
   "George Burton <burtonageo@gmail.com>",
   "Tauri Programme within The Commons Conservancy"
@@ -17,7 +17,7 @@ rust-version = "1.64"
 exclude = [ "CHANGELOG.md", "/target", "rustfmt.toml" ]
 
 [dependencies]
-tauri-utils = { version = "2.0.0-alpha.3", path = "../../core/tauri-utils", features = [ "resources" ] }
+tauri-utils = { version = "2.0.0-alpha.4", path = "../../core/tauri-utils", features = [ "resources" ] }
 image = "0.24.5"
 libflate = "1.2"
 anyhow = "1.0"

+ 13 - 0
tooling/cli/CHANGELOG.md

@@ -1,5 +1,18 @@
 # Changelog
 
+## \[2.0.0-alpha.7]
+
+- Add `--release` flag for `tauri android dev` however you will need to sign your Android app, see https://next--tauri.netlify.app/next/guides/distribution/sign-android
+  - [63f088e5](https://www.github.com/tauri-apps/tauri/commit/63f088e5fc9701fd7fb329dad7ffb27a2d8fd5aa) feat(cli): add `--release` for `android dev` ([#6638](https://www.github.com/tauri-apps/tauri/pull/6638)) on 2023-04-05
+- Build only specified rust targets for `tauri android build` instead of all.
+  - [d03e47d1](https://www.github.com/tauri-apps/tauri/commit/d03e47d141c3917520975be9081775dbc4e9d4fd) fix: only build specified rust targets for aab/apk build ([#6625](https://www.github.com/tauri-apps/tauri/pull/6625)) on 2023-04-05
+- Use local ip address for built-in dev server on mobile.
+  - [7fec0f08](https://www.github.com/tauri-apps/tauri/commit/7fec0f083c932dc63ccb8716080d97e2ab985b25) fix(cli): use local ip addr for built-in server on mobile, closes [#6454](https://www.github.com/tauri-apps/tauri/pull/6454) ([#6631](https://www.github.com/tauri-apps/tauri/pull/6631)) on 2023-04-04
+- Change minimum Android SDK version to 21 for the plugin library.
+  - [db4c9dc6](https://www.github.com/tauri-apps/tauri/commit/db4c9dc655e07ee2184fe04571f500f7910890cd) feat(core): add option to configure Android's minimum SDK version ([#6651](https://www.github.com/tauri-apps/tauri/pull/6651)) on 2023-04-07
+- Readd the Cargo.toml file to the plugin template.
+  - [5288a386](https://www.github.com/tauri-apps/tauri/commit/5288a386f1bf8ac11f991350463c3f5c20983f43) fix(cli): readd Cargo.toml to the plugin template ([#6637](https://www.github.com/tauri-apps/tauri/pull/6637)) on 2023-04-04
+
 ## \[2.0.0-alpha.6]
 
 - Use Ubuntu 20.04 to compile the CLI for cargo-binstall, increasing the minimum libc required.

+ 3 - 3
tooling/cli/Cargo.lock

@@ -3650,7 +3650,7 @@ dependencies = [
 
 [[package]]
 name = "tauri-bundler"
-version = "2.0.0-alpha.3"
+version = "2.0.0-alpha.4"
 dependencies = [
  "anyhow",
  "ar",
@@ -3689,7 +3689,7 @@ dependencies = [
 
 [[package]]
 name = "tauri-cli"
-version = "2.0.0-alpha.6"
+version = "2.0.0-alpha.7"
 dependencies = [
  "anyhow",
  "axum",
@@ -3811,7 +3811,7 @@ dependencies = [
 
 [[package]]
 name = "tauri-utils"
-version = "2.0.0-alpha.3"
+version = "2.0.0-alpha.4"
 dependencies = [
  "aes-gcm",
  "ctor",

+ 3 - 3
tooling/cli/Cargo.toml

@@ -3,7 +3,7 @@ members = [ "node" ]
 
 [package]
 name = "tauri-cli"
-version = "2.0.0-alpha.6"
+version = "2.0.0-alpha.7"
 authors = [ "Tauri Programme within The Commons Conservancy" ]
 edition = "2021"
 rust-version = "1.64"
@@ -52,7 +52,7 @@ thiserror = "1"
 sublime_fuzzy = "0.7"
 clap = { version = "4.0", features = [ "derive" ] }
 anyhow = "1.0"
-tauri-bundler = { version = "2.0.0-alpha.3", path = "../bundler" }
+tauri-bundler = { version = "2.0.0-alpha.4", path = "../bundler" }
 colored = "2.0"
 once_cell = "1"
 serde = { version = "1.0", features = [ "derive" ] }
@@ -62,7 +62,7 @@ notify-debouncer-mini = "0.2"
 shared_child = "1.0"
 toml_edit = "0.14"
 json-patch = "0.2"
-tauri-utils = { version = "2.0.0-alpha.3", path = "../../core/tauri-utils", features = [ "isolation", "schema", "config-json5", "config-toml" ] }
+tauri-utils = { version = "2.0.0-alpha.4", path = "../../core/tauri-utils", features = [ "isolation", "schema", "config-json5", "config-toml" ] }
 toml = "0.5"
 jsonschema = "0.16"
 handlebars = "4.3"

+ 3 - 3
tooling/cli/metadata.json

@@ -1,8 +1,8 @@
 {
   "cli.js": {
-    "version": "2.0.0-alpha.6",
+    "version": "2.0.0-alpha.7",
     "node": ">= 10.0.0"
   },
-  "tauri": "2.0.0-alpha.6",
-  "tauri-build": "2.0.0-alpha.3"
+  "tauri": "2.0.0-alpha.7",
+  "tauri-build": "2.0.0-alpha.4"
 }

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

@@ -1,5 +1,16 @@
 # Changelog
 
+## \[2.0.0-alpha.7]
+
+- Add `--release` flag for `tauri android dev` however you will need to sign your Android app, see https://next--tauri.netlify.app/next/guides/distribution/sign-android
+  - [63f088e5](https://www.github.com/tauri-apps/tauri/commit/63f088e5fc9701fd7fb329dad7ffb27a2d8fd5aa) feat(cli): add `--release` for `android dev` ([#6638](https://www.github.com/tauri-apps/tauri/pull/6638)) on 2023-04-05
+- Build only specified rust targets for `tauri android build` instead of all.
+  - [d03e47d1](https://www.github.com/tauri-apps/tauri/commit/d03e47d141c3917520975be9081775dbc4e9d4fd) fix: only build specified rust targets for aab/apk build ([#6625](https://www.github.com/tauri-apps/tauri/pull/6625)) on 2023-04-05
+- Use local ip address for built-in dev server on mobile.
+  - [7fec0f08](https://www.github.com/tauri-apps/tauri/commit/7fec0f083c932dc63ccb8716080d97e2ab985b25) fix(cli): use local ip addr for built-in server on mobile, closes [#6454](https://www.github.com/tauri-apps/tauri/pull/6454) ([#6631](https://www.github.com/tauri-apps/tauri/pull/6631)) on 2023-04-04
+- Readd the Cargo.toml file to the plugin template.
+  - [5288a386](https://www.github.com/tauri-apps/tauri/commit/5288a386f1bf8ac11f991350463c3f5c20983f43) fix(cli): readd Cargo.toml to the plugin template ([#6637](https://www.github.com/tauri-apps/tauri/pull/6637)) on 2023-04-04
+
 ## \[2.0.0-alpha.6]
 
 - Use Ubuntu 20.04 to compile the CLI, increasing the minimum libc version required.

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

@@ -1,6 +1,6 @@
 {
   "name": "@tauri-apps/cli",
-  "version": "2.0.0-alpha.6",
+  "version": "2.0.0-alpha.7",
   "description": "Command line interface for building Tauri apps",
   "funding": {
     "type": "opencollective",