Skip to content

Releases: kcl-lang/kcl

v0.9.0 Release

05 Jul 09:53
9db7275
Compare
Choose a tag to compare

What's Changed

  • [v0.9.0-alpha.1] feat: top level variable back reference by @Peefy in #1104
  • fix: fix ast and lsp filename in windows os by @He1pa in #1301
  • chore: bump kcl version to v0.9.0-alpha.1 by @Peefy in #1305
  • 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 and handle_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
  • feat: add more api definitions in the kclvm api crate by @Peefy in #1373
  • refactor: disable openssl dy link and use the rust tls and git command for the dependency update by @Peefy in #1375
  • fix: fix lsp goto def of system pkg. by @He1pa in #1376
  • fix: windows path for the git client by @Peefy in #1377
  • ci: add wasm target unit test and release by @Peefy in #1380
  • refactor: refactor lsp newline complete.… by @He1pa in #1382
  • feat: enhance upgrade dict to schema. by @He1pa in #1381
  • feat: add more wasm host APIs by @Peefy in #1383
  • fix: list and config if expr error recovery in the parser by @Peefy in #1384
  • [Refractor] Refractor lsp unit test by @Wck-iipi in #1379
  • feat: api list_variables supports get variables from multi-files by @zong-zhe in #1389
  • feat: advance resolver incremental compile by @He1pa in #1209
  • feat: distinguish highlight for function symbol and normal var symbol by @shruti2522 in #1386
  • feat: clear resolver cache by main pkg module by @He1pa in #1390
  • chore: bump version to 0.9.0 by @Peefy in #1393
  • fix: clear resolve cache by module by @He1pa in #1394
  • docs: update kcl language server build scripts and docs by @Peefy in #1395
  • fix: schema resolve insert attr op by @Peefy in #1402
  • feat: add completion item for string union types by @shruti2522 in #1392
  • completion test for string union type by @shruti2522 in #1408
  • fix: wrong long str interpolation location with special chars by @Peefy in #1409
  • feat: support conf merge in api ListVariables by @zong-zhe in #1415
  • feat: upgrade dict to schema for function parameters and return values by @He1pa in #1419
  • fix: fix evaluator setters in if stmt by @He1pa in #1418
  • fix: allow setting PROTOC environment variable by @MatisseB in #1414
  • fix: fix type infer in assignstmt by @He1pa in #1411
  • feat: optimize if stmt lazy eval by @Peefy in #1423
  • Add test case for if. by @liangyuanpeng in #1416
  • fix: evaluator runtime schema type get attr and type cast by @Peefy in #1425
  • fix: file.modpath and file.workdir function cache cross different modules by @Peefy in #1427
  • chore(deps): bump unsafe-libyaml from 0.2.5 to 0.2.11 in /kclvm/tools by @dependabot in #1433
  • chore(deps): bump mio from 0.8.8 to 0.8.11 in /kclvm/tests/fuzz by @dependabot in #1432
  • fix: unification stmt override by @Peefy in #1435
  • feat: lsp entry cache timestamps by @He1pa in #1436
  • chore: fix typo by @He1pa in #1437
  • ci: centos7 build and release by @Peefy in #1438
  • fix: fix lambda expr scope range in advanced resolver by @He1pa in #1439
  • feat: add advanced resolver api to get definition within scope by @He1pa in #1442
  • feat: lsp completion for internal pkg from program root by @He1pa in #1445
  • feat: lsp completion for external pkg in kcl.mod by @He1pa in #1448
  • fix: local var set value in the internal scope by @Peefy in #1444
  • fix: fix schema index signature type check by @He1pa in #1450
  • fix: fix internal pkg completion by @He1pa in #1453
  • fix: local var scope in the evaluator by @Peefy in https...
Read more

v0.9.0-beta.1 Release

28 May 07:24
22e472f
Compare
Choose a tag to compare

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 and handle_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

13 May 07:19
Compare
Choose a tag to compare

What's Changed

  • feat: top level variable back reference by @Peefy in #1104
  • fix: fix ast and lsp filename in windows os by @He1pa in #1301
  • chore: bump kcl version to v0.9.0-alpha.1 by @Peefy in #1305

Full Changelog: v0.8.7...v0.9.0-alpha.1

v0.8.7 Release

08 May 11:43
5578591
Compare
Choose a tag to compare

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 return SchemaType 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

Full Changelog: v0.8.6...v0.8.7

v0.8.6 Release

30 Apr 22:26
369a5c3
Compare
Choose a tag to compare

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

Full Changelog: v0.8.5...v0.8.6

v0.8.5 Release

19 Apr 13:22
de289b0
Compare
Choose a tag to compare

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

11 Apr 14:06
04c11a9
Compare
Choose a tag to compare

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

29 Mar 11:44
7021a73
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.8.2...v0.8.3

v0.8.2 Release

18 Mar 06:38
Compare
Choose a tag to compare

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

15 Mar 02:25
4e7ab40
Compare
Choose a tag to compare

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

Full Changelog: v0.8.0...v0.8.1