diff --git a/.github/workflows/dotnet-test.yaml b/.github/workflows/dotnet-test.yaml index 6137f48e..cbaa2f1c 100644 --- a/.github/workflows/dotnet-test.yaml +++ b/.github/workflows/dotnet-test.yaml @@ -176,4 +176,4 @@ jobs: if: "startsWith(github.ref, 'refs/tags/')" run: | cd dotnet/KclLib/bin/Release - dotnet nuget push KclLib.0.10.0-alpha.2.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json + dotnet nuget push KclLib.0.10.0-beta.1.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json diff --git a/Cargo.toml b/Cargo.toml index a4cb9f1f..d9065fc6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "kcl-lang" -version = "0.10.0-alpha.2" +version = "0.10.0-beta.1" edition = "2021" readme = "README.md" documentation = "kcl-lang.io" @@ -11,4 +11,4 @@ license = "Apache-2.0" [dependencies] anyhow = "1" -kclvm-api = { git = "https://github.com/kcl-lang/kcl", version = "0.10.0-alpha.2" } +kclvm-api = { git = "https://github.com/kcl-lang/kcl", version = "0.10.0-beta.1" } diff --git a/README.md b/README.md index 8dff2d39..1e4d438d 100644 --- a/README.md +++ b/README.md @@ -85,7 +85,7 @@ This way you'll be able to import the above dependency to use the SDK. com.kcl kcl-lib - 0.10.0-alpha.2-SNAPSHOT + 0.10.0-beta.1-SNAPSHOT ``` @@ -187,7 +187,7 @@ This way you'll be able to import the above dependency to use the SDK. com.kcl kcl-lib - 0.10.0-alpha.2-SNAPSHOT + 0.10.0-beta.1-SNAPSHOT ``` @@ -221,7 +221,7 @@ For CMake, you can use FetchContent to add KCL C++ Lib to your project. FetchContent_Declare( kcl-lib GIT_REPOSITORY https://github.com/kcl-lang/lib.git - GIT_TAG v0.10.0-alpha.2 + GIT_TAG v0.10.0-beta.1 SOURCE_SUBDIR cpp ) FetchContent_MakeAvailable(kcl-lib) diff --git a/c/Cargo.toml b/c/Cargo.toml index 1fa255b8..defff8d0 100644 --- a/c/Cargo.toml +++ b/c/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "kcl-lib-c" -version = "0.10.0-alpha.2" +version = "0.10.0-beta.1" edition = "2021" publish = false @@ -12,4 +12,4 @@ doc = false cbindgen = "0.26.0" [dependencies] -kclvm-api = { git = "https://github.com/kcl-lang/kcl", version = "0.10.0-alpha.2" } +kclvm-api = { git = "https://github.com/kcl-lang/kcl", version = "0.10.0-beta.1" } diff --git a/cpp/Cargo.toml b/cpp/Cargo.toml index befb27f3..2196563f 100644 --- a/cpp/Cargo.toml +++ b/cpp/Cargo.toml @@ -2,7 +2,7 @@ name = "kcl-lib-cpp" publish = false edition = "2021" -version = "0.10.0-alpha.2" +version = "0.10.0-beta.1" [lib] crate-type = ["staticlib"] @@ -10,7 +10,7 @@ crate-type = ["staticlib"] [dependencies] anyhow = "1.0" cxx = "1.0" -kclvm-api = { git = "https://github.com/kcl-lang/kcl", version = "0.10.0-alpha.2" } +kclvm-api = { git = "https://github.com/kcl-lang/kcl", version = "0.10.0-beta.1" } [build-dependencies] cxx-build = "1.0" diff --git a/cpp/README.md b/cpp/README.md index 6eb59452..3e95a8a7 100644 --- a/cpp/README.md +++ b/cpp/README.md @@ -12,7 +12,7 @@ You can use FetchContent to add KCL C++ Lib to your project. FetchContent_Declare( kcl-lib GIT_REPOSITORY https://github.com/kcl-lang/lib.git - GIT_TAG v0.10.0-alpha.2 + GIT_TAG v0.10.0-beta.1 SOURCE_SUBDIR cpp ) FetchContent_MakeAvailable(kcl-lib) @@ -24,7 +24,7 @@ Or you can download the source code and add it to your project. mkdir third_party cd third_party git clone https://github.com/kcl-lang/lib.git -git checkout v0.10.0-alpha.2 +git checkout v0.10.0-beta.1 ``` ```shell diff --git a/dotnet/Cargo.toml b/dotnet/Cargo.toml index e4c8c842..088cd483 100644 --- a/dotnet/Cargo.toml +++ b/dotnet/Cargo.toml @@ -8,4 +8,4 @@ crate-type = ["cdylib"] doc = false [dependencies] -kclvm-api = { git = "https://github.com/kcl-lang/kcl", version = "0.10.0-alpha.2" } +kclvm-api = { git = "https://github.com/kcl-lang/kcl", version = "0.10.0-beta.1" } diff --git a/dotnet/KclLib/KclLib.csproj b/dotnet/KclLib/KclLib.csproj index 3b2da5b2..82db99bf 100644 --- a/dotnet/KclLib/KclLib.csproj +++ b/dotnet/KclLib/KclLib.csproj @@ -11,7 +11,7 @@ KclLib KclLib - 0.10.0-alpha.2 + 0.10.0-beta.1 true snupkg https://github.com/kcl-lang diff --git a/dotnet/examples/exec-program/exec-program.csproj b/dotnet/examples/exec-program/exec-program.csproj index 18ff6b22..a5338033 100644 --- a/dotnet/examples/exec-program/exec-program.csproj +++ b/dotnet/examples/exec-program/exec-program.csproj @@ -9,7 +9,7 @@ - + diff --git a/go/install/install.go b/go/install/install.go index 9a704538..39ca0e41 100644 --- a/go/install/install.go +++ b/go/install/install.go @@ -10,7 +10,7 @@ import ( lib "kcl-lang.io/lib/go/lib" ) -const KCLVM_VERSION = "v0.10.0-alpha.2" +const KCLVM_VERSION = "v0.10.0-beta.1" func findPath(name string) string { if path, err := exec.LookPath(name); err == nil { diff --git a/go/lib/darwin-amd64/libkclvm_cli_cdylib.dylib b/go/lib/darwin-amd64/libkclvm_cli_cdylib.dylib index a4939b23..03af1f54 100755 Binary files a/go/lib/darwin-amd64/libkclvm_cli_cdylib.dylib and b/go/lib/darwin-amd64/libkclvm_cli_cdylib.dylib differ diff --git a/go/lib/darwin-arm64/libkclvm_cli_cdylib.dylib b/go/lib/darwin-arm64/libkclvm_cli_cdylib.dylib index 47d0cb40..17805bf3 100755 Binary files a/go/lib/darwin-arm64/libkclvm_cli_cdylib.dylib and b/go/lib/darwin-arm64/libkclvm_cli_cdylib.dylib differ diff --git a/go/lib/linux-amd64/libkclvm_cli_cdylib.so b/go/lib/linux-amd64/libkclvm_cli_cdylib.so index b622944b..cf9c97cb 100755 Binary files a/go/lib/linux-amd64/libkclvm_cli_cdylib.so and b/go/lib/linux-amd64/libkclvm_cli_cdylib.so differ diff --git a/go/lib/linux-arm64/libkclvm_cli_cdylib.so b/go/lib/linux-arm64/libkclvm_cli_cdylib.so index 186ecd9f..4a9353f2 100755 Binary files a/go/lib/linux-arm64/libkclvm_cli_cdylib.so and b/go/lib/linux-arm64/libkclvm_cli_cdylib.so differ diff --git a/go/lib/windows-amd64/kclvm_cli_cdylib.dll b/go/lib/windows-amd64/kclvm_cli_cdylib.dll index 40d1581d..1f607e6f 100644 Binary files a/go/lib/windows-amd64/kclvm_cli_cdylib.dll and b/go/lib/windows-amd64/kclvm_cli_cdylib.dll differ diff --git a/go/lib/windows-arm64/kclvm_cli_cdylib.dll b/go/lib/windows-arm64/kclvm_cli_cdylib.dll index 40d1581d..1f607e6f 100644 Binary files a/go/lib/windows-arm64/kclvm_cli_cdylib.dll and b/go/lib/windows-arm64/kclvm_cli_cdylib.dll differ diff --git a/java/Cargo.toml b/java/Cargo.toml index 452d1ddd..bdfd6840 100644 --- a/java/Cargo.toml +++ b/java/Cargo.toml @@ -18,6 +18,6 @@ serde = { version = "1", features = ["derive"] } once_cell = "1.19.0" lazy_static = "1.4.0" -kclvm-parser = { git = "https://github.com/kcl-lang/kcl", version = "0.10.0-alpha.2" } -kclvm-sema = { git = "https://github.com/kcl-lang/kcl", version = "0.10.0-alpha.2" } -kclvm-api = { git = "https://github.com/kcl-lang/kcl", version = "0.10.0-alpha.2" } +kclvm-parser = { git = "https://github.com/kcl-lang/kcl", version = "0.10.0-beta.1" } +kclvm-sema = { git = "https://github.com/kcl-lang/kcl", version = "0.10.0-beta.1" } +kclvm-api = { git = "https://github.com/kcl-lang/kcl", version = "0.10.0-beta.1" } diff --git a/java/README.md b/java/README.md index 4369ae60..e30aacf9 100644 --- a/java/README.md +++ b/java/README.md @@ -26,7 +26,7 @@ This way you'll be able to import the above dependency to use the SDK. com.kcl kcl-lib - 0.10.0-alpha.2-SNAPSHOT + 0.10.0-beta.1-SNAPSHOT ``` diff --git a/java/pom.xml b/java/pom.xml index ccadfaef..0234633e 100644 --- a/java/pom.xml +++ b/java/pom.xml @@ -5,7 +5,7 @@ com.kcl kcl-lib - 0.10.0-alpha.2-SNAPSHOT + 0.10.0-beta.1-SNAPSHOT KCL Arifact Library for Java KCL is an open-source constraint-based record and functional language mainly diff --git a/kotlin/Cargo.toml b/kotlin/Cargo.toml index 452d1ddd..bdfd6840 100644 --- a/kotlin/Cargo.toml +++ b/kotlin/Cargo.toml @@ -18,6 +18,6 @@ serde = { version = "1", features = ["derive"] } once_cell = "1.19.0" lazy_static = "1.4.0" -kclvm-parser = { git = "https://github.com/kcl-lang/kcl", version = "0.10.0-alpha.2" } -kclvm-sema = { git = "https://github.com/kcl-lang/kcl", version = "0.10.0-alpha.2" } -kclvm-api = { git = "https://github.com/kcl-lang/kcl", version = "0.10.0-alpha.2" } +kclvm-parser = { git = "https://github.com/kcl-lang/kcl", version = "0.10.0-beta.1" } +kclvm-sema = { git = "https://github.com/kcl-lang/kcl", version = "0.10.0-beta.1" } +kclvm-api = { git = "https://github.com/kcl-lang/kcl", version = "0.10.0-beta.1" } diff --git a/kotlin/README.md b/kotlin/README.md index ddfa45aa..47c99219 100644 --- a/kotlin/README.md +++ b/kotlin/README.md @@ -26,7 +26,7 @@ This way you'll be able to import the above dependency to use the SDK. com.kcl kcl-lib-kotlin - 0.10.0-alpha.2-SNAPSHOT + 0.10.0-beta.1-SNAPSHOT ``` diff --git a/kotlin/pom.xml b/kotlin/pom.xml index dd6c8837..0dd0cbcb 100644 --- a/kotlin/pom.xml +++ b/kotlin/pom.xml @@ -5,7 +5,7 @@ com.kcl kcl-lib-kotlin - 0.10.0-alpha.2-SNAPSHOT + 0.10.0-beta.1-SNAPSHOT KCL Arifact Library for Kotlin KCL is an open-source constraint-based record and functional language mainly diff --git a/nodejs/Cargo.toml b/nodejs/Cargo.toml index a71da325..4120dec6 100644 --- a/nodejs/Cargo.toml +++ b/nodejs/Cargo.toml @@ -7,7 +7,7 @@ version = "0.0.0" crate-type = ["cdylib"] [dependencies] -kclvm-api = { git = "https://github.com/kcl-lang/kcl", version = "0.10.0-alpha.2" } +kclvm-api = { git = "https://github.com/kcl-lang/kcl", version = "0.10.0-beta.1" } # Default enable napi4 feature, see https://nodejs.org/api/n-api.html#node-api-version-matrix napi = { version = "2.12.2", default-features = false, features = ["napi4"] } napi-derive = "2.12.2" diff --git a/nodejs/examples/exec-program/package.json b/nodejs/examples/exec-program/package.json index a804852a..36df83da 100644 --- a/nodejs/examples/exec-program/package.json +++ b/nodejs/examples/exec-program/package.json @@ -12,6 +12,6 @@ "dist/" ], "dependencies": { - "kcl-lib": "0.10.0-alpha.2" + "kcl-lib": "0.10.0-beta.1" } } diff --git a/nodejs/npm/darwin-arm64/package-lock.json b/nodejs/npm/darwin-arm64/package-lock.json index 0a378eaa..78de2ff6 100644 --- a/nodejs/npm/darwin-arm64/package-lock.json +++ b/nodejs/npm/darwin-arm64/package-lock.json @@ -1,12 +1,12 @@ { "name": "@kcl-lang/lib-darwin-arm64", - "version": "0.10.0-alpha.2", + "version": "0.10.0-beta.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@kcl-lang/lib-darwin-arm64", - "version": "0.10.0-alpha.2", + "version": "0.10.0-beta.1", "cpu": [ "arm64" ], diff --git a/nodejs/npm/darwin-arm64/package.json b/nodejs/npm/darwin-arm64/package.json index 9f53841d..76e8b5b5 100644 --- a/nodejs/npm/darwin-arm64/package.json +++ b/nodejs/npm/darwin-arm64/package.json @@ -1,7 +1,7 @@ { "name": "@kcl-lang/lib-darwin-arm64", "repository": "https://github.com/kcl-lang/lib", - "version": "0.10.0-alpha.2", + "version": "0.10.0-beta.1", "os": [ "darwin" ], diff --git a/nodejs/npm/darwin-x64/package.json b/nodejs/npm/darwin-x64/package.json index 0f676e15..7d7dfcaa 100644 --- a/nodejs/npm/darwin-x64/package.json +++ b/nodejs/npm/darwin-x64/package.json @@ -1,7 +1,7 @@ { "name": "@kcl-lang/lib-darwin-x64", "repository": "https://github.com/kcl-lang/lib", - "version": "0.10.0-alpha.2", + "version": "0.10.0-beta.1", "os": [ "darwin" ], diff --git a/nodejs/npm/linux-arm64-gnu/package.json b/nodejs/npm/linux-arm64-gnu/package.json index 527b14ff..4a903351 100644 --- a/nodejs/npm/linux-arm64-gnu/package.json +++ b/nodejs/npm/linux-arm64-gnu/package.json @@ -1,7 +1,7 @@ { "name": "@kcl-lang/lib-linux-arm64-gnu", "repository": "https://github.com/kcl-lang/lib", - "version": "0.10.0-alpha.2", + "version": "0.10.0-beta.1", "os": [ "linux" ], diff --git a/nodejs/npm/linux-x64-gnu/package.json b/nodejs/npm/linux-x64-gnu/package.json index 3bac6b87..50480fac 100644 --- a/nodejs/npm/linux-x64-gnu/package.json +++ b/nodejs/npm/linux-x64-gnu/package.json @@ -1,7 +1,7 @@ { "name": "@kcl-lang/lib-linux-x64-gnu", "repository": "https://github.com/kcl-lang/lib", - "version": "0.10.0-alpha.2", + "version": "0.10.0-beta.1", "os": [ "linux" ], diff --git a/nodejs/npm/win32-arm64-msvc/package.json b/nodejs/npm/win32-arm64-msvc/package.json index 5923cdea..420fcb89 100644 --- a/nodejs/npm/win32-arm64-msvc/package.json +++ b/nodejs/npm/win32-arm64-msvc/package.json @@ -1,7 +1,7 @@ { "name": "@kcl-lang/lib-win32-arm64-msvc", "repository": "https://github.com/kcl-lang/lib", - "version": "0.10.0-alpha.2", + "version": "0.10.0-beta.1", "os": [ "win32" ], diff --git a/nodejs/npm/win32-x64-msvc/package.json b/nodejs/npm/win32-x64-msvc/package.json index ab205951..a291aabe 100644 --- a/nodejs/npm/win32-x64-msvc/package.json +++ b/nodejs/npm/win32-x64-msvc/package.json @@ -1,7 +1,7 @@ { "name": "@kcl-lang/lib-win32-x64-msvc", "repository": "https://github.com/kcl-lang/lib", - "version": "0.10.0-alpha.2", + "version": "0.10.0-beta.1", "os": [ "win32" ], diff --git a/nodejs/package.json b/nodejs/package.json index 115c71d8..03e99e68 100644 --- a/nodejs/package.json +++ b/nodejs/package.json @@ -1,6 +1,6 @@ { "name": "kcl-lib", - "version": "0.10.0-alpha.2", + "version": "0.10.0-beta.1", "repository": "https://github.com/kcl-lang/lib", "license": "Apache-2.0", "main": "index.js", diff --git a/python/Cargo.toml b/python/Cargo.toml index f99a432f..bd57f775 100644 --- a/python/Cargo.toml +++ b/python/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "kcl-python-lib" -version = "0.10.0-alpha.2" +version = "0.10.0-beta.1" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html @@ -8,5 +8,5 @@ edition = "2021" crate-type = ["cdylib"] [dependencies] -kclvm-api = { git = "https://github.com/kcl-lang/kcl", version = "0.10.0-alpha.2" } +kclvm-api = { git = "https://github.com/kcl-lang/kcl", version = "0.10.0-beta.1" } pyo3 = "0.20.1" diff --git a/spec/spec.proto b/spec/spec.proto index fea00faf..6f33a065 100644 --- a/spec/spec.proto +++ b/spec/spec.proto @@ -106,10 +106,10 @@ service KclvmService { /// { /// "jsonrpc": "2.0", /// "result": { - /// "version": "0.10.0-alpha.2", + /// "version": "0.10.0-beta.1", /// "checksum": "c020ab3eb4b9179219d6837a57f5d323", /// "git_sha": "1a9a72942fffc9f62cb8f1ae4e1d5ca32aa1f399", - /// "version_info": "Version: 0.10.0-alpha.2-c020ab3eb4b9179219d6837a57f5d323\nPlatform: aarch64-apple-darwin\nGitCommit: 1a9a72942fffc9f62cb8f1ae4e1d5ca32aa1f399" + /// "version_info": "Version: 0.10.0-beta.1-c020ab3eb4b9179219d6837a57f5d323\nPlatform: aarch64-apple-darwin\nGitCommit: 1a9a72942fffc9f62cb8f1ae4e1d5ca32aa1f399" /// }, /// "id": 1 /// } diff --git a/swift/Cargo.toml b/swift/Cargo.toml index 1fa255b8..defff8d0 100644 --- a/swift/Cargo.toml +++ b/swift/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "kcl-lib-c" -version = "0.10.0-alpha.2" +version = "0.10.0-beta.1" edition = "2021" publish = false @@ -12,4 +12,4 @@ doc = false cbindgen = "0.26.0" [dependencies] -kclvm-api = { git = "https://github.com/kcl-lang/kcl", version = "0.10.0-alpha.2" } +kclvm-api = { git = "https://github.com/kcl-lang/kcl", version = "0.10.0-beta.1" } diff --git a/wasm/examples/node/package-lock.json b/wasm/examples/node/package-lock.json index 4662fa1d..e49b6c5d 100644 --- a/wasm/examples/node/package-lock.json +++ b/wasm/examples/node/package-lock.json @@ -8,7 +8,7 @@ "name": "run-kcl-wasm", "version": "1.0.0", "dependencies": { - "@kcl-lang/wasm-lib": "0.10.0-alpha.2" + "@kcl-lang/wasm-lib": "0.10.0-beta.1" } }, "node_modules/.pnpm/@protobufjs+aspromise@1.1.2/node_modules/@protobufjs/aspromise": { @@ -117,8 +117,8 @@ "license": "MIT" }, "node_modules/@kcl-lang/wasm-lib": { - "version": "0.10.0-alpha.2", - "resolved": "https://registry.npmjs.org/@kcl-lang/wasm-lib/-/wasm-lib-0.10.0-alpha.2.tgz", + "version": "0.10.0-beta.1", + "resolved": "https://registry.npmjs.org/@kcl-lang/wasm-lib/-/wasm-lib-0.10.0-beta.1.tgz", "integrity": "sha512-+ExBvutGtt2MBJNUQv+gLArOeM2eGq/meJG+nd8jBn5W4zQpF/V/gq2fcsHgydNU5dHu6ilBI0mgbO1L3Gsu3w==", "bundleDependencies": [ "wasi-js" diff --git a/wasm/examples/node/package.json b/wasm/examples/node/package.json index 3bda58dd..890b5803 100644 --- a/wasm/examples/node/package.json +++ b/wasm/examples/node/package.json @@ -12,6 +12,6 @@ "dist/" ], "dependencies": { - "@kcl-lang/wasm-lib": "0.10.0-alpha.2" + "@kcl-lang/wasm-lib": "0.10.0-beta.1" } } diff --git a/wasm/kcl.wasm b/wasm/kcl.wasm old mode 100755 new mode 100644 index 133c435b..f0d7396d Binary files a/wasm/kcl.wasm and b/wasm/kcl.wasm differ diff --git a/wasm/package-lock.json b/wasm/package-lock.json index 27b1a654..8487b469 100644 --- a/wasm/package-lock.json +++ b/wasm/package-lock.json @@ -1,17 +1,18 @@ { "name": "@kcl-lang/wasm-lib", - "version": "0.10.0-alpha.2", + "version": "0.10.0-beta.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@kcl-lang/wasm-lib", - "version": "0.10.0-alpha.2", + "version": "0.10.0-beta.1", "bundleDependencies": [ "wasi-js" ], "license": "Apache-2.0", "dependencies": { + "prettier": "^2.8.4", "wasi-js": "^1.7.3" }, "devDependencies": { diff --git a/wasm/package.json b/wasm/package.json index af7f732d..e68dc6e8 100644 --- a/wasm/package.json +++ b/wasm/package.json @@ -1,6 +1,6 @@ { "name": "@kcl-lang/wasm-lib", - "version": "0.10.0-alpha.2", + "version": "0.10.0-beta.1", "description": "KCL WASM module", "files": [ "kcl.wasm",