Skip to content

Commit ae9bdce

Browse files
committed
feat: add more release contents about kpm and Special Thanks
Signed-off-by: zongz <zongzhe1024@163.com>
1 parent 5eddeb4 commit ae9bdce

File tree

2 files changed

+46
-10
lines changed
  • blog/2024-12-06-kcl-0.11.0-release
  • i18n/zh-CN/docusaurus-plugin-content-blog/2024-12-06-kcl-0.11.0-release

2 files changed

+46
-10
lines changed

blog/2024-12-06-kcl-0.11.0-release/index.md

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
slug: 2024-12-06-kcl-0.11.0-release
2+
slug: 2024-12-24-kcl-0.11.0-release
33
title: KCL v0.11.0 Release Blog
44
authors:
55
name: KCL Team
@@ -9,7 +9,7 @@ tags: [Release Blog, KCL]
99

1010
## Introduction
1111

12-
The KCL team is pleased to announce that **KCL v0.10.0 is now available**! This release has brought two key updates to everyone
12+
The KCL team is pleased to announce that **KCL v0.11.0 is now available**! This release has brought two key updates to everyone
1313

1414
- _Enhance the coding experience and efficiency with a more performant, feature-rich, and less error-prone KCL language, toolchain, and IDE._
1515
- _A more comprehensive and diverse set of standard libraries, third-party libraries, and community ecosystem integrations, covering different application scenarios and requirements._
@@ -20,13 +20,15 @@ The KCL team is pleased to announce that **KCL v0.10.0 is now available**! This
2020

2121
**We would like to extend our heartfelt thanks to all 80 community contributors who participated in the iteration from version v0.10 to v0.11. The following list is in no particular order.**
2222

23+
_@adamwg, @steeling, @dennybaa, @liangyuanpeng, @NishantBansal2003, @mayrf, @eminaktas, @Gmin2, @tvandinther, @ diefans, @nkabir, @suin, @Chewie, @ lwz23, @ eminaktas,@ steeling, @ bozaro, @ cakemanny, @ Yufeireal, @ andrzejgorski, @ yonas, @ dansrogers, @ SkySingh04, @ jellllly420, @ slashexx, @xnull, @diefans, @zflat, @vfarcic, @spastorclovr, @patpicos, @mproffitt, @fraenkel, @irizzant, @vfarcic, @patpicos, @mproffitt, @fraenkel_
2324

2425
## 📚 Key Updates
2526

2627
### 🔧 Core Features
2728

2829
#### Language
2930

31+
- KCL supports Alpine Linux(musl) platform.
3032
- KCL refactored the implementation of the Parser and reorganized the parse process of import dependencies.
3133
- KCL optimized the type parsing of ** expressions in schema attributes.
3234
- KCL fixed the problem that lambda expressions do not work when nested calls.
@@ -37,6 +39,16 @@ The KCL team is pleased to announce that **KCL v0.10.0 is now available**! This
3739

3840
#### Toolchain
3941

42+
- Package management tool version selection algorithm is released. In v0.11.0, the KCL package management tool supports the selection of different version numbers of the same tripartite library that appears in the dependency graph. The KCL package management tool refers to the mvs algorithm of go mod.
43+
44+
To ensure as much compatibility as possible, package management tools currently prefer to select the latest version that appears in the dependency diagram rather than the latest version that has already been released.
45+
46+
In version v0.11.0, version selection is turned off by default. You can control whether version selection is turned on by setting the environment variable `export KPM_FEATURE_GATES='SupportMVS=true'`.
47+
48+
- Package management tool added a new local tripartite library cache. In v0.11.0, KCL package management tool implemented a new local tripartite library cache, and the new storage cache structure improved the performance of downloading git repositories by 88% on average.
49+
50+
In v0.11.0, the new cache structure is turned off by default, and the new local tripartite library cache is controlled by setting the environment variable `export KPM_FEATURE_GATES=' SupportNewStorage=true'`.
51+
4052
- Fix `kcl fmt` formatting error for code comments.
4153
- Fix `kcl fmt` error in handling line continuation and comment combinations.
4254

@@ -68,6 +80,17 @@ The KCL team is pleased to announce that **KCL v0.10.0 is now available**! This
6880

6981
#### Standard Libraries
7082

83+
- KCL new standard libraries `filesha512``fileblake3`
84+
85+
```kcl
86+
import crypto
87+
88+
sha_filesha512 = crypto.filesha512("test.txt")
89+
sha_fileblake3 = crypto.fileblake3("test.txt")
90+
```
91+
92+
- Fixes an issue that `ignore_private=False` parameter does not take effect in `manifests.yaml_stream`.
93+
7194
#### Third-Party Libraries
7295

7396
- k8s updated to 1.31.2

i18n/zh-CN/docusaurus-plugin-content-blog/2024-12-06-kcl-0.11.0-release/index.md

