Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@

### Dependencies:

- build(deps): `github.com/fastly/go-fastly/v15` from 15.0.3 to 16 ([#1841](https://github.com/fastly/cli/pull/1841))

## [v15.3.0](https://github.com/fastly/cli/releases/tag/v15.3.0) (2026-06-26)

### Enhancements:
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ require (
require (
4d63.com/optional v0.2.0
github.com/creack/pty v1.1.24
github.com/fastly/go-fastly/v15 v15.0.3
github.com/fastly/go-fastly/v16 v16.0.0
github.com/mholt/archives v0.1.5
github.com/mitchellh/go-ps v1.0.0
)
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ github.com/dsnet/compress v0.0.2-0.20230904184137-39efe44ab707/go.mod h1:qssHWj6
github.com/dsnet/golib v0.0.0-20171103203638-1ea166775780/go.mod h1:Lj+Z9rebOhdfkVLjJ8T6VcRQv3SXugXy999NBtR9aFY=
github.com/dustinkirkland/golang-petname v0.0.0-20240428194347-eebcea082ee0 h1:aYo8nnk3ojoQkP5iErif5Xxv0Mo0Ga/FR5+ffl/7+Nk=
github.com/dustinkirkland/golang-petname v0.0.0-20240428194347-eebcea082ee0/go.mod h1:8AuBTZBRSFqEYBPYULd+NN474/zZBLP+6WeT5S9xlAc=
github.com/fastly/go-fastly/v15 v15.0.3 h1:eSeviq6rSbwJfV+uyV5m5H2nWePtYsrEaKPCLH8gFes=
github.com/fastly/go-fastly/v15 v15.0.3/go.mod h1:ZwzEo1cN3adPpQc3dg83+siO8CUYCsSBSEJJzUjxkQo=
github.com/fastly/go-fastly/v16 v16.0.0 h1:Uy5d1clGaTNt8HYHQQiiPhi11+9HPbXO7oIfXwVB6WA=
github.com/fastly/go-fastly/v16 v16.0.0/go.mod h1:1t41QyBKGsJVePO1SOdVHbuIRygkgD6/SNhzw3tS4Bk=
github.com/fastly/kingpin v2.1.12-0.20191105091915-95d230a53780+incompatible h1:FhrXlfhgGCS+uc6YwyiFUt04alnjpoX7vgDKJxS6Qbk=
github.com/fastly/kingpin v2.1.12-0.20191105091915-95d230a53780+incompatible/go.mod h1:U8UynVoU1SQaqD2I4ZqgYd5lx3A1ipQYn4aSt2Y5h6c=
github.com/fatih/color v1.13.0/go.mod h1:kLAiJbzzSOZDVNGyDpeOxJ47H46qBXwg5ILebYFFOfk=
Expand Down
2 changes: 1 addition & 1 deletion pkg/api/interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"crypto/ed25519"
"net/http"

"github.com/fastly/go-fastly/v15/fastly"
"github.com/fastly/go-fastly/v16/fastly"
)

// HTTPClient models a concrete http.Client. It's a consumer contract for some
Expand Down
2 changes: 1 addition & 1 deletion pkg/app/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
"github.com/hashicorp/cap/oidc"
"github.com/skratchdot/open-golang/open"

"github.com/fastly/go-fastly/v15/fastly"
"github.com/fastly/go-fastly/v16/fastly"

"github.com/fastly/kingpin"

Expand Down
2 changes: 1 addition & 1 deletion pkg/app/run_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"testing"
"time"

"github.com/fastly/go-fastly/v15/fastly"
"github.com/fastly/go-fastly/v16/fastly"

"github.com/fastly/cli/pkg/app"
"github.com/fastly/cli/pkg/errors"
Expand Down
2 changes: 1 addition & 1 deletion pkg/argparser/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"io"

"github.com/fastly/go-fastly/v15/fastly"
"github.com/fastly/go-fastly/v16/fastly"

"github.com/fastly/kingpin"

Expand Down
2 changes: 1 addition & 1 deletion pkg/argparser/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"strconv"
"strings"

"github.com/fastly/go-fastly/v15/fastly"
"github.com/fastly/go-fastly/v16/fastly"

"github.com/fastly/kingpin"

Expand Down
2 changes: 1 addition & 1 deletion pkg/argparser/flags_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"
"testing"

"github.com/fastly/go-fastly/v15/fastly"
"github.com/fastly/go-fastly/v16/fastly"

"github.com/fastly/cli/pkg/argparser"
"github.com/fastly/cli/pkg/manifest"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
apisecurity "github.com/fastly/cli/pkg/commands/apisecurity"
root "github.com/fastly/cli/pkg/commands/apisecurity/discoveredoperations"
"github.com/fastly/cli/pkg/testutil"
"github.com/fastly/go-fastly/v15/fastly/apisecurity/operations"
"github.com/fastly/go-fastly/v16/fastly/apisecurity/operations"
)

const (
Expand Down
4 changes: 2 additions & 2 deletions pkg/commands/apisecurity/discoveredoperations/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"io"
"strings"

"github.com/fastly/go-fastly/v15/fastly"
"github.com/fastly/go-fastly/v15/fastly/apisecurity/operations"
"github.com/fastly/go-fastly/v16/fastly"
"github.com/fastly/go-fastly/v16/fastly/apisecurity/operations"

"github.com/fastly/cli/pkg/argparser"
fsterr "github.com/fastly/cli/pkg/errors"
Expand Down
4 changes: 2 additions & 2 deletions pkg/commands/apisecurity/discoveredoperations/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
"path/filepath"
"strings"

"github.com/fastly/go-fastly/v15/fastly"
"github.com/fastly/go-fastly/v15/fastly/apisecurity/operations"
"github.com/fastly/go-fastly/v16/fastly"
"github.com/fastly/go-fastly/v16/fastly/apisecurity/operations"

"github.com/fastly/cli/pkg/argparser"
fsterr "github.com/fastly/cli/pkg/errors"
Expand Down
4 changes: 2 additions & 2 deletions pkg/commands/apisecurity/operations/addtags.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (
"os"
"path/filepath"

"github.com/fastly/go-fastly/v15/fastly"
"github.com/fastly/go-fastly/v15/fastly/apisecurity/operations"
"github.com/fastly/go-fastly/v16/fastly"
"github.com/fastly/go-fastly/v16/fastly/apisecurity/operations"

"github.com/fastly/kingpin"

Expand Down
4 changes: 2 additions & 2 deletions pkg/commands/apisecurity/operations/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
"path/filepath"
"strings"

"github.com/fastly/go-fastly/v15/fastly"
"github.com/fastly/go-fastly/v15/fastly/apisecurity/operations"
"github.com/fastly/go-fastly/v16/fastly"
"github.com/fastly/go-fastly/v16/fastly/apisecurity/operations"

"github.com/fastly/kingpin"

Expand Down
4 changes: 2 additions & 2 deletions pkg/commands/apisecurity/operations/delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"errors"
"io"

"github.com/fastly/go-fastly/v15/fastly"
"github.com/fastly/go-fastly/v15/fastly/apisecurity/operations"
"github.com/fastly/go-fastly/v16/fastly"
"github.com/fastly/go-fastly/v16/fastly/apisecurity/operations"

"github.com/fastly/cli/pkg/argparser"
fsterr "github.com/fastly/cli/pkg/errors"
Expand Down
4 changes: 2 additions & 2 deletions pkg/commands/apisecurity/operations/describe.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"io"
"strings"

"github.com/fastly/go-fastly/v15/fastly"
"github.com/fastly/go-fastly/v15/fastly/apisecurity/operations"
"github.com/fastly/go-fastly/v16/fastly"
"github.com/fastly/go-fastly/v16/fastly/apisecurity/operations"

"github.com/fastly/cli/pkg/argparser"
fsterr "github.com/fastly/cli/pkg/errors"
Expand Down
4 changes: 2 additions & 2 deletions pkg/commands/apisecurity/operations/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"io"
"strings"

"github.com/fastly/go-fastly/v15/fastly"
"github.com/fastly/go-fastly/v15/fastly/apisecurity/operations"
"github.com/fastly/go-fastly/v16/fastly"
"github.com/fastly/go-fastly/v16/fastly/apisecurity/operations"

"github.com/fastly/cli/pkg/argparser"
fsterr "github.com/fastly/cli/pkg/errors"
Expand Down
2 changes: 1 addition & 1 deletion pkg/commands/apisecurity/operations/operations_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"strings"
"testing"

"github.com/fastly/go-fastly/v15/fastly/apisecurity/operations"
"github.com/fastly/go-fastly/v16/fastly/apisecurity/operations"

apisecurity "github.com/fastly/cli/pkg/commands/apisecurity"
root "github.com/fastly/cli/pkg/commands/apisecurity/operations"
Expand Down
4 changes: 2 additions & 2 deletions pkg/commands/apisecurity/operations/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"io"
"strings"

"github.com/fastly/go-fastly/v15/fastly"
"github.com/fastly/go-fastly/v15/fastly/apisecurity/operations"
"github.com/fastly/go-fastly/v16/fastly"
"github.com/fastly/go-fastly/v16/fastly/apisecurity/operations"

"github.com/fastly/kingpin"

Expand Down
4 changes: 2 additions & 2 deletions pkg/commands/apisecurity/tags/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"errors"
"io"

"github.com/fastly/go-fastly/v15/fastly"
"github.com/fastly/go-fastly/v15/fastly/apisecurity/operations"
"github.com/fastly/go-fastly/v16/fastly"
"github.com/fastly/go-fastly/v16/fastly/apisecurity/operations"

"github.com/fastly/cli/pkg/argparser"
fsterr "github.com/fastly/cli/pkg/errors"
Expand Down
4 changes: 2 additions & 2 deletions pkg/commands/apisecurity/tags/delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"errors"
"io"

"github.com/fastly/go-fastly/v15/fastly"
"github.com/fastly/go-fastly/v15/fastly/apisecurity/operations"
"github.com/fastly/go-fastly/v16/fastly"
"github.com/fastly/go-fastly/v16/fastly/apisecurity/operations"

"github.com/fastly/cli/pkg/argparser"
fsterr "github.com/fastly/cli/pkg/errors"
Expand Down
4 changes: 2 additions & 2 deletions pkg/commands/apisecurity/tags/get.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"errors"
"io"

"github.com/fastly/go-fastly/v15/fastly"
"github.com/fastly/go-fastly/v15/fastly/apisecurity/operations"
"github.com/fastly/go-fastly/v16/fastly"
"github.com/fastly/go-fastly/v16/fastly/apisecurity/operations"

"github.com/fastly/cli/pkg/argparser"
fsterr "github.com/fastly/cli/pkg/errors"
Expand Down
4 changes: 2 additions & 2 deletions pkg/commands/apisecurity/tags/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (
fsterr "github.com/fastly/cli/pkg/errors"
"github.com/fastly/cli/pkg/global"
"github.com/fastly/cli/pkg/text"
"github.com/fastly/go-fastly/v15/fastly"
"github.com/fastly/go-fastly/v15/fastly/apisecurity/operations"
"github.com/fastly/go-fastly/v16/fastly"
"github.com/fastly/go-fastly/v16/fastly/apisecurity/operations"
)

// ListCommand calls the Fastly API to list all operation tags.
Expand Down
2 changes: 1 addition & 1 deletion pkg/commands/apisecurity/tags/tags_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
sub "github.com/fastly/cli/pkg/commands/apisecurity/tags"
fstfmt "github.com/fastly/cli/pkg/fmt"
"github.com/fastly/cli/pkg/testutil"
"github.com/fastly/go-fastly/v15/fastly/apisecurity/operations"
"github.com/fastly/go-fastly/v16/fastly/apisecurity/operations"
)

const (
Expand Down
4 changes: 2 additions & 2 deletions pkg/commands/apisecurity/tags/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"errors"
"io"

"github.com/fastly/go-fastly/v15/fastly"
"github.com/fastly/go-fastly/v15/fastly/apisecurity/operations"
"github.com/fastly/go-fastly/v16/fastly"
"github.com/fastly/go-fastly/v16/fastly/apisecurity/operations"

"github.com/fastly/cli/pkg/argparser"
fsterr "github.com/fastly/cli/pkg/errors"
Expand Down
2 changes: 1 addition & 1 deletion pkg/commands/auth/metadata.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"time"

"github.com/fastly/go-fastly/v15/fastly"
"github.com/fastly/go-fastly/v16/fastly"

"github.com/fastly/cli/pkg/api"
"github.com/fastly/cli/pkg/config"
Expand Down
2 changes: 1 addition & 1 deletion pkg/commands/auth/metadata_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"testing"
"time"

"github.com/fastly/go-fastly/v15/fastly"
"github.com/fastly/go-fastly/v16/fastly"

authcmd "github.com/fastly/cli/pkg/commands/auth"
"github.com/fastly/cli/pkg/config"
Expand Down
2 changes: 1 addition & 1 deletion pkg/commands/auth/revoke.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"path/filepath"
"strings"

"github.com/fastly/go-fastly/v15/fastly"
"github.com/fastly/go-fastly/v16/fastly"

"github.com/fastly/cli/pkg/api"
"github.com/fastly/cli/pkg/argparser"
Expand Down
2 changes: 1 addition & 1 deletion pkg/commands/auth/revoke_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"
"testing"

"github.com/fastly/go-fastly/v15/fastly"
"github.com/fastly/go-fastly/v16/fastly"

"github.com/fastly/cli/pkg/api"
"github.com/fastly/cli/pkg/config"
Expand Down
2 changes: 1 addition & 1 deletion pkg/commands/auth/sso_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"testing"
"time"

"github.com/fastly/go-fastly/v15/fastly"
"github.com/fastly/go-fastly/v16/fastly"

"github.com/fastly/cli/pkg/auth"
authcmd "github.com/fastly/cli/pkg/commands/auth"
Expand Down
2 changes: 1 addition & 1 deletion pkg/commands/authtoken/authtoken_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"testing"

"github.com/fastly/go-fastly/v15/fastly"
"github.com/fastly/go-fastly/v16/fastly"

root "github.com/fastly/cli/pkg/commands/authtoken"
"github.com/fastly/cli/pkg/mock"
Expand Down
2 changes: 1 addition & 1 deletion pkg/commands/authtoken/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"strings"
"time"

"github.com/fastly/go-fastly/v15/fastly"
"github.com/fastly/go-fastly/v16/fastly"

"github.com/fastly/kingpin"

Expand Down
2 changes: 1 addition & 1 deletion pkg/commands/authtoken/delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"os"
"path/filepath"

"github.com/fastly/go-fastly/v15/fastly"
"github.com/fastly/go-fastly/v16/fastly"

"github.com/fastly/cli/pkg/argparser"
"github.com/fastly/cli/pkg/global"
Expand Down
2 changes: 1 addition & 1 deletion pkg/commands/authtoken/describe.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"io"
"strings"

"github.com/fastly/go-fastly/v15/fastly"
"github.com/fastly/go-fastly/v16/fastly"

"github.com/fastly/cli/pkg/argparser"
fsterr "github.com/fastly/cli/pkg/errors"
Expand Down
2 changes: 1 addition & 1 deletion pkg/commands/authtoken/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"io"
"strings"

"github.com/fastly/go-fastly/v15/fastly"
"github.com/fastly/go-fastly/v16/fastly"

"github.com/fastly/cli/pkg/argparser"
fsterr "github.com/fastly/cli/pkg/errors"
Expand Down
2 changes: 1 addition & 1 deletion pkg/commands/compute/compute_mocks_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ package compute_test
import (
"context"

"github.com/fastly/go-fastly/v15/fastly"
"github.com/fastly/go-fastly/v16/fastly"

"github.com/fastly/cli/pkg/testutil"
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/commands/compute/computeacl/computeacl_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
sub "github.com/fastly/cli/pkg/commands/compute/computeacl"
fstfmt "github.com/fastly/cli/pkg/fmt"
"github.com/fastly/cli/pkg/testutil"
"github.com/fastly/go-fastly/v15/fastly/computeacls"
"github.com/fastly/go-fastly/v16/fastly/computeacls"
)

func TestComputeACLCreate(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions pkg/commands/compute/computeacl/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (
"errors"
"io"

"github.com/fastly/go-fastly/v15/fastly"
"github.com/fastly/go-fastly/v16/fastly"

"github.com/fastly/go-fastly/v15/fastly/computeacls"
"github.com/fastly/go-fastly/v16/fastly/computeacls"

"github.com/fastly/cli/pkg/argparser"
fsterr "github.com/fastly/cli/pkg/errors"
Expand Down
4 changes: 2 additions & 2 deletions pkg/commands/compute/computeacl/delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (
"errors"
"io"

"github.com/fastly/go-fastly/v15/fastly"
"github.com/fastly/go-fastly/v16/fastly"

"github.com/fastly/go-fastly/v15/fastly/computeacls"
"github.com/fastly/go-fastly/v16/fastly/computeacls"

"github.com/fastly/cli/pkg/argparser"
fsterr "github.com/fastly/cli/pkg/errors"
Expand Down
4 changes: 2 additions & 2 deletions pkg/commands/compute/computeacl/describe.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (
"errors"
"io"

"github.com/fastly/go-fastly/v15/fastly"
"github.com/fastly/go-fastly/v16/fastly"

"github.com/fastly/go-fastly/v15/fastly/computeacls"
"github.com/fastly/go-fastly/v16/fastly/computeacls"

"github.com/fastly/cli/pkg/argparser"
fsterr "github.com/fastly/cli/pkg/errors"
Expand Down
Loading
Loading