Skip to content

Commit fe8c80c

Browse files
Bump go-fastly to v12.0.0 (#1541)
1 parent eb48bb1 commit fe8c80c

470 files changed

Lines changed: 517 additions & 501 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.md

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,18 @@
99
### Bug fixes:
1010

1111
### Dependencies:
12+
1213
- build(deps): `golang.org/x/net` from 0.43.0 to 0.44.0 ([#1538](https://github.com/fastly/cli/pull/1538))
14+
- build(deps): `github.com/fastly/go-fastly/v11` from 11.3.1 to 12.0.0 ([#1541](https://github.com/fastly/cli/pull/1541))
1315

1416
## [v12.0.0](https://github.com/fastly/cli/releases/tag/v12.0.0) (2025-09-10)
1517

1618
### Breaking:
19+
1720
- breaking(kvstoreentry): The 'describe' command now returns only key attributes (ie: generation, metadata) instead of a given key's value ([#1529](https://github.com/fastly/cli/pull/1529))
1821

1922
### Enhancements:
23+
2024
- feat(logging): Add support for 'CompressionCodec' and 'GzipLevel' attribute to the HTTPS endpoint.
2125
- feat(kvstoreentry): Add support for the 'prefix' parameter for List operations ([#1526](https://github.com/fastly/cli/pull/1526))
2226
- feat(kvstoreentry): Add support for the add, append, prepend, metadata, if_generation_match, and background_fetch 'create' command operations ([#1529](https://github.com/fastly/cli/pull/1529))
@@ -25,9 +29,11 @@
2529
- feat(kvstoreentry): Add the 'get' command operation which obtains the value of the item ([#1529](https://github.com/fastly/cli/pull/1529))
2630

2731
### Bug fixes:
32+
2833
- fix(manifest): Ensure pushpin section is persisted during manifest file update ([#1535](https://github.com/fastly/cli/pull/1535))
2934

3035
### Dependencies:
36+
3137
- build(deps): `github.com/ulikunitz/xz` from 0.5.12 to 0.5.13 ([#1524](https://github.com/fastly/cli/pull/1524))
3238
- build(deps): `github.com/stretchr/testify` from 1.10.0 to 1.11.0 ([#1527](https://github.com/fastly/cli/pull/1527))
3339
- build(deps): `github.com/ulikunitz/xz` from 0.5.13 to 0.5.14 ([#1528](https://github.com/fastly/cli/pull/1528))
@@ -47,13 +53,15 @@
4753
## [v11.5.0](https://github.com/fastly/cli/releases/tag/v11.5.0) (2025-08-20)
4854

4955
### Enhancements:
56+
5057
- feat(vcl): Allow showing of generated VCL for a service version [#1498](https://github.com/fastly/cli/pull/1498)
5158
- feat(compute/serve): Add experimental "enable Pushpin" mode ([#1509](https://github.com/fastly/cli/pull/1509), [#1520](https://github.com/fastly/cli/pull/1520))
5259
- feat(object-storage): improve access-keys list output ([#1513](https://github.com/fastly/cli/pull/1513))
5360
- refactor(domainv1,tools): use updated go-fastly domainmanagement imports and types ([#1517](https://github.com/fastly/cli/pull/1517))
5461
- feat(imageoptimizerdefaults): Support for retrieving and updating Image Optimizer defaults for a given VCL service ([#1518](https://github.com/fastly/cli/pull/1518))
5562

5663
### Dependencies:
64+
5765
- build(deps): `github.com/fastly/go-fastly/v11` from 10 to 111 ([#14XX](https://github.com/fastly/cli/pull/14XX))
5866
- build(deps): `golang.org/x/sys` from 0.33.0 to 0.34.0 ([#1508](https://github.com/fastly/cli/pull/1508))
5967
- build(deps): `golang.org/x/term` from 0.32.0 to 0.33.0 ([#1508](https://github.com/fastly/cli/pull/1508))
@@ -80,9 +88,11 @@
8088
- feat(env): Add environment variable for extending the UserAgent string. ([#1502](https://github.com/fastly/cli/pull/1502))
8189

8290
### Bug fixes:
91+
8392
- fix(sso): Ensure that OPTIONS requests sent by browsers do not break SSO authentication. ([#1496](https://github.com/fastly/cli/pull/1496))
8493

8594
### Dependencies:
95+
8696
- build(deps): `github.com/fastly/go-fastly/v10` from 10.3.0 to 10.4.0 ([#1499](https://github.com/fastly/cli/pull/1499))
8797
- build(deps): `stefanzweifel/git-auto-commit-action` from 5 to 6 ([#1497](https://github.com/fastly/cli/pull/1497))
8898
- build(deps): `github.com/fastly/go-fastly/v10` from 10.4.0 to 10.5.0 ([#1501](https://github.com/fastly/cli/pull/1501))
@@ -93,17 +103,20 @@
93103
## [v11.3.0](https://github.com/fastly/cli/releases/tag/v11.3.0) (2025-06-11)
94104

95105
### Enhancements:
106+
96107
- feat(config-store): Allow for dynamic limits on Config Store entry lengths ([#1485](https://github.com/fastly/cli/pull/1485))
97108
- feat(backend): Add support for 'prefer IPv6' attribute. ([#1487](https://github.com/fastly/cli/pull/1487))
98109
- feat(tools/domain): add `suggest` and `status` domain tools endpoints ([#1482](https://github.com/fastly/cli/pull/1482))
99110
- feat(logging): Add support for 'processing region' attribute. ([#1491](https://github.com/fastly/cli/pull/1491))
100111
- feat(domains): add `description` to `domainv1` endpoints ([#1483](https://github.com/fastly/cli/pull/1483))
101112

102113
### Bug fixes:
114+
103115
- fix(sso): Don't display the token after authentication. ([#1490](https://github.com/fastly/cli/pull/1490))
104116
- fix(service-version): Stop hiding the 'stage' and 'unstage' commands. ([#1492](https://github.com/fastly/cli/pull/1492))
105117

106118
### Dependencies:
119+
107120
- build(deps): `github.com/fastly/go-fastly/v10` from 10.0.1 to 10.1.0 ([#1476](https://github.com/fastly/cli/pull/1476))
108121
- build(deps): `github.com/fastly/go-fastly/v10` from 10.0.0 to 10.0.1 ([#1467](https://github.com/fastly/cli/pull/1467))
109122
- build(deps): `golang.org/x/net` from 0.37.0 to 0.39.0 ([#1467](https://github.com/fastly/cli/pull/1467))
@@ -144,6 +157,7 @@
144157
- fix(language/rust): Check for wasm32-wasi output from build process and inform user how to reconfigure their project. [#1458](https://github.com/fastly/cli/pull/1458)
145158

146159
### Dependencies:
160+
147161
- dep(go.mod): upgrade go-fastly from v9 to v10 [#1448](https://github.com/fastly/cli/pull/1448)
148162
- build(deps): `golang.org/x/oauth2` from 0.28.0 to 0.29.0 ([#1451](https://github.com/fastly/cli/pull/1451))
149163
- build(deps): `golang.org/x/sys` from 0.31.0 to 0.32.0 ([#1454](https://github.com/fastly/cli/pull/1454))
@@ -172,10 +186,12 @@
172186
- breaking(compute/pack): use package name from manifest [#1025](https://github.com/fastly/cli/pull/1025)
173187

174188
### Enhancements:
189+
175190
- fix(compute/init): Updates for renamed TypeScript default starter kit [#1405](https://github.com/fastly/cli/pull/1405)
176191
- feat(objectstorage/accesskeys): add support for access keys [#1428](https://github.com/fastly/cli/pull/1428)
177192

178193
### Dependencies
194+
179195
- build(deps): upgrade Go from 1.22 to 1.23 ([#624](https://github.com/fastly/cli/pull/1414))
180196
- build(deps): `github.com/rogpeppe/go-internal` from 1.13.1 to 1.14.1 ([#1416](https://github.com/fastly/cli/pull/1416))
181197
- build(deps): `golang.org/x/crypto` from 0.33.0 to 0.35.0 ([#1417](https://github.com/fastly/cli/pull/1417))
@@ -886,7 +902,7 @@ This release introduces a breaking interface change to the `kv-store-entry` comm
886902

887903
**Dependencies:**
888904

889-
- build(deps): bump github.com/fastly/go-fastly/v8 from 8.0.0 to 8.0.1 [#926](https://github.com/fastly/cli/pull/926)
905+
- build(deps): bump github.com/fastly/go-fastly/v8 from 8.0.0 to 8.0.1 [#926](https://github.com/fastly/cli/pull/926)
890906
- build(deps): bump golang.org/x/term from 0.7.0 to 0.8.0 [#928](https://github.com/fastly/cli/pull/928)
891907
- build(deps): bump github.com/getsentry/sentry-go from 0.20.0 to 0.21.0 [#929](https://github.com/fastly/cli/pull/929)
892908
- build(deps): bump golang.org/x/crypto from 0.8.0 to 0.9.0 [#934](https://github.com/fastly/cli/pull/934)
@@ -2522,7 +2538,7 @@ a single character (e.g. `--k` and `--v`). These were corrected to `--key` and
25222538

25232539
**Bug fixes:**
25242540

2525-
- Ensure compute deploy selects the most ideal version to clone/activate [#50](https://github.com/fastly/cli/pull/50)
2541+
- Ensure compute deploy selects the most ideal version to clone/activate [#50](https://github.com/fastly/cli/pull/50)
25262542

25272543
## [v0.7.0](https://github.com/fastly/cli/releases/tag/v0.7.0) (2020-04-28)
25282544

@@ -2612,4 +2628,4 @@ a single character (e.g. `--k` and `--v`). These were corrected to `--key` and
26122628

26132629
Initial release :tada:
26142630

2615-
\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
2631+
\* _This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)_

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ require (
2727
)
2828

2929
require (
30-
github.com/fastly/go-fastly/v11 v11.3.1
3130
github.com/hashicorp/cap v0.10.0
3231
github.com/kennygrant/sanitize v1.2.4
3332
github.com/otiai10/copy v1.14.1
@@ -82,5 +81,6 @@ require (
8281

8382
require (
8483
4d63.com/optional v0.2.0
84+
github.com/fastly/go-fastly/v12 v12.0.0
8585
github.com/mitchellh/go-ps v1.0.0
8686
)

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ github.com/dsnet/compress v0.0.2-0.20210315054119-f66993602bf5/go.mod h1:qssHWj6
2525
github.com/dsnet/golib v0.0.0-20171103203638-1ea166775780/go.mod h1:Lj+Z9rebOhdfkVLjJ8T6VcRQv3SXugXy999NBtR9aFY=
2626
github.com/dustinkirkland/golang-petname v0.0.0-20240428194347-eebcea082ee0 h1:aYo8nnk3ojoQkP5iErif5Xxv0Mo0Ga/FR5+ffl/7+Nk=
2727
github.com/dustinkirkland/golang-petname v0.0.0-20240428194347-eebcea082ee0/go.mod h1:8AuBTZBRSFqEYBPYULd+NN474/zZBLP+6WeT5S9xlAc=
28-
github.com/fastly/go-fastly/v11 v11.3.1 h1:GiBDf9k1Xh5yT1hAD64EC8WDiBScDETNh1gfDP0gCaA=
29-
github.com/fastly/go-fastly/v11 v11.3.1/go.mod h1:sphV7DVAKUZT30O1h9m9Lw9DbB0kC3CnQUOhVI3gaeo=
28+
github.com/fastly/go-fastly/v12 v12.0.0 h1:jfL+AtA4OBrSpx4S/HZCYhcS65T+6zeG+9rvOTJXzhg=
29+
github.com/fastly/go-fastly/v12 v12.0.0/go.mod h1:9An7aQ1PaZcMb4jnot+lWEBNnHBMl9t4U0OUV8XVoMA=
3030
github.com/fastly/kingpin v2.1.12-0.20191105091915-95d230a53780+incompatible h1:FhrXlfhgGCS+uc6YwyiFUt04alnjpoX7vgDKJxS6Qbk=
3131
github.com/fastly/kingpin v2.1.12-0.20191105091915-95d230a53780+incompatible/go.mod h1:U8UynVoU1SQaqD2I4ZqgYd5lx3A1ipQYn4aSt2Y5h6c=
3232
github.com/fatih/color v1.13.0/go.mod h1:kLAiJbzzSOZDVNGyDpeOxJ47H46qBXwg5ILebYFFOfk=

pkg/api/interface.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"crypto/ed25519"
66
"net/http"
77

8-
"github.com/fastly/go-fastly/v11/fastly"
8+
"github.com/fastly/go-fastly/v12/fastly"
99
)
1010

1111
// HTTPClient models a concrete http.Client. It's a consumer contract for some

pkg/app/run.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import (
1616
"github.com/hashicorp/cap/oidc"
1717
"github.com/skratchdot/open-golang/open"
1818

19-
"github.com/fastly/go-fastly/v11/fastly"
19+
"github.com/fastly/go-fastly/v12/fastly"
2020

2121
"github.com/fastly/kingpin"
2222

pkg/argparser/cmd.go

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

7-
"github.com/fastly/go-fastly/v11/fastly"
7+
"github.com/fastly/go-fastly/v12/fastly"
88

99
"github.com/fastly/kingpin"
1010

pkg/argparser/flags.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
"strconv"
1414
"strings"
1515

16-
"github.com/fastly/go-fastly/v11/fastly"
16+
"github.com/fastly/go-fastly/v12/fastly"
1717

1818
"github.com/fastly/kingpin"
1919

pkg/argparser/flags_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"strings"
1212
"testing"
1313

14-
"github.com/fastly/go-fastly/v11/fastly"
14+
"github.com/fastly/go-fastly/v12/fastly"
1515

1616
"github.com/fastly/cli/pkg/argparser"
1717
"github.com/fastly/cli/pkg/manifest"

pkg/commands/acl/acl_test.go

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

7-
"github.com/fastly/go-fastly/v11/fastly"
7+
"github.com/fastly/go-fastly/v12/fastly"
88

99
root "github.com/fastly/cli/pkg/commands/acl"
1010
"github.com/fastly/cli/pkg/mock"

pkg/commands/acl/create.go

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

7-
"github.com/fastly/go-fastly/v11/fastly"
7+
"github.com/fastly/go-fastly/v12/fastly"
88

99
"4d63.com/optional"
1010

0 commit comments

Comments
 (0)