diff --git a/.github/workflows/build-test-macos-arm64.yml b/.github/workflows/build-test-macos-arm64.yml index e19730bc1..14578537f 100644 --- a/.github/workflows/build-test-macos-arm64.yml +++ b/.github/workflows/build-test-macos-arm64.yml @@ -50,9 +50,13 @@ jobs: run: export PATH=$PATH:$PWD/../_build/dist/Darwin/kclvm/bin:/opt/homebrew/opt/llvm@12/bin/ && make test-grammar-evaluator shell: bash + - name: Release + run: export PATH=$PATH:$PWD/../_build/dist/Darwin/kclvm/bin:/opt/homebrew/opt/llvm@12/bin/ && make release + shell: bash + - uses: actions/upload-artifact@v4 if: "contains(matrix.os, 'macos-13-xlarge')" with: name: kcl-darwin-arm64 if-no-files-found: error - path: _build/dist/Darwin/kclvm + path: _build/kclvm-Darwin-latest.tar.gz diff --git a/VERSION b/VERSION index f514a2f0b..f76f91317 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.9.1 \ No newline at end of file +0.9.2 \ No newline at end of file diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 8c3b43186..05d59fb3f 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "kclvm_cli" -version = "0.9.1" +version = "0.9.2" edition = "2021" [[bin]] diff --git a/kclvm/Cargo.lock b/kclvm/Cargo.lock index 14afbc67e..c2c7ca07e 100644 --- a/kclvm/Cargo.lock +++ b/kclvm/Cargo.lock @@ -1611,7 +1611,7 @@ dependencies = [ [[package]] name = "kcl-language-server" -version = "0.9.1" +version = "0.9.2" dependencies = [ "anyhow", "chrono", @@ -1655,7 +1655,7 @@ dependencies = [ [[package]] name = "kclvm" -version = "0.9.1" +version = "0.9.2" dependencies = [ "kclvm-api", "kclvm-ast", @@ -1677,7 +1677,7 @@ dependencies = [ [[package]] name = "kclvm-api" -version = "0.9.1" +version = "0.9.2" dependencies = [ "anyhow", "criterion 0.4.0", @@ -1717,7 +1717,7 @@ dependencies = [ [[package]] name = "kclvm-ast" -version = "0.9.1" +version = "0.9.2" dependencies = [ "compiler_base_span", "kclvm-error", @@ -1732,7 +1732,7 @@ dependencies = [ [[package]] name = "kclvm-ast-pretty" -version = "0.9.1" +version = "0.9.2" dependencies = [ "compiler_base_macros", "compiler_base_session", @@ -1746,7 +1746,7 @@ dependencies = [ [[package]] name = "kclvm-cmd" -version = "0.9.1" +version = "0.9.2" dependencies = [ "anyhow", "clap 4.5.4", @@ -1764,7 +1764,7 @@ dependencies = [ [[package]] name = "kclvm-compiler" -version = "0.9.1" +version = "0.9.2" dependencies = [ "ahash", "bit-set", @@ -1784,7 +1784,7 @@ dependencies = [ [[package]] name = "kclvm-config" -version = "0.9.1" +version = "0.9.2" dependencies = [ "ahash", "anyhow", @@ -1807,7 +1807,7 @@ dependencies = [ [[package]] name = "kclvm-driver" -version = "0.9.1" +version = "0.9.2" dependencies = [ "anyhow", "flate2", @@ -1831,7 +1831,7 @@ dependencies = [ [[package]] name = "kclvm-error" -version = "0.9.1" +version = "0.9.2" dependencies = [ "annotate-snippets", "anyhow", @@ -1853,7 +1853,7 @@ dependencies = [ [[package]] name = "kclvm-evaluator" -version = "0.9.1" +version = "0.9.2" dependencies = [ "anyhow", "generational-arena", @@ -1870,7 +1870,7 @@ dependencies = [ [[package]] name = "kclvm-lexer" -version = "0.9.1" +version = "0.9.2" dependencies = [ "expect-test", "kclvm-error", @@ -1880,7 +1880,7 @@ dependencies = [ [[package]] name = "kclvm-loader" -version = "0.9.1" +version = "0.9.2" dependencies = [ "anyhow", "indexmap 1.9.3", @@ -1896,7 +1896,7 @@ dependencies = [ [[package]] name = "kclvm-macros" -version = "0.9.1" +version = "0.9.2" dependencies = [ "proc-macro2", "quote", @@ -1906,7 +1906,7 @@ dependencies = [ [[package]] name = "kclvm-parser" -version = "0.9.1" +version = "0.9.2" dependencies = [ "anyhow", "bstr", @@ -1938,7 +1938,7 @@ dependencies = [ [[package]] name = "kclvm-query" -version = "0.9.1" +version = "0.9.2" dependencies = [ "anyhow", "compiler_base_macros", @@ -1958,7 +1958,7 @@ dependencies = [ [[package]] name = "kclvm-runner" -version = "0.9.1" +version = "0.9.2" dependencies = [ "anyhow", "cc", @@ -1993,7 +1993,7 @@ dependencies = [ [[package]] name = "kclvm-runtime" -version = "0.9.1" +version = "0.9.2" dependencies = [ "ahash", "base64 0.13.1", @@ -2026,7 +2026,7 @@ dependencies = [ [[package]] name = "kclvm-sema" -version = "0.9.1" +version = "0.9.2" dependencies = [ "ahash", "anyhow", @@ -2060,7 +2060,7 @@ dependencies = [ [[package]] name = "kclvm-span" -version = "0.9.1" +version = "0.9.2" dependencies = [ "compiler_base_span", "kclvm-macros", @@ -2070,7 +2070,7 @@ dependencies = [ [[package]] name = "kclvm-tools" -version = "0.9.1" +version = "0.9.2" dependencies = [ "anyhow", "compiler_base_session", @@ -2103,7 +2103,7 @@ dependencies = [ [[package]] name = "kclvm-utils" -version = "0.9.1" +version = "0.9.2" dependencies = [ "anyhow", "fslock", @@ -2112,7 +2112,7 @@ dependencies = [ [[package]] name = "kclvm-version" -version = "0.9.1" +version = "0.9.2" dependencies = [ "vergen", ] diff --git a/kclvm/Cargo.toml b/kclvm/Cargo.toml index 79736882d..d9631aadc 100644 --- a/kclvm/Cargo.toml +++ b/kclvm/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "kclvm" -version = "0.9.1" +version = "0.9.2" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/kclvm/api/Cargo.toml b/kclvm/api/Cargo.toml index 3d9fa50ff..0603bd726 100644 --- a/kclvm/api/Cargo.toml +++ b/kclvm/api/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "kclvm-api" -version = "0.9.1" +version = "0.9.2" edition = "2021" [dependencies] diff --git a/kclvm/api/src/service/service_impl.rs b/kclvm/api/src/service/service_impl.rs index 1983070cf..d8f250b80 100644 --- a/kclvm/api/src/service/service_impl.rs +++ b/kclvm/api/src/service/service_impl.rs @@ -428,7 +428,9 @@ impl KclvmServiceImpl { }); } - /// Execute KCL file with args. **Note that it is not thread safe.** + /// Execute KCL file with arguments and return the JSON/YAML result. + /// + /// **Note that it is not thread safe when the llvm feature is enabled.** /// /// # Examples /// @@ -517,7 +519,9 @@ impl KclvmServiceImpl { }) } - /// Execute the KCL artifact with args. **Note that it is not thread safe.** + /// Execute the KCL artifact with arguments and return the JSON/YAML result. + /// + /// ***Note that it is not thread safe when the llvm feature is enabled.* /// /// # Examples /// diff --git a/kclvm/ast/Cargo.toml b/kclvm/ast/Cargo.toml index e312c87f2..ded16139d 100644 --- a/kclvm/ast/Cargo.toml +++ b/kclvm/ast/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "kclvm-ast" -version = "0.9.1" +version = "0.9.2" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/kclvm/ast_pretty/Cargo.toml b/kclvm/ast_pretty/Cargo.toml index eea52be3e..bfc3e4b3b 100644 --- a/kclvm/ast_pretty/Cargo.toml +++ b/kclvm/ast_pretty/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "kclvm-ast-pretty" -version = "0.9.1" +version = "0.9.2" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/kclvm/cmd/Cargo.toml b/kclvm/cmd/Cargo.toml index b9b8021e0..2ecb2d199 100644 --- a/kclvm/cmd/Cargo.toml +++ b/kclvm/cmd/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "kclvm-cmd" -version = "0.9.1" +version = "0.9.2" edition = "2021" [dependencies] diff --git a/kclvm/compiler/Cargo.toml b/kclvm/compiler/Cargo.toml index fe6658fad..65366bccd 100644 --- a/kclvm/compiler/Cargo.toml +++ b/kclvm/compiler/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "kclvm-compiler" -version = "0.9.1" +version = "0.9.2" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/kclvm/config/Cargo.toml b/kclvm/config/Cargo.toml index 582afd70f..f86d87ecb 100644 --- a/kclvm/config/Cargo.toml +++ b/kclvm/config/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "kclvm-config" -version = "0.9.1" +version = "0.9.2" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/kclvm/driver/Cargo.toml b/kclvm/driver/Cargo.toml index 95f61431a..5f3e5a6e8 100644 --- a/kclvm/driver/Cargo.toml +++ b/kclvm/driver/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "kclvm-driver" -version = "0.9.1" +version = "0.9.2" edition = "2021" # # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/kclvm/error/Cargo.toml b/kclvm/error/Cargo.toml index 49d442baa..c8e754f56 100644 --- a/kclvm/error/Cargo.toml +++ b/kclvm/error/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "kclvm-error" -version = "0.9.1" +version = "0.9.2" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/kclvm/evaluator/Cargo.toml b/kclvm/evaluator/Cargo.toml index 821055d4b..e2cf0ed2b 100644 --- a/kclvm/evaluator/Cargo.toml +++ b/kclvm/evaluator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "kclvm-evaluator" -version = "0.9.1" +version = "0.9.2" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/kclvm/lexer/Cargo.toml b/kclvm/lexer/Cargo.toml index 5074ecda2..cd8579524 100644 --- a/kclvm/lexer/Cargo.toml +++ b/kclvm/lexer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "kclvm-lexer" -version = "0.9.1" +version = "0.9.2" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/kclvm/loader/Cargo.toml b/kclvm/loader/Cargo.toml index e890b5795..f73a4279e 100644 --- a/kclvm/loader/Cargo.toml +++ b/kclvm/loader/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "kclvm-loader" -version = "0.9.1" +version = "0.9.2" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/kclvm/macros/Cargo.toml b/kclvm/macros/Cargo.toml index 99fad28a6..509836172 100644 --- a/kclvm/macros/Cargo.toml +++ b/kclvm/macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "kclvm-macros" -version = "0.9.1" +version = "0.9.2" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/kclvm/parser/Cargo.toml b/kclvm/parser/Cargo.toml index 7bf259d38..8dc0b77b7 100644 --- a/kclvm/parser/Cargo.toml +++ b/kclvm/parser/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "kclvm-parser" -version = "0.9.1" +version = "0.9.2" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/kclvm/query/Cargo.toml b/kclvm/query/Cargo.toml index 91e79380e..e5fc524c9 100644 --- a/kclvm/query/Cargo.toml +++ b/kclvm/query/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "kclvm-query" -version = "0.9.1" +version = "0.9.2" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/kclvm/runner/Cargo.toml b/kclvm/runner/Cargo.toml index 78a360309..db4f7ecb9 100644 --- a/kclvm/runner/Cargo.toml +++ b/kclvm/runner/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "kclvm-runner" -version = "0.9.1" +version = "0.9.2" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/kclvm/runtime/Cargo.toml b/kclvm/runtime/Cargo.toml index 5833cf5f4..dc6571825 100644 --- a/kclvm/runtime/Cargo.toml +++ b/kclvm/runtime/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "kclvm-runtime" -version = "0.9.1" +version = "0.9.2" edition = "2021" [dependencies] diff --git a/kclvm/sema/Cargo.toml b/kclvm/sema/Cargo.toml index 494c541fa..59610ad82 100644 --- a/kclvm/sema/Cargo.toml +++ b/kclvm/sema/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "kclvm-sema" -version = "0.9.1" +version = "0.9.2" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/kclvm/span/Cargo.toml b/kclvm/span/Cargo.toml index 0a84e1388..3b312659a 100644 --- a/kclvm/span/Cargo.toml +++ b/kclvm/span/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "kclvm-span" -version = "0.9.1" +version = "0.9.2" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/kclvm/tools/Cargo.toml b/kclvm/tools/Cargo.toml index a6061bd97..532bcd261 100644 --- a/kclvm/tools/Cargo.toml +++ b/kclvm/tools/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "kclvm-tools" -version = "0.9.1" +version = "0.9.2" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/kclvm/tools/src/LSP/Cargo.toml b/kclvm/tools/src/LSP/Cargo.toml index bb6c47197..9cd30f07b 100644 --- a/kclvm/tools/src/LSP/Cargo.toml +++ b/kclvm/tools/src/LSP/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "kcl-language-server" -version = "0.9.1" +version = "0.9.2" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/kclvm/utils/Cargo.toml b/kclvm/utils/Cargo.toml index 12ff4d3b4..4090849bd 100644 --- a/kclvm/utils/Cargo.toml +++ b/kclvm/utils/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "kclvm-utils" -version = "0.9.1" +version = "0.9.2" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/kclvm/version/Cargo.toml b/kclvm/version/Cargo.toml index c3cee0d75..b1ec975d8 100644 --- a/kclvm/version/Cargo.toml +++ b/kclvm/version/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "kclvm-version" -version = "0.9.1" +version = "0.9.2" edition = "2021" [build-dependencies]