Releases: kcl-lang/kpm
Releases · kcl-lang/kpm
v0.11.0
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
v0.11.0-alpha.2
What's Changed
- 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
Full Changelog: v0.11.0-alpha.1...v0.11.0-alpha.2
v0.11.0-alpha.1
Changelog
- 555dc10 Merge pull request #549 from kcl-lang/fix-dep-exist-bug
- 87b7f0b fix: fix test case TestRunWithOciDownloader
- 5dc9e57 fix: fix test case testVendorDeps
- 697a41e fix: fix test case testCompileWithEntryFile
- 0ab9a8a fix: fix test case testCompileWithEntryFile
- cb101f9 fix: fix test case
- 80505ad fix: fix 'edge already exists' when kpm run
- f007a54 fix: replace all the hyphen to underscore in ModRelativePath (#538)
- 7b13434 fix: fix typo (#548)
- 840dc89 fix: fill the missing checksum in kcl.mod.lock in api Update (#546)
- ad777e1 refactor: the same traversing tripartite dependency logics are moved … (#545)
- d591035 fix: fixed an issue where dependencies could not be downloaded under the new storage structure (#544)
- c99c0f5 Merge pull request #543 from kcl-lang/find-submod-by-spec
- 6ffa568 fix: fix typo
- 4b685a7 fix: fix test cases
- 7e4afbd fix: fix test case
- 9927b97 fix: fix test case
- 20e9257 fix: fix typo
- db441b5 fix: fix if cases
- a1ad9b5 feat: supports add submod by ModSpec
- 6b2c011 fix: fix redownload when the remote repo has no mod file (#542)
- e828ddd Merge pull request #541 from kcl-lang/add-default-settings
- 6a19493 fix: fix if case
- f336504 fix: add default settings for API LoadKclPkgWithOpts
- 8cf5a37 Merge pull request #540 from kcl-lang/refactor-graph
- 1bdd5fe refactor: refactor command graph based on resolver
- 29013ca Merge pull request #539 from kcl-lang/add-test-case
- b25662a fix: add global lock for test case
- 3353eff feat: add a test case for 'k8s = {version = "1.27"}'
- e41835e fix: fill the default source info when pull with only ModSpec (#537)
- 8c15131 Merge pull request #535 from kcl-lang/dependabot/go_modules/golang.org/x/mod-0.22.0
- 795fea5 Chore: (deps): bump golang.org/x/mod from 0.21.0 to 0.22.0
- 8caf8f3 Merge pull request #536 from kcl-lang/dependabot/go_modules/github.com/containers/image/v5-5.33.0
- cd8f8ce Merge pull request #534 from kcl-lang/dependabot/go_modules/kcl-lang.io/kcl-go-0.10.8
- 304017e Chore: (deps): bump github.com/containers/image/v5 from 5.32.2 to 5.33.0
- a60ba36 Chore: (deps): bump kcl-lang.io/kcl-go from 0.10.7 to 0.10.8
- c64bcc3 Merge pull request #533 from kcl-lang/fix-default-spec-version
- bf1256f fix: add unit test case
- 0d08395 fix: fix wrong default version for ModSpec
- bd9e788 Merge pull request #532 from kcl-lang/fix-rename-no-spec
- a7f72fc fix: rm useless code changes
- b1e1982 fix: fix nil
- 806307c fix: fix rename failure when adding dependeny with only source
- 5de98e2 fix: fix mistakes in kcl.mod when adding deps with only ModSpec (#530)
- 70859ab fix: update cache path after the latest version fetched (#528)
- 9be5761 fix: fix missing msg in api Add() (#527)
- b05e196 Merge pull request #525 from kcl-lang/rm-modspec-tostring
- d55c114 fix: rm ModSpec in ToString of Source
- 1e2a6a9 feat: supports rename when add dependency (#524)
- 735bff3 Merge pull request #523 from kcl-lang/fix-missing-mod-spec
- 657392d fix: add 'WithModSpec' for api 'Pull', 'Add' and 'Run'
- 43c507c fix: fix windows path
- 636b1e2 fix: supports the default version for git repo
- 5f3251d feat: add some comments
- d13144d fix: add missing ModSpec
- bc053bc Merge pull request #522 from zong-zhe/fix-parse-modspec
- 9c86e81 fix: fix parse error for ModSpec from str
- f5ac204 Merge pull request #521 from zong-zhe/support-new-local
- ff54d0d feat: support new file storage for Add with ModSpec
- ad7789d Merge pull request #518 from kcl-lang/dependabot/go_modules/github.com/onsi/gomega-1.35.1
- b507ab8 Chore: (deps): bump github.com/onsi/gomega from 1.34.2 to 1.35.1
- bc85723 Merge pull request #519 from kcl-lang/dependabot/go_modules/github.com/onsi/ginkgo/v2-2.21.0
- 9c4e957 Chore: (deps): bump github.com/onsi/ginkgo/v2 from 2.20.2 to 2.21.0
- 58f2058 Merge pull request #517 from zong-zhe/fix-empty-version
- e4f3484 fix: restart github action
- abb24d1 fix: fix typo
- c0a41a1 fix: add LatestVersion for gitdownloader
- 3f395ec fix: 'opts DownloadOptions' to 'opts *DownloadOptions' for downloader
- a386356 fix: fix typo
- 4a99683 fix: fix typo
- 2437ce2 fix: fix bugs when adding dependency without version in modspec
- fa23c82 refactor: refactor test case to recovery test environment (#516)
- 3ad0838 Merge pull request #515 from zong-zhe/fix-test-case
- 359548a fix: fix test case, replace deprecated konfig with v0.10.0
- d85a0b3 feat: make 'add' supports ModSpec (#514)
- 0fcf7a6 feat: make 'pull' supports ModSpec (#511)
- 83bfcbc feat: add visitedSpace for visitor (#512)
- e9b0854 feat: make 'run' command supports ModSpec (#510)
- ab68fb5 feat: add
ModSpec
for dependency source to specify one module from source (#507) - f48b8b4 Merge pull request #506 from kcl-lang/dependabot/go_modules/kcl-lang.io/kcl-go-0.10.7
- 626a99a Chore: (deps): bump kcl-lang.io/kcl-go from 0.10.3 to 0.10.7
- 6447f25 Merge pull request #505 from zong-zhe/git-downloader-cache
- 3c1a6cf fix: fix windows test case
- 18e3b97 fix: fix test case
- 7f7f6cc feat: GitDownloader supports cache
- 361570e fix: bump helloworld version to fix ci (#504)
- 1566616 Merge pull request #502 from zong-zhe/oci-downloader-cache
- d3b0429 fix: move cache to OciDownloader
- 22bfaf0 Merge pull request #503 from kcl-lang/dependabot/go_modules/kcl-lang.io/kcl-go-0.10.3
- cd5ed79 Chore: (deps): bump kcl-lang.io/kcl-go from 0.10.1 to 0.10.3
- 2bf947d fix: fix typo
- a51c5a1 fix: fix CR comments, use PkgCache replace Oci/GitCache
- 8fa5482 fix: fix windows test case, replace '//' by '/' in hashed url
- ee6b6cb fix: add some comments
- 59f6381 fix: fix windows test case
- 438de1c feat: add OciCache to support the new local file structure for OCI
- fb05312 fix: bump test case version to fix ci (#501)
- 3875e75 Merge pull request #495 from zong-zhe/refactor-vendor
- eb0e155 fix: fix test
- 10558bf fix: add feature flag
- 42c86e3 fix: rebase main
- 8fd77d8 feat: make vendor supports mvs
- da30726 Merge pull request #498 from zong-zhe/fix-win-ci
- 7cb9a4f refactor: replaced smaller test cases and added locks for some test cases that could not be concurrent
- 167011e Merge pull request #497 from zong-zhe/fix-cache-path
- 53095ea fix: fix cache path
- ea2faeb Merge pull request #494 from zong-zhe/fix-load-bug
- 29c6475 fix: fix missing dependency information load from kcl.mod.lock
- 1422034 Merge pull request #493 from zong-zhe/fix-download-bug
- ae6c210...
v0.10.0
What's Changed
- fix: rm the generation of kcl.mod when compile virtual package by @zong-zhe in #437
- [PRETEST]: Added support for bare repo in clone function of git module by @Manoramsharma in #419
- fix: fix kcl.yaml missing bug when kcl run by @zong-zhe in #443
- Chore: (deps): bump github.com/onsi/ginkgo/v2 from 2.19.1 to 2.20.0 by @dependabot in #448
- chore: bump container image module to v5.32.1 by @Peefy in #451
- Chore: (deps): bump github.com/elliotchance/orderedmap/v2 from 2.2.0 to 2.4.0 by @dependabot in #454
- Chore: (deps): bump github.com/hashicorp/go-getter from 1.7.5 to 1.7.6 by @dependabot in #456
- Chore: (deps): bump kcl-lang.io/kcl-go from 0.10.0-alpha.3 to 0.10.0-beta.1 by @dependabot in #455
- Sparse checkout - kcl mod add --package by @officialasishkumar in #453
- Sync update and metadata with package flag (sparse checkout) by @officialasishkumar in #457
- fix: fix the auth fail for pull by @zong-zhe in #458
- fix vendor mode for metadata and test case by @officialasishkumar in #459
- refactor: mod init format by @Peefy in #460
- Chore: (deps): bump github.com/containers/image/v5 from 5.32.1 to 5.32.2 by @dependabot in #462
- Chore: (deps): bump github.com/onsi/ginkgo/v2 from 2.20.0 to 2.20.1 by @dependabot in #464
- Chore: (deps): bump kcl-lang.io/kcl-go from 0.10.0-beta.1 to 0.10.0-beta.2 by @dependabot in #463
- feat: add resolver for dependency resolving by @zong-zhe in #467
- added design doc for sparse checkout by @officialasishkumar in #335
- Rename fullname to reponame by @officialasishkumar in #466
- fix: fix run bug when compile single k files without kcl.mod by @zong-zhe in #468
- fix: add a test case for compile non-k file by @zong-zhe in #469
- added checker module to validate kpm three-party dependencies by @NishantBansal2003 in #470
- feat: add a test case for wildcard path by @zong-zhe in #471
- feat: Ignore tls when pull image by @Manoramsharma in #449
- Chore: (deps): bump github.com/onsi/gomega from 1.34.1 to 1.34.2 by @dependabot in #473
- Chore: (deps): bump github.com/onsi/ginkgo/v2 from 2.20.1 to 2.20.2 by @dependabot in #472
- chore: bump kcl-go deps to v0.10.0-rc.1 by @Peefy in #475
- feat:
kpm update
support mvs algorithm by @zong-zhe in #477 - Chore: (deps): bump golang.org/x/mod from 0.20.0 to 0.21.0 by @dependabot in #479
- feat: add feature gate to controll new features by @zong-zhe in #481
- fix: fix missing path in metadata by @zong-zhe in #482
- fix: fix a bug when check cyclic dependeny by @zong-zhe in #483
- chore: bump kcl go version to v0.10.1 by @Peefy in #485
New Contributors
- @NishantBansal2003 made their first contribution in #470
Full Changelog: v0.9.6...v0.10.0
v0.10.0-rc.1
What's Changed
- Chore: (deps): bump github.com/containers/image/v5 from 5.32.1 to 5.32.2 by @dependabot in #462
- Chore: (deps): bump github.com/onsi/ginkgo/v2 from 2.20.0 to 2.20.1 by @dependabot in #464
- Chore: (deps): bump kcl-lang.io/kcl-go from 0.10.0-beta.1 to 0.10.0-beta.2 by @dependabot in #463
- feat: add resolver for dependency resolving by @zong-zhe in #467
- added design doc for sparse checkout by @officialasishkumar in #335
- Rename fullname to reponame by @officialasishkumar in #466
- fix: fix run bug when compile single k files without kcl.mod by @zong-zhe in #468
- fix: add a test case for compile non-k file by @zong-zhe in #469
- added checker module to validate kpm three-party dependencies by @NishantBansal2003 in #470
- feat: add a test case for wildcard path by @zong-zhe in #471
- feat: Ignore tls when pull image by @Manoramsharma in #449
- Chore: (deps): bump github.com/onsi/gomega from 1.34.1 to 1.34.2 by @dependabot in #473
- Chore: (deps): bump github.com/onsi/ginkgo/v2 from 2.20.1 to 2.20.2 by @dependabot in #472
- chore: bump kcl-go deps to v0.10.0-rc.1 by @Peefy in #475
New Contributors
- @NishantBansal2003 made their first contribution in #470
Full Changelog: v0.10.0-beta.2...v0.10.0-rc.1
v0.10.0-beta.2
What's Changed
- Sync update and metadata with package flag (sparse checkout) by @officialasishkumar in #457
- fix: fix the auth fail for pull by @zong-zhe in #458
- fix vendor mode for metadata and test case by @officialasishkumar in #459
- refactor: mod init format by @Peefy in #460
Full Changelog: v0.10.0-beta.1...v0.10.0-beta.2
v0.10.0-beta.1
What's Changed
- Chore: (deps): bump github.com/onsi/ginkgo/v2 from 2.19.1 to 2.20.0 by @dependabot in #448
- chore: bump container image module to v5.32.1 by @Peefy in #451
- Chore: (deps): bump github.com/elliotchance/orderedmap/v2 from 2.2.0 to 2.4.0 by @dependabot in #454
- Chore: (deps): bump github.com/hashicorp/go-getter from 1.7.5 to 1.7.6 by @dependabot in #456
- Chore: (deps): bump kcl-lang.io/kcl-go from 0.10.0-alpha.3 to 0.10.0-beta.1 by @dependabot in #455
- Sparse checkout - kcl mod add --package by @officialasishkumar in #453
Full Changelog: v0.10.0-alpha.3...v0.10.0-beta.1
v0.10.0-alpha.3 Release
What's Changed
Full Changelog: v0.10.0-alpha.2...v0.10.0-alpha.3
v0.10.0-alpha.2 Release
What's Changed
- bug: extra line bothering kcl.mod by @briheet in #436
- fix: fix missing options in kcl run by @zong-zhe in #439
- fix: rm the generation of kcl.mod when compile virtual package by @zong-zhe in #437
- [PRETEST]: Added support for bare repo in clone function of git module by @Manoramsharma in #419
New Contributors
Full Changelog: v0.10.0-alpha.1...v0.10.0-alpha.2