Skip to content

Commit 4dc7088

Browse files
authored
Merge pull request #281 from kcl-lang/chore-bump-kcl-go-version
chore: bump kcl-go to v0.12.0-rc.1
2 parents 9993f66 + 72eaae8 commit 4dc7088

File tree

8 files changed

+108
-94
lines changed

8 files changed

+108
-94
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ coverage.out
3030

3131
build/
3232
.vscode/
33-
.kclvm/
33+
.kcl/
3434
_kcl_test.k
3535

3636
.DS_store

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.11.2
1+
0.12.0-rc.1

cmd/kcl/commands/clean.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,12 @@ func cmdBox(msg string, assumeYes bool) bool {
7373

7474
func cleanBuildCache(pwd string) error {
7575
cachePaths := []string{
76-
filepath.Join(pwd, ".kclvm/cache"),
77-
filepath.Join(pwd, "__main__/.kclvm/cache"),
76+
filepath.Join(pwd, ".kcl/cache"),
77+
filepath.Join(pwd, "__main__/.kcl/cache"),
7878
}
7979
pkgroot, err := utils.FindPkgRoot(pwd)
8080
if err == nil {
81-
cachePaths = append(cachePaths, filepath.Join(pkgroot, ".kclvm/cache"), filepath.Join(pkgroot, "__main__/.kclvm/cache"))
81+
cachePaths = append(cachePaths, filepath.Join(pkgroot, ".kcl/cache"), filepath.Join(pkgroot, "__main__/.kcl/cache"))
8282
}
8383
for _, cachePath := range cachePaths {
8484
if fs.IsDir(cachePath) {

cmd/kcl/commands/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const (
2020
curl -X POST http://127.0.0.1:2021/api:protorpc/BuiltinService.ListMethod --data '{}'
2121
2222
# Use the Run API
23-
curl -X POST http://127.0.0.1:2021/api:protorpc/KclvmService.ExecProgram -H "accept: application/json" --data '{"k_filename_list": ["main.k"]}'`
23+
curl -X POST http://127.0.0.1:2021/api:protorpc/KclService.ExecProgram -H "accept: application/json" --data '{"k_filename_list": ["main.k"]}'`
2424
)
2525

2626
var (

cmd/kcl/commands/vet.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ func validateFile(dataFile, codeFile string, opts *validate.ValidateOptions) (ok
9696
opts = &validate.ValidateOptions{}
9797
}
9898
svc := kcl.Service()
99-
resp, err := svc.ValidateCode(&gpyrpc.ValidateCode_Args{
99+
resp, err := svc.ValidateCode(&gpyrpc.ValidateCodeArgs{
100100
Datafile: dataFile,
101101
File: codeFile,
102102
Schema: opts.Schema,

go.mod

Lines changed: 23 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ require (
88
github.com/onsi/gomega v1.38.2
99
github.com/spf13/cobra v1.10.1
1010
github.com/stretchr/testify v1.11.1
11-
kcl-lang.io/kcl-go v0.11.3
11+
kcl-lang.io/kcl-go v0.12.0-rc.1
1212
kcl-lang.io/kcl-openapi v0.10.0
1313
kcl-lang.io/kcl-plugin v0.11.0
14-
kcl-lang.io/kpm v0.11.4
14+
kcl-lang.io/kpm v0.12.0-rc.1
1515
)
1616

1717
require (
1818
cloud.google.com/go v0.112.1 // indirect
19-
cloud.google.com/go/compute/metadata v0.6.0 // indirect
19+
cloud.google.com/go/compute/metadata v0.9.0 // indirect
2020
cloud.google.com/go/iam v1.1.6 // indirect
2121
cloud.google.com/go/storage v1.38.0 // indirect
2222
github.com/Masterminds/semver/v3 v3.4.0 // indirect
@@ -34,7 +34,7 @@ require (
3434
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
3535
github.com/dchest/siphash v1.2.3 // indirect
3636
github.com/distribution/reference v0.6.0 // indirect
37-
github.com/ebitengine/purego v0.8.3-0.20250507171810-1638563e3615 // indirect
37+
github.com/ebitengine/purego v0.9.1 // indirect
3838
github.com/elliotchance/orderedmap/v2 v2.7.0 // indirect
3939
github.com/emicklei/proto v1.14.2 // indirect
4040
github.com/felixge/httpsnoop v1.0.4 // indirect
@@ -67,19 +67,20 @@ require (
6767
github.com/ulikunitz/xz v0.5.12 // indirect
6868
github.com/valyala/bytebufferpool v1.0.0 // indirect
6969
github.com/valyala/fasthttp v1.58.0 // indirect
70+
github.com/woodsbury/decimal128 v1.3.0 // indirect
7071
go.opencensus.io v0.24.0 // indirect
71-
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
72+
go.opentelemetry.io/auto/sdk v1.2.1 // indirect
7273
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0 // indirect
7374
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.60.0 // indirect
74-
go.opentelemetry.io/otel/metric v1.35.0 // indirect
75+
go.opentelemetry.io/otel/metric v1.38.0 // indirect
7576
go.yaml.in/yaml/v3 v3.0.4 // indirect
76-
golang.org/x/oauth2 v0.30.0 // indirect
77+
golang.org/x/oauth2 v0.32.0 // indirect
7778
golang.org/x/time v0.11.0 // indirect
7879
google.golang.org/api v0.169.0 // indirect
7980
google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de // indirect
80-
google.golang.org/genproto/googleapis/api v0.0.0-20250324211829-b45e905df463 // indirect
81-
google.golang.org/genproto/googleapis/rpc v0.0.0-20250324211829-b45e905df463 // indirect
82-
kcl-lang.io/lib v0.11.2 // indirect
81+
google.golang.org/genproto/googleapis/api v0.0.0-20251022142026-3a174f9686a8 // indirect
82+
google.golang.org/genproto/googleapis/rpc v0.0.0-20251022142026-3a174f9686a8 // indirect
83+
kcl-lang.io/lib v0.12.0-rc.1 // indirect
8384
)
8485

8586
require (
@@ -109,7 +110,7 @@ require (
109110
github.com/dominikbraun/graph v0.23.0 // indirect
110111
github.com/emirpasic/gods v1.18.1 // indirect
111112
github.com/fatih/color v1.18.0
112-
github.com/getkin/kin-openapi v0.132.0 // indirect
113+
github.com/getkin/kin-openapi v0.133.0 // indirect
113114
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
114115
github.com/go-git/go-billy/v5 v5.6.2 // indirect
115116
github.com/go-git/go-git/v5 v5.16.2 // indirect
@@ -176,19 +177,19 @@ require (
176177
github.com/ugorji/go/codec v1.2.11 // indirect
177178
github.com/wk8/go-ordered-map/v2 v2.1.8 // indirect
178179
github.com/xanzy/ssh-agent v0.3.3 // indirect
179-
github.com/yuin/goldmark v1.7.12 // indirect
180+
github.com/yuin/goldmark v1.7.13 // indirect
180181
go.mongodb.org/mongo-driver v1.14.0 // indirect
181-
go.opentelemetry.io/otel v1.35.0 // indirect
182-
go.opentelemetry.io/otel/trace v1.35.0 // indirect
183-
golang.org/x/crypto v0.43.0 // indirect
182+
go.opentelemetry.io/otel v1.38.0 // indirect
183+
go.opentelemetry.io/otel/trace v1.38.0 // indirect
184+
golang.org/x/crypto v0.44.0 // indirect
184185
golang.org/x/mod v0.30.0
185-
golang.org/x/net v0.46.0 // indirect
186-
golang.org/x/sync v0.17.0 // indirect
187-
golang.org/x/sys v0.37.0 // indirect
188-
golang.org/x/text v0.30.0 // indirect
189-
golang.org/x/tools v0.38.0 // indirect
190-
google.golang.org/grpc v1.73.0 // indirect
191-
google.golang.org/protobuf v1.36.7 // indirect
186+
golang.org/x/net v0.47.0 // indirect
187+
golang.org/x/sync v0.18.0 // indirect
188+
golang.org/x/sys v0.38.0 // indirect
189+
golang.org/x/text v0.31.0 // indirect
190+
golang.org/x/tools v0.39.0 // indirect
191+
google.golang.org/grpc v1.77.0 // indirect
192+
google.golang.org/protobuf v1.36.10 // indirect
192193
gopkg.in/inf.v0 v0.9.1 // indirect
193194
gopkg.in/warnings.v0 v0.1.2 // indirect
194195
gopkg.in/yaml.v2 v2.4.0 // indirect

0 commit comments

Comments
 (0)