Skip to content

Commit fc2bdc3

Browse files
committed
doc: 0.11.0 release note
Signed-off-by: he1pa <18012015693@163.com>
1 parent f0bb096 commit fc2bdc3

File tree

2 files changed

+219
-0
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

+219
-0
lines changed
Lines changed: 110 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
1+
---
2+
slug: 2024-12-06-kcl-0.11.0-release
3+
title: KCL v0.11.0 Release Blog
4+
authors:
5+
name: KCL Team
6+
title: KCL Team
7+
tags: [Release Blog, KCL]
8+
---
9+
10+
## Introduction
11+
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
13+
14+
- _Enhance the coding experience and efficiency with a more performant, feature-rich, and less error-prone KCL language, toolchain, and IDE._
15+
- _A more comprehensive and diverse set of standard libraries, third-party libraries, and community ecosystem integrations, covering different application scenarios and requirements._
16+
17+
[KCL](https://github.com/kcl-lang) is an open-source, constraint-based record and functional language hosted by Cloud Native Computing Foundation (CNCF). KCL improves the writing of numerous complex configurations, such as cloud-native scenarios, through its mature programming language technology and practice. It is dedicated to building better modularity, scalability, and stability around configurations, simpler logic writing, faster automation, and great built-in or API-driven integrations.
18+
19+
## ❤️ Special Thanks
20+
21+
**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.**
22+
23+
24+
## 📚 Key Updates
25+
26+
### 🔧 Core Features
27+
28+
#### Language
29+
30+
- KCL refactored the implementation of the Parser and reorganized the parse process of import dependencies.
31+
- KCL optimized the type parsing of ** expressions in schema attributes.
32+
- KCL fixed the problem that lambda expressions do not work when nested calls.
33+
- KCL fixed the memory leak problem of schema mixin parse.
34+
- KCL fixed the type promotion in function call expressions in assignment statements with type declarations.
35+
- KCL fixed the error of lambda functions calling attr in mixin
36+
37+
38+
#### Toolchain
39+
40+
- Fix `kcl fmt` formatting error for code comments.
41+
- Fix `kcl fmt` error in handling line continuation and comment combinations.
42+
43+
#### IDE
44+
45+
- KCL IntelliJ plugin released 0.4.0, supporting LSP4IJ.
46+
- IDE can complete schemas defined in the worksace but not imported , and automatically insert the import statements of the package
47+
- IDE can watch changes in configuration files(kcl.mod) in the workspace, and automatically update the semantic information in the IDE after kpm updates dependencies
48+
- IDE adds type hints for key in the Config block.
49+
- IDE schema hover provides attribute default value information.
50+
- IDE fixed the failure of Windows path issues.
51+
- IDE fixed the failure of compound assignment operation statements.
52+
- IDE distinguished the highlighting of the `any` from keyword and type
53+
- IDE fixed the failure of formatting code in the IntelliJ plugin.
54+
- Optimized the parser part of the IDE compilation process.
55+
- IDE fixed inconsistent hints for function parameters.
56+
- Optimized hint information and added the feature of double-clicking to insert hints into the code.
57+
58+
#### API
59+
60+
- Added `kcl_run_with_log_message` API
61+
- Added `kcl_exec_program` capi
62+
- Added `kcl_version` api for wasm
63+
64+
### 📦️ Standard Libraries and Third-Party Libraries
65+
66+
#### Standard Libraries
67+
68+
69+
```
70+
71+
#### Third-Party Libraries
72+
73+
- k8s updated to 1.31.2
74+
- Fixed the import alias problem in the k8s package.
75+
- helloworld updated to 0.1.4
76+
- gateway updated to 0.3.2
77+
- kubevirt updated to 0.3.0
78+
- cert-manager updated to 0.3.0
79+
- Added edp-keycloak-operator
80+
- Added sealed-secrets
81+
- Added DeploymentStrategy model in konfig
82+
83+
### ☸️ Ecosystem Integration
84+
85+
86+
#### Multi-Language Plugins
87+
88+
- KCL Plugin supports development through Rust.
89+
- Add more test cases for the KCL Plugin.
90+
91+
### 📖 Documentation Updates
92+
93+
- Fixed errors in sample code for argocd kcl plugin configuration
94+
- Added FAQ document about plugin.
95+
- Added more sample documents about system packages.
96+
- Added FAQ document about json_merge_patch.
97+
- Added FAQ document about isnullish function.
98+
- Added sample code about oam app inheritance.
99+
- Fixed Windows installation script.
100+
- Fixed some typos and broken links in the document.
101+
- Updated the documentation of KCL IntelliJ plugin.
102+
103+
## 🌐 Other Resources
104+
105+
🔥 Check out the [KCL Community](https://github.com/kcl-lang/community) and join us 🔥
106+
107+
For more resources, refer to:
108+
109+
- [KCL Website](https://kcl-lang.io/)
110+
- [KusionStack Website](https://kusionstack.io/)
Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
---
2+
slug: 2024-09-18-kcl-0.10.0-release
3+
title: KCL v0.10.0 重磅发布 - 更稳定流畅的工具链和 IDE 体验,全新的 KCL Playground !
4+
authors:
5+
name: KCL Team
6+
title: KCL Team
7+
tags: [Release Blog, KCL]
8+
---
9+
10+
## 简介
11+
12+
KCL 团队很高兴地宣布 **KCL v0.10.0 新版本现在已经可用**!本次发布为大家带来了两方面的重点更新
13+
14+
- _使用功能更完善和错误更少的 KCL 语言、工具链和 IDE 提升代码编写体验和效率_
15+
- _更加全面丰富的标准库、三方库以及社区生态集成,涵盖不同应用场景和需求_
16+
17+
[KCL](https://github.com/kcl-lang) 是一个 CNCF 基金会托管的基于约束的记录及函数语言,期望通过成熟的编程语言技术和实践来改进对大量繁杂配置比如云原生 Kubernetes 配置场景的编写,致力于构建围绕配置的更好的模块化、扩展性和稳定性,更简单的逻辑编写,以及更简单的自动化和生态工具集成。
18+
19+
## ❤️ 特别鸣谢
20+
21+
**感谢 KCL 在 v0.10 - v0.11 版本迭代所有 80 位社区参与者,以下排名不分先后**
22+
23+
24+
## 📚 重点更新内容
25+
26+
### 🔧 核心功能
27+
28+
#### 语言
29+
30+
- KCL 重构了 Parser 部分的实现,重新组织了 import 依赖的 parse 流程。
31+
- KCL 优化了 schema attribute 中对 ** 表达式的类型解析。
32+
- KCL 修复了 lambda 表达式嵌套调用时不生效的问题。
33+
- KCL 修复了 schema mixin parse 内存泄露的问题。
34+
- KCL 修复了在有类型声明的赋值语句中函数调用表达式中的类型提升。
35+
- KCL 修复了 mixin 中调用 attr 的 lambda 函数的错误
36+
37+
#### 工具链
38+
39+
- 修复 `kcl fmt` 代码注释的格式化错误。
40+
- 修复 `kcl fmt` 在处理行连接符和注释组合时的错误。
41+
42+
#### IDE
43+
44+
- KCL IntelliJ 插件发布 0.4.0 版本,支持 LSP4IJ。
45+
- IDE 可以补全目录中未 import 的 schema,并且自动补充包的 import 语句
46+
- IDE 能够监控工作目录中的配置文件变化,在 kpm 更新依赖后能自动更新 IDE 中的语义信息
47+
- IDE 新增了 Config 块中 key 的类型 hint。
48+
- IDE schema hover 中提供了 attr 默认值信息。
49+
- 修复了 IDE 在 Windows 系统中的异常。
50+
- 修复了 IDE 在复合赋值运算语句中异常的问题。
51+
- 区分了 `any` 关键字和类型的高亮
52+
- 修复了 IntelliJ 插件中格式化代码报错的问题。
53+
- 优化了 IDE 编译流程中 parser 部分。
54+
- 修复了函数参数 hint 不一致的问题。
55+
- 优化了 hint 信息,增加了双击将 hint 插入代码的功能。
56+
57+
#### API
58+
59+
- 新增了 `kcl_run_with_log_message` API
60+
- 新增了 `kcl_exec_program` capi
61+
- 为 wasm 添加 `kcl_version` api
62+
63+
### 📦️ 标准库及三方库
64+
65+
#### 标准库
66+
67+
- 修复 `manifests.yaml_stream``ignore_private=False` 参数 不生效的问题。
68+
69+
#### 三方库
70+
71+
- k8s 更新至 1.31.2
72+
- 修复 k8s 包中 import 别名的问题。
73+
- konfig 中增加 DeploymentStrategy 模型
74+
- helloworld 更新至 0.1.4
75+
- gateway 更新至 0.3.2
76+
- kubevirt 更新至 0.3.0
77+
- cert-manager 更新至 0.3.0
78+
- 新增 edp-keycloak-operator
79+
- 新增 sealed-secrets
80+
81+
### ☸️ 生态集成
82+
83+
### 🧩 多语言 SDK 和插件
84+
85+
#### 多语言 SDK
86+
87+
#### 多语言插件更新
88+
89+
90+
### 📖 文档更新
91+
92+
- 修复 argocd kcl plugin 配置的示例代码中的错误
93+
- 新增了关于 plugin 相关的 FAQ 文档。
94+
- 新增了更多关于系统包相关的示例文档。
95+
- 新增了关于 json_merge_patch 相关的 FAQ 文档。
96+
- 新增了关于 isnullish 函数 相关的 FAQ 文档。
97+
- 新增了关于 oam app 继承相关的示例代码。
98+
- 修复了 Windows 安装脚本。
99+
- 修复了文档中部分 typo 和失效链接。
100+
- 更新了 KCL IntelliJ 插件的说明文档。
101+
102+
## 🌐 其他资源
103+
104+
🔥 查看 _[KCL 社区](https://github.com/kcl-lang/community)_ 加入我们 🔥
105+
106+
更多其他资源请参考:
107+
108+
- [KCL 网站](https://kcl-lang.io/)
109+
- [KusionStack 网站](https://kusionstack.io/)

0 commit comments

Comments
 (0)