Skip to content

Commit 13bd355

Browse files
authored
Merge pull request #487 from kcl-lang/2024-11-14-newsletter-blogs
docs: 2024-11-14-newsletter-blogs
2 parents f56555f + 657879f commit 13bd355

File tree

2 files changed

+148
-0
lines changed
  • blog/2024-11-14-newsletter
  • i18n/zh-CN/docusaurus-plugin-content-blog/2024-11-14-newsletter

2 files changed

+148
-0
lines changed

blog/2024-11-14-newsletter/index.md

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
---
2+
slug: 2024-11-14-newsletter
3+
title: KCL Newsletter (2024.11.01 - 2024.11-14)
4+
authors:
5+
name: KCL Team
6+
title: KCL Team
7+
tags: [KCL, Newsletter]
8+
image: /img/biweekly-newsletter.png
9+
---
10+
11+
![](/img/biweekly-newsletter.png)
12+
13+
[KCL](https://github.com/kcl-lang/kcl) is an open-source configuration and policy language hosted by the Cloud Native Computing Foundation (CNCF) as a Sandbox Project. Built on a foundation of constraints and functional programming principles, KCL enhances the process of writing complex configurations, particularly in cloud-native environments. By leveraging advanced programming language techniques, KCL promotes improved modularity, scalability, and stability in configuration management. It simplifies logic writing, offers easy-to-use automation APIs, and seamlessly integrates with existing systems.
14+
15+
This section will update the KCL language community's latest news, including features, website updates, and the latest community news, helping everyone better understand the KCL community!
16+
17+
**_KCL Website: [https://kcl-lang.io](https://kcl-lang.io)_**
18+
19+
## Special Thanks
20+
21+
Thanks to all community participants over the past two weeks, listed in no particular order:
22+
23+
- Thanks to @slusy for contributions to the KCL playground 🙌
24+
- Thanks to @NishantBansal2003 for enhancing the KCL checksum feature 🙌
25+
- Thanks to @cakemanny, @hanshardmeier, @haiwu, @dennybaa, @NishantBansal2003, @Stinjul, @slusy, @Christopher Haar, @Peter Boat, @Zack Zhang, @anshuman singh, @Carl-Fredrik, @Evgeny Shepelyuk, @kbristow and others for their valuable suggestions and feedback during the use of KCL over the past two weeks 🙌
26+
27+
## Overview
28+
29+
**🏄 Language Updates**
30+
31+
- Fixed unexpected runtime results caused by Schema inheritance definitions
32+
- Refactored the Parser implementation, improving parsing performance by 40% under 400+ KCL files
33+
34+
**💻 IDE Updates**
35+
36+
- Supports hint for config entry key type
37+
- Optimized static analysis of unpacking expressions `**expr`, providing richer diagnostic information
38+
- Optimized code snippet completion for schema types `{}`
39+
- Added monitoring for changes in `kcl.mod` files, improving external package completion experience
40+
- Differentiated highlight colors for `any` type and `any` keyword expressions
41+
42+
**📖 Module Updates**
43+
44+
- edp-keycloak-operator released version `v1.23`
45+
46+
**📬️ Toolchain Updates**
47+
48+
- `kcl mod` command supports module spec to obtain submodules in OCI and Git dependencies
49+
- `kcl import` tool fixed the import of multi-line YAML strings
50+
- `kcl import` tool fixed the import of Kubernetes CRDs when properties have default values
51+
- `kcl run` fixed the issue where the `-o` parameter truncated file output
52+
- `kcl mod` fixed the issue where rename dependencies could not be found
53+
- `kcl mod` fixes duplicate downloads caused by missing kcl.mod files in the root directory of the third-party git repo.
54+
- `kcl mod` kcl.mod file supports `k8s = {version="1.27"}` dependency style.
55+
- `kcl mod` fixes an issue where some diagnostic information is lost.
56+
57+
**🔥 Integration Updates**
58+
59+
- Crossplane KCL function updated to version v0.10.8, supporting the reading of external resources
60+
61+
**📖 Documentation Updates**
62+
63+
- Updated the FAQ with documentation on using KCL plugins
64+
- Updated the FAQ with configuration merge documentation, adding usage documentation for the `json_merge_patch` library
65+
- Added usage examples for all system library functions
66+
- Added more usage cases for OAM models
67+
68+
## Resources
69+
70+
❤️ See [here](https://github.com/kcl-lang/community) to join us!
71+
72+
For more resources, please refer to the [KCL Website](https://kcl-lang.io/).
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
---
2+
slug: 2024-11-14-newsletter
3+
title: KCL 最新动态速递 (2024.11.01 - 2024.11.14)
4+
authors:
5+
name: KCL 团队
6+
title: KCL 团队
7+
tags: [KCL, Newsletter]
8+
image: /img/biweekly-newsletter.png
9+
---
10+
11+
![](/img/biweekly-newsletter-zh.png)
12+
13+
[KCL](https://github.com/kcl-lang) 是一个 CNCF 基金会托管的基于约束的记录及函数语言,期望通过成熟的编程语言技术和实践来改进对大量繁杂配置比如云原生 Kubernetes 配置场景的编写,致力于构建围绕配置的更好的模块化、扩展性和稳定性,更简单的逻辑编写,以及更简单的自动化和生态工具集成。
14+
15+
本栏目将会双周更新 KCL 语言社区最新动态,包括功能、官网更新和最新的社区动态等,帮助大家更好地了解 KCL 社区!
16+
17+
**_KCL 官网:[https://kcl-lang.io](https://kcl-lang.io)_**
18+
19+
## 特别鸣谢
20+
21+
感谢过去两周所有的社区参与者,以下排名不分先后
22+
23+
- 感谢 @slusy 对 KCL playground 的贡献 🙌
24+
- 感谢 @NishantBansal2003 对 KCL checksum 功能增强的贡献 🙌
25+
26+
- 感谢 @cakemanny, @hanshardmeier, @haiwu, @dennybaa, @NishantBansal2003, @Stinjul, @slusy, @Christopher Haar, @Peter Boat, @Zack Zhang, @anshuman singh, @Carl-Fredrik, @Evgeny Shepelyuk, @kbristow 等在近两周使用 KCL 过程中提供的宝贵建议与反馈 🙌
27+
28+
## 内容概述
29+
30+
### 🏄 语言更新
31+
32+
- 修复因为 Schema 继承定义关系导致的非预期运行结果
33+
- 重构 Parser 实现,在 400+ KCL 文件的条件下解析性能提升 40%
34+
35+
### 💻 IDE 更新
36+
37+
- 新增对配置块中 key 的类型的提示
38+
- 优化解包表达式 `**expr` 的静态分析,提供更丰富的诊断信息
39+
- 优化 schema 类型的 `{}` 代码片段补全
40+
- 新增对 `kcl.mod` 文件变更的监控,优化外部包补全体验
41+
- 区分 `any` 类型和 `any` 关键字表达式的高亮颜色显示
42+
43+
### 📦️ 模型更新
44+
45+
- edp-keycloak-operator 发布 `v1.23` 版本
46+
47+
### 📬️ 工具更新
48+
49+
- `kcl mod` 命令支持 module spec 获得 OCI 和 Git 依赖中的子模块
50+
- `kcl import` 工具修复多行 YAML 字符串的导入
51+
- `kcl import` 工具修复当属性存在默认值的 Kubernetes CRD 导入
52+
- `kcl run` 修复 `-o` 参数会截断文件输出的问题
53+
- `kcl mod` 修复了 rename 依赖无法找到的问题。
54+
- `kcl mod` 修复了三方库 git 仓库根目录下缺少 kcl.mod 文件导致的重复下载。
55+
- `kcl mod` kcl.mod 文件中支持 `k8s = {version="1.27"}` 依赖风格。
56+
- `kcl mod` 修复了部分诊断信息丢失的问题。
57+
58+
### 🔥 社区集成更新
59+
60+
- Crossplane KCL 函数更新至 v0.10.8 版本,支持对 external resources 的读取
61+
62+
### 📖 文档更新
63+
64+
- 更新 FAQ 中的 KCL 插件使用文档
65+
- 更新 FAQ 中的配置合并文档,新增 `json_merge_patch` 库的使用文档
66+
- 为所有系统库函数添加使用样例
67+
- 新增更多 OAM 模型的使用案例
68+
69+
## 其他资源
70+
71+
❤️ 查看 _[KCL 社区](https://github.com/kcl-lang/community)_ 加入我们。
72+
73+
更多其他资源请参考:
74+
75+
- [KCL 网站](https://kcl-lang.io/)
76+
- [KusionStack 网站](https://kusionstack.io/)

0 commit comments

Comments
 (0)