|
| 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/) |
0 commit comments