@@ -40,6 +40,8 @@ Thanks to all contributors for their outstanding work over the past two weeks (2
4040
4141- New module ` difflib ` added to support configuration comparison.
4242
43+ Add ` difflib ` as a dependency by ` kcl mod add difflib ` .
44+
4345Through the ` diff ` method provided by the ` difflib ` , the configuration difference is output.
4446
4547``` python
@@ -87,6 +89,21 @@ data2 = {
8789diff = difflib.diff(yaml.encode(data1), yaml.encode(data2))
8890```
8991
92+ The expected output is the diff as below:
93+
94+ ```
95+ + postalCode: null
96+ + phoneNumbers:
97+ + - type: work
98+ + number: '646-555-5678'
99+ - postalCode: '10001'
100+ - phoneNumbers:
101+ - - type: home
102+ - number: '212-555-1234'
103+ - - type: work
104+ - number: '646-555-5678'
105+ ```
106+
90107** 🏄 Language Updates**
91108
92109- KCL 0.9.0-beta.1 released.
@@ -123,16 +140,16 @@ For string literals, added hover highlights.
123140- Fixed the unexpected error in the YAML Stream format import process of the KCL import tool.
124141
125142- Package management tool updates.
126- - - Added support for renaming dependencies to prevent name conflicts through the ` mod add --rename ` parameter and the ` kcl.mod ` file.
127- - - Fixed the issue of missing dependencies in the ` kcl.mod ` file when adding a local file directory as a dependency.
128- - - Added support for adding git third-party dependencies through branch names.
129- - - Removed the invalid log output when updating dependencies.
130- - - Added API support for writing ` kcl.mod ` and ` kcl.mod.lock ` files.
131- - - Removed the process of requesting metadata when loading third-party dependencies.
132- - - When packaging and uploading KCL, diagnostic information is output for the case of local dependencies in the KCL package.
133- - - LFX term 1 task completed, the version management module mvp version merged into the main branch.
134- - - Supported specifying files to be packaged and skipped through the ` include ` and ` exclude ` fields in the ` kcl.mod ` file.
135- - - Removed the calculation checksum process of dependencies.
143+ - Added support for renaming dependencies to prevent name conflicts through the ` mod add --rename ` parameter and the ` kcl.mod ` file.
144+ - Fixed the issue of missing dependencies in the ` kcl.mod ` file when adding a local file directory as a dependency.
145+ - Added support for adding git third-party dependencies through branch names.
146+ - Removed the invalid log output when updating dependencies.
147+ - Added API support for writing ` kcl.mod ` and ` kcl.mod.lock ` files.
148+ - Removed the process of requesting metadata when loading third-party dependencies.
149+ - When packaging and uploading KCL, diagnostic information is output for the case of local dependencies in the KCL package.
150+ - LFX term 1 task completed, the version management module mvp version merged into the main branch.
151+ - Supported specifying files to be packaged and skipped through the ` include ` and ` exclude ` fields in the ` kcl.mod ` file.
152+ - Removed the calculation checksum process of dependencies.
136153
137154** ⛵️ API Updates**
138155
0 commit comments