Skip to content

Releases: fastly/cli

v10.6.3

15 Nov 16:12
v10.6.3
72cb271
Compare
Choose a tag to compare

v10.6.3 (2023-11-15)

The Fastly CLI internal configuration file has config_version bumped to version 5. We've added a new account endpoint field (used as an override for Single-Sign On testing).

When upgrading to this version of the CLI, and running a command for the first time, the config file should automatically update, but this can also be manually triggered by executing:

fastly config --reset

Bug fixes:

  • fix(text): prompt colour #1089
  • fix(app): allow config override for account endpoint #1090

Enhancements:

  • feat: support SSO (Single Sign-On) #1010

Dependencies:

  • build(deps): bump golang.org/x/(crypto|term) #1088

v10.6.2

09 Nov 15:29
v10.6.2
4e9fe46
Compare
Choose a tag to compare

v10.6.2 (2023-11-09)

Bug fixes:

  • fix(github): corrections for Windows users downloading wasm-tools #1083
  • fix(compute/build): don't block user if wasm-tool fails #1084

Enhancements:

  • refactor: apply linting fixes #1080
  • refactor(compute/serve): replace log.Fatal usage with channel #1081
  • refactor(logtail): replace log.Fatal usage with channel #1081

Dependencies:

  • build(deps): bump golang.org/x/mod from 0.13.0 to 0.14.0 #1079
  • build(deps): bump golang.org/x/text from 0.13.0 to 0.14.0 #1078
  • build(deps): bump github.com/fatih/color from 1.15.0 to 1.16.0 #1077

v10.6.1

03 Nov 15:15
v10.6.1
ff205d2
Compare
Choose a tag to compare

v10.6.1 (2023-11-03)

Bug fixes:

  • fix(manifest): only reset EnvVars if EnvFile set #1073
  • fix(github): check architecture when fetching wasm-tools #1074

v10.6.0

03 Nov 12:50
v10.6.0
9347137
Compare
Choose a tag to compare

v10.6.0 (2023-10-31)

Bug fixes:

  • fix(backend): support disabling ssl-check-cert #1055

Enhancements:

  • feat(compute): add metadata subcommand #1013
  • feat(telemetry): add wasm-tools wasm binary annotations #1016
  • feat: add --consistency flag to kv-store-entry list command #1058
  • feat: add --debug-mode #1056
  • ci: replace setup-tinygo fork with original #1057

Dependencies:

  • build(deps): bump github.com/docker/docker #1060
  • build(deps): bump google.golang.org/grpc from 1.56.2 to 1.56.3 #1061
  • build(deps): bump all go.mod dependencies #1062

v10.5.1

25 Oct 13:16
v10.5.1
d7a1dd4
Compare
Choose a tag to compare

v10.5.1 (2023-10-25)

Bug fixes:

  • fix(compute/deploy): ignore package comparison error #1053

Enhancements:

  • refactor(compute/deploy): add setup message for existing service users #1052

Dependencies:

  • build(deps): bump github.com/fsnotify/fsnotify from 1.6.0 to 1.7.0 #1050
  • build(deps): bump actions/setup-node from 3 to 4 #1051

v10.5.0

18 Oct 16:56
v10.5.0
2933018
Compare
Choose a tag to compare

v10.5.0 (2023-10-18)

The Fastly CLI internal configuration file has been updated to version 4, with the only change being the addition of the Fastly TinyGo Compute Starter Kit.

When upgrading to this version of the CLI, and running a command for the first time, the config file should automatically update, but this can also be manually triggered by executing:

fastly config --reset

The other change worth noting is to the parsing of the fastly.toml manifest file, which now supports a file field inside [setup.kv_stores.<T>.items] which can be used in place of the value field. Assigning a file path to the file field will use the content of the file as the value for the key. See: https://developer.fastly.com/reference/compute/fastly-toml/

Bug fixes:

  • fix(compute/init): post_init to support env_vars #1014
  • fix(app): return error when input is -- only #1022
  • fix(compute/deploy): check package before service clone #1026
  • fix: spinner wraps original error #1029
  • fix(compute/serve): ensure --env files are processed #1039

