What's Changed
- fix: fixed an issue where the 'full_name' in kcl.mod.lock changed when there was already a local dependency by @zong-zhe in #487
- refactor: refactor load package by @zong-zhe in #488
- Added trustedSum in checker module by @NishantBansal2003 in #474
- refactor: move some deperacted compilation methods into deperacted.go by @zong-zhe in #489
- refactor: split visitor from client by @zong-zhe in #490
- refactor: split resolver from client by @zong-zhe in #491
- refactor: move the tmp path into 'Download()' method in 'Downloader' by @zong-zhe in #492
- fix: fix downloader bug, missing cache update by @zong-zhe in #493
- fix: fix missing dependency information load from kcl.mod.lock by @zong-zhe in #494
- fix: fix cache paths to avoid dependency not found due to deletion of temporary paths by @zong-zhe in #497
- refactor: replaced smaller test cases and added locks for some test cases that could not be concurrent by @zong-zhe in #498
- feat: make vendor supports mvs by @zong-zhe in #495
- fix: bump test case version to fix ci by @zong-zhe in #501
- Chore: (deps): bump kcl-lang.io/kcl-go from 0.10.1 to 0.10.3 by @dependabot in #503
- feat: add OciCache to support the new local file structure for OCI by @zong-zhe in #502
- fix: bump helloworld version to fix ci by @zong-zhe in #504
- feat: GitDownloader supports cache by @zong-zhe in #505
- Chore: (deps): bump kcl-lang.io/kcl-go from 0.10.3 to 0.10.7 by @dependabot in #506
- feat: add
ModSpec
for dependency source to specify one module from source by @zong-zhe in #507 - feat: make 'run' command supports ModSpec by @zong-zhe in #510
- feat: add visitedSpace for visitor by @zong-zhe in #512
- feat: make 'pull' supports ModSpec by @zong-zhe in #511
- feat: make 'add' supports ModSpec by @zong-zhe in #514
- fix: fix test case, replace deprecated konfig with v0.10.0 by @zong-zhe in #515
- refactor: refactor test case to recovery test environment by @zong-zhe in #516
- fix: fix bugs when adding dependency without version in modspec by @zong-zhe in #517
- Chore: (deps): bump github.com/onsi/ginkgo/v2 from 2.20.2 to 2.21.0 by @dependabot in #519
- Chore: (deps): bump github.com/onsi/gomega from 1.34.2 to 1.35.1 by @dependabot in #518
- feat: support new file storage for Add with ModSpec by @zong-zhe in #521
- fix: fix parse error for ModSpec from str by @zong-zhe in #522
- fix: fix missing mod and deps not found by @zong-zhe in #523
- feat: supports rename when add dependency by @zong-zhe in #524
- fix: rm ModSpec in ToString of Source by @zong-zhe in #525
- fix: fix missing msg in api Add() by @zong-zhe in #527
- fix: update cache path after the latest version fetched by @zong-zhe in #528
- fix: fix mistakes in kcl.mod when adding deps with only ModSpec by @zong-zhe in #530
- fix: fix rename failure when adding dependeny with only source by @zong-zhe in #532
- fix: the default version of ModSpec should be not the latest version of remote repo by @zong-zhe in #533
- Chore: (deps): bump kcl-lang.io/kcl-go from 0.10.7 to 0.10.8 by @dependabot in #534
- Chore: (deps): bump github.com/containers/image/v5 from 5.32.2 to 5.33.0 by @dependabot in #536
- Chore: (deps): bump golang.org/x/mod from 0.21.0 to 0.22.0 by @dependabot in #535
- fix: fill the default source info when pull with only ModSpec by @zong-zhe in #537
- feat: add a test case for 'k8s = {version = "1.27"}' by @zong-zhe in #539
- refactor: refactor command graph based on resolver by @zong-zhe in #540
- fix: add default settings for API LoadKclPkgWithOpts by @zong-zhe in #541
- fix: fix redownload when the remote repo has no mod file by @zong-zhe in #542
- feat: supports add submod by ModSpec by @zong-zhe in #543
- fix: fixed an issue where dependencies could not be downloaded under the new storage structure by @zong-zhe in #544
- refactor: the same traversing tripartite dependency logics are moved … by @zong-zhe in #545
- fix: fill the missing checksum in kcl.mod.lock in api Update by @zong-zhe in #546
- fix: fix typo by @zong-zhe in #548
- fix: replace all the hyphen to underscore in ModRelativePath by @zong-zhe in #538
- fix: fix 'edge already exists' when kpm run by @zong-zhe in #549
- fix: fix missing path in metadata by @zong-zhe in #551
- Chore: (deps): bump github.com/onsi/gomega from 1.35.1 to 1.36.0 by @dependabot in #554
- feat: add checksum in kpm workflow by @NishantBansal2003 in #520
- [PreTest] Technical proposal for the checksum check of the three-party dependencies by @NishantBansal2003 in #431
- [PRETEST 1, 2, 3]: Added an overall proposal to implement cache support using bare repo for managing third-party dependencies by @Manoramsharma in #423
- Chore: (deps): bump github.com/onsi/ginkgo/v2 from 2.21.0 to 2.22.0 by @dependabot in #553
- Chore: (deps): bump github.com/stretchr/testify from 1.9.0 to 1.10.0 by @dependabot in #552
- Chore: (deps): bump github.com/urfave/cli/v2 from 2.25.0 to 2.27.5 by @dependabot in #500
- fix: rm useless test cases by @zong-zhe in #555
- fix: add a test cases for issue 266 by @zong-zhe in #556
- feat: add API for checker and support mod checking in update by @zong-zhe in #557
- Chore: (deps): bump github.com/elliotchance/orderedmap/v2 from 2.4.0 to 2.5.0 by @dependabot in #558
- chore: Clean deprecated methods by @zong-zhe in #559
- feat: add more test cases for api 'Init' by @zong-zhe in #560
- fix: fix missing tag in command push by @zong-zhe in #561
- fix: bump kcl-go version to 0.11.0-alpha.1 by @zong-zhe in #563
- fix: Remove the auto-updating for kcl.mod when using command metadata. by @zong-zhe in #565
- feat: add a switch to control the auto-updating for mod file by @zong-zhe in #566
- Chore: (deps): bump github.com/elliotchance/orderedmap/v2 from 2.5.0 to 2.6.0 by @dependabot in #564
- Chore: (deps): bump github.com/onsi/gomega from 1.36.0 to 1.36.1 by @dependabot in #568
- fix: replace all method 'os.Rename' with method 'utils.MoveOrCopy' by @zong-zhe in #567
- chore: bump version to 0.11.0 by @zong-zhe in #570
- fix: fix missing feature flag for mvs by @zong-zhe in #571
- test: add a test case for kcl issue 1788 by @zong-zhe in #572
- test: add more test cases for the new storage by @zong-zhe in #574
Full Changelog: v0.10.0...v0.11.0