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
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
- 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 #1456
- fix: handlebars template exec function calling with kcl json value by @Peefy in #1457
- fix: runtime singleton values and add evaluator multithread exec tests by @Peefy in #1458
- chore: update capi call error message by @Peefy in #1459
- feat: impl runtime.catch function by @Peefy in #1460
- feat: enhance select expr missing attr parse error message by @Peefy in #1461
- change protoc-bin-vendored to support MacOS aarch64 platform by @YvanDaSilva in #1463
- chore: remove cla by @Peefy in #1465
- fix: joined str parse and format & support
\$
escape for str interpolation by @Peefy in #1464 - LSP inlay hints for str, int, float, bool, any types by @shruti2522 in #1431
- fix: fix gs.clear_cache(). clear symbol pos set by @He1pa in #1467
- add hint API for the semantic model by @Peefy in #1468
- fix: module relative path in lsp by @Peefy in #1470
- add document version check in newline complete by @He1pa in #1471
- fix: lsp completion depend on func return type for func call expr by @He1pa in #1472
- fix: dup inlay hint and padding for hints by @Peefy in #1474
- Fix nest schema expr type check by @He1pa in #1475
- feat: add retry times record. by @He1pa in #1476
New Contributors
- @warjiang made their first contribution in #1334
- @Wck-iipi made their first contribution in #1336
- @MatisseB made their first contribution in #1414
- @YvanDaSilva made their first contribution in #1463
Full Changelog: v0.8.0...v0.9.0