Skip to content

Commit 4b75572

Browse files
authored
chore(deps): bump to cli to v8 (#251)
# Issue The code was depending on an old version of `code.cloudfoundry.org/cli`. # Fix Switch to `code.cloudfoundry.org/cli` `v8`
1 parent 2160154 commit 4b75572

File tree

11 files changed

+171
-126
lines changed

11 files changed

+171
-126
lines changed

.gitmodules

Lines changed: 0 additions & 27 deletions
This file was deleted.

api/apihelper.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import (
1717
"strings"
1818
"time"
1919

20-
"code.cloudfoundry.org/cli/cf/trace"
20+
"code.cloudfoundry.org/cli/v8/cf/trace"
2121

2222
"code.cloudfoundry.org/app-autoscaler-cli-plugin/models"
2323
"code.cloudfoundry.org/app-autoscaler-cli-plugin/ui"

api/cfclient.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"fmt"
55
"net/url"
66

7-
plugin_models "code.cloudfoundry.org/cli/plugin/models"
7+
plugin_models "code.cloudfoundry.org/cli/v8/plugin/models"
88

99
"code.cloudfoundry.org/app-autoscaler-cli-plugin/ui"
1010
)

api/endpoint.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"path/filepath"
1010
"strings"
1111

12-
"code.cloudfoundry.org/cli/cf/configuration/confighelpers"
12+
"code.cloudfoundry.org/cli/v8/cf/configuration/confighelpers"
1313

1414
"code.cloudfoundry.org/app-autoscaler-cli-plugin/ui"
1515
)

api/endpoint_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"net/http"
77
"os"
88

9-
"code.cloudfoundry.org/cli/plugin/pluginfakes"
9+
"code.cloudfoundry.org/cli/v8/plugin/pluginfakes"
1010
. "github.com/onsi/ginkgo/v2"
1111
. "github.com/onsi/gomega"
1212
"github.com/onsi/gomega/ghttp"

go.mod

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
module code.cloudfoundry.org/app-autoscaler-cli-plugin
22

3-
go 1.23.0
3+
go 1.25.4
44

55
require (
6-
code.cloudfoundry.org/cli v0.0.0-20240709143557-6248ca371f21
6+
code.cloudfoundry.org/cli/v8 v8.17.0
77
github.com/cloudfoundry/go-cfclient/v3 v3.0.0-alpha.16
88
github.com/fatih/color v1.18.0
99
github.com/jessevdk/go-flags v1.6.1
@@ -12,46 +12,46 @@ require (
1212
)
1313

1414
require (
15-
code.cloudfoundry.org/bytefmt v0.0.0-20230612151507-41ef4d1f67a4 // indirect
16-
code.cloudfoundry.org/tlsconfig v0.0.0-20240510172918-c1e19801fe80 // indirect
15+
code.cloudfoundry.org/bytefmt v0.57.0 // indirect
16+
code.cloudfoundry.org/jsonry v1.1.4 // indirect
17+
code.cloudfoundry.org/tlsconfig v0.39.0 // indirect
1718
github.com/Masterminds/semver/v3 v3.4.0 // indirect
1819
github.com/SermoDigital/jose v0.9.2-0.20161205224733-f6df55f235c2 // indirect
1920
github.com/blang/semver/v4 v4.0.0 // indirect
2021
github.com/bmatcuk/doublestar v1.3.4 // indirect
21-
github.com/bmizerany/pat v0.0.0-20210406213842-e4b6760bdd6f // indirect
2222
github.com/charlievieth/fs v0.0.3 // indirect
23+
github.com/clipperhouse/uax29/v2 v2.2.0 // indirect
2324
github.com/cloudfoundry/bosh-cli v6.4.1+incompatible // indirect
2425
github.com/cloudfoundry/bosh-utils v0.0.390 // indirect
2526
github.com/codegangsta/inject v0.0.0-20150114235600-33e0aa1cb7c0 // indirect
2627
github.com/cppforlife/go-patch v0.2.0 // indirect
27-
github.com/davecgh/go-spew v1.1.1 // indirect
28+
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
2829
github.com/go-logr/logr v1.4.3 // indirect
2930
github.com/go-martini/martini v0.0.0-20170121215854-22fa46961aab // indirect
3031
github.com/go-task/slim-sprig/v3 v3.0.0 // indirect
3132
github.com/google/go-cmp v0.7.0 // indirect
32-
github.com/google/pprof v0.0.0-20250403155104-27863c87afa6 // indirect
33+
github.com/google/pprof v0.0.0-20251007162407-5df77e3f7d1d // indirect
34+
github.com/google/uuid v1.6.0 // indirect
3335
github.com/lunixbochs/vtclean v1.0.0 // indirect
3436
github.com/martini-contrib/render v0.0.0-20150707142108-ec18f8345a11 // indirect
35-
github.com/mattn/go-colorable v0.1.13 // indirect
37+
github.com/mattn/go-colorable v0.1.14 // indirect
3638
github.com/mattn/go-isatty v0.0.20 // indirect
37-
github.com/mattn/go-runewidth v0.0.15 // indirect
39+
github.com/mattn/go-runewidth v0.0.19 // indirect
3840
github.com/oxtoacart/bpool v0.0.0-20190530202638-03653db5a59c // indirect
3941
github.com/pmezard/go-difflib v1.0.0 // indirect
40-
github.com/rivo/uniseg v0.2.0 // indirect
41-
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 // indirect
4242
github.com/sirupsen/logrus v1.9.3 // indirect
4343
github.com/stretchr/testify v1.11.1 // indirect
4444
github.com/vito/go-interact v1.0.0 // indirect
4545
go.yaml.in/yaml/v3 v3.0.4 // indirect
46-
golang.org/x/crypto v0.41.0 // indirect
47-
golang.org/x/mod v0.27.0 // indirect
48-
golang.org/x/net v0.43.0 // indirect
46+
golang.org/x/crypto v0.44.0 // indirect
47+
golang.org/x/mod v0.29.0 // indirect
48+
golang.org/x/net v0.47.0 // indirect
4949
golang.org/x/oauth2 v0.30.0 // indirect
50-
golang.org/x/sync v0.16.0 // indirect
51-
golang.org/x/sys v0.35.0 // indirect
52-
golang.org/x/term v0.34.0 // indirect
53-
golang.org/x/text v0.28.0 // indirect
54-
golang.org/x/tools v0.36.0 // indirect
50+
golang.org/x/sync v0.18.0 // indirect
51+
golang.org/x/sys v0.38.0 // indirect
52+
golang.org/x/term v0.37.0 // indirect
53+
golang.org/x/text v0.31.0 // indirect
54+
golang.org/x/tools v0.38.0 // indirect
5555
google.golang.org/protobuf v1.36.7 // indirect
5656
gopkg.in/cheggaaa/pb.v1 v1.0.28 // indirect
5757
gopkg.in/yaml.v2 v2.4.0 // indirect

0 commit comments

Comments
 (0)