Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bump kcl lib version to v0.10.0-rc.1 #138

Merged
merged 3 commits into from
Sep 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/cpp-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ jobs:
components: clippy, rustfmt
- name: Build
run: |
# Set cargo build target on macos
export MACOSX_DEPLOYMENT_TARGET=12.0
mkdir build
cd build
cmake ..
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dotnet-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -176,4 +176,4 @@ jobs:
if: "startsWith(github.ref, 'refs/tags/')"
run: |
cd dotnet/KclLib/bin/Release
dotnet nuget push KclLib.0.10.0-beta.2.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json
dotnet nuget push KclLib.0.10.0-rc.1.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "kcl-lang"
version = "0.10.0-beta.2"
version = "0.10.0-rc.1"
edition = "2021"
readme = "README.md"
documentation = "kcl-lang.io"
Expand All @@ -11,4 +11,4 @@ license = "Apache-2.0"

[dependencies]
anyhow = "1"
kclvm-api = { git = "https://github.com/kcl-lang/kcl", version = "0.10.0-beta.2" }
kclvm-api = { git = "https://github.com/kcl-lang/kcl", version = "0.10.0-rc.1" }
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ This way you'll be able to import the above dependency to use the SDK.
<dependency>
<groupId>com.kcl</groupId>
<artifactId>kcl-lib</artifactId>
<version>0.10.0-beta.2-SNAPSHOT</version>
<version>0.10.0-rc.1-SNAPSHOT</version>
</dependency>
```

Expand Down Expand Up @@ -187,7 +187,7 @@ This way you'll be able to import the above dependency to use the SDK.
<dependency>
<groupId>com.kcl</groupId>
<artifactId>kcl-lib</artifactId>
<version>0.10.0-beta.2-SNAPSHOT</version>
<version>0.10.0-rc.1-SNAPSHOT</version>
</dependency>
```

Expand Down Expand Up @@ -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-beta.2
GIT_TAG v0.10.0-rc.1
SOURCE_SUBDIR cpp
)
FetchContent_MakeAvailable(kcl-lib)
Expand Down
4 changes: 2 additions & 2 deletions c/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "kcl-lib-c"
version = "0.10.0-beta.2"
version = "0.10.0-rc.1"
edition = "2021"
publish = false

Expand All @@ -12,4 +12,4 @@ doc = false
cbindgen = "0.26.0"

[dependencies]
kclvm-api = { git = "https://github.com/kcl-lang/kcl", version = "0.10.0-beta.2" }
kclvm-api = { git = "https://github.com/kcl-lang/kcl", version = "0.10.0-rc.1" }
2 changes: 2 additions & 0 deletions cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ foreach(EXE IN LISTS EXECUTABLES)
target_link_libraries(${EXE} PRIVATE userenv ws2_32 bcrypt)
endif()
if(APPLE)
find_library(CORESERVICES_LIB CoreServices)
target_link_libraries(${EXE} PRIVATE ${CORESERVICES_LIB})
target_link_libraries(${EXE} PRIVATE "-framework CoreFoundation -framework Security")
endif()
endforeach()
Expand Down
4 changes: 2 additions & 2 deletions cpp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
name = "kcl-lib-cpp"
publish = false
edition = "2021"
version = "0.10.0-beta.2"
version = "0.10.0-rc.1"

[lib]
crate-type = ["staticlib"]

[dependencies]
anyhow = "1.0"
cxx = "1.0"
kclvm-api = { git = "https://github.com/kcl-lang/kcl", version = "0.10.0-beta.2" }
kclvm-api = { git = "https://github.com/kcl-lang/kcl", version = "0.10.0-rc.1" }

[build-dependencies]
cxx-build = "1.0"
4 changes: 2 additions & 2 deletions cpp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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-beta.2
GIT_TAG v0.10.0-rc.1
SOURCE_SUBDIR cpp
)
FetchContent_MakeAvailable(kcl-lib)
Expand All @@ -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-beta.2
git checkout v0.10.0-rc.1
```

```shell
Expand Down
2 changes: 1 addition & 1 deletion dotnet/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ crate-type = ["cdylib"]
doc = false

