v0.7.0 Release
What's Changed
- test: add integration test of lsp and Konfig by @He1pa in #714
- fix: Added 'lookbehind' method in lexer by @zong-zhe in #717
- feat: add fuzz match for error 'attribute not found' by @zong-zhe in #715
- chore: add ref and license for lint by @He1pa in #720
- feat: lint check for reimport a unused module multi times by @He1pa in #722
- feat: lint check unused import in each file instead of global modules by @He1pa in #724
- feat: remove unique check in unification stmt by @He1pa in #725
- docs: add GOVERNANCE.md to kcl project by @Peefy in #728
- feat: add a option to control pre process merge AST for the resolver by @He1pa in #726
- fix: raise an error when the asname of import statment is defined multi-times by @zong-zhe in #727
- feat: auto fix tools by @He1pa in #719
- feat: add a suggestion for 'name not found' by @zong-zhe in #731
- feat: add sub command version to lsp by @He1pa in #730
- feat: add lsp hover for builtin function by @He1pa in #732
- feat: add openssf best practice badge by @Peefy in #735
- chore: update maintainer infoformation by @Peefy in #736
- feat: add 'compile_only' flag for lint check by @zong-zhe in #737
- fix: rm temp file generated during compilation by @zong-zhe in #738
- bugfix: fix the cli args for startup of lsp by @He1pa in #740
- bugfix: goto def (and hover) for complex select expr by @He1pa in #755
- bugfix: str type var builtin function hover by @He1pa in #759
- fix: add type annotation check during type checking in assignment by @zong-zhe in #757
- Feat: lsp support find refs by @amyXia1994 in #721
- ci: add daily release scripts by @Peefy in #764
- chore: code clean-unused imports and comments by @amyXia1994 in #761
- Fix goto attr def from attr def itself, add test cases on goto-def and find-refs by @amyXia1994 in #765
- fix: fix the error message according to singular or even by @zong-zhe in #769
- fix: fix position error when desuger config expr by @He1pa in #772
- fix: add full type string for function type by @zong-zhe in #771
- Fix: lsp crash caused by vfs loader by @He1pa in #778
- feat: add keyword argument name in error message by @zong-zhe in #779
- feat: rename symbol by @amyXia1994 in #773
- fix: assign stmt in schema codegen and runtime value merge. by @Peefy in #787
- test: add more test cases on format tool behavior by @amyXia1994 in #786
- test: move parser expr unit tests to snaptest by @jakezhu9 in #788
- fix: runtime union type parse and checking by @Peefy in #791
- fix: format behavior of union types by @amyXia1994 in #790
- fix format behavior on line break between import stmt and other stmts by @amyXia1994 in #792
- feat : namer for new architecture of semantic model by @NeverRaR in #762
- chore: fix wrong comment and naming typo by @amyXia1994 in #793
- test: move parser unit tests to snaptest by @jakezhu9 in #794
- feat: schema lazy eval for config attr by @Peefy in #797
- fix: fix some failed test cases by @zong-zhe in #800
- feat: impl path selector in the run API. by @Peefy in #802
- fix: Defend against non-KCL files by @He1pa in #798
- enhance: enhance lsp completion for function. by @He1pa in #799
- feat: completion for import builtin pkgs by @He1pa in #801
- fix: fix the lambda argument type, when it is schema type, into schema type instance by @zong-zhe in #803
- feat: enhance lsp completion detail by @He1pa in #805
- fix: fix type error in assignment with type annotation by @zong-zhe in #806
- chore: bump kcl version to v0.7.0-alpha.1 by @Peefy in #807
- feat: completion for schema attr value. by @He1pa in #809
- feat: lsp completion for schema param list by @He1pa in #810
- feat: add advenced resolver for new semantic modle by @NeverRaR in #808
- feat: lsp completion of trigger newline after brace by @He1pa in #811
- chore: fix typo by @amyXia1994 in #814
- Fix: fix type check missing when assigning a dict to a schema by @zong-zhe in #815
- fix: mutual reference for config multiple keys by @Peefy in #817
- fix: rm the error 'conflict kcl.mod file path' by @zong-zhe in #819
- chore: bump kcl version to v0.7.0-alpha.2 by @Peefy in #820
- feat: add '--recursive' flag to compile the whole dir by @zong-zhe in #822
- Feat: lsp support complete for docstring by @amyXia1994 in #818
- feat: modify
TypeRef
from Rc to Arc by @He1pa in #827 - Dev/boying/runtime clean by @NeverRaR in #828
- chrom : fix cargo clippy error in runtime by @NeverRaR in #829
- fix: use Arc<RwLock> replace hashmap clone for word_index_map by @He1pa in #830
- feat: migrate lsp goto_def to new sema model. by @He1pa in #825
- chorm: remove runtime mod yaml::yaml by @NeverRaR in #831
- feat: async build word index map when init lsp state by @He1pa in #832
- refactor: avoid use global context in panic hook by @NeverRaR in #833
- Feat: add lambda type annotation by @zong-zhe in #826
- refactor: remove global runtime context by @NeverRaR in #834
- fix: use Arc in sema benchmark by @jakezhu9 in #837
- fix: bump version of 'annotate-snippets' to 0.9.2 to fix a bug by @zong-zhe in #838
- fix: ci grammar tests using lower python3 versions on macos by @Peefy in #839
- fix: use char index in the compiler error message by @Peefy in #840
- fix: fix cache invalidation by @zong-zhe in #841
- feat: add symbol sema info api by @NeverRaR in #842
- test: fix lsp unit test of find ref. by @He1pa in #845
- feat: impl string-like schema attribute parser and ast printer by @Peefy in #849
- feat: impl symbol semantic information injection by @NeverRaR in #851
- feat: lsp complete for exteranl pkg import by @He1pa in #848
- fix: normal func param default value by @Peefy in #855
- feat: support look up cloest symbol by @NeverRaR in #854
- chore: deprecated semantic schema settings attr in the v0.7.0 stable version. by @Peefy in #853
- feat: impl yaml stream decode/encode system module functions by @Peefy in #852
- feat: add validate functions for json and yaml modules by @Peefy in #856
- feat: support increment parser by @NeverRaR in #857
- feat: add rename, renameCode API by @amyXia1994 in #843
- feat: remove the indention check in block '{}' and '[]' by @zong-zhe in #858
- fix: fix failed win test case by @zong-zhe in #859
- feat: add suggestion when package not found by @zong-zhe in #860
- docs: add artifact hub module link and use the latest installation documents by @Peefy in #862
- feat: Lsp handle cancel req by @He1pa in #869
- resolver performance improvement by @NeverRaR in #866
- feat: add file pattern as the compile entry by @zong-zhe in #861
- chore: bump cla token to DEPLOY_ACCESS_TOKEN. by @Peefy in #871
- bugfix: fix postion of undefined lambda param by @He1pa in #873
- perf: infer dict attr ty in config entries by @NeverRaR in #875
- fix: fix positional argument error missing by @zong-zhe in #877
- feat: disable empty list feature by @Peefy in #876
- chore(deps): bump self_cell from 0.10.2 to 0.10.3 in /kclvm/tests/fuzz by @dependabot in #878
- arch: migrate lsp dot_complete to new sema model by @He1pa in #879
- arch: migrate lsp assign(
:
and=
) value completion to new sema model by @He1pa in #881 - feat: support incremental resolver by @NeverRaR in #884
- arch: migrate lsp hover to new sema model by @XiaoK29 in #887
- arch: migrate lsp variable and schema attr completion to new sema model by @He1pa in #886
- chrom : move CachedScope from cache.rs to scope.rs by @NeverRaR in #888
- arch: migrate lsp newline complete to new sema model by @He1pa in #889
- feat: implement rename api with new sema model by @amyXia1994 in #890
- feat: add kcl mod metadata fetch for the driver crate by @Peefy in #892
- enhance: find refs support include declarations by @amyXia1994 in #897
- feat: support print functions for normal logger writer and not only for stdout by @Peefy in #896
- fix: fix ty error in assignment by @zong-zhe in #900
- chore: bump error message to stderr by @Peefy in #902
- feat: impl basic test suite loader and runner by @Peefy in #901
- arch: migrate lsp find_refs to new sema model by @XiaoK29 in #899
- feat: impl testing APIs by @Peefy in #904
- fix: add correct ty to quant symbol and argument symbol by @NeverRaR in #905
- enhance: build word index prune word in comments by @amyXia1994 in #903
- feat: use Arc<Mutex<..> to support internal modifications to CachedScope by @NeverRaR in #909
- chore: remove un-used code by @Peefy in #908
- fix: use kfile_paths to determine if root scope contains the pos by @NeverRaR in #910
- feat: increment parse in lsp by @He1pa in #911
- fix: make two test cases 'test_fetch_metadata' and 'test_fill_pkg_maps_for_k_file' execute in order by @zong-zhe in #907
- feat: add api 'get_full_schema_type' to return the schema ty with third party by @zong-zhe in #906
- fix: fix func
get_kcl_files
by @He1pa in #912 - fix: get all full schema types when schema name is empty by @zong-zhe in #914
- enhance: add limitation on find refs target number by @amyXia1994 in #913
- arch: migrate lsp document_symbol to new sema model by @He1pa in #918
- feat: add file opts for validate api by @Peefy in #919
- feat: support rule statement with index signature by @Peefy in #920
- feat: rename API support overwrite changes to files by @amyXia1994 in #898
- fix: not complete str functions when inside literal str by @He1pa in #923
- chore: bump kcl version to v0.7.0-beta.2 by @Peefy in #925
- fix: resolve assert_stmt and config_entry correctly by @NeverRaR in #924
- feat: async compile in lsp by @He1pa in #922
- fix: fix lsp completion for newline char by @He1pa in #926
- fix: fix lsp completion ut by @He1pa in #927
- fix: document url and file path conversation in the language server by @Peefy in #929
- chore: enhance metadata fetch perf by @Peefy in #930
- chore: bump kcl version to v0.7.0 by @Peefy in #932
- fix: add ty to schema args by @NeverRaR in #934
- fix: resolve opts in the schema type api by @Peefy in #935
New Contributors
Full Changelog: v0.6.0...v0.7.0