From e78c264ea079fa91ec4dce4f9806ba93e92629f3 Mon Sep 17 00:00:00 2001 From: Peefy Date: Tue, 29 Oct 2024 20:01:23 +0800 Subject: [PATCH] chore: bump k8s, kcl java and kotilin API deps Signed-off-by: Peefy --- docs/reference/xlang-api/java-api.md | 2 +- docs/reference/xlang-api/kotlin-api.md | 2 +- .../current/reference/xlang-api/java-api.md | 2 +- .../current/reference/xlang-api/kotlin-api.md | 2 +- .../version-0.10/reference/xlang-api/java-api.md | 2 +- .../version-0.10/reference/xlang-api/kotlin-api.md | 2 +- .../version-0.10/tools/Ide/intellij.md | 1 + .../user_docs/guides/package-management/3-quick-start.md | 4 ++-- versioned_docs/version-0.10/reference/xlang-api/java-api.md | 2 +- versioned_docs/version-0.10/reference/xlang-api/kotlin-api.md | 2 +- versioned_docs/version-0.10/tools/Ide/intellij.md | 1 + .../user_docs/guides/package-management/3-quick-start.md | 4 ++-- 12 files changed, 14 insertions(+), 12 deletions(-) diff --git a/docs/reference/xlang-api/java-api.md b/docs/reference/xlang-api/java-api.md index 6fc55aa0..4da93f60 100644 --- a/docs/reference/xlang-api/java-api.md +++ b/docs/reference/xlang-api/java-api.md @@ -30,7 +30,7 @@ This way you'll be able to import the above dependency to use the SDK. com.kcl kcl-lib - 0.9.3-SNAPSHOT + 0.10.7-SNAPSHOT ``` diff --git a/docs/reference/xlang-api/kotlin-api.md b/docs/reference/xlang-api/kotlin-api.md index 6f4a734b..5faddd7c 100644 --- a/docs/reference/xlang-api/kotlin-api.md +++ b/docs/reference/xlang-api/kotlin-api.md @@ -30,7 +30,7 @@ This way you'll be able to import the above dependency to use the SDK. com.kcl kcl-lib-kotlin - 0.10.0-SNAPSHOT + 0.10.7-SNAPSHOT ``` diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/reference/xlang-api/java-api.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/reference/xlang-api/java-api.md index 7bb726ad..2a766e9a 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/reference/xlang-api/java-api.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/reference/xlang-api/java-api.md @@ -30,7 +30,7 @@ sidebar_position: 5 com.kcl kcl-lib - 0.9.3-SNAPSHOT + 0.10.7-SNAPSHOT ``` diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/reference/xlang-api/kotlin-api.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/reference/xlang-api/kotlin-api.md index 248e2074..eae2de65 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/reference/xlang-api/kotlin-api.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/reference/xlang-api/kotlin-api.md @@ -30,7 +30,7 @@ sidebar_position: 8 com.kcl kcl-lib-kotlin - 0.10.0-SNAPSHOT + 0.10.7-SNAPSHOT ``` diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.10/reference/xlang-api/java-api.md b/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.10/reference/xlang-api/java-api.md index 7bb726ad..2a766e9a 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.10/reference/xlang-api/java-api.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.10/reference/xlang-api/java-api.md @@ -30,7 +30,7 @@ sidebar_position: 5 com.kcl kcl-lib - 0.9.3-SNAPSHOT + 0.10.7-SNAPSHOT ``` diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.10/reference/xlang-api/kotlin-api.md b/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.10/reference/xlang-api/kotlin-api.md index 248e2074..eae2de65 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.10/reference/xlang-api/kotlin-api.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.10/reference/xlang-api/kotlin-api.md @@ -30,7 +30,7 @@ sidebar_position: 8 com.kcl kcl-lib-kotlin - 0.10.0-SNAPSHOT + 0.10.7-SNAPSHOT ``` diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.10/tools/Ide/intellij.md b/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.10/tools/Ide/intellij.md index a3602853..bc3cdd31 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.10/tools/Ide/intellij.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.10/tools/Ide/intellij.md @@ -36,6 +36,7 @@ sidebar_position: 3 - **诊断:** KCL 文件中的警告和错误信息 - **快速修复:** 对一些错误进行快速修复 - **内联提示:** 变量类型,函数和 schema 参数等提示 +- **格式化:** 格式化一个 KCL 文件或代码片段 其他一些有用的功能,如代码重构和智能感知等正在开发中。 diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.10/user_docs/guides/package-management/3-quick-start.md b/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.10/user_docs/guides/package-management/3-quick-start.md index 0dd2b7db..d3008c1e 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.10/user_docs/guides/package-management/3-quick-start.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/version-0.10/user_docs/guides/package-management/3-quick-start.md @@ -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 文件中. @@ -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` 中的内容 diff --git a/versioned_docs/version-0.10/reference/xlang-api/java-api.md b/versioned_docs/version-0.10/reference/xlang-api/java-api.md index 6fc55aa0..4da93f60 100644 --- a/versioned_docs/version-0.10/reference/xlang-api/java-api.md +++ b/versioned_docs/version-0.10/reference/xlang-api/java-api.md @@ -30,7 +30,7 @@ This way you'll be able to import the above dependency to use the SDK. com.kcl kcl-lib - 0.9.3-SNAPSHOT + 0.10.7-SNAPSHOT ``` diff --git a/versioned_docs/version-0.10/reference/xlang-api/kotlin-api.md b/versioned_docs/version-0.10/reference/xlang-api/kotlin-api.md index 6f4a734b..5faddd7c 100644 --- a/versioned_docs/version-0.10/reference/xlang-api/kotlin-api.md +++ b/versioned_docs/version-0.10/reference/xlang-api/kotlin-api.md @@ -30,7 +30,7 @@ This way you'll be able to import the above dependency to use the SDK. com.kcl kcl-lib-kotlin - 0.10.0-SNAPSHOT + 0.10.7-SNAPSHOT ``` diff --git a/versioned_docs/version-0.10/tools/Ide/intellij.md b/versioned_docs/version-0.10/tools/Ide/intellij.md index 1b529bb5..76a8ea00 100644 --- a/versioned_docs/version-0.10/tools/Ide/intellij.md +++ b/versioned_docs/version-0.10/tools/Ide/intellij.md @@ -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. diff --git a/versioned_docs/version-0.10/user_docs/guides/package-management/3-quick-start.md b/versioned_docs/version-0.10/user_docs/guides/package-management/3-quick-start.md index f12fc515..fa8b7300 100644 --- a/versioned_docs/version-0.10/user_docs/guides/package-management/3-quick-start.md +++ b/versioned_docs/version-0.10/user_docs/guides/package-management/3-quick-start.md @@ -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. @@ -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`