Skip to content

Releases: kcl-lang/kcl

v0.7.0-alpha.1 Release

26 Oct 14:20
0a11e74
Compare
Choose a tag to compare

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

New Contributors

Full Changelog: v0.6.0...v0.7.0-alpha.1

v0.6.0 Release

14 Sep 10:41
9286e95
Compare
Choose a tag to compare

What's Changed

  • feat: add lambda expression and parameter error recovery by @Peefy in #692
  • fix: argument type check on too many arguments for empty parameter list by @Peefy in #691
  • feat: add base64 and net member function types by @Peefy in #695
  • feat: enhance system package sematic definitions and sync spec. by @Peefy in #696
  • refactor: sync error with spec. by @Peefy in #697
  • fix: builtin function bool and str signatures. by @Peefy in #698
  • fix: joined string format spec parse by @Peefy in #699
  • feat: lsp e2e test. by @He1pa in #700
  • enhance: doc parser support schema example by @amyXia1994 in #703
  • feat: lsp hover for system pkg and builtin(str) func information. by @He1pa in #702
  • feat: enhance config attr type checking by @Peefy in #707
  • bugfix: pkg completion without dot by @He1pa in #705
  • feat: impl positional argument count check for call expressions. by @Peefy in #713

Full Changelog: v0.5.6...v0.6.0

v0.6.0-alpha.1 Release

07 Sep 03:19
67ee863
Compare
Choose a tag to compare