Lines changed: 21 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
slug: 2024-09-18-kcl-0.10.0-release
3-
title: KCL v0.10.0 重磅发布 - 更稳定流畅的工具链和 IDE 体验,全新的 KCL Playground !
2+
slug: 2024-09-24-kcl-0.11.0-release
3+
title: KCL v0.11.0 重磅发布 - 更稳定流畅的工具链和 IDE 体验 !
44
authors:
55
name: KCL Team
66
title: KCL Team
@@ -9,7 +9,7 @@ tags: [Release Blog, KCL]
99

1010
## 简介
1111

12-
KCL 团队很高兴地宣布 **KCL v0.10.0 新版本现在已经可用**!本次发布为大家带来了两方面的重点更新
12+
KCL 团队很高兴地宣布 **KCL v0.11.0 新版本现在已经可用**!本次发布为大家带来了两方面的重点更新
1313

1414
- _使用功能更完善和错误更少的 KCL 语言、工具链和 IDE 提升代码编写体验和效率_
1515
- _更加全面丰富的标准库、三方库以及社区生态集成,涵盖不同应用场景和需求_
@@ -20,13 +20,15 @@ KCL 团队很高兴地宣布 **KCL v0.10.0 新版本现在已经可用**!本
2020

2121
**感谢 KCL 在 v0.10 - v0.11 版本迭代所有 80 位社区参与者,以下排名不分先后**
2222

23+
_@adamwg, @steeling, @dennybaa, @liangyuanpeng, @NishantBansal2003, @mayrf, @eminaktas, @Gmin2, @tvandinther, @ diefans, @nkabir, @suin, @Chewie, @ lwz23, @ eminaktas,@ steeling, @ bozaro, @ cakemanny, @ Yufeireal, @ andrzejgorski, @ yonas, @ dansrogers, @ SkySingh04, @ jellllly420, @ slashexx, @xnull, @diefans, @zflat, @vfarcic, @spastorclovr, @patpicos, @mproffitt, @fraenkel, @irizzant, @vfarcic, @patpicos, @mproffitt, @fraenkel_
2324

2425
## 📚 重点更新内容
2526

2627
### 🔧 核心功能
2728

2829
#### 语言
2930

31+
- KCL 新增对 Alpine Linux(musl) 平台的支持。
3032
- KCL 重构了 Parser 部分的实现,重新组织了 import 依赖的 parse 流程。
3133
- KCL 优化了 schema attribute 中对 ** 表达式的类型解析。
3234
- KCL 修复了 lambda 表达式嵌套调用时不生效的问题。
@@ -36,6 +38,13 @@ KCL 团队很高兴地宣布 **KCL v0.10.0 新版本现在已经可用**!本
3638

3739
#### 工具链
3840

41+
- 包管理工具版本选择算法上线。在 v0.11.0 版本中, KCL 包管理工具支持对依赖图中出现的同一个三方库的不同版本号进行选择,KCL 包管理工具参考了 go mod 的 mvs 算法,
42+
为了尽可能保证兼容性,包管理工具目前倾向于选择依赖图中出现的最新的版本而不是已经 release 的最新版本。
43+
在 v0.11.0 版本中,版本选择默认关闭,通过设置环境变量 `export KPM_FEATURE_GATES="SupportMVS=true"` 控制是否开启版本选择。
44+
45+
- 包管理工具新增了新的本地三方库缓存结构,在 v0.11.0 版本中,KCL 包管理工具实现了新的本地三方库缓存结构,新的存储缓存结构对下载 git 仓库性能平均提升 88%。
46+
在 v0.11.0 版本中,新的缓存结构默认关闭,通过设置环境变量 `export KPM_FEATURE_GATES="SupportNewStorage=true"` 控制是否启用新的本地三方库缓存。
47+
3948
- 修复 `kcl fmt` 代码注释的格式化错误。
4049
- 修复 `kcl fmt` 在处理行连接符和注释组合时的错误。
4150

@@ -67,6 +76,14 @@ KCL 团队很高兴地宣布 **KCL v0.10.0 新版本现在已经可用**!本
6776

6877
#### 标准库
6978

79+
- KCL 新增标准库函数 `filesha512``fileblake3`
80+
81+
```kcl
82+
import crypto
83+
84+
sha_filesha512 = crypto.filesha512("test.txt")
85+
sha_fileblake3 = crypto.fileblake3("test.txt")
86+
```
7087
- 修复 `manifests.yaml_stream``ignore_private=False` 参数 不生效的问题。
7188

7289
#### 三方库
@@ -83,11 +100,7 @@ KCL 团队很高兴地宣布 **KCL v0.10.0 新版本现在已经可用**!本
83100

84101
### ☸️ 生态集成
85102

86-
### 🧩 多语言 SDK 和插件
87-
88-
#### 多语言 SDK
89-
90-
#### 多语言插件更新
103+
- crossplane function-kcl 支持通过环境变量 `FUNCTION_KCL_DEFAULT_SOURCE` 设置默认编译环境入口。
91104

92105
### 📖 文档更新
93106

0 commit comments

Comments
 (0)