Skip to content

Commit 097e552

Browse files
authored
Merge pull request #367 from Peefy/2024-05-15-newsletter-blogs
docs: add 2024-05-15 newsletter blogs
2 parents 054fe13 + 29a911c commit 097e552

File tree

2 files changed

+216
-0
lines changed
  • blog/2024-05-15-newsletter
  • i18n/zh-CN/docusaurus-plugin-content-blog/2024-05-15-newsletter

2 files changed

+216
-0
lines changed

blog/2024-05-15-newsletter/index.md

Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
---
2+
slug: 2024-05-15-newsletter
3+
title: KCL Newsletter (2024.05.01 - 2024.05.15)
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+
## Overview
20+
21+
Thanks to to all contributors for their outstanding work over the past twenty days (2024.05.01 - 2024.05.15). Here is an overview of the key content.
22+
23+
**📦️ Module Updates**
24+
25+
- `argo-cd-order` updated to version 0.2.0, featuring new resource filtering functionality.
26+
- `crossplane` module KCL code updated to match the CRD Webhook validation rules of crossplane version 1.15.
27+
- `json-merge-patch` module updated to version 0.1.1, supporting Schema type filtering.
28+
29+
**🏄 Language Updates**
30+
31+
- Fixed the type error of return value from `yaml.decode_all` function.
32+
- Fixed assertion failure when `as` keyword is present in certain third-party libraries.
33+
- `file` module function list updated, seee [here](https://www.kcl-lang.io/docs/reference/model/file) for more documentation.
34+
- Added support for Schema types in `typeof` function to distinguish between schema types and instances.
35+
36+
```python
37+
schema Foo:
38+
bar?: str
39+
40+
foo = Foo {}
41+
type_schema = typeof(foo) # schema
42+
type_type = typeof(Foo) # type
43+
```
44+
45+
**💻 IDE Updates**
46+
47+
- Fixed IDE path errors and occasional crashes on Windows operating systems.
48+
- The Intellij KCL plugin is divided into two versions based on its functionality: with/without `kcl-language-server`.
49+
50+
**📬️ Toolchain Updates**
51+
52+
- Fixed the issue where third-party libraries cannot be found when compiling relative path modules with `kcl run`.
53+
- Fixed the issue of `kcl vet` validation tool not being able to import external libraries.
54+
- Fixed formatting errors in the `kcl fmt` formatting tool when inserting external import statements.
55+
- Fixed unexpected errors in the `kcl completion bash` command completion.
56+
57+
**⛵️ API Updates**
58+
59+
- Improved format output when automatically modifying variables with the `OverrideFile` API.
60+
- `ListVariables` API now supports return types for variable property operators and Schema types.
61+
- `GetSchemaType` API now supports returning parent class of Schema 🔥 SDK Updates.
62+
63+
**🔥 SDK Updates**
64+
65+
- KCL Rust SDK released preview version v0.9.0-alpha.1
66+
- KCL Python SDK released preview version v0.9.0-alpha.1
67+
- KCL Node.js SDK released preview version v0.9.0-alpha.1
68+
- KCL Java SDK released preview version v0.9.0-SNAPSHOT
69+
70+
**🚪 Integration Updates**
71+
72+
- Fixed the issue of concurrent synchronization resource errors in the ArgoCD KCL Plugin.
73+
- Added new KCL arm64 docker image `kcllang/kcl-arm64`.
74+
- KRM KCL specification added fields for access permissions, Kubernetes resource filtering, and compilation configuration, supporting private OCI Registry access and flexible compilation configuration, see [documentation](https://github.com/kcl-lang/krm-kcl) for more information.
75+
- Crossplane KCL functions released v0.8.0 version and updated more usage examples, see [documentation](https://github.com/crossplane-contrib/function-kcl) for more information.
76+
77+
## Special Thanks
78+
79+
We'd like to thank all the community participants from the past two weeks. The following are listed in no particular order:
80+
81+
- Thanks to @Blarc and @prahaladramji for contributing to the KCL Intellij IDE plugin support for the latest Intellij version. 🙌
82+
- Thanks to @jgascon-nx for contributions to the KCL Crossplane module. 🙌
83+
- Thanks to @Gmin2 for contributions to rebooting KCL Language Server commands in the KCL VS Code IDE. 🙌
84+
- Thanks to @Gmin2 for contributions to the KCL GetSchemaType API supporting parent class field returns. 🙌
85+
- Thanks to @metacoma for contributions to the KCL argo-cd-order module. 🙌
86+
- Thanks to @shruti2522 for contributions to the KCL file module. 🙌
87+
- Thanks to @shruti2522 for contributions to KCL Import and Doc tools. 🙌
88+
- Thanks to @shruti2522 for contributions to the Kubernetes resource filtering feature in the KRM KCL specification. 🙌
89+
- Thanks to @JeevaRamanathan for contributions to the KCL file module. 🙌
90+
- Thanks to @AkashKumar7902 for contributions to the KCL package management tool MVS (Minimum Version Selection) algorithm. 🙌
91+
- Thanks to @bozaro for contributions to the KCL Go SDK Native API. 🙌
92+
- Thanks to @officialasishkumar for contributions to KCL package management tool configuration support for exclude and include parameters. 🙌
93+
- Thanks to @beholdenkey for contributions to KCL documentation. 🙌
94+
- Thanks to @d4v1d03 for contributions to the hover feature in KCL IDE. 🙌
95+
- Thanks to @ibishal for contributions to the preview feature in KCL IDE. 🙌
96+
- Thanks to @bradkwadsworth-mw for contributions to the access rights field in the KRM KCL specification. 🙌
97+
- Thanks to @jgascon-nx and @metacoma for sharing experiences and case studies on using KCL and Crossplane KCL functions, see [here](https://github.com/mindwm/mindwm-gitops) for more information. 🙌
98+
- Thanks to @mintu, @Sergei Iakovlev, @HAkash Kumar, @HStéphane Este-Gracias, @Korada Vishal, @Bishal, @metacoma, @NAVRockClimber, @nkabir, @dennybaa, @dopesickjam, @vfarcic, @sestegra, @jgascon-nx, @zargor, @markphillips100, @evensolberg, @borgius, @bradkwadsworth-mw, @reedjosh, @patrycju, @PrettySolution, @selfuryon, @steeling, @empath-nirvana, @CC007, @M Slane, @MOHAMED FAWAS, and @Even Solberg, among others, for their valuable advice and feedback during the recent use of KCL. 🙌
99+
100+
## Resources
101+
102+
❤️ See [here](https://github.com/kcl-lang/community) to join us!
103+
104+
For more resources, please refer to
105+
106+
- [KCL Website](https://kcl-lang.io/)
107+
- [KusionStack Website](https://kusionstack.io/)
108+
- [KCL v0.9.0 Milestone](https://github.com/kcl-lang/kcl/milestone/9)
Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
---
2+
slug: 2024-05-15-newsletter
3+
title: KCL 最新动态速递 (2024.05.01 - 2024.05.15)
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+
感谢所有贡献者过去一段时间 (2024.05.01 - 2024.05.15) 的杰出工作,以下是重点内容概述
22+
23+
**📦️ 三方库更新**
24+
25+
- `argo-cd-order` 更新到 0.2.0 版本,新增资源过滤功能
26+
- `crossplane` 模块 KCL 代码更新,与 crossplane 1.15 版本 CRD Webhook 校验规则匹配
27+
- `json-merge-patch` 模块更新到 0.1.1 版本,支持 Schema 类型过滤
28+
29+
**🏄 语言更新**
30+
31+
- 修复 `yaml.decode_all` 函数返回值的类型错误
32+
- 修复 `as` 关键字在某些三方库存在会断言失败的情况
33+
- `file` 模块函数列表更新,详见[文档](https://www.kcl-lang.io/docs/reference/model/file)
34+
-`typeof` 函数新增 Schema 类型的支持用于区分 schema 类型和实例
35+
36+
```python
37+
schema Foo:
38+
bar?: str
39+
40+
foo = Foo {}
41+
type_schema = typeof(foo) # schema
42+
type_type = typeof(Foo) # type
43+
```
44+
45+
**💻 IDE 更新**
46+
47+
- 修复 IDE 在 Windows 操作系统上路径错误以及偶发崩溃的问题
48+
- Intellij KCL 插件根据功能不同拆分为带/不带 kcl-language-server 两种版本
49+
50+
**📬️ 工具链更新**
51+
52+
- 修复 `kcl run` 编译相对路径模块时找不到三方库的问题
53+
- 修复 `kcl vet` 验证工具不能导入外部库的问题
54+
- 修复 `kcl fmt` 格式化工具在插入外部 import 语句时的格式化错误问题
55+
- 修复 `kcl completion bash` 命令补全非预期的错误
56+
57+
**⛵️ API 更新**
58+
59+
- `OverrideFile` API 优化变量自动修改时的格式输出
60+
- `ListVariables` API 支持变量属性运算符类型和 Schema 类型返回
61+
- `GetSchemaType` API 支持 Schema 父类返回
62+
63+
**🔥 SDK 更新**
64+
65+
- KCL Rust SDK 发布 v0.9.0-alpha.1 预览版本
66+
- KCL Python SDK 发布 v0.9.0-alpha.1 预览版本
67+
- KCL Node.js SDK 发布 v0.9.0-alpha.1 预览版本
68+
- KCL Java SDK 发布 v0.9.0-SNAPSHOT 版本
69+
70+
**🚪 集成更新**
71+
72+
- 修复 ArgoCD KCL Plugin 并发同步资源报错的问题
73+
- 新增 KCL arm64 docker 镜像 `kcllang/kcl-arm64`
74+
- KRM KCL 规范新增权限访问字段、Kubernetes 资源过滤字段和编译配置字段,支持私有 OCI Registry 访问以及灵活的编译配置,详见[文档](https://github.com/kcl-lang/krm-kcl)
75+
- Crossplane KCL 函数发布 v0.8.0 版本并更新更多使用样例,详见[文档](https://github.com/crossplane-contrib/function-kcl)
76+
77+
## 特别鸣谢
78+
79+
感谢过去两周所有的社区参与者,以下排名不分先后
80+
81+
- 感谢 @Blarc@prahaladramji 对 KCL Intellij IDE 插件支持最新 Intellij 版本的贡献 🙌
82+
- 感谢 @jgascon-nx 对 KCL Crossplane 模块的贡献 🙌
83+
- 感谢 @Gmin2 对 KCL VS Code IDE 重启 KCL Language Server 命令的贡献 🙌
84+
- 感谢 @Gmin2 对 KCL GetSchemaType API 支持返回父类字段的贡献 🙌
85+
- 感谢 @metacoma 对 KCL argo-cd-order 模块的贡献 🙌
86+
- 感谢 @shruti2522 对 KCL file 模块的贡献 🙌
87+
- 感谢 @shruti2522 对 KCL Import 和 Doc 工具的贡献 🙌
88+
- 感谢 @shruti2522 对 KRM KCL 规范 Kubernetes 资源过滤功能的贡献 🙌
89+
- 感谢 @JeevaRamanathan 对 KCL file 模块的贡献 🙌
90+
- 感谢 @AkashKumar7902 对 KCL 包管理工具 MVS 最小版本选择算法的贡献 🙌
91+
- 感谢 @bozaro 对 KCL Go SDK Native API 的贡献 🙌
92+
- 感谢 @officialasishkumar 对 KCL 包管理工具配置支持 exclude 参数和 include 参数的贡献 🙌
93+
- 感谢 @beholdenkey 对 KCL 文档的贡献 🙌
94+
- 感谢 @d4v1d03 对 KCL IDE 悬停功能的贡献 🙌
95+
- 感谢 @ibishal 对 KCL IDE Preview 功能的贡献 🙌
96+
- 感谢 @bradkwadsworth-mw 对 KRM KCL 规范中访问权限字段以及的贡献 🙌
97+
- 感谢 @jgascon-nx@metacoma 对使用 KCL 和 Crossplane KCL 函数的经验和案例分享, 查看[代码仓库](https://github.com/mindwm/mindwm-gitops) 🙌
98+
- 感谢 @mintu, @Sergei Iakovlev, @HAkash Kumar, @HStéphane Este-Gracias, @Korada Vishal, @Bishal, @metacoma, @NAVRockClimber, @nkabir, @dennybaa, @dopesickjam, @vfarcic, @sestegra, @jgascon-nx, @zargor, @markphillips100, @evensolberg, @borgius, @bradkwadsworth-mw, @reedjosh, @patrycju, @PrettySolution, @selfuryon, @steeling, @empath-nirvana, @CC007, @M Slane, @MOHAMED FAWAS 和 @Even Solberg 等在近段时间使用 KCL 过程中提供的宝贵建议与反馈 🙌
99+
100+
## 其他资源
101+
102+
❤️ 查看 _[KCL 社区](https://github.com/kcl-lang/community)_ 加入我们。
103+
104+
更多其他资源请参考:
105+
106+
- [KCL 网站](https://kcl-lang.io/)
107+
- [KusionStack 网站](https://kusionstack.io/)
108+
- [KCL v0.9.0 Milestone](https://github.com/kcl-lang/kcl/milestone/9)

0 commit comments

Comments
 (0)