Browse Source

chore: add change files for #8428 (#8661)

Lucas Fernandes Nogueira 1 năm trước cách đây
mục cha
commit
74a2a6036a

+ 11 - 0
.changes/acl.md

@@ -0,0 +1,11 @@
+---
+"tauri": patch:breaking
+"tauri-plugin": major:feat
+"tauri-build": patch:feat
+"tauri-utils": patch:feat
+"tauri-codegen": patch:feat
+"tauri-macros": patch:feat
+"@tauri-apps/api": patch:feat
+---
+
+Implement access control list for IPC usage.

+ 7 - 0
.changes/config.json

@@ -213,6 +213,13 @@
       "manager": "rust",
       "dependencies": ["tauri-codegen", "tauri-utils"]
     },
+    "tauri-plugin": {
+      "path": "./core/tauri-plugin",
+      "manager": "rust",
+      "dependencies": [
+        "tauri"
+      ]
+    },
     "tauri-build": {
       "path": "./core/tauri-build",
       "manager": "rust",

+ 5 - 0
.changes/refactor-codegen-build.md

@@ -0,0 +1,5 @@
+---
+"tauri-build": patch:breaking
+---
+
+`CodegenContext::build` and `CodegenContext::try_build` have been removed, use `tauri_build::try_build(tauri_build::Attributes::new().codegen(codegen))` instead.

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

@@ -1,6 +1,6 @@
 [package]
 name = "tauri-plugin"
-version = "0.1.0"
+version = "1.0.0"
 authors = { workspace = true }
 homepage = { workspace = true }
 repository = { workspace = true }
@@ -22,7 +22,6 @@ runtime = []
 [dependencies]
 serde = { version = "1", optional = true }
 cargo_metadata = { version = "0.18", optional = true }
-tauri-utils = { version = "2.0.0-alpha.12", default-features = false, path = "../tauri-utils" }
 tauri = { version = "2.0.0-alpha.20", default-features = false, path = "../tauri" }
 serde_json = { version = "1", optional = true }
 glob = { version = "0.3", optional = true }

+ 1 - 1
core/tauri-plugin/src/build/mod.rs

@@ -5,7 +5,7 @@
 use std::path::Path;
 
 use cargo_metadata::{Metadata, MetadataCommand};
-use tauri_utils::acl::{self, Error};
+use tauri::utils::acl::{self, Error};
 
 pub struct Builder<'a> {
   commands: &'a [&'static str],

+ 0 - 1
examples/api/src-tauri/Cargo.lock

@@ -3768,7 +3768,6 @@ dependencies = [
  "serde",
  "serde_json",
  "tauri",
- "tauri-utils",
  "toml 0.8.2",
 ]