[dependencies]
kclvm-api = { git = "https://github.com/kcl-lang/kcl", version = "0.10.0-beta.2" }
kclvm-api = { git = "https://github.com/kcl-lang/kcl", version = "0.10.0-rc.1" }
2 changes: 1 addition & 1 deletion dotnet/KclLib/KclLib.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<PropertyGroup>
<AssemblyName>KclLib</AssemblyName>
<PackageId>KclLib</PackageId>
<Version>0.10.0-beta.2</Version>
<Version>0.10.0-rc.1</Version>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<RepositoryUrl>https://github.com/kcl-lang</RepositoryUrl>
Expand Down
2 changes: 1 addition & 1 deletion dotnet/examples/exec-program/exec-program.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="KclLib" Version="0.10.0-beta.2" />
<PackageReference Include="KclLib" Version="0.10.0-rc.1" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion go/install/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
lib "kcl-lang.io/lib/go/lib"
)

const KCLVM_VERSION = "v0.10.0-beta.2"
const KCLVM_VERSION = "v0.10.0-rc.1"

func findPath(name string) string {
if path, err := exec.LookPath(name); err == nil {
Expand Down
Binary file modified go/lib/darwin-amd64/libkclvm_cli_cdylib.dylib
Binary file not shown.
Binary file modified go/lib/darwin-arm64/libkclvm_cli_cdylib.dylib
Binary file not shown.
Binary file modified go/lib/linux-amd64/libkclvm_cli_cdylib.so
Binary file not shown.
Binary file modified go/lib/linux-arm64/libkclvm_cli_cdylib.so
Binary file not shown.
Binary file modified go/lib/windows-amd64/kclvm_cli_cdylib.dll
Binary file not shown.
Binary file modified go/lib/windows-amd64/kclvm_cli_cdylib.lib
Binary file not shown.
Binary file modified go/lib/windows-arm64/kclvm_cli_cdylib.dll
Binary file not shown.
Binary file modified go/lib/windows-arm64/kclvm_cli_cdylib.lib
Binary file not shown.
6 changes: 3 additions & 3 deletions java/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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-beta.2" }
kclvm-sema = { git = "https://github.com/kcl-lang/kcl", version = "0.10.0-beta.2" }
kclvm-api = { git = "https://github.com/kcl-lang/kcl", version = "0.10.0-beta.2" }
kclvm-parser = { git = "https://github.com/kcl-lang/kcl", version = "0.10.0-rc.1" }
kclvm-sema = { git = "https://github.com/kcl-lang/kcl", version = "0.10.0-rc.1" }
kclvm-api = { git = "https://github.com/kcl-lang/kcl", version = "0.10.0-rc.1" }
2 changes: 1 addition & 1 deletion java/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ This way you'll be able to import the above dependency to use the SDK.
<dependency>
<groupId>com.kcl</groupId>
<artifactId>kcl-lib</artifactId>
<version>0.10.0-beta.2-SNAPSHOT</version>
<version>0.10.0-rc.1-SNAPSHOT</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>com.kcl</groupId>
<artifactId>kcl-lib</artifactId>
<version>0.10.0-beta.2-SNAPSHOT</version>
<version>0.10.0-rc.1-SNAPSHOT</version>
<name>KCL Arifact Library for Java</name>
<description>
KCL is an open-source constraint-based record and functional language mainly
Expand Down
6 changes: 3 additions & 3 deletions kotlin/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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-beta.2" }
kclvm-sema = { git = "https://github.com/kcl-lang/kcl", version = "0.10.0-beta.2" }
kclvm-api = { git = "https://github.com/kcl-lang/kcl", version = "0.10.0-beta.2" }
kclvm-parser = { git = "https://github.com/kcl-lang/kcl", version = "0.10.0-rc.1" }
kclvm-sema = { git = "https://github.com/kcl-lang/kcl", version = "0.10.0-rc.1" }
kclvm-api = { git = "https://github.com/kcl-lang/kcl", version = "0.10.0-rc.1" }
2 changes: 1 addition & 1 deletion kotlin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ This way you'll be able to import the above dependency to use the SDK.
<dependency>
<groupId>com.kcl</groupId>
<artifactId>kcl-lib-kotlin</artifactId>
<version>0.10.0-beta.2-SNAPSHOT</version>
<version>0.10.0-rc.1-SNAPSHOT</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion kotlin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>com.kcl</groupId>
<artifactId>kcl-lib-kotlin</artifactId>
<version>0.10.0-beta.2-SNAPSHOT</version>
<version>0.10.0-rc.1-SNAPSHOT</version>
<name>KCL Arifact Library for Kotlin</name>
<description>
KCL is an open-source constraint-based record and functional language mainly
Expand Down
4 changes: 2 additions & 2 deletions lua/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "kcl-lib-lua"
version = "0.10.0-beta.2"
version = "0.10.0-rc.1"
edition = "2021"
publish = false

Expand All @@ -16,4 +16,4 @@ mlua = { version = "0.9", features = [
"module",
"macros",
], default-features = false, optional = true }
kclvm-api = { git = "https://github.com/kcl-lang/kcl", version = "0.10.0-beta.2" }
kclvm-api = { git = "https://github.com/kcl-lang/kcl", version = "0.10.0-rc.1" }
2 changes: 1 addition & 1 deletion nodejs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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-beta.2" }
kclvm-api = { git = "https://github.com/kcl-lang/kcl", version = "0.10.0-rc.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"
Expand Down
2 changes: 1 addition & 1 deletion nodejs/examples/exec-program/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
"dist/"
],
"dependencies": {
"kcl-lib": "0.10.0-beta.2"
"kcl-lib": "0.10.0-rc.1"
}
}
4 changes: 2 additions & 2 deletions nodejs/npm/darwin-arm64/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion nodejs/npm/darwin-arm64/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@kcl-lang/lib-darwin-arm64",
"repository": "https://github.com/kcl-lang/lib",
"version": "0.10.0-beta.2",
"version": "0.10.0-rc.1",
"os": [
"darwin"
],
Expand Down
2 changes: 1 addition & 1 deletion nodejs/npm/darwin-x64/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@kcl-lang/lib-darwin-x64",
"repository": "https://github.com/kcl-lang/lib",
"version": "0.10.0-beta.2",
"version": "0.10.0-rc.1",
"os": [
"darwin"
],
Expand Down
2 changes: 1 addition & 1 deletion nodejs/npm/linux-arm64-gnu/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@kcl-lang/lib-linux-arm64-gnu",
"repository": "https://github.com/kcl-lang/lib",
"version": "0.10.0-beta.2",
"version": "0.10.0-rc.1",
"os": [
"linux"
],
Expand Down
2 changes: 1 addition & 1 deletion nodejs/npm/linux-x64-gnu/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@kcl-lang/lib-linux-x64-gnu",
"repository": "https://github.com/kcl-lang/lib",
"version": "0.10.0-beta.2",
"version": "0.10.0-rc.1",
"os": [
"linux"
],
Expand Down
2 changes: 1 addition & 1 deletion nodejs/npm/win32-arm64-msvc/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@kcl-lang/lib-win32-arm64-msvc",
"repository": "https://github.com/kcl-lang/lib",
"version": "0.10.0-beta.2",
"version": "0.10.0-rc.1",
"os": [
"win32"
],
Expand Down
2 changes: 1 addition & 1 deletion nodejs/npm/win32-x64-msvc/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@kcl-lang/lib-win32-x64-msvc",
"repository": "https://github.com/kcl-lang/lib",
"version": "0.10.0-beta.2",
"version": "0.10.0-rc.1",
"os": [
"win32"
],
Expand Down
2 changes: 1 addition & 1 deletion nodejs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "kcl-lib",
"version": "0.10.0-beta.2",
"version": "0.10.0-rc.1",
"repository": "https://github.com/kcl-lang/lib",
"license": "Apache-2.0",
"main": "index.js",
Expand Down
4 changes: 2 additions & 2 deletions python/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[package]
name = "kcl-python-lib"
version = "0.10.0-beta.2"
version = "0.10.0-rc.1"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
crate-type = ["cdylib"]

[dependencies]
kclvm-api = { git = "https://github.com/kcl-lang/kcl", version = "0.10.0-beta.2" }
kclvm-api = { git = "https://github.com/kcl-lang/kcl", version = "0.10.0-rc.1" }
pyo3 = "0.20.1"
Loading
Loading