Skip to content

Commit

Permalink
chore: bump k8s, kcl java and kotilin API deps
Browse files Browse the repository at this point in the history
Signed-off-by: Peefy <[email protected]>
  • Loading branch information
Peefy committed Oct 29, 2024
1 parent f121163 commit e78c264
Show file tree
Hide file tree
Showing 12 changed files with 14 additions and 12 deletions.
2 changes: 1 addition & 1 deletion docs/reference/xlang-api/java-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,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.9.3-SNAPSHOT</version>
<version>0.10.7-SNAPSHOT</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion docs/reference/xlang-api/kotlin-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,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-SNAPSHOT</version>
<version>0.10.7-SNAPSHOT</version>
</dependency>
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ sidebar_position: 5
<dependency>
<groupId>com.kcl</groupId>
<artifactId>kcl-lib</artifactId>
<version>0.9.3-SNAPSHOT</version>
<version>0.10.7-SNAPSHOT</version>
</dependency>
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ sidebar_position: 8
<dependency>
<groupId>com.kcl</groupId>
<artifactId>kcl-lib-kotlin</artifactId>
<version>0.10.0-SNAPSHOT</version>
<version>0.10.7-SNAPSHOT</version>
</dependency>
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ sidebar_position: 5
<dependency>
<groupId>com.kcl</groupId>
<artifactId>kcl-lib</artifactId>
<version>0.9.3-SNAPSHOT</version>
<version>0.10.7-SNAPSHOT</version>
</dependency>
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ sidebar_position: 8
<dependency>
<groupId>com.kcl</groupId>
<artifactId>kcl-lib-kotlin</artifactId>
<version>0.10.0-SNAPSHOT</version>
<version>0.10.7-SNAPSHOT</version>
</dependency>
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ sidebar_position: 3
- **诊断:** KCL 文件中的警告和错误信息
- **快速修复:** 对一些错误进行快速修复
- **内联提示:** 变量类型,函数和 schema 参数等提示
- **格式化:** 格式化一个 KCL 文件或代码片段

其他一些有用的功能,如代码重构和智能感知等正在开发中。

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ version = "0.0.1"
如下面的命令所示,为当前包添加一个版本号为 `1.28` 并且名为 `k8s` 的依赖包。

```shell
kcl mod add k8s:1.28
kcl mod add k8s:1.28.1
```

`kcl` 会为您将依赖添加到 kcl.mod 文件中.
Expand All @@ -51,7 +51,7 @@ edition = "0.0.1"
version = "0.0.1"

[dependencies]
k8s = "1.28" # The dependency 'k8s' with version '1.28'
k8s = "1.28.1" # The dependency 'k8s' with version '1.28.1'
```

## 编写一个程序使用包 `konfig` 中的内容
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,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.9.3-SNAPSHOT</version>
<version>0.10.7-SNAPSHOT</version>
</dependency>
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,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-SNAPSHOT</version>
<version>0.10.7-SNAPSHOT</version>
</dependency>
```

Expand Down
1 change: 1 addition & 0 deletions versioned_docs/version-0.10/tools/Ide/intellij.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ This extension provides comprehensive coding assistance based on the Language Se
- **Diagnostics:** Detect warnings and errors in KCL files
- **Code Action:** Quick fix for some errors
- **InlayHint:** Display hints for variable type, functions, and schema arguments
- **Format:** Format a KCL file or snippet code

Other useful features such as diagnostics and testing are under development.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ You can then add a dependency to the current kcl package using the `kcl mod add`
As shown below, taking the example of adding a package dependency named `k8s`, the version of the package is `1.28`.

```shell
kcl mod add k8s:1.28
kcl mod add k8s:1.28.1
```

You can see that `kcl` adds the dependency you just added to kcl.mod.
Expand All @@ -51,7 +51,7 @@ edition = "0.0.1"
version = "0.0.1"

[dependencies]
k8s = "1.28" # The dependency 'k8s' with version '1.28'
k8s = "1.28.1" # The dependency 'k8s' with version '1.28.1'
```

### Write a kcl program that uses the content in `k8s`
Expand Down

0 comments on commit e78c264

Please sign in to comment.