What's Changed

  • feat: lsp hover for system pkg and builtin(str) func information. (#702)
  • enhance: doc parser support schema example by @amyXia1994 (#703)
  • feat: lsp e2e test. by @He1pa (#700)
  • fix: joined string format spec parse (#699)
  • fix: builtin function bool and str signatures. (#698)
  • refactor: sync error with spec. (#697)
  • feat: enhance system package sematic definitions and sync spec. (#696)
  • feat: add base64 and net member function types (#695)
  • fix: argument type check on too many arguments for empty parameter list (#691)
  • feat: add lambda expression and parameter error recovery by @Peefy in #692
  • fix: argument type check on too many arguments for empty parameter list by @Peefy in #691
  • feat: add base64 and net member function types by @Peefy in #695
  • feat: enhance system package sematic definitions and sync spec. by @Peefy in #696
  • refactor: sync error with spec. by @Peefy in #697
  • fix: builtin function bool and str signatures. by @Peefy in #698
  • fix: joined string format spec parse by @Peefy in #699

Full Changelog: v0.5.6...v0.6.0-alpha.1

v0.5.6 Release

31 Aug 11:09
9d07ce9
Compare
Choose a tag to compare

What's Changed

  • feat: integrate kcl fmt tools to lsp. Suport formmat single file by @He1pa in #680
  • bugfix: fix kcl lsp panic when rename k file by @He1pa in #679
  • feat: lsp range fmt by @He1pa in #682
  • feat: add resolve print options for the resolver to speedup the normal compilation process by @Peefy in #684
  • feat: lsp find_def for dict type by @He1pa in #683
  • bugfix: walk quant expr sub node when got any type of target by @He1pa in #686
  • bugfix: fix ConfigEntry and ConfigIfEntry expr position err by @He1pa in #687
  • test: add benchmarks to existing lsp tests by @He1pa in #685
  • feat: lsp completion for config expr by @He1pa in #688
  • feat: support find kcl files from 'workdir'. by @zong-zhe in #689
  • chore: bump kcl version to v0.5.6 by @Peefy in #690

Full Changelog: v0.5.5...v0.5.6

v0.5.5 Release

23 Aug 04:05
7f51ede
Compare
Choose a tag to compare

What's Changed

  • chore: bump version to 0.5.4 by @Peefy in #663
  • fix: require attr check for nested list and config values. by @Peefy in #672
  • feat: add lsp db to store compile state. by @He1pa in #665
  • feat: walk_type_ident by @He1pa in #666
  • bugfix: fix schema attr position in sema type by @He1pa in #674
  • feat: change compile unit for base.k in konfig by @He1pa in #675
  • feat: lsp quick fix by @He1pa in #652
  • fix: fix some missing diagnostics in parser. by @zong-zhe in #677
  • feat: enhance config attribute type inference through the config attribute type map. by @Peefy in #678

Full Changelog: v0.5.4...v0.5.5

v0.5.4 Release

16 Aug 03:09
e4e4b18
Compare
Choose a tag to compare

What's Changed

  • feat: enhance get schema type API with default value. by @Peefy in #658
  • feat: impl include schema type path for planned values including JSON and YAML. by @Peefy in #659
  • fix: replace "main" by package name when parse import statments in entry. by @zong-zhe in #660
  • fix: schema check failed error message. by @Peefy in #662
  • feat: support format tool error recovery and error indent/dedent code format by @Peefy in #661

Full Changelog: v0.5.3...v0.5.4

v0.5.3 Release

10 Aug 12:13
6481ce5
Compare
Choose a tag to compare

What's Changed

  • feat: diagnostic related info by @He1pa in #646
  • feat: add decorator results in the schema type API. by @Peefy in #643
  • feat: add LSP diagnostic code by @He1pa in #650
  • refactor: enhance runtime union ty check by @Peefy in #648
  • bugfix: doc parser panic when empty line length less than min margin by @He1pa in #649

Full Changelog: v0.5.2...v0.5.3

v0.5.2 Release

08 Aug 05:32
a24e30f
Compare
Choose a tag to compare

What's Changed

  • chore: add more maintainers by @Peefy in #626
  • bugfix: endless loop in if stmt error recovery by @He1pa in #630
  • bugfix: make doc parser compatible with attr : type and attr: type by @He1pa in #631
  • feat: enhance get schema type API with more information. by @Peefy in #633
  • feat: enhance lsp hover by @He1pa in #621
  • fix: fix schema instances in multiple kcl mods. by @zong-zhe in #637
  • chore: add github download badge by @Peefy in #639
  • chore: fix wrong KclType documents. by @Peefy in #640
  • Feat: Change diagnostic position from pos(start) to range(start, end) by @He1pa in #638
  • chore: remove internal/scripts folder and move it to scripts. by @Peefy in #641
  • fix: add and check the k code list to the entry. by @zong-zhe in #642
  • chore: deprecate useless runtime ty api by @Peefy in #644

Full Changelog: v0.5.1...v0.5.2

v0.5.1 Release

26 Jul 08:05
1829787
Compare
Choose a tag to compare

What's Changed

  • feat: add position for each name in identifier by @He1pa in #608
  • chore: add the maintainer file by @Peefy in #609
  • Refactor: refactor find def in LSP by @He1pa in #606
  • chore: update maintainers and adopters. by @Peefy in #611
  • bugfix: if_stmt orelse postion by @He1pa in #612
  • refactor: enhance kcl and its tool cli error message and add more tests. by @Peefy in #618
  • ci: add backport action by @Peefy in #617
  • fix: fix performance regression on resolver::parse_doc_string by @He1pa in #619
  • feat: lsp completion of pkg, var and schema attr by @He1pa in #614
  • chore: bump serde_yaml to latest to solve security issues and error test cases by @Peefy in #623
  • feat: support for taking mod relative paths as input. by @zong-zhe in #622

Full Changelog: v0.5.0...v0.5.1

v0.5.0 Release

12 Jul 13:23
64401fa
Compare
Choose a tag to compare

What's Changed

  • fix: filter expression return type. by @Peefy in #546
  • refactor: capture outside variables in lambda. by @Peefy in #548
  • chore: bump tempfile v0.3.5 and time v0.2.23 to fix CVE-2020-26235 and run cargo update. by @Peefy in #549
  • refactor: enhance kcl version info message using the vergen crate and bump kcl version to v0.4.6.3 by @Peefy in #550
  • refactor: joined string and missing key recovery for better error messages. by @Peefy in #551
  • feat: impl sort keys in setting files. by @Peefy in #552
  • feat: enhance override spec for string ident e.g., x-y-z by @Peefy in #553
  • Feat: LSP will execute 'kpm metadata' to get the localpath of the kcl dependecies. by @zong-zhe in #554
  • fix: <<= token parse. by @Peefy in #555
  • feat: top level scalar value plan. by @Peefy in #556
  • chore: bump kcl version to v0.5.x by @Peefy in #557
  • refactor: parser primary expr loc, ast pretty printer and add more tests by @Peefy in #558
  • refactor: Upgrade kclvm/cmd clap version to 4.x by @niconical in #560
  • fix: fix failed test cases and remove useless variable. by @zong-zhe in #561
  • refactor: runtime ty check and add more test cases. by @Peefy in #563
  • refactor: kcl scripts and bump kclvm to kcl by @Peefy in #564
  • chore: refactor kcl scripts and cli from local path instead of PATH by @Peefy in #566
  • feat: add '-E/--external' to api. by @zong-zhe in #567
  • fix: update go version in Dockerfile and fix bugs by @niconical in #568
  • feat: add Github Codespaces development environment support by @niconical in #570
  • fix: the type of field in ExecProgramArgs has been changed to support serialization from json str by @zong-zhe in #569
  • fix: rm the 'Result::unwrap()' in lsp. by @zong-zhe in #571
  • fix: When checking for changes to the cache, check for external packages. by @zong-zhe in #574
  • fix: fix ci, adjust the execution method of the test case to serial execution. by @zong-zhe in #575
  • chore: disable mac binary security in build scripts. by @Peefy in #579
  • chore: bump kcl version to 0.5.0-alpha.4. by @Peefy in #580
  • feat: index sign key name reference in the schema body by @Peefy in #582
  • fix: unsound schema runtime check. by @Peefy in #583
  • refactor: runner code for better error messages. by @Peefy in #584
  • refactor: value union with options. by @Peefy in #586
  • feat: enhance required attr check by @Peefy in #587
  • refactor: enhance cli error messages for run and vet commands. by @Peefy in #589
  • feat: enhance override with compact style. by @Peefy in #590
  • docs: move github codespace links to the contributing section. by @Peefy in #591
  • chore: bump cla kcl bot by @Peefy in #592
  • fix: fix empty identifier expr position by @He1pa in #593
  • feat: update github workflow by @He1pa in #599
  • Refactor: refactor pkg scope and fix contains_pos by @He1pa in #598
  • fix: runtime literal union type check. by @Peefy in #600
  • chore: bump docker namespace to kcllang. by @Peefy in #601
  • chore: bump kcl 0.5.0 artifact by @Peefy in #604
  • fix: canonicalize the symlink path in method 'canonicalize_input_files'. by @zong-zhe in #605

New Contributors

Full Changelog: v0.4.6...v0.5.0