Enhancements:

  • add: vcl condition commands #1008
  • feat(compute/build): support env_vars for JavaScript/Rust #1012
  • feat(config): add tinygo starter kit #1011
  • feat(compute/serve): support guest profiler under Viceroy #1019
  • fix(packaging): Improve metadata in Linux packages #1021
  • feat(compute/build): support Cargo Workspaces #1023
  • feat(spinner): abstract common pattern #1024
  • fix(text): consistent formatting and output alignment #1030
  • feat(product_enablement): add products command #1036
  • fix(compute/serve): update Viceroy guest profile flag #1033
  • fix(compute/deploy): support file field for kv_store setup #1040
  • refactor(compute/deploy): simplify logic flows #1032
  • feat(compute/build): allow user to specify project directory to build #1043
  • feat(compute/deploy): avoid store conflicts #1041
  • feat: support --env flag #1046

Dependencies:

  • build(deps): bump goreleaser/goreleaser-action from 4 to 5 #1015
  • build(deps): bump golang.org/x/crypto from 0.12.0 to 0.13.0 #1009
  • build(deps): bump actions/checkout from 3 to 4 #1006
  • build(deps): bump github.com/fastly/go-fastly/v8 from 8.6.1 to 8.6.2 #1028
  • build(deps): bump github.com/otiai10/copy from 1.12.0 to 1.14.0 #1027
  • build(deps): bump golang.org/x/crypto from 0.13.0 to 0.14.0 #1034
  • build(deps): bump golang.org/x/net from 0.10.0 to 0.17.0 #1042
  • build(deps): bump github.com/google/go-cmp from 0.5.9 to 0.6.0 #1045

Documentation:

  • fix(DEVELOP.MD): clarify Go version requirement and document Rust requirement #1017
  • doc(compute/serve): update GetViceroy doc #1038
  • branding: Replace all Compute@Edge/C@E references with Compute #1044

v10.4.0

31 Aug 14:17
v10.4.0
4b869ab
Compare
Choose a tag to compare

v10.4.0 (2023-08-31)

The Fastly CLI internal configuration file has been updated to version 3, with the primary change being updates to the toolchain constraints within the [language.go] section (diff).

When upgrading to this version of the CLI, and running a command for the first time, the config file should automatically update, but this can also be manually triggered by executing:

fastly config --reset

The changes to the internal configuration correlate with another change in this release, which is adding support for standard Go alongside TinyGo.

If your fastly.toml has no custom [scripts.build] defined, then TinyGo will continue to be the default compiler used for building your Compute@Edge project. Otherwise, adding the following will enable you to use the Wasm support that Go 1.21+ provides:

[scripts]
env_vars = ["GOARCH=wasm", "GOOS=wasip1"]
build = "go build -o bin/main.wasm ."

Deprecations:

  • remove(compute/init): assemblyscript #1002

Enhancements:

  • feat(compute/build): support native go #995
  • Add support for interacting with the New Relic OTLP logging endpoint #990

Dependencies:

  • build: bump go-fastly to v8.6.1 #1000
  • build(deps): bump golang.org/x/crypto from 0.11.0 to 0.12.0 #994
  • build(deps): bump github.com/fastly/go-fastly/v8 from 8.5.7 to 8.5.9 #996

v10.3.0

16 Aug 10:17
v10.3.0
ed0fad3
Compare
Choose a tag to compare

v10.3.0 (2023-08-16)

Enhancements:

  • feat(compute/init): support post_init #997

Bug fixes:

  • build(scripts): use /usr/bin/env bash to retrieve system bash path #987
  • fix(kvstores/list): support pagination #988
  • fix(secretstore): pagination + support for json #991

v10.2.4

28 Jul 17:08
v10.2.4
3906b08
Compare
Choose a tag to compare

v10.2.4 (2023-07-28)

Enhancements:

  • fix(kvstoreentry): improve error handling for batch processing #980
  • feat(kvstore): support deleting all keys #981
  • feat(configstoreentry): support deleting all keys #983

Bug fixes:

  • fix(compute/deploy): support --service-name for publishing to a non-manifest specific service #979
  • fix(compute/validate): remove broken decompression bomb check #984

v10.2.3

20 Jul 10:39
v10.2.3
6cdda9c
Compare
Choose a tag to compare

v10.2.3 (2023-07-20)

Enhancements:

  • refactor(compute): clean-up logic surrounding filesHash generation #969
  • fix: increase text width #970

Bug fixes:

  • Correctly check if the package is up to date #967
  • fix(flags): ensure ListServices call is paginated #976

Dependencies:

  • build(deps): bump github.com/fastly/go-fastly/v8 from 8.5.1 to 8.5.2 #966
  • build(deps): bump github.com/fastly/go-fastly/v8 from 8.5.2 to 8.5.4 #968
  • build(deps): bump golang.org/x/crypto from 0.10.0 to 0.11.0 #972
  • build(deps): bump golang.org/x/term from 0.9.0 to 0.10.0 #971