Skip to content

Releases: fastly/cli

v7.0.1

02 Mar 13:45
v7.0.1
8ff9a02
Compare
Choose a tag to compare

v7.0.1 (2023-03-02)

Full Changelog

Bug fixes:

  • fix(compute/build): move log calls before subprocess call #847
  • fix(compute/serve): ensure spinner is closed for all logic branches #849

Enhancements:

  • feat(dict/create): display dictionary ID on creation #848
  • refactor: clean-up nil error checks #851

v7.0.0

23 Feb 18:03
v7.0.0
85f830e
Compare
Choose a tag to compare

v7.0.0 (2023-02-23)

Full Changelog

Breaking:

There are a couple of small breaking changes to the CLI.

Prior versions of the CLI would consult the following files to ignore specific files while running compute serve --watch:

  • .ignore
  • .gitignore
  • The user's global git ignore configuration

We are dropping support for these files and will instead consult .fastlyignore, which is already used by compute build.

We've removed support for the logging logentries subcommand as the third-party logging product has been deprecated.

  • fix(compute/serve): replace separate ignore files with .fastlyignore #834
  • breaking(logging): remove logentries #835

Bug fixes:

  • fix(compute/build): ignore all files except manifest and wasm binary #836
  • fix(compute/serve): output rendering #839
  • Fix compute build rendered output #842

Enhancements:

  • use secret store client keys when creating secret store entries #805
  • fix(compute/serve): check for missing override_host #832
  • feat(resource-link): Add Service Resource commands #800
  • Replace custom spinner with less buggy third-party package #838
  • refactor(spinner): hide ... after spinner has stopped #840
  • fix(compute/serve): make override_host a default behaviour #843

Dependencies:

  • build(deps): bump golang.org/x/net from 0.2.0 to 0.7.0 #830
  • build(deps): bump github.com/fastly/go-fastly/v7 from 7.2.0 to 7.3.0 #831

Clean-ups:

  • refactor: linter issues resolved #833

v6.0.6

15 Feb 14:15
v6.0.6
f10a150
Compare
Choose a tag to compare

v6.0.6 (2023-02-15)

Full Changelog

Bug fixes:

  • build(goreleaser): build with explicit CGO_ENABLED=0 #826

v6.0.5

15 Feb 12:28
v6.0.5
4918f86
Compare
Choose a tag to compare

v6.0.5 (2023-02-15)

Full Changelog

Enhancements:

  • fix(dns): migrate to go1.20 #824

v6.0.4

13 Feb 20:24
v6.0.4
17a06f6
Compare
Choose a tag to compare

v6.0.4 (2023-02-13)

Full Changelog

Bug fixes:

  • fix(compute/build): only use default build script if none defined #814
  • fix(compute/deploy): replace spinner implementation #820

Enhancements:

  • fix(compute/build): ensure build output doesn't show unless --verbose is set #815

Documentation:

  • docs: remove --skip-verification #816

Dependencies:

  • build(deps): bump github.com/fastly/go-fastly/v7 from 7.1.0 to 7.2.0 #819
  • build(deps): bump github.com/getsentry/sentry-go from 0.17.0 to 0.18.0 #818
  • build(deps): bump golang.org/x/term from 0.4.0 to 0.5.0 #817

v6.0.3

09 Feb 21:00
v6.0.3
752ef8f
Compare
Choose a tag to compare

v6.0.3 (2023-02-09)

Full Changelog

Bug fixes:

  • fix(compute/setup): fix duplicated domains #808
  • fix(setup/domain): allow user to correct a domain already in use #811

Enhancements:

  • build(goreleaser): replace deprecated flag #807
  • refactor: add type annotations #809
  • build(lint): implement semgrep for local validation #810

v6.0.2

08 Feb 20:35
v6.0.2
73a5b6c
Compare
Choose a tag to compare

v6.0.2 (2023-02-08)

Full Changelog

Bug fixes:

  • fix(compute/build): ensure we only parse stdout from cargo command #804

v6.0.1

08 Feb 13:30
v6.0.1
3c31d59
Compare
Choose a tag to compare

v6.0.1 (2023-02-08)

Full Changelog

Enhancements:

  • refactor(compute): add command output when there is an error #801

v6.0.0

07 Feb 19:57
v6.0.0
894a1f3
Compare
Choose a tag to compare

v6.0.0 (2023-02-07)

Full Changelog

Breaking:

There are three breaking changes in this release.

The first comes from the removal of logic related to user environment
validation. This logic existed as an attempt to reduce the number of possible
errors when trying to compile a Compute project. The reality was that this
validation logic was tightly coupled to specific expectations of the CLI
(and of its starter kits) and consequently resulted in errors that were often
difficult to understand and debug, as well as restricting users from using their
own tools and scripts. By simplifying the logic flow we hope to reduce friction
for users who want to switch the tooling used, as well as reduce the general
confusion caused for users when there are environment validation errors, while
also reducing the maintenance overhead for contributors to the CLI code base.
This change has meant we no longer need to define a --skip-verification flag and
that resulted in a breaking interface change.

The second breaking change is to the objectstore command. This has now been
renamed to object-store. Additionally, there is no keys, get or insert
commands for manipulating the object-store entries. These operations have been
moved to a separate subcommand object-store-entry as this keeps the naming and
structural convention consistent with ACLs and Edge Dictionaries.

The third breaking change is to Edge Dictionaries, which sees the
dictionary-item subcommand renamed to dictionary-entry, again for
consistency with other similar subcommands.

  • Remove user environment validation logic #785
  • Rework objectstore subcommand #792
  • Rename object store 'keys' to 'entry' for consistency #795
  • refactor(dictionaryitem): rename from item to entry #798

Bug fixes:

  • Fix description in the manifest #788

Enhancements:

  • Update local_server object and secret store formats #789

Clean-ups:

  • refactor: move global struct and config.Source types into separate packages #796
  • refactor(secretstore): divide command files into separate packages #797

v5.1.1

01 Feb 14:51
v5.1.1
f1a1fbd
Compare
Choose a tag to compare

v5.1.1 (2023-02-01)

Full Changelog

Bug fixes:

  • fix(compute/build): AssemblyScript bugs #786

Dependencies:

  • Bump github.com/fatih/color from 1.14.0 to 1.14.1 #783