Skip to content

Commit 4374960

Browse files
authored
Merge pull request #394 from zong-zhe/20240627-newsletter-blogs
docs: add 20240627 newsletter blogs
2 parents 1dbb182 + 8507a17 commit 4374960

File tree

2 files changed

+196
-0
lines changed
  • blog/2024-06-27-newsletter
  • i18n/zh-CN/docusaurus-plugin-content-blog/2024-06-27-newsletter

2 files changed

+196
-0
lines changed

blog/2024-06-27-newsletter/index.md

Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
---
2+
slug: 2024-06-27-newsletter
3+
title: KCL Newsletter (2024.06.12 - 2024.06.27)
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+
Special thanks to all community contributors over the past two weeks. The following list is in no particular order:
22+
23+
- Thanks to @liangyuanpeng for feedback and test case completion for KCL bugs. 🙌
24+
- Thanks to @MatisseB for contributing to the KCL PROTOC environment variable setting feature. 🙌
25+
- Thanks to @DavidChevallier for contributing to the KCL argo-cd third-party library. 🙌
26+
- Thanks to @kukacz for contributing to the KCL cluster-api-provider-metal3, cluster-api-provider-gcp, and other third-party libraries. 🙌
27+
- Thanks to @dennybaa for contributing to the victoria-metrics-operator, istio, and other third-party libraries. 🙌
28+
- Thanks to @ihor-hrytskiv for contributing to the jsonpatch third-party library. 🙌
29+
- Thanks to @XiaoK29 for contributing to the kcl-go SDK. 🙌
30+
- Thanks to @patrycju, @kukacz, @dennybaa, @LinYunling, @liangyuanpeng, @riven-blade, @bozaro, @MatisseB, @ealap, @tvandinther, @leon-andria, @Wes McNamee, @Uladzislau Maher, @M Slane, @Tom van Dinther, @Lukáš Kubín, @Mohamed Asif, @Sergei Iakovlev, @Korada Vishal, @Asish Kumar and others for their invaluable suggestions and feedback during the recent period of using KCL 🙌
31+
32+
## Overview
33+
34+
Thanks to all contributors for their outstanding work over the past two weeks (2024.06.12 - 2024.06.27). Here is an overview of the key content:
35+
36+
**📦️ Modules Updates**
37+
38+
- Added the cluster-api package version 0.1.1, which supports managing clusters through the cluster API.
39+
- Added the cluster-api-provider-metal3 package, which supports managing Metal3 through the cluster API.
40+
- Added the cluster-api-provider-gcp package, which supports managing GCP through the cluster API.
41+
- Added the cluster-api-addon-provider-helm package, which supports managing helm charts through Addon.
42+
- Added the cluster-api-addon-provider-aws package, which supports managing AWS through the cluster API.
43+
- Added the cluster-api-provider-azure package, which supports managing Azure through the cluster API.
44+
- Bump the k8s package version to 1.30.
45+
- Bump the argo-cd package version to 0.1.1.
46+
- Bump the victoria-metrics-operator package version to 0.45.1, add some check statement prompt information.
47+
- Bump the istio package version to 1.21.2, adjust some check rules, and add documentation.
48+
- Bump the jsonpatch package version to 0.0.5, support rfc6901Decode.
49+
50+
**🏄 Language Updates**
51+
52+
- Added centos7 amd64 build environment.
53+
- Fix some typos in the code comments.
54+
- Fix the issue of the cache of file.modpath and file.workdir causing performance degradation.
55+
- Fix the issue some of the schema instance types with inheritance structures are recognized incorrectly.
56+
- Fix the repeated execution of the branch part in multiple if statements.
57+
- Fix the environment variable PROTOC setting issue.
58+
59+
**💻 IDE Updates**
60+
61+
- Added support for go to def of the schema parameter and schema return value in lambda expressions.
62+
- Added support for the completion of importing internal packages in the IDE.
63+
- Added support for the completion of the schema attributes in the IDE.
64+
- Fix the issue of missing auto-completion prompts in expressions.
65+
- Fix the issue of the kcl.mod modification not taking effect due to the cache.
66+
- Fix the issue of the IDE incorrectly prompting the type of the schema attribute.
67+
- Fix the long string highlighting issue.
68+
69+
**📬️ Toolchain Updates**
70+
71+
- Fix the issue of replacing default third-party dependencies with oci dependencies in kcl.mod for kpm.
72+
- kcl-openapi use case update, fixed some compilation errors, and added a check for the existence of optional attribute values when adding schema.
73+
74+
**⛵️ API Updates**
75+
76+
- Fix the issue of inserting configuration errors with the OverrideFile API.
77+
- ListVariable API supports compile-time configuration merging.
78+
79+
**🔥 SDK Updates**
80+
81+
- go SDK supports importing schema from go.
82+
- go SDK cleans up some deprecated code and adds some tests.
83+
- Java SDK aligns with API updates.
84+
85+
**📚️ Documentation Updates**
86+
87+
- Added the kcl doc generation html/markdown file format error solution.
88+
- Added the solution to the compilation error caused by the package name in the import statement containing `-`.
89+
- Adjusted the document use case to adapt to the update.
90+
91+
## Resources
92+
93+
❤️ See [here](https://github.com/kcl-lang/community) to join us!
94+
95+
For more resources, please refer to
96+
97+
- [KCL Website](https://kcl-lang.io/)
98+
- [KusionStack Website](https://kusionstack.io/)
Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
---
2+
slug: 2024-06-27-newsletter
3+
title: KCL 最新动态速递 (2024.06.12 - 2024.06.27)
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+
- 感谢 @liangyuanpeng 对 KCL bug 的反馈与测试用例的补齐。🙌
24+
- 感谢 @MatisseB 对 KCL PROTOC环境变量设置功能的贡献。🙌
25+
- 感谢 @DavidChevallier 对 KCL argo-cd 三方库的贡献。🙌
26+
- 感谢 @kukacz 对 KCL cluster-api-provider-metal3, cluster-api-provider-gcp 等三方库的贡献。🙌
27+
- 感谢 @dennybaa 对 victoria-metrics-operator, istio 等三方库的贡献。🙌
28+
- 感谢 @ihor-hrytskiv 对 jsonpatch 三方库的贡献。🙌
29+
- 感谢 @XiaoK29 对 kcl-go SDK 代码的贡献。🙌
30+
- 感谢 @patrycju, @kukacz, @dennybaa, @LinYunling, @liangyuanpeng, @riven-blade, @bozaro, @MatisseB, @ealap, @tvandinther, @leon-andria, @Wes McNamee, @Uladzislau Maher, @M Slane, @Tom van Dinther, @Lukáš Kubín, @Mohamed Asif, @Sergei Iakovlev, @Korada Vishal, @Asish Kumar 等在近段时间使用 KCL 过程中提供的宝贵建议与反馈 🙌
31+
32+
## 内容概述
33+
34+
感谢所有贡献者过去一段时间 (2024.06.12 - 2024.06.27) 的杰出工作,以下是重点内容概述
35+
36+
**📦️ 三方库更新**
37+
38+
- 新增 argo-cd 包 0.1.1 版本。
39+
- 新增三方库 cluster-api 支持通过 cluster api 管理集群。
40+
- 新增三方库 cluster-api-provider-metal3 支持通过 cluster api 管理 Metal3。
41+
- 新增三方库 cluster-api-provider-gcp 支持通过 cluster api 管理 gcp。
42+
- 新增三方库 cluster-api-addon-provider-helm 支持通过 Addon 管理 helm chart。
43+
- 新增三方库 cluster-api-addon-provider-aws 支持通过 cluster api 管理 aws。
44+
- 新增三方库 cluster-api-provider-azure 支持通过 cluster api 管理 azure。
45+
- 三方库 k8s 升级到 1.30 版本。
46+
- 三方库 victoria-metrics-operator 升级到 0.45.1 版本,新增了一些检查语句的提示信息。
47+
- 三方库 istio 升级到 1.21.2 版本,调整了一些 check 规则,新增了文档。
48+
- 三方库 jsonpatch 升级到 0.0.5 版本,支持 rfc6901Decode。
49+
50+
**🏄 语言更新**
51+
52+
- 增加了 centos7 amd64 的构建环境。
53+
- 修正了代码注释中的一些拼写错误。
54+
- 修复了 file.modpath 和 file.workdir 的缓存导致性能过慢的问题。
55+
- 修复了带有继承结构的 schema 实例类型识别错误的问题。
56+
- 修复了多个 if 语句中,分支部分重复执行的问题。
57+
- 修复了环境变量 PROTOC 设置无法生效的问题。
58+
59+
**💻 IDE 更新**
60+
61+
- 支持在 lambda 表达式中 schema 参数和 schema 返回值的属性跳转。
62+
- 修复了 IDE 中 import 内部包无法补全的问题。
63+
- 修复了嵌套 schema 内部,属性补全的错误提示。
64+
- 修复了表达式内部,自动补全提示缺失的问题。
65+
- 修复了因为缓存导致的 kcl.mod 修改无法生效。
66+
- 修复了 IDE 中字面值类型提示错误。
67+
- 修复了长字符串高亮问题。
68+
69+
**📬️ 工具链更新**
70+
71+
- 包管理工具修复了 kcl.mod 中将默认三方依赖替换为 oci 依赖的问题。
72+
- kcl-openapi 用例更新, 修复了一些编译错误,并且新增 schema 时可选属性值是否存在的检查。
73+
74+
**⛵️ API 更新**
75+
76+
- 修复了 OverrideFile API 插入配置错误的问题。
77+
- ListVariable API 支持编译时配置合并。
78+
79+
**🔥 SDK 更新**
80+
81+
- go SDK 支持从 go 导入 schema。
82+
- go SDK 清理了一些过时代码,新增了部分测试。
83+
- Java SDK 对齐 API 更新。
84+
85+
**📚️ 文档更新**
86+
87+
- 新增 kcl doc 生成 html/markdown 文件的格式错误问题解决方案。
88+
- 增加了 import 语句中导入包名中带有`-` 导致编译错误的解决方案。
89+
- 调整文档用例适配更新。
90+
91+
## 其他资源
92+
93+
❤️ 查看 _[KCL 社区](https://github.com/kcl-lang/community)_ 加入我们。
94+
95+
更多其他资源请参考:
96+
97+
- [KCL 网站](https://kcl-lang.io/)
98+
- [KusionStack 网站](https://kusionstack.io/)

0 commit comments

Comments
 (0)