Bläddra i källkod

Apply Version Updates From Current Changes (#8759)

Co-authored-by: FabianLars <FabianLars@users.noreply.github.com>
github-actions[bot] 1 år sedan
förälder
incheckning
d54a2b055a

+ 7 - 1
.changes/pre.json

@@ -2,6 +2,12 @@
   "tag": "beta",
   "changes": [
     ".changes/beta.md",
-    ".changes/fix-process-ipc-message-fn.md"
+    ".changes/fix-codegen-rerun-if-changed.md",
+    ".changes/fix-process-ipc-message-fn.md",
+    ".changes/fix-rewrite-schema.md",
+    ".changes/fix-tauri-build-unix.md",
+    ".changes/refactor-capabilities-schema.md",
+    ".changes/rerun-if-permission-created.md",
+    ".changes/update-plugin-template.md"
   ]
 }

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

@@ -1,5 +1,21 @@
 # Changelog
 
+## \[2.0.0-beta.1]
+
+### Enhancements
+
+- [`4e101f80`](https://www.github.com/tauri-apps/tauri/commit/4e101f801657e7d01ce8c22f9c6468067d0caab2)([#8756](https://www.github.com/tauri-apps/tauri/pull/8756)) Moved the capability JSON schema to the `src-tauri/gen` folder so it's easier to track changes on the `capabilities` folder.
+
+### Bug Fixes
+
+- [`4e101f80`](https://www.github.com/tauri-apps/tauri/commit/4e101f801657e7d01ce8c22f9c6468067d0caab2)([#8756](https://www.github.com/tauri-apps/tauri/pull/8756)) Do not trigger build script to rerun if the frontendDist directory does not exist.
+- [`0f2789cd`](https://www.github.com/tauri-apps/tauri/commit/0f2789cd6767e2eadbc4f7dfe32e2173e972b9a0)([#8757](https://www.github.com/tauri-apps/tauri/pull/8757)) Do not rewrite capability JSON schema if it did not change.
+
+### Dependencies
+
+- Upgraded to `tauri-utils@2.0.0-beta.1`
+- Upgraded to `tauri-codegen@2.0.0-beta.1`
+
 ## \[2.0.0-beta.0]
 
 ### New Features

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

@@ -1,6 +1,6 @@
 [package]
 name = "tauri-build"
-version = "2.0.0-beta.0"
+version = "2.0.0-beta.1"
 description = "build time code to pair with https://crates.io/crates/tauri"
 exclude = [ "CHANGELOG.md", "/target" ]
 readme = "README.md"
@@ -28,8 +28,8 @@ rustdoc-args = [ "--cfg", "docsrs" ]
 [dependencies]
 anyhow = "1"
 quote = { version = "1", optional = true }
-tauri-codegen = { version = "2.0.0-beta.0", path = "../tauri-codegen", optional = true }
-tauri-utils = { version = "2.0.0-beta.0", path = "../tauri-utils", features = [ "build", "resources" ] }
+tauri-codegen = { version = "2.0.0-beta.1", path = "../tauri-codegen", optional = true }
+tauri-utils = { version = "2.0.0-beta.1", path = "../tauri-utils", features = [ "build", "resources" ] }
 cargo_toml = "0.17"
 serde = "1"
 serde_json = "1"

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

@@ -1,5 +1,11 @@
 # Changelog
 
+## \[2.0.0-beta.1]
+
+### Dependencies
+
+- Upgraded to `tauri-utils@2.0.0-beta.1`
+
 ## \[2.0.0-beta.0]
 
 ### New Features

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

@@ -1,6 +1,6 @@
 [package]
 name = "tauri-codegen"
-version = "2.0.0-beta.0"
+version = "2.0.0-beta.1"
 description = "code generation meant to be consumed inside of `tauri` through `tauri-build` or `tauri-macros`"
 exclude = [ "CHANGELOG.md", "/target" ]
 readme = "README.md"
@@ -19,7 +19,7 @@ proc-macro2 = "1"
 quote = "1"
 serde = { version = "1", features = [ "derive" ] }
 serde_json = "1"
-tauri-utils = { version = "2.0.0-beta.0", path = "../tauri-utils", features = [ "build" ] }
+tauri-utils = { version = "2.0.0-beta.1", 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
 
+## \[2.0.0-beta.1]
+
+### Dependencies
+
+- Upgraded to `tauri-utils@2.0.0-beta.1`
+- Upgraded to `tauri-codegen@2.0.0-beta.1`
+
 ## \[2.0.0-beta.0]
 
 ### New Features

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

@@ -1,6 +1,6 @@
 [package]
 name = "tauri-macros"
-version = "2.0.0-beta.0"
+version = "2.0.0-beta.1"
 description = "Macros for the tauri crate."
 exclude = [ "CHANGELOG.md", "/target" ]
 readme = "README.md"
@@ -20,8 +20,8 @@ proc-macro2 = { version = "1", features = [ "span-locations" ] }
 quote = "1"
 syn = { version = "2", features = [ "full" ] }
 heck = "0.4"
-tauri-codegen = { version = "2.0.0-beta.0", default-features = false, path = "../tauri-codegen" }
-tauri-utils = { version = "2.0.0-beta.0", path = "../tauri-utils" }
+tauri-codegen = { version = "2.0.0-beta.1", default-features = false, path = "../tauri-codegen" }
+tauri-utils = { version = "2.0.0-beta.1", path = "../tauri-utils" }
 
 [features]
 custom-protocol = [ ]

+ 10 - 0
core/tauri-plugin/CHANGELOG.md

@@ -1,5 +1,15 @@
 # Changelog
 
+## \[2.0.0-beta.1]
+
+### Bug Fixes
+
+- [`4e101f80`](https://www.github.com/tauri-apps/tauri/commit/4e101f801657e7d01ce8c22f9c6468067d0caab2)([#8756](https://www.github.com/tauri-apps/tauri/pull/8756)) Rerun build script when a new permission is added.
+
+### Dependencies
+
+- Upgraded to `tauri-utils@2.0.0-beta.1`
+
 ## \[2.0.0-beta.0]
 
 ### New Features

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

@@ -1,6 +1,6 @@
 [package]
 name = "tauri-plugin"
-version = "2.0.0-beta.0"
+version = "2.0.0-beta.1"
 description = "Build script and runtime Tauri plugin definitions"
 authors = { workspace = true }
 homepage = { workspace = true }
@@ -30,7 +30,7 @@ runtime = [ ]
 [dependencies]
 anyhow = { version = "1", optional = true }
 serde = { version = "1", optional = true }
-tauri-utils = { version = "2.0.0-beta.0", default-features = false, path = "../tauri-utils" }
+tauri-utils = { version = "2.0.0-beta.1", default-features = false, path = "../tauri-utils" }
 serde_json = { version = "1", optional = true }
 glob = { version = "0.3", optional = true }
 toml = { version = "0.8", optional = true }

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

@@ -1,5 +1,12 @@
 # Changelog
 
+## \[2.0.0-beta.1]
+
+### Dependencies
+
+- Upgraded to `tauri-utils@2.0.0-beta.1`
+- Upgraded to `tauri-runtime@2.0.0-beta.1`
+
 ## \[2.0.0-beta.0]
 
 ### New Features

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

@@ -1,6 +1,6 @@
 [package]
 name = "tauri-runtime-wry"
-version = "2.0.0-beta.0"
+version = "2.0.0-beta.1"
 description = "Wry bindings to the Tauri runtime"
 exclude = [ "CHANGELOG.md", "/target" ]
 readme = "README.md"
@@ -15,8 +15,8 @@ rust-version = { workspace = true }
 [dependencies]
 wry = { version = "0.35.2", default-features = false, features = [ "file-drop", "protocol", "os-webview" ] }
 tao = { version = "0.25", default-features = false, features = [ "rwh_05", "rwh_06" ] }
-tauri-runtime = { version = "2.0.0-beta.0", path = "../tauri-runtime" }
-tauri-utils = { version = "2.0.0-beta.0", path = "../tauri-utils" }
+tauri-runtime = { version = "2.0.0-beta.1", path = "../tauri-runtime" }
+tauri-utils = { version = "2.0.0-beta.1", path = "../tauri-utils" }
 raw-window-handle = "0.5"
 http = "0.2"
 tracing = { version = "0.1", optional = true }

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

@@ -1,5 +1,11 @@
 # Changelog
 
+## \[2.0.0-beta.1]
+
+### Dependencies
+
+- Upgraded to `tauri-utils@2.0.0-beta.1`
+
 ## \[2.0.0-beta.0]
 
 ### New Features

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

@@ -1,6 +1,6 @@
 [package]
 name = "tauri-runtime"
-version = "2.0.0-beta.0"
+version = "2.0.0-beta.1"
 description = "Runtime for Tauri applications"
 exclude = [ "CHANGELOG.md", "/target" ]
 readme = "README.md"
@@ -29,7 +29,7 @@ targets = [
 serde = { version = "1.0", features = [ "derive" ] }
 serde_json = "1.0"
 thiserror = "1.0"
-tauri-utils = { version = "2.0.0-beta.0", path = "../tauri-utils" }
+tauri-utils = { version = "2.0.0-beta.1", path = "../tauri-utils" }
 http = "0.2.4"
 raw-window-handle = "0.5"
 url = { version = "2" }

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

@@ -1,5 +1,15 @@
 # Changelog
 
+## \[2.0.0-beta.1]
+
+### Enhancements
+
+- [`4e101f80`](https://www.github.com/tauri-apps/tauri/commit/4e101f801657e7d01ce8c22f9c6468067d0caab2)([#8756](https://www.github.com/tauri-apps/tauri/pull/8756)) Moved the capability JSON schema to the `src-tauri/gen` folder so it's easier to track changes on the `capabilities` folder.
+
+### Bug Fixes
+
+- [`4e101f80`](https://www.github.com/tauri-apps/tauri/commit/4e101f801657e7d01ce8c22f9c6468067d0caab2)([#8756](https://www.github.com/tauri-apps/tauri/pull/8756)) Rerun build script when a new permission is added.
+
 ## \[2.0.0-beta.0]
 
 ### New Features

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

@@ -1,6 +1,6 @@
 [package]
 name = "tauri-utils"
-version = "2.0.0-beta.0"
+version = "2.0.0-beta.1"
 description = "Utilities for Tauri"
 exclude = [ "CHANGELOG.md", "/target" ]
 readme = "README.md"

+ 14 - 0
core/tauri/CHANGELOG.md

@@ -1,5 +1,19 @@
 # Changelog
 
+## \[2.0.0-beta.2]
+
+### Bug Fixes
+
+- [`fe67ab7f`](https://www.github.com/tauri-apps/tauri/commit/fe67ab7f2532c668b35f15415d876e576b3fb74e)([#8761](https://www.github.com/tauri-apps/tauri/pull/8761)) Workaround for zbus not enabling the proper Cargo features for its nix dependency.
+
+### Dependencies
+
+- Upgraded to `tauri-build@2.0.0-beta.1`
+- Upgraded to `tauri-utils@2.0.0-beta.1`
+- Upgraded to `tauri-runtime@2.0.0-beta.1`
+- Upgraded to `tauri-runtime-wry@2.0.0-beta.1`
+- Upgraded to `tauri-macros@2.0.0-beta.1`
+
 ## \[2.0.0-beta.1]
 
 ### Bug Fixes

+ 9 - 9
core/tauri/Cargo.toml

@@ -1,6 +1,6 @@
 [package]
 name = "tauri"
-version = "2.0.0-beta.1"
+version = "2.0.0-beta.2"
 description = "Make tiny, secure apps for all desktop platforms with Tauri"
 exclude = [ "/test", "/.scripts", "CHANGELOG.md", "/target" ]
 readme = "README.md"
@@ -50,10 +50,10 @@ uuid = { version = "1", features = [ "v4" ], optional = true }
 url = { version = "2.4" }
 anyhow = "1.0"
 thiserror = "1.0"
-tauri-runtime = { version = "2.0.0-beta.0", path = "../tauri-runtime" }
-tauri-macros = { version = "2.0.0-beta.0", path = "../tauri-macros" }
-tauri-utils = { version = "2.0.0-beta.0", features = [ "resources" ], path = "../tauri-utils" }
-tauri-runtime-wry = { version = "2.0.0-beta.0", path = "../tauri-runtime-wry", optional = true }
+tauri-runtime = { version = "2.0.0-beta.1", path = "../tauri-runtime" }
+tauri-macros = { version = "2.0.0-beta.1", path = "../tauri-macros" }
+tauri-utils = { version = "2.0.0-beta.1", features = [ "resources" ], path = "../tauri-utils" }
+tauri-runtime-wry = { version = "2.0.0-beta.1", path = "../tauri-runtime-wry", optional = true }
 getrandom = "0.2"
 serde_repr = "0.1"
 state = "0.6"
@@ -88,8 +88,8 @@ cocoa = "0.25"
 objc = "0.2"
 window-vibrancy = "0.4"
 
-[target.'cfg(unix)'.dependencies]
-nix = { version = "0.26.0", default-features = false, features = ["user", "socket", "uio"] }
+[target."cfg(unix)".dependencies]
+nix = { version = "0.26.0", default-features = false, features = [ "user", "socket", "uio" ] }
 
 [target."cfg(windows)".dependencies]
 webview2-com = "0.28"
@@ -114,8 +114,8 @@ swift-rs = "1.0.6"
 
 [build-dependencies]
 heck = "0.4"
-tauri-build = { path = "../tauri-build/", default-features = false, version = "2.0.0-beta.0" }
-tauri-utils = { path = "../tauri-utils/", version = "2.0.0-beta.0", features = [ "build" ] }
+tauri-build = { path = "../tauri-build/", default-features = false, version = "2.0.0-beta.1" }
+tauri-utils = { path = "../tauri-utils/", version = "2.0.0-beta.1", features = [ "build" ] }
 
 [dev-dependencies]
 proptest = "1.4.0"

+ 6 - 0
tooling/bundler/CHANGELOG.md

@@ -1,5 +1,11 @@
 # Changelog
 
+## \[2.0.0-beta.1]
+
+### Dependencies
+
+- Upgraded to `tauri-utils@2.0.0-beta.1`
+
 ## \[2.0.0-beta.0]
 
 ### Enhancements

+ 2 - 2
tooling/bundler/Cargo.toml

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

+ 12 - 0
tooling/cli/CHANGELOG.md

@@ -1,5 +1,17 @@
 # Changelog
 
+## \[2.0.0-beta.1]
+
+### Enhancements
+
+- [`4e101f80`](https://www.github.com/tauri-apps/tauri/commit/4e101f801657e7d01ce8c22f9c6468067d0caab2)([#8756](https://www.github.com/tauri-apps/tauri/pull/8756)) Moved the capability JSON schema to the `src-tauri/gen` folder so it's easier to track changes on the `capabilities` folder.
+- [`4e101f80`](https://www.github.com/tauri-apps/tauri/commit/4e101f801657e7d01ce8c22f9c6468067d0caab2)([#8756](https://www.github.com/tauri-apps/tauri/pull/8756)) Update app and plugin templates following generated files change from tauri-build and tauri-plugin.
+
+### Dependencies
+
+- Upgraded to `tauri-utils@2.0.0-beta.1`
+- Upgraded to `tauri-bundler@2.0.0-beta.1`
+
 ## \[2.0.0-beta.0]
 
 ### New Features

+ 5 - 5
tooling/cli/Cargo.lock

@@ -4737,7 +4737,7 @@ dependencies = [
 
 [[package]]
 name = "tauri-bundler"
-version = "2.0.0-beta.0"
+version = "2.0.0-beta.1"
 dependencies = [
  "anyhow",
  "ar",
@@ -4765,7 +4765,7 @@ dependencies = [
  "strsim",
  "tar",
  "tauri-icns",
- "tauri-utils 2.0.0-beta.0",
+ "tauri-utils 2.0.0-beta.1",
  "tempfile",
  "thiserror",
  "time",
@@ -4779,7 +4779,7 @@ dependencies = [
 
 [[package]]
 name = "tauri-cli"
-version = "2.0.0-beta.0"
+version = "2.0.0-beta.1"
 dependencies = [
  "anyhow",
  "axum",
@@ -4829,7 +4829,7 @@ dependencies = [
  "tauri-bundler",
  "tauri-icns",
  "tauri-utils 1.5.0",
- "tauri-utils 2.0.0-beta.0",
+ "tauri-utils 2.0.0-beta.1",
  "thiserror",
  "tokio",
  "toml 0.8.8",
@@ -4895,7 +4895,7 @@ dependencies = [
 
 [[package]]
 name = "tauri-utils"
-version = "2.0.0-beta.0"
+version = "2.0.0-beta.1"
 dependencies = [
  "aes-gcm",
  "ctor 0.2.5",

+ 3 - 3
tooling/cli/Cargo.toml

@@ -3,7 +3,7 @@ members = [ "node" ]
 
 [package]
 name = "tauri-cli"
-version = "2.0.0-beta.0"
+version = "2.0.0-beta.1"
 authors = [ "Tauri Programme within The Commons Conservancy" ]
 edition = "2021"
 rust-version = "1.70"
@@ -49,7 +49,7 @@ sublime_fuzzy = "0.7"
 clap_complete = "4"
 clap = { version = "4.4", features = [ "derive", "env" ] }
 anyhow = "1.0"
-tauri-bundler = { version = "2.0.0-beta.0", default-features = false, path = "../bundler" }
+tauri-bundler = { version = "2.0.0-beta.1", default-features = false, path = "../bundler" }
 colored = "2.0"
 serde = { version = "1.0", features = [ "derive" ] }
 serde_json = "1.0"
@@ -59,7 +59,7 @@ shared_child = "1.0"
 duct = "0.13"
 toml_edit = "0.21"
 json-patch = "1.2"
-tauri-utils = { version = "2.0.0-beta.0", path = "../../core/tauri-utils", features = [ "isolation", "schema", "config-json5", "config-toml" ] }
+tauri-utils = { version = "2.0.0-beta.1", path = "../../core/tauri-utils", features = [ "isolation", "schema", "config-json5", "config-toml" ] }
 tauri-utils-v1 = { version = "1", package = "tauri-utils", features = [ "isolation", "schema", "config-json5", "config-toml" ] }
 toml = "0.8"
 jsonschema = "0.17"

+ 4 - 4
tooling/cli/metadata-v2.json

@@ -1,9 +1,9 @@
 {
   "cli.js": {
-    "version": "2.0.0-beta.0",
+    "version": "2.0.0-beta.1",
     "node": ">= 10.0.0"
   },
-  "tauri": "2.0.0-beta.1",
-  "tauri-build": "2.0.0-beta.0",
-  "tauri-plugin": "2.0.0-beta.0"
+  "tauri": "2.0.0-beta.2",
+  "tauri-build": "2.0.0-beta.1",
+  "tauri-plugin": "2.0.0-beta.1"
 }

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

@@ -1,5 +1,16 @@
 # Changelog
 
+## \[2.0.0-beta.1]
+
+### Enhancements
+
+- [`4e101f80`](https://www.github.com/tauri-apps/tauri/commit/4e101f801657e7d01ce8c22f9c6468067d0caab2)([#8756](https://www.github.com/tauri-apps/tauri/pull/8756)) Moved the capability JSON schema to the `src-tauri/gen` folder so it's easier to track changes on the `capabilities` folder.
+- [`4e101f80`](https://www.github.com/tauri-apps/tauri/commit/4e101f801657e7d01ce8c22f9c6468067d0caab2)([#8756](https://www.github.com/tauri-apps/tauri/pull/8756)) Update app and plugin templates following generated files change from tauri-build and tauri-plugin.
+
+### Dependencies
+
+- Upgraded to `tauri-cli@2.0.0-beta.1`
+
 ## \[2.0.0-beta.0]
 
 ### New Features

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

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