You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: blog/2024-12-06-kcl-0.11.0-release/index.md
+25-2Lines changed: 25 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
slug: 2024-12-06-kcl-0.11.0-release
2
+
slug: 2024-12-24-kcl-0.11.0-release
3
3
title: KCL v0.11.0 Release Blog
4
4
authors:
5
5
name: KCL Team
@@ -9,7 +9,7 @@ tags: [Release Blog, KCL]
9
9
10
10
## Introduction
11
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
12
+
The KCL team is pleased to announce that **KCL v0.11.0 is now available**! This release has brought two key updates to everyone
13
13
14
14
-_Enhance the coding experience and efficiency with a more performant, feature-rich, and less error-prone KCL language, toolchain, and IDE._
15
15
-_A more comprehensive and diverse set of standard libraries, third-party libraries, and community ecosystem integrations, covering different application scenarios and requirements._
@@ -20,13 +20,15 @@ The KCL team is pleased to announce that **KCL v0.10.0 is now available**! This
20
20
21
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.**
- KCL refactored the implementation of the Parser and reorganized the parse process of import dependencies.
31
33
- KCL optimized the type parsing of ** expressions in schema attributes.
32
34
- KCL fixed the problem that lambda expressions do not work when nested calls.
@@ -37,6 +39,16 @@ The KCL team is pleased to announce that **KCL v0.10.0 is now available**! This
37
39
38
40
#### Toolchain
39
41
42
+
- Package management tool version selection algorithm is released. In v0.11.0, the KCL package management tool supports the selection of different version numbers of the same tripartite library that appears in the dependency graph. The KCL package management tool refers to the mvs algorithm of go mod.
43
+
44
+
To ensure as much compatibility as possible, package management tools currently prefer to select the latest version that appears in the dependency diagram rather than the latest version that has already been released.
45
+
46
+
In version v0.11.0, version selection is turned off by default. You can control whether version selection is turned on by setting the environment variable `export KPM_FEATURE_GATES='SupportMVS=true'`.
47
+
48
+
- Package management tool added a new local tripartite library cache. In v0.11.0, KCL package management tool implemented a new local tripartite library cache, and the new storage cache structure improved the performance of downloading git repositories by 88% on average.
49
+
50
+
In v0.11.0, the new cache structure is turned off by default, and the new local tripartite library cache is controlled by setting the environment variable `export KPM_FEATURE_GATES=' SupportNewStorage=true'`.
51
+
40
52
- Fix `kcl fmt` formatting error for code comments.
41
53
- Fix `kcl fmt` error in handling line continuation and comment combinations.
42
54
@@ -68,6 +80,17 @@ The KCL team is pleased to announce that **KCL v0.10.0 is now available**! This
68
80
69
81
#### Standard Libraries
70
82
83
+
- KCL new standard libraries `filesha512` 和 `fileblake3`。
84
+
85
+
```kcl
86
+
import crypto
87
+
88
+
sha_filesha512 = crypto.filesha512("test.txt")
89
+
sha_fileblake3 = crypto.fileblake3("test.txt")
90
+
```
91
+
92
+
- Fixes an issue that `ignore_private=False` parameter does not take effect in `manifests.yaml_stream`.
0 commit comments