diff --git a/Cargo.toml b/Cargo.toml index 9d73322..b8e1ae3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,7 @@ resolver = "3" [workspace.package] # TODO: idk how to do the name, fix later # name = "komp_ac" -version = "0.8.24" +version = "0.8.25" edition = "2024" license = "GPL-3.0-or-later" authors = ["Filip Priečinský "] diff --git a/client b/client index 9d5d093..0d20818 160000 --- a/client +++ b/client @@ -1 +1 @@ -Subproject commit 9d5d09322f64f0115cd442a1b09857116fd33356 +Subproject commit 0d20818048e7919c153827891e5cb5fa663bd103 diff --git a/common/proto/table_script.proto b/common/proto/table_script.proto index 0bf8c3c..2d5a71f 100644 --- a/common/proto/table_script.proto +++ b/common/proto/table_script.proto @@ -67,12 +67,10 @@ message PostTableScriptRequest { // Referencing data: // - Structured table/column access (enforces link constraints): // (steel_get_column "table_name" "column_name") - // • self-references are allowed without links + // • current-table references are read directly from the active row // • other tables require an explicit link from the source table // (table_definition_links) or the request fails // - Raw SQL access is not supported; steel_query_sql is rejected - // - Self variable access in transformed scripts: - // (get-var "column_name") is treated as referencing the current table // // Math operations: // - The script is transformed by steel_decimal; supported math forms include: @@ -82,7 +80,7 @@ message PostTableScriptRequest { // BIGINT, TEXT, BOOLEAN, DATE, TIMESTAMPTZ // // Dependency tracking and cycles: - // - Dependencies are extracted from steel_get_column and get-var and stored + // - Dependencies are extracted from steel_get_column calls and stored // in script_dependencies with context // - Cycles across tables are rejected (self-dependency is allowed) string script = 3; diff --git a/common/src/proto/descriptor.bin b/common/src/proto/descriptor.bin index 13df14f..359503d 100644 Binary files a/common/src/proto/descriptor.bin and b/common/src/proto/descriptor.bin differ diff --git a/common/src/proto/komp_ac.table_script.rs b/common/src/proto/komp_ac.table_script.rs index 105e0a0..f190859 100644 --- a/common/src/proto/komp_ac.table_script.rs +++ b/common/src/proto/komp_ac.table_script.rs @@ -26,12 +26,10 @@ pub struct PostTableScriptRequest { /// /// * Structured table/column access (enforces link constraints): /// (steel_get_column "table_name" "column_name") - /// • self-references are allowed without links + /// • current-table references are read directly from the active row /// • other tables require an explicit link from the source table /// (table_definition_links) or the request fails /// * Raw SQL access is not supported; steel_query_sql is rejected - /// * Self variable access in transformed scripts: - /// (get-var "column_name") is treated as referencing the current table /// /// Math operations: /// @@ -43,7 +41,7 @@ pub struct PostTableScriptRequest { /// /// Dependency tracking and cycles: /// - /// * Dependencies are extracted from steel_get_column and get-var and stored + /// * Dependencies are extracted from steel_get_column calls and stored /// in script_dependencies with context /// * Cycles across tables are rejected (self-dependency is allowed) #[prost(string, tag = "3")] diff --git a/server b/server index e260f77..37f329a 160000 --- a/server +++ b/server @@ -1 +1 @@ -Subproject commit e260f77907bc8e376130b13f0f52676630287eba +Subproject commit 37f329a2b20a569c5cb3cfc6f01c1f790d3631a9