Releases: kcl-lang/kcl
Releases · kcl-lang/kcl
v0.8.0-alpha.1 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
New Contributors
- @shashank-iitbhu made their first contribution in #1041
- @d4v1d03 made their first contribution in #1040
Full Changelog: v0.7.5...v0.8.0-alpha.1
v0.7.5 Release
What's Changed
- feat: add linux aarch64 llvm target by @Peefy in #988
- feat: semantic API for multiple language SDKs by @Peefy in #989
- refactor: simplify AST structure for some enum nodes by @Peefy in #991
- fix: fix lsp complete in comment after str type var by @He1pa in #992
- fix: fix lsp semantic token(sema hight) of import stmt and unresolved token by @He1pa in #990
- fix: lsp kcl mod test cases by @Peefy in #993
- docs: add more integration in readme documents by @Peefy in #994
- feat: scope api for multiple lang sdks by @Peefy in #996
- refactor(loader): fix warnings by 'cargo clippy' for loader by @octonawish-akcodes in #999
- refactor(lexer): fix warnings by 'cargo clippy' for lexer by @octonawish-akcodes in #1000
- refactor(config): fix warnings by 'cargo clippy' for config by @octonawish-akcodes in #1001
- refactor(error): fix warnings by 'cargo clippy' for error by @octonawish-akcodes in #1002
- feat: add symbol to node and type symbol APIs by @Peefy in #1004
- fix: schema index signature type unsoundness by @Peefy in #1007
- chore: bump kcl version to 0.7.5 by @Peefy in #1008
New Contributors
- @octonawish-akcodes made their first contribution in #999
Full Changelog: v0.7.4...v0.7.5
v0.7.4 Release
v0.7.3 Release
What's Changed
- chore(deps): bump unsafe-libyaml from 0.2.9 to 0.2.10 in /kclvm/tests/fuzz by @dependabot in #962
- fix: fix complete item kind by @He1pa in #963
- feat: add more test cases for goto def with dependencies whose names contain underline by @zong-zhe in #965
- feat: add api rename code by @zong-zhe in #928
- fix: remove useless import by @zong-zhe in #967
- feat: lsp semantic tokens provider by @He1pa in #968
- chore: run cargo clippy to fix warnings by @Peefy in #969
- feat: add kind to local scope by @He1pa in #971
- refactor: simplify AST type definition and make type erasure pass more stable by @Peefy in #972
- fix: set the kpm related test cases to execute sequentially by @zong-zhe in #973
- feat: add some position info about import stmt node by @He1pa in #974
- fix: cached ast node key by @NeverRaR in #975
- test: fix lsp test and add import_pkg hover test case by @He1pa in #976
- feat: support expr symbol by @NeverRaR in #977
- feat: feat parser api for multiple SDKs by @Peefy in #978
- chore: bump kcl version to 0.7.3 by @Peefy in #980
Full Changelog: v...v0.7.3
v0.7.2 Release
What's Changed
- fix: add module ty and typealias to symbol by @NeverRaR in #956
- feat: enhance lsp complete for function params by @He1pa in #957
- fix: doc gen string format by @Peefy in #958
- fix: rm the last newline for the fmt action of lambda expr by @zong-zhe in #959
- feat: impl configurable cache path by @Peefy in #960
- feat: enhance lsp complete for schema value and schema type. by @He1pa in #961
Full Changelog: v0.7.1...v0.7.2
v0.7.1 Release
What's Changed
- chore: remove deprecated scripts by @Peefy in #937
- chore(deps): bump self_cell from 0.10.2 to 0.10.3 in /kclvm by @dependabot in #938
- chore: update matainters by @i-zhen in #939
- fix: fix import pkg asname check in resolver by @He1pa in #942
- fix: fix completion for pkg alias name by @He1pa in #943
- fix: fix resolver schema_stmt pos and lsp complete of schema by @He1pa in #945
- feat: add the json file location in diagnostic for kcl-vet. by @zong-zhe in #944
- feat: add the yaml file location in diagnostic for kcl-vet by @zong-zhe in #949
- chore: bump version to v0.7.1 by @Peefy in #950
New Contributors
Full Changelog: v0.7.0...v0.7.1
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...
v0.7.0-beta.2 Release
What's Changed
- 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
Full Changelog: v0.7.0-beta.1...v0.7.0-beta.2
v0.7.0-beta.1 Release
What's Changed
- 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
New Contributors
Full Changelog: v0.7.0-alpha.2...v0.7.0-beta.1
v0.7.0-alpha.2 Release
What's Changed
- 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
Full Changelog: v0.7.0-alpha.1...v0.7.0-alpha.2