Skip to content

Commit 76e2c9f

Browse files
authored
Merge branch 'main' into fdenis/auth-token
2 parents 87e5e71 + 7cd87f2 commit 76e2c9f

36 files changed

Lines changed: 3816 additions & 12 deletions

.github/workflows/dependabot_changelog_update.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
steps:
1414
- name: Generate a GitHub token
1515
id: github-token
16-
uses: actions/create-github-app-token@v2
16+
uses: actions/create-github-app-token@v3
1717
with:
1818
app-id: ${{ vars.GH_APP_ID }}
1919
private-key: ${{ secrets.GH_APP_PRIVATE_KEY }}

.github/workflows/merge_to_main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
with:
2121
node-version: 18
2222
- name: "Install Rust"
23-
uses: dtolnay/rust-toolchain@1.83.0 # to install tq via `make config`
23+
uses: dtolnay/rust-toolchain@stable # to install tq via `make config`
2424
- name: Install Go
2525
uses: actions/setup-go@v6
2626
with:

CHANGELOG.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,24 @@
55
### Breaking:
66

77
### Bug Fixes:
8-
- fix(stats): `stats historical` now returns write errors instead of silently swallowing them. [#1678](https://github.com/fastly/cli/pull/1678)
8+
9+
- fix(stats): `stats historical` now returns write errors instead of silently swallowing them [#1678](https://github.com/fastly/cli/pull/1678)
910

1011
### Enhancements:
12+
1113
- feat(auth): add `auth token` subcommand to output the active API token for use in shell substitutions (e.g. `$(fastly auth token)`). Refuses to print to a terminal to prevent accidental exposure.
1214
- feat(stats): add `--field` flag to `stats historical` to filter to a single stats field. [#1678](https://github.com/fastly/cli/pull/1678)
1315
- feat(stats): add `stats aggregate` subcommand for cross-service aggregated stats. [#1678](https://github.com/fastly/cli/pull/1678)
1416
- feat(stats): add `stats usage` subcommand for bandwidth/request usage, with `--by-service` breakdown. [#1678](https://github.com/fastly/cli/pull/1678)
1517
- feat(stats): add `stats domain-inspector` subcommand for domain-level metrics. [#1678](https://github.com/fastly/cli/pull/1678)
1618
- feat(stats): add `stats origin-inspector` subcommand for origin-level metrics. [#1678](https://github.com/fastly/cli/pull/1678)
19+
- feat(apisecurity/discoveredoperations): add support for 'list' and 'update' support for 'API discovery'. [#1689](https://github.com/fastly/cli/pull/1689)
20+
- feat(apisecurity/operations): add CRUD support for 'API Inventory' operations. [#1689](https://github.com/fastly/cli/pull/1689)
21+
- feat(apisecurity/tags): add API Security Operations tag support ([#1688](https://github.com/fastly/cli/pull/1688))
22+
- feat(service/version): add support for service validation. [#1695](https://github.com/fastly/cli/pull/1695)
1723

1824
### Dependencies:
25+
1926
- build(deps): `golang.org/x/net` from 0.50.0 to 0.51.0 ([#1674](https://github.com/fastly/cli/pull/1674))
2027
- build(deps): `actions/upload-artifact` from 6 to 7 ([#1675](https://github.com/fastly/cli/pull/1675))
2128
- build(deps): `actions/download-artifact` from 7 to 8 ([#1675](https://github.com/fastly/cli/pull/1675))
@@ -29,6 +36,11 @@
2936
- build(deps): `golang.org/x/mod` from 0.33.0 to 0.34.0 ([#1687](https://github.com/fastly/cli/pull/1687))
3037
- build(deps): `golang.org/x/text` from 0.34.0 to 0.35.0 ([#1687](https://github.com/fastly/cli/pull/1687))
3138
- build(deps): `github.com/fastly/go-fastly/v13` from 13.0.1 to 13.1.0 ([#1687](https://github.com/fastly/cli/pull/1687))
39+
- build(deps): `golang.org/x/crypto` from 0.48.0 to 0.49.0 ([#1693](https://github.com/fastly/cli/pull/1693))
40+
- build(deps): `golang.org/x/net` from 0.51.0 to 0.52.0 ([#1693](https://github.com/fastly/cli/pull/1693))
41+
- build(deps): `github.com/fastly/go-fastly/v13` from 13.1.0 to 13.1.1 ([#1693](https://github.com/fastly/cli/pull/1693))
42+
- build(deps): `github.com/fastly/go-fastly/v13` from 13.1.1 to 13.1.2 ([#1696](https://github.com/fastly/cli/pull/1696))
43+
- build(deps): `actions/create-github-app-token` from 2 to 3 ([#1692](https://github.com/fastly/cli/pull/1692))
3244

3345
## [v14.0.4](https://github.com/fastly/cli/releases/tag/v14.0.4) (2026-02-26)
3446

go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ require (
3333
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06
3434
github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966
3535
github.com/theckman/yacspin v0.13.12
36-
golang.org/x/crypto v0.48.0
36+
golang.org/x/crypto v0.49.0
3737
golang.org/x/exp v0.0.0-20260112195511-716be5621a96
3838
golang.org/x/mod v0.34.0
3939
)
@@ -72,7 +72,7 @@ require (
7272
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
7373
github.com/ulikunitz/xz v0.5.15 // indirect
7474
github.com/xi2/xz v0.0.0-20171230120015-48954b6210f8 // indirect
75-
golang.org/x/net v0.51.0 // indirect
75+
golang.org/x/net v0.52.0 // indirect
7676
golang.org/x/oauth2 v0.36.0 // indirect
7777
golang.org/x/sync v0.20.0 // indirect
7878
golang.org/x/text v0.35.0
@@ -82,6 +82,6 @@ require (
8282

8383
require (
8484
4d63.com/optional v0.2.0
85-
github.com/fastly/go-fastly/v13 v13.1.0
85+
github.com/fastly/go-fastly/v13 v13.1.2
8686
github.com/mitchellh/go-ps v1.0.0
8787
)

go.sum

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ github.com/dsnet/compress v0.0.2-0.20210315054119-f66993602bf5/go.mod h1:qssHWj6
2929
github.com/dsnet/golib v0.0.0-20171103203638-1ea166775780/go.mod h1:Lj+Z9rebOhdfkVLjJ8T6VcRQv3SXugXy999NBtR9aFY=
3030
github.com/dustinkirkland/golang-petname v0.0.0-20240428194347-eebcea082ee0 h1:aYo8nnk3ojoQkP5iErif5Xxv0Mo0Ga/FR5+ffl/7+Nk=
3131
github.com/dustinkirkland/golang-petname v0.0.0-20240428194347-eebcea082ee0/go.mod h1:8AuBTZBRSFqEYBPYULd+NN474/zZBLP+6WeT5S9xlAc=
32-
github.com/fastly/go-fastly/v13 v13.1.0 h1:aVYybDdr23LNKirfJSafY0GOIsTpXHrlX4W2gDwq0nw=
33-
github.com/fastly/go-fastly/v13 v13.1.0/go.mod h1:9uKtXpskI/EDlKmTq/oPbjFCztoGsHaLcRobm7qda5Q=
32+
github.com/fastly/go-fastly/v13 v13.1.2 h1:9iSixpDkDSu52bntWqjh+1PT6myNFy0gT0C7ox37r+U=
33+
github.com/fastly/go-fastly/v13 v13.1.2/go.mod h1:wbZ0A4eBJm7GP0hNuHtjeQeTy6zpkbra6zz/QjlLkiI=
3434
github.com/fastly/kingpin v2.1.12-0.20191105091915-95d230a53780+incompatible h1:FhrXlfhgGCS+uc6YwyiFUt04alnjpoX7vgDKJxS6Qbk=
3535
github.com/fastly/kingpin v2.1.12-0.20191105091915-95d230a53780+incompatible/go.mod h1:U8UynVoU1SQaqD2I4ZqgYd5lx3A1ipQYn4aSt2Y5h6c=
3636
github.com/fatih/color v1.13.0/go.mod h1:kLAiJbzzSOZDVNGyDpeOxJ47H46qBXwg5ILebYFFOfk=
@@ -157,8 +157,8 @@ github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5t
157157
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
158158
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
159159
golang.org/x/crypto v0.19.0/go.mod h1:Iy9bg/ha4yyC70EfRS8jz+B6ybOBKMaSxLj6P6oBDfU=
160-
golang.org/x/crypto v0.48.0 h1:/VRzVqiRSggnhY7gNRxPauEQ5Drw9haKdM0jqfcCFts=
161-
golang.org/x/crypto v0.48.0/go.mod h1:r0kV5h3qnFPlQnBSrULhlsRfryS2pmewsg+XfMgkVos=
160+
golang.org/x/crypto v0.49.0 h1:+Ng2ULVvLHnJ/ZFEq4KdcDd/cfjrrjjNSXNzxg0Y4U4=
161+
golang.org/x/crypto v0.49.0/go.mod h1:ErX4dUh2UM+CFYiXZRTcMpEcN8b/1gxEuv3nODoYtCA=
162162
golang.org/x/exp v0.0.0-20260112195511-716be5621a96 h1:Z/6YuSHTLOHfNFdb8zVZomZr7cqNgTJvA8+Qz75D8gU=
163163
golang.org/x/exp v0.0.0-20260112195511-716be5621a96/go.mod h1:nzimsREAkjBCIEFtHiYkrJyT+2uy9YZJB7H1k68CXZU=
164164
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4=
@@ -170,8 +170,8 @@ golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v
170170
golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c=
171171
golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs=
172172
golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg=
173-
golang.org/x/net v0.51.0 h1:94R/GTO7mt3/4wIKpcR5gkGmRLOuE/2hNGeWq/GBIFo=
174-
golang.org/x/net v0.51.0/go.mod h1:aamm+2QF5ogm02fjy5Bb7CQ0WMt1/WVM7FtyaTLlA9Y=
173+
golang.org/x/net v0.52.0 h1:He/TN1l0e4mmR3QqHMT2Xab3Aj3L9qjbhRm78/6jrW0=
174+
golang.org/x/net v0.52.0/go.mod h1:R1MAz7uMZxVMualyPXb+VaqGSa3LIaUqk0eEt3w36Sw=
175175
golang.org/x/oauth2 v0.36.0 h1:peZ/1z27fi9hUOFCAZaHyrpWG5lwe0RJEEEeH0ThlIs=
176176
golang.org/x/oauth2 v0.36.0/go.mod h1:YDBUJMTkDnJS+A4BP4eZBjCqtokkg1hODuPjwiGPO7Q=
177177
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=

pkg/api/interface.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ type Interface interface {
3939
DeactivateVersion(context.Context, *fastly.DeactivateVersionInput) (*fastly.Version, error)
4040
LockVersion(context.Context, *fastly.LockVersionInput) (*fastly.Version, error)
4141
LatestVersion(context.Context, *fastly.LatestVersionInput) (*fastly.Version, error)
42+
ValidateVersion(context.Context, *fastly.ValidateVersionInput) (bool, string, error)
4243

4344
CreateDomain(context.Context, *fastly.CreateDomainInput) (*fastly.Domain, error)
4445
ListDomains(context.Context, *fastly.ListDomainsInput) ([]*fastly.Domain, error)

pkg/app/run_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ complete -F _fastly_bash_autocomplete fastly
6060
Args: "--completion-bash",
6161
WantOutput: `help
6262
auth
63+
apisecurity
6364
compute
6465
config
6566
config-store

0 commit comments

Comments
 (0)