Releases: kcl-lang/kcl
Releases · kcl-lang/kcl
v0.9.0-beta.1 Release
What's Changed
- fix: fixed a formatting error when inserting import stmt into a KCL f… by @zong-zhe in #1307
- added a test case for hover docs by @d4v1d03 in #1311
- fix: fix format error in OverrideFile by @zong-zhe in #1312
- fix: lsp hover docs by @shruti2522 in #1313
- fix: fix insert error when insert multi times with the same spec by OverrideFile api by @zong-zhe in #1314
- fix: fix missing variables in api ListVariable() when list from KCL with unsupported expr by @zong-zhe in #1315
- doc: lsp dev guide by @He1pa in #1317
- feat: add parser error messages into the result of api ListVariables by @zong-zhe in #1316
- refactor: remove unwrap() in advanced_resolver. by @He1pa in #1318
- fix: fix resolver cache caused falsely report errors. by @He1pa in #1320
- feat: impl read_env func by @Peefy in #1321
- fix: fix inherit schema attrs hover by @He1pa in #1323
- chore: bump kcl version to v0.9.0-alpha.2 by @Peefy in #1324
- feat: enhance err msg when import empty local path by @Peefy in #1329
- feat: function call argument parser with newline and indentation by @Peefy in #1328
- fix: fix advanced resolver get node type. by @He1pa in #1330
- feat: add vscode extensions for devcontainer by @warjiang in #1334
- docs: refactor cli and language server dev guide documents by @Peefy in #1335
- feat: add parse errors in reture value of OverrideFile api by @zong-zhe in #1340
- feat: enhance schema optional attr check time and put it before the check expressions by @Peefy in #1341
- feat: enhance doc parse and add lambda doc hover by @Peefy in #1342
- feat: lsp hover for dict into schema expr key by @He1pa in #1343
- test: use stderr.golden instead of stderr.golden.py by @Peefy in #1344
- Syntax highlight in hover by @Wck-iipi in #1336
- feat: lsp hover keyword highlight by @shruti2522 in #1331
- feat: treat kcl.mod file as a compile unit by @Peefy in #1348
- feat: support return list and dict structure from api ListVariable by @zong-zhe in #1349
- feat: add fast eval mode for the testing tool by @Peefy in #1353
- refactor: add toolchain abstraction and add it into the language server state by @Peefy in #1354
- fix: runtime option function memory leak and add gc function calling the evaluator by @Peefy in #1355
- feat: upgrade dict type into schema type by @He1pa in #1350
- fix: evaluator schema scope context set value by @Peefy in #1356
- refactor: override spec with more attribute config operation including : and += by @Peefy in #1358
- Provide Quick fixes for Compile errors by @shashank-iitbhu in #1359
- Provide quick fix for invalid syntax error by @shashank-iitbhu in #1133
- Quick fixes for more compile errors by @shashank-iitbhu in #1360
- fix: fix lsp panic caused by advanced resolver compile err by @He1pa in #1361
- enhance: lsp hover lit str attr by @He1pa in #1362
- fix advanced resolver get node type err by @He1pa in #1364
- chore: bump kcl version to 0.9.0-beta.1 by @Peefy in #1366
- feat: add parse error kind and fix the invalid syntax quick fix code by @Peefy in #1365
- refactor: schema type APIs by @Peefy in #1368
- quick fixes for some compile errors using ast by @shashank-iitbhu in #1369
- fix
handle_semantic_tokens_full
andhandle_document_symbol
panic by @He1pa in #1370 - feat: impl toolchain trait for the native toolchain by @Peefy in #1363
- enhance lsp diags. by @He1pa in #1371
New Contributors
Full Changelog: v0.9.0-alpha.1...v0.9.0-beta.1
v0.9.0-alpha.1 Release
v0.8.7 Release
What's Changed
- fix: evaluator quant expr by @Peefy in #1263
- Kcl argocd zombie workaround by @metacoma in #1264
- docs: update tool integration link and multi SDKs description in readme by @Peefy in #1270
get_schema_type
function will now returnSchemaType
instances with base schema information included by @utnim2 in #1272- feat: add file.mkdir and file.delete functions by @shruti2522 in #1271
- feat: enhance the schema expr type check and impl the schema factory using the dynamic type by @Peefy in #1269
- fix: file.mkdir and yaml.decode_all functions and bump version to v0.8.7 by @Peefy in #1276
- feat: add type name for schema_expr in list_variables by @zong-zhe in #1279
- chore: polish copyright by @Peefy in #1278
- feat: add file.cp and file.mv functions by @shruti2522 in #1277
- ci: add macos14 and evluator tests by @Peefy in #1280
- feat: add file folder cp by @Peefy in #1281
- feat: add operation for variable in ListVariables by @zong-zhe in #1282
- feat: top level variable back reference infra by @Peefy in #1284
- feat: add file.size by @JeevaRamanathan in #1286
- chore: update file.size runtime impl and update test cases by @Peefy in #1287
- fix: fix ut test_rename() by @He1pa in #1292
- feat: added file.write by @JeevaRamanathan in #1293
- feat: added file.append by @JeevaRamanathan in #1295
- chore: update runtime and test suites by @Peefy in #1296
- fix: type cast when exists external package by @Peefy in #1297
- fix: fix the inconsistency in filename drive letters by @He1pa in #1283
- feat: supports import local file in kcl-vet by @zong-zhe in #1290
New Contributors
- @utnim2 made their first contribution in #1272
- @JeevaRamanathan made their first contribution in #1286
Full Changelog: v0.8.6...v0.8.7
v0.8.6 Release
What's Changed
- Bump ubuntu base image to 22.04 version by @metacoma in #1235
- fix: lambda in schema function calling for the evaluator by @Peefy in #1236
- feat: override_file will insert a new variable if the variable is not exist by @zong-zhe in #1238
- [Enhancement] Release fedora:39 linux image by @shruti2522 in #1241
- [Enhancement] Release for Alpine linux by @shruti2522 in #1242
- fix: fix compile fail on windows for rustc_data_structure and bump version by @zong-zhe in #1245
- fix: build lock using global temp lock by @Peefy in #1246
- fix: evaluator lambda closure and bump version to 0.8.6 by @Peefy in #1248
- Fix: fix incremental compilation unwrap panic in AdvancerResolver by @He1pa in #1247
- feat: add more feature flags about llvm and wasm by @Peefy in #1249
- fix: fix lookup_compile_unit_path by @He1pa in #1252
- feat: supports override identifier for OverrideFile api by @zong-zhe in #1255
- fix: trim() the spec for overrideFile() by @zong-zhe in #1256
- test: add json string plan opts tests by @Peefy in #1259
- fix: fix lsp e2e test occasionally failed in CI. by @He1pa in #1254
- feat: add wasm32 llvm target by @shruti2522 in #1262
New Contributors
- @metacoma made their first contribution in #1235
- @shruti2522 made their first contribution in #1241
Full Changelog: v0.8.5...v0.8.6
v0.8.5 Release
What's Changed
- feat: add llvm-feature-for-runner by @Peefy in #1216
- chore: bump serde_json version by @zong-zhe in #1218
- refactor: doc string parse to prevent the regex calling and remove the prec2 deps by @Peefy in #1219
- chore: remove pcre2 deps by @Peefy in #1220
- chore: remove chumsky and stacker deps by @Peefy in #1221
- feat: add build lock for common package cache path by @Peefy in #1223
- refactor: enhance stmt parse errors by @Peefy in #1224
- chore: fix fslock build in wasm by @chai2010 in #1226
- chore: bump cb version by @zong-zhe in #1225
- fix: schema string attribute contains dot by @Peefy in #1228
- fix: schema union in list comprehension by @Peefy in #1230
- chore: bump version to 0.8.5 by @Peefy in #1233
- feat: fork deprecated serde yaml and add more string quoting when serialize by @Peefy in #1232
Full Changelog: v0.8.4...v0.8.5
v0.8.4 Release
What's Changed
- feat: add all positional and keyword arguments for builtin functions by @Peefy in #1181
- feat: impl more evaluator features and pass more test cases by @Peefy in #1182
- fix: advance resolver walk dict comp by @He1pa in #1184
- feat: verify request and compile version. by @He1pa in #1183
- feat: lazy eval scope for evaluator by @Peefy in #1186
- fix: fix lsp document version verify. by @He1pa in #1187
- chore: bump kcl version to 0.8.4 by @Peefy in #1189
- ci: add setup python scripts in the macos arm CI by @Peefy in #1192
- docs: add coding covention, arch and source code in the developing guide docs by @Peefy in #1194
- feat:Lsp compile unit cache watcher for config file(kcl.yaml and kcl.mod). by @He1pa in #1188
- feat: impl builtin template system package by @Peefy in #1195
- feat: add error meta track for the evaluator by @Peefy in #1197
- test: fix compile_unit_cache ut by @He1pa in #1196
- feat: add optional llvm feature by @Peefy in #1198
- feat: add backtrace context for the evaluator by @Peefy in #1200
- feat: impl backtrack breakpoint for the evaluator by @Peefy in #1201
- feat: add loader API with state by @Peefy in #1202
- chore: bump compiler_base version by @zong-zhe in #1204
- fix: fix compile unit cache. by @He1pa in #1203
- fix: runtime number singleton value cache by @Peefy in #1206
- chore: deprecated timestamp related code by @Peefy in #1207
- feat: impl evaluator eval context snapshot to prevent self recursively calling panic by @Peefy in #1211
- feat: impl schema instances in all package path by @Peefy in #1210
- feat: top level variable back reference for the evaluator by @Peefy in #1213
- feat: overridefile supports other types except schema by @zong-zhe in #1208
- feat: add api list_variables to select variable by @zong-zhe in #1214
Full Changelog: v0.8.3...v0.8.4
v0.8.3 Release
What's Changed
- Add license scan report and status by @fossabot in #1144
- fix: capi protobuf cstring convension by @Peefy in #1145
- chore: bump kcl version to v0.8.3 by @Peefy in #1150
- fix: fix lsp db lock by @He1pa in #1152
- add git in kcl docker image by @wilsonwang371 in #1156
- feat: add file.exsits and file.abs functions by @Peefy in #1157
- fix lsp vfs and db dead lock. by @He1pa in #1159
- feat: add initial version of evaluator by @Peefy in #1158
- feat: add more node walker for evaluator by @Peefy in #1160
- test: add more evaluator snapshot tests by @Peefy in #1164
- feat: lsp request retry. by @He1pa in #1163
- feat: impl lambda calling for the evaluator by @Peefy in #1167
- design doc for kcl watcher by @octonawish-akcodes in #1119
- feat: impl schema node for the evaluator by @Peefy in #1170
- fix formatting of unsaved changes in LSP by @vemoo in #1173
- fix: lsp db clone. by @He1pa in #1174
- fix: config merge and unpack in loop for by @Peefy in #1175
- fix: fixed infinite retry. by @He1pa in #1180
New Contributors
- @fossabot made their first contribution in #1144
- @wilsonwang371 made their first contribution in #1156
- @vemoo made their first contribution in #1173
Full Changelog: v0.8.2...v0.8.3
v0.8.2 Release
What's Changed
- fix: list options required param by @Peefy in #1138
- refactor: binary expr type error message locations by @Peefy in #1139
Full Changelog: v0.8.1...v0.8.2
v0.8.1 Release
What's Changed
- feat: runtime lazy eval scope infra by @Peefy in #1114
- Provided multiple quick fix options for variable modification by @shashank-iitbhu in #1117
- feat: high order lambda closure captures by @Peefy in #1116
- feat: incremental resolver in lsp by @He1pa in #1115
- fix: resolve cache by @He1pa in #1120
- chore: bump kcl version to 0.8.1 by @Peefy in #1121
- feat: add semantic with cache API by @Peefy in #1122
- refactor: lsp and resolver code structure and cargo clippy by @Peefy in #1123
- feat: remove python-like static type tricks by @Peefy in #1124
- refactor: codegen value store and load & add debug info for the entire module by @Peefy in #1126
- feat: support for automatic update KCL dependencies on kcl.mod file save by @octonawish-akcodes in #1118
- fix resolve cache err in concurreny error in lsp and enhance log message by @He1pa in #1129
- enhance: lambda in for high level closures by @Peefy in #1130
- feat: add list options API by @Peefy in #1135
- refactor: lsp cached scope usage by @Peefy in #1136
- Disable auto block pr option of contributor-assistant/github-action. by @liangyuanpeng in #1137
New Contributors
- @liangyuanpeng made their first contribution in #1137
Full Changelog: v0.8.0...v0.8.1
v0.8.0 Release
What's Changed
- chore: bump version to v0.7.6 by @Peefy in #1011
- fix: schema optional attribute validating recursively by @Peefy in #1009
- fix: schema resolver type value load attribute error messages by @Peefy in #1010
- refactor: cargo clippy for api, compiler, config and sema crates by @Peefy in #1013
- refactor: remove runtime unsound codes by @Peefy in #1012
- fix: fix schema scope variables sema info and comments symbols panic by @He1pa in #1014
- refactor: simplify the linker code by @Peefy in #1016
- feat: impl build_program and exec_artifact APIs by @Peefy in #1017
- fix advanced resolver walk_list_if_item_expr by @He1pa in #1018
- ci: macos 13 xlarge action by @Peefy in #1025
- fix: fix config if expr pos by @He1pa in #1027
- feat: impl subscript in override spec by @Peefy in #1026
- fix: remove missing expr symbol by @He1pa in #1030
- feat: add field 'timeout' to TimeoutExecutor to specify the timeout and increase the timeout in the test case to 120 seconds by @zong-zhe in #1033
- fix: formatting support for multiple if statements by @shashank-iitbhu in #1041
- feat: add build-in method 'file.read' to load file by @zong-zhe in #1034
- chore: deprecated rust-crypto crate and use md5 by @Peefy in #1044
- test: add orelse AST printer test cases by @Peefy in #1042
- feat: enhance full schema type path in the exec result by @Peefy in #1043
- fix: raw identifier in the schema string attribute by @Peefy in #1045
- docs: polish readme documents by @Peefy in #1046
- chore: bump version to 0.8.0 by @Peefy in #1047
- Fix the definition of duplicate parameter by @He1pa in #1048
- feat: enhance plugin agent flag in APIs by @Peefy in #1050
- feat: add builtin io function glob() by @zong-zhe in #1051
- fix: add type check for builtin filesystem function by @zong-zhe in #1052
- lfx pre test lsp quick fix by @shashank-iitbhu in #1038
- feat: add load_builtin option for the loader API and add more unit test cases by @Peefy in #1055
- feat: add builtin io function modpath() by @zong-zhe in #1056
- feat: add check scope kind by @He1pa in #1057
- chore: bump rust-toolchain to 1.75 in CI by @Peefy in #1059
- fix: key value eval in the config iter by @Peefy in #1063
- feat: add builtin io function workdir() by @zong-zhe in #1054
- feat: enhance builtin func complete by @He1pa in #1064
- Added kpm_update.rs with working tests by @d4v1d03 in #1040
- refactor: remove all schema internal settings attribute and use the potential schema type by @Peefy in #1062
- feat: add the show_hidden flag by @Peefy in #1070
- refactor: polish all builtin function documents by @Peefy in #1069
- refactor: driver crate and tests by @Peefy in #1072
- fix: typo in lexer and add error message for the semi token by @Peefy in #1073
- fix: sort keys flag and lsp hover tests by @Peefy in #1074
- feat: output json stream result and refactor runtime FFI code by @Peefy in #1076
- refactor: clean runtime unused code, refactor FFI related code & run cargo clippy for the runtime crate by @Peefy in #1077
- refactor: empty result plan to dict by @Peefy in #1080
- fix: stack overflow issues caused by deep copy of circular references within schema and schema lambda by @Peefy in #1079
- feat: impl scalar yaml stream output by @Peefy in #1081
- fix dump to file arguments and add more test cases by @Peefy in #1082
- feat: fix compile unit always add entry file into main pkg to avoid incremental compilation ignores entry file by @He1pa in #1085
- feat: support arguments and keyword arguments union for the schema value by @Peefy in #1086
- feat: add better error message and quick fix for the list schema member by @Peefy in #1089
- feat: add builtin function 'crypto.uuid()' and 'crypto.filehash()' by @zong-zhe in #1090
- fix: fix typo by @zong-zhe in #1093
- fix: literal str and join str inner completion by @He1pa in #1092
- feat: add decorator symbol by @He1pa in #1094
- refactor: make decorator document more simple by @Peefy in #1095
- feat: enhance anoymous schema type checking in the expr context stack by @Peefy in #1096
- doc: workflow design of IDE and kpm by @octonawish-akcodes in #1065
- feat: add better error message for else if token parse recovery by @Peefy in #1102
- feat: add datafile parameter for the
validate_code
api by @zong-zhe in #1103 - feat: enhance schema attribute not found error message by @Peefy in #1105
- chore: bump rust toolchain to 1.76 and bump dep package versions to fix security issues by @Peefy in #1107
- chore(deps): bump mio from 0.8.8 to 0.8.11 in /kclvm by @dependabot in #1106
- fix: fix completion when schema end pos is eof by @He1pa in #1109
- enhancement: expr context type store in loop expr by @Peefy in #1111
- fix: fix advanced resolver current schema symbol by @He1pa in #1110
New Contributors
- @shashank-iitbhu made their first contribution in #1041
- @d4v1d03 made their first contribution in #1040
Full Changelog: v0.7.0...v0.8.0