Skip to content

Latest commit

 

History

History
1888 lines (1120 loc) · 81.8 KB

CHANGELOG.md

File metadata and controls

1888 lines (1120 loc) · 81.8 KB

Changelog

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 (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 (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 (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

v10.2.2 (2023-06-22)

Enhancements:

  • refactor(ci): disable setup-go caching to avoid later cache restoration errors #960

Bug fixes:

  • fix(update): use consistent pattern for replacing binary #961
  • fix(kvstoreentry): avoid runtime panic for out of bound slice index #964

Dependencies:

  • build(deps): bump golang.org/x/term from 0.8.0 to 0.9.0 #959
  • build(deps): bump github.com/otiai10/copy from 1.11.0 to 1.12.0 #958
  • build(deps): bump golang.org/x/crypto from 0.9.0 to 0.10.0 #957

v10.2.1 (2023-06-19)

Enhancements:

  • feat(logging/s3): add --file-max-bytes flag #952
  • ci: better caching support #951
  • fix: remove sentry #954
  • refactor: logic clean-up #955

Bug fixes:

  • ci: fix cache restore bug #953

Dependencies:

  • build(deps): bump github.com/fastly/go-fastly/v8 from 8.4.1 to 8.5.0 #949

v10.2.0 (2023-06-12)

Enhancements:

  • feat: support viceroy pinning #947
  • Enable environment variable hints for --token flag #945
  • secret store: add --recreate and --recreate-must options #930

Dependencies:

  • build(deps): bump github.com/fastly/go-fastly/v8 from 8.3.0 to 8.4.1 #946

v10.1.0 (2023-05-18)

Deprecation notice: fastly compute hashsum is being phased out in favour of fastly compute hash-files.

Enhancements:

  • feat(compute/hashfiles): add hash-files subcommand #943

v10.0.1 (2023-05-17)

Bug fixes:

  • fix(kvstoreentry): support JSON output for bulk processing #940

v10.0.0 (2023-05-16)

Breaking:

This release introduces a breaking interface change to the kv-store-entry command. The --key-name flag is renamed to --key to be consistent with the other 'stores' supported within the CLI.

Bug fixes:

  • fastly backend create: override host cannot be an empty string #936
  • fix(profile): support automation tokens #938

Enhancements:

  • feat(kvstore): Bulk Import #927
  • refactor: make config/kv/secret store output consistent #937

Dependencies:

  • build(deps): bump github.com/fastly/go-fastly/v8 from 8.0.0 to 8.0.1 #926
  • build(deps): bump golang.org/x/term from 0.7.0 to 0.8.0 #928
  • build(deps): bump github.com/getsentry/sentry-go from 0.20.0 to 0.21.0 #929
  • build(deps): bump golang.org/x/crypto from 0.8.0 to 0.9.0 #934

v9.0.3 (2023-04-26)

Bug fixes:

  • Omit errors from Sentry reporting #922

Enhancements:

  • fix(compute/serve): always set verbose mode for viceroy #924

Dependencies:

  • build(deps): bump github.com/otiai10/copy from 1.10.0 to 1.11.0 #923

v9.0.2 (2023-04-19)

Bug fixes:

  • fix(kvstore): alias object-store #920

v9.0.1 (2023-04-19)

Bug fixes:

  • fix: reinstate support for [setup.object_stores] #918

v9.0.0 (2023-04-19)

There are a couple of important 'breaking' changes in this release.

The object-store command has been renamed to kv-store and the fastly.toml manifest (used by the Fastly CLI) has updated its data model (see https://developer.fastly.com/reference/compute/fastly-toml/) by renaming [setup.dictionaries] and [local_server.dictionaries] to their config_stores equivalent, which has resulted in a new manifest_version number due to the change to the consumer interface.

Breaking:

  • breaking(objectstore): rename object-store command to kv-store #904
  • breaking(manifest): support latest fastly.toml manifest data model #907

Bug fixes:

  • fix(manifest): re-raise remediation error to avoid go-toml wrapping issue #915
  • fix(compute/deploy): shorten message to avoid spinner bug #916

Enhancements:

  • feat(compute/deploy): add Secret Store to manifest [setup] #769
  • feat(config): add TypeScript Starter Kit #908
  • fix(errors/log): support filtering errors to Sentry #909
  • fix(manifest): improve output message for fastly.toml related errors #910
  • feat(service): support --json for service search subcommand #911
  • refactor: consistent --json implementation #912

Dependencies:

  • build(deps): bump github.com/otiai10/copy from 1.9.0 to 1.10.0 #900
  • build(deps): bump golang.org/x/crypto from 0.7.0 to 0.8.0 #901
  • build(deps): bump golang.org/x/term from 0.6.0 to 0.7.0 #902
  • build(deps): bump github.com/Masterminds/semver/v3 from 3.2.0 to 3.2.1 #903

v8.2.4 (2023-04-06)

Enhancements:

  • feat(compute/serve): support forcing a viceroy check #898

v8.2.3 (2023-04-05)

Full Changelog

Enhancements:

  • fix(profile): always prompt for token #896

Dependencies:

  • build(deps): bump github.com/getsentry/sentry-go from 0.19.0 to 0.20.0 #895
  • build(deps): bump actions/setup-go from 3 to 4 #882
  • build(deps): bump github.com/fatih/color from 1.14.1 to 1.15.0 #865

v8.2.2 (2023-03-31)

Full Changelog

Enhancements:

  • feat(ratelimit): add missing properties #891
  • feat(ratelimiter): add uri-dict-name flag #892

v8.2.1 (2023-03-30)

Full Changelog

Dependencies:

  • build(deps): bump tinygo baseline version #888

Bug fixes:

  • fix(toolchain): bump go version to align with updated tinygo constraint #889

v8.2.0 (2023-03-28)

Full Changelog

Enhancements:

  • feat(ratelimit): implement rate-limiter API #886

v8.1.2 (2023-03-21)

Full Changelog

Bug fixes:

  • fix(service/create): input.Type assigned wrong value #881

v8.1.1 (2023-03-20)

Full Changelog

Bug fixes:

  • Pass verbosity flag along to viceroy binary #878
  • fix(compute/serve): always display local server address #879

v8.1.0 (2023-03-17)

Full Changelog

Enhancements:

  • fix various lint and CI issues #873
  • feat(config-store): Add Config Store commands #829
  • fix(compute/deploy): service availability #875
  • fix(compute/deploy): check status code range #876

v8.0.1 (2023-03-15)

Full Changelog

Bug fixes:

  • fix(compute/serve): stop spinner before starting another instance #867
  • fix(http/client): address confusion with timeout error #869
  • fix(http/client): bump timeout to account for poor network conditions #870

Enhancements:

  • refactor(compute/deploy): change default port from 80 to 443 #866

v8.0.0 (2023-03-08)

Full Changelog

Breaking:

This release contains a small breaking interface change that has required us to bump to a new major version.

When viewing a profile token using fastly profile token the --name flag is no longer supported. It has been moved to a positional argument to make it consistent with the other profile subcommands. The profile token command now respects the global --profile flag, which allows a user to switch profiles for the lifetime of a single command execution.

Examples:

  • fastly profile token --name=example -> fastly profile token example
  • fastly profile token --profile=example
  • breaking(profiles): replace --name with positional arg + allow global override #862

Bug fixes:

  • fix(build): show build output with --verbose flag #853

Enhancements:

  • fix(profile/update): update active profile as default behaviour #857
  • fix(compute/serve): allow overriding of viceroy binary #859
  • feat(compute/deploy): check service availability #860

Dependencies:

  • build(deps): bump github.com/getsentry/sentry-go from 0.18.0 to 0.19.0 #856
  • build(deps): bump golang.org/x/crypto #855

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 (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 (2023-02-15)

Full Changelog

Bug fixes:

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

v6.0.5 (2023-02-15)

Full Changelog

Enhancements:

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

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 (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 (2023-02-08)

Full Changelog

Bug fixes:

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

v6.0.1 (2023-02-08)

Full Changelog

Enhancements:

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

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-validation 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 (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

v5.1.0 (2023-01-27)

Full Changelog

Enhancements:

  • Add Secret Store support #717
  • refactor(compute/deploy): reduce size of Exec() #775
  • refactor(compute/deploy): add messaging to explain [setup] #779

Bug fixes:

  • fix(objectstore/get): output value unless verbose/json flag passed #774
  • fix(compute/init): add warning for paths with spaces #778
  • fix(compute/deploy): clean-up new service creation on-error #776

Dependencies:

  • Bump github.com/fatih/color from 1.13.0 to 1.14.0 #772

v5.0.0 (2023-01-19)

Full Changelog

Breaking:

The objectstore command was incorrectly configured to have a long flag using a single character (e.g. --k and --v). These were corrected to --key and --value (and a short flag variant for -k was added as well).

  • feat(objectstore): add --json support to keys/list subcommands #762
  • feat(objectstore/get): implement --json flag for getting key value #763

Enhancements:

  • feat(compute/deploy): add Object Store to manifest [setup] #764
  • feat(compute/build): support locating language manifests outside project directory #765
  • feat(compute/serve): implement --watch-dir flag #758

Bug fixes:

  • fix(setup): object_store needs to be linked to service #767

Dependencies:

  • Bump github.com/getsentry/sentry-go from 0.16.0 to 0.17.0 #759

v4.6.2 (2023-01-12)

Full Changelog

Bug fixes:

  • fix(pkg/commands/compute/serve): prevent 386 arch users executing command #753
  • build(goreleaser): fix Windows archive generation to include zips #756

Dependencies:

  • Bump golang.org/x/term from 0.3.0 to 0.4.0 #754

v4.6.1 (2023-01-05)

Full Changelog

Bug fixes:

  • fix(pkg/commands/vcl/snippet): set default dynamic value #751

Dependencies:

  • Bump github.com/mattn/go-isatty from 0.0.16 to 0.0.17 #748

Enhancements:

  • build(makefile): add goreleaser target for testing builds locally #750

v4.6.0 (2023-01-03)

Full Changelog

Bug fixes:

  • vcl/snippet: pass AllowActiveLocked if --dynamic was passed #742

Dependencies:

  • Bump goreleaser/goreleaser-action from 3 to 4 #746

Enhancements:

  • Use DevHub endpoint for acquiring CLI/Viceroy metadata #739

v4.5.0 (2022-12-15)

Full Changelog

Documentation:

  • docs(pkg/compute): remove PLC labels from supported languages #740

Enhancements:

  • refactor(pkg/commands/update): move versioner logic to separate package #735
  • fix(compute): don't validate js-compute-runtime binary location #731
  • Link to Starter Kits during compute init #730
  • Update tinygo default build command #727
  • CI/Dockerfiles: minor dockerfiles improvements #722
  • Switch JavaScript build script based on webpack in package.json prebuild #728
  • Add support for TOML secret_store section #726

Dependencies:

  • Bump golang.org/x/term from 0.2.0 to 0.3.0 #733
  • Bump github.com/getsentry/sentry-go from 0.15.0 to 0.16.0 #734
  • Bump github.com/Masterminds/semver/v3 from 3.1.1 to 3.2.0 #724

v4.4.1 (2022-12-02)

Full Changelog

Bug fixes:

  • Avoid sending empty string to Backend create API #720

v4.4.0 (2022-11-29)

Full Changelog

Enhancements:

  • Add PrintLines to text package and use in logging #698
  • Add dependabot workflow automation for updating dependency #701
  • Add account name to pubsub and bigquery #699

Bug fixes:

  • Add missing --help flag to globals #695
  • Fix check for mutual exclusion flags #696
  • Fix object store TOML definitions, add test data #715

Dependencies:

  • Bump github.com/otiai10/copy from 1.7.0 to 1.9.0 #706
  • Bump github.com/mholt/archiver/v3 from 3.5.0 to 3.5.1 #703
  • Bump github.com/fastly/go-fastly/v6 from 6.6.0 to 6.8.0 #704
  • Bump github.com/mattn/go-isatty from 0.0.14 to 0.0.16 #702
  • Bump github.com/google/go-cmp from 0.5.6 to 0.5.9 #708
  • Bump github.com/mitchellh/mapstructure from 1.4.3 to 1.5.0 #709
  • Bump github.com/bep/debounce from 1.2.0 to 1.2.1 #711
  • Bump github.com/getsentry/sentry-go from 0.12.0 to 0.15.0 #712
  • Bump github.com/pelletier/go-toml from 1.9.3 to 1.9.5 #710
  • Bump go-fastly to v7 #707
  • Bump github.com/fsnotify/fsnotify from 1.5.1 to 1.6.0 #716

v4.3.0 (2022-10-26)

Full Changelog

Enhancements:

  • Fix release process to not use external config #688
  • Skip exit code 1 for 'help' output #689
  • Implement dynamic package name #686
  • Replace fiddle.fastly.dev with fiddle.fastlydemo.net #687
  • Code clean-up #685
  • Implement --quiet flag #690
  • Make compute build respect --quiet #694

Bug fixes:

  • Fix runtime panic #683
  • Fix runtime panic caused by outdated global flags #693
  • Fix runtime panic caused by missing --help global flag #695
  • Fix check for mutual exclusion flags#696
  • Correct installation instructions for Go #682

v4.2.0 (2022-10-18)

Full Changelog

Enhancements:

  • Service Authorization #660
  • Add Object Store API calls #670
  • Remove upper limit on Go toolchain #678

Bug fixes:

  • Fix compute pack to produce expected package.tar.gz filename #662
  • Fix --help flag to not display an error #672
  • Fix command substitution issue for Windows OS #677
  • Fix Makefile for Windows #679

v4.1.0 (2022-10-11)

Full Changelog

Bug fixes:

  • Fix Rust validation step for fastly crate dependency #661
  • Fix compute build --first-byte-timeout #667
  • Ensure the ./bin directory is present even with --skip-verification #665

Enhancements:

  • Reduce duplication of strings in logging package #653
  • Support cert_host and use_sni Viceroy properties #663

v4.0.1 (2022-10-05)

Full Changelog

Bug fixes:

  • Fix JS dependency lookup #656
  • Fix Rust 'existing project' bug #657
  • Fix Rust toolchain lookup regression #658

v4.0.0 (2022-10-04)

Full Changelog

Enhancements:

  • Bump go-fastly to v6.5.1 #635
  • Update --ssl-ciphers description #636
  • Improve JS error message when a dependency is missing #637
  • Change default service version selection behaviour #638
  • Support for additional S3 storage classes #641
  • Change compute serve --watch flag to default to the project root directory #642
  • Document the newly supported Datadog sites for logging #576
  • Move the internal build scripts to the fastly.toml manifest #640
  • Implement compute hashsum #649
  • Add support for TOML object_store section #651
  • Add --account-name to GCS logging endpoint #549

Bug fixes:

  • errors/log: be defensive against nil pointer dereference #650

Documentation:

v3.3.0 (2022-09-05)

Full Changelog

Enhancements:

  • TLS Support #630
  • CI to use community TinyGo action #624
  • Improve compute init remediation #627
  • Change default Makefile target #629
  • Refactor after remote config removal #626
  • Refactor for revive linter #632

v3.2.5 (2022-08-10)

Full Changelog

Enhancements:

  • Remove dynamic configuration #620
  • Static analysis updates #621
  • Semgrep updates #619

Bug fixes:

  • Fix fastly help tests to work with Go 1.19 #623

v3.2.4 (2022-07-28)

Full Changelog

Bug fixes:

  • Fix --completion-script-zsh #617

v3.2.3 (2022-07-28)

Full Changelog

Bug fixes:

  • Block for config update if CLI version updated #615

v3.2.2 (2022-07-28)

Full Changelog

Bug fixes:

  • Ignore TTL & update config if app version doesn't match config version #612

v3.2.1 (2022-07-27)

Full Changelog

Enhancements:

  • Print subprocess commands in verbose mode #608

Bug fixes:

  • Ensure application configuration is updated after fastly update #610
  • Don't include language manifest in packages #609

v3.2.0 (2022-07-27)

Full Changelog

Enhancements:

  • Compute@Edge TinyGo Support #594
  • pkg/commands/profile: add --json flag for list command #602

Bug fixes:

  • pkg/commands/compute/deploy.go (getHashSum): sort key order #596
  • pkg/errors/log.go: prevent runtime panic due to a nil reference #601

v3.1.1 (2022-07-04)

Full Changelog

Enhancements:

  • Handle build info more accurately #588

Bug fixes:

  • Fix version check #589
  • Address profile data loss #590

v3.1.0 (2022-06-24)

Full Changelog

Enhancements:

  • Implement profile token command #578

Bug fixes:

  • Fix compute publish --non-interactive #583
  • Support fastly --help <command> format #581

v3.0.1 (2022-06-23)

Full Changelog

Enhancements:

  • Makefile: when building binary, depend on .go files #579
  • Include fastly.toml hashsum #575
  • Hash main.wasm and not the package #574

v3.0.0 (2022-05-30)

Full Changelog

Breaking changes:

  • Implement new global flags for handling interactive prompts #568

Bug fixes:

  • The backend create command should set --port value if specified #566
  • Don't overwrite file.Load error with nil #569

Enhancements:

  • Support [scripts.post_build] #565
  • Support Viceroy "inline-toml" format and new contents field #567
  • Add example inline-toml dictionary to tests #570
  • Avoid config update checks when handling 'completion' flags #554

v2.0.3 (2022-05-20)

Full Changelog

Bug fixes:

  • Update Sentry DSN #563

v2.0.2 (2022-05-18)

Full Changelog

Enhancements:

  • Remove user identifiable data #561

v2.0.1 (2022-05-17)

Full Changelog

Security:

  • Omit data from Sentry #559

v2.0.0 (2022-04-05)

Full Changelog

Bug fixes:

  • Update --request-max-entries/--request-max-bytes description defaults #541

Enhancements:

  • Add --debug flag to compute serve #545
  • Support multiple profiles via [profiles] configuration #546
  • Reorder C@E languages and make JS 'Limited Availability' #548

v1.7.1 (2022-03-14)

Full Changelog

Bug fixes:

  • Fix runtime panic in arg parser #542

v1.7.0 (2022-02-22)

Full Changelog

Enhancements:

  • Add fastly user to Dockerfiles #521
  • Support Sentry 'suspect commit' feature #508
  • Populate language manifest name field with project name #527
  • Make --name flag for service search command a required flag #529
  • Update config last_checked field even on config load error #528
  • Implement Compute@Edge Free Trial Activation #531
  • Bump Rust toolchain constraint to 1.56.1 for 2021 edition #533
  • Support Arch User Repositories #530

v1.6.0 (2022-01-20)

Full Changelog

Enhancements:

  • Display the requested command in Sentry breadcrumb #519

v1.5.0 (2022-01-20)

Full Changelog

Enhancements:

  • Implement --json output for describe/list operations #505
  • Omit unix file permissions from error message #507
  • Implement new go-fastly pagination types #511

v1.4.0 (2022-01-07)

Full Changelog

Enhancements:

  • Add viceroy.ttl to CLI app config #489
  • Display viceroy --version if installed #487
  • Support compute build for 'other' language option using [scripts.build] #484
  • Pass parent environment to subprocess #491
  • Implement a yes/no user prompt abstraction #500
  • Ensure build compilation errors are displayed #492
  • Implement --service-name as swap-in replacement for --service-id #495
  • Support FASTLY_CUSTOMER_ID environment variable #494
  • Support gotest #501

Bug fixes:

  • Fix the --watch flag for AssemblyScript #493
  • Fix compute init --from for Windows #490
  • Avoid triggering GitHub API rate limit when running Viceroy in CI #488
  • Fix Windows ANSI escape code rendering #503
  • Prevent runtime panic when global flag set with no command #502

v1.3.0 (2021-12-01)

Full Changelog

Enhancements:

  • Implement custom [scripts.build] operation #480
  • Move manifest package into top-level pkg directory #478
  • Refactor AssemblyScript logic to call out to the JavaScript implementation #479

v1.2.0 (2021-11-25)

Full Changelog

Enhancements:

  • Implement SEE ALSO section in help output #472
  • Add command 'API' metadata #473

v1.1.1 (2021-11-11)

Full Changelog

Bug fixes:

  • Avoid displaying a wildcard domain #468
  • Set sensible defaults for host related flags on backend create #469
  • Fix error extracting package files from .tgz archive #470

v1.1.0 (2021-11-08)

Full Changelog

Enhancements:

  • Implement --watch flag for compute serve #464

v1.0.1 (2021-11-08)

Full Changelog

Bug fixes:

  • Allow git repo to be used as a value at the starter kit prompt #465

v1.0.0 (2021-11-02)

Full Changelog

Changed:

  • Use EnumsVar for auth-token --scope #447
  • Rename logs tail to log-tail #456
  • Rename dictionaryitem to dictionary-item #459
  • Rename fastly compute ... --path flags #460
  • Rename --force to --skip-verification #461

v0.43.0 (2021-11-01)

Full Changelog

Bug fixes:

  • Ignore possible rustup 'sync' output when calling rustc --version #453
  • Bump goreleaser to avoid Homebrew warning #455
  • Prevent .Hidden() flags/commands from being documented via --format json #454

v0.42.0 (2021-10-22)

Full Changelog

Enhancements:

  • Fallback to existing viceroy binary in case of network error #445
  • Remove text.ServiceType abstraction #449

Bug fixes:

  • Avoid fetching packages when manifest exists #448
  • Implement --path lookup fallback for manifest #446
  • Fix broken Windows support #450

v0.41.0 (2021-10-19)

Full Changelog

Enhancements:

  • Implement [setup.log_endpoints.<name>] support #443
  • The compute init --from flag should support archives #428
  • Add region support for logentries logging endpoint #375

v0.40.2 (2021-10-14)

Full Changelog

Bug fixes:

  • Fix shell autocomplete evaluation #441

v0.40.1 (2021-10-14)

Full Changelog

Bug fixes:

  • Fix shell completion (and Homebrew upgrade) #439

v0.40.0 (2021-10-13)

Full Changelog

Bug fixes:

  • Auto-migrate manifest_version from 1 to 2 when applicable #434
  • Better error handling for manifest parsing #436

Enhancements:

  • Implement [setup.dictionaries] support #431
  • Tests for [setup.dictionaries] support #438
  • Refactor app.Run() #429
  • Ensure manifest is read only once for all missed references #433

v0.39.3 (2021-10-06)

Full Changelog

Bug fixes:

  • Add missing description for user list --customer-id #425
  • Trim the rust version to fix parse errors #427

Enhancements:

  • Abstraction layer for [setup.backends] #421

v0.39.2 (2021-09-29)

Full Changelog

Bug fixes:

  • Provide better remediation for unrecognised manifest_version #422
  • Bump go-fastly to v5.0.0 to fix ACL entries bug #417
  • Remove Rust debug flags #416

Enhancements:

  • Clarify Starter Kit options in compute init flow #418
  • Avoid excessive manifest reads #420

v0.39.1 (2021-09-21)

Full Changelog

Bug fixes:

  • Bug fixes for auth-token #413

v0.39.0 (2021-09-21)

Full Changelog

Enhancements:

  • Implement user commands #406
  • Implement auth-token commands #409
  • Add region support for New Relic logging endpoint #378

Bug fixes:

  • Add the --name flag to compute deploy #410

v0.38.0 (2021-09-15)

Full Changelog

Enhancements:

  • Add support for override_host to Local Server configuration #394
  • Add support for Dictionaries to Local Server configuration #395
  • Integrate domain validation #402
  • Refactor Versioner GitHub.Download() logic #403

Bug fixes:

  • Pass down compute publish --name to compute deploy #398
  • Sanitise name when packing the wasm file #401
  • Use a non-interactive progress writer in non-TTY environments #405

Removed:

  • Remove support for Scoop, the Window's command-line installer #396
  • Remove unused 'rename local binary' code #399

v0.37.1 (2021-09-06)

Full Changelog

Enhancements:

  • Bump go-github dependency to latest release #388
  • Add Service ID to --verbose output #383

Bug fixes:

  • Download Viceroy to a randomly generated directory #386
  • Bug fix for ensuring assets are downloaded into a randomly generated directory #389

v0.37.0 (2021-09-03)

Full Changelog

Enhancements:

  • Update CLI config using flag on update command #382
  • Validate package size doesn't exceed limit #380
  • Log tailing should respect the configured --endpoint #374
  • Support Windows arm64 #372
  • Refactor compute deploy logic to better support [setup] configuration #370
  • Omit messaging when using --accept-defaults #366
  • Implement [setup] configuration for backends #355
  • Refactor code to help CI performance #360

Bug fixes:

  • Add executable permissions to Viceroy binary after renaming/moving it #368
  • Update rust toolchain validation steps #371

Security:

  • Update dependency to avoid dependabot warning in GitHub UI #381

v0.36.0 (2021-07-30)

Full Changelog

Enhancements:

  • Implement logging newrelic command #354

v0.35.0 (2021-07-29)

Full Changelog

Enhancements:

  • Support for Compute@Edge JS SDK (Beta) #347
  • Implement --override-host and --ssl-sni-hostname #352
  • Implement acl command #350
  • Implement acl-entry command #351
  • Separate command files from other logic files #349
  • Log a record of errors to disk #340

Bug fixes:

  • Fix nondeterministic flag parsing #353
  • Fix compute serve --addr description to reference port requirement #348

v0.34.0 (2021-07-16)

Full Changelog

Enhancements:

  • Implement compute serve subcommand #252
  • Simplify logic for prefixing fastly spec to file #345
  • fastly compute publish and deploy should accept a comment #328
  • Improve GitHub Actions intermittent test timeouts #336
  • New flags for displaying the CLI config, and its location #338
  • Don't allow stats short help to wrap #331

Bug fixes:

  • Ensure incompatibility message only shown when config is invalid #335
  • Check-in static config for traditional golang workflows #337

v0.33.0 (2021-07-06)

Full Changelog

Enhancements:

  • Improve CI workflow #333
  • Support multiple versions of Rust #330
  • Replace app.Run positional signature with a struct #329
  • Test suite improvements #327

v0.32.0 (2021-06-30)

Full Changelog

Enhancements:

  • Embed app config into compiled CLI binary #312
  • Service ID lookup includes $FASTLY_SERVICE_ID environment variable #320
  • Implement vcl custom commands #310
  • Implement vcl snippet commands #316
  • Implement purge command #323

Bug fixes:

  • Correctly set the port if --use-ssl is used #317
  • Fixed a regression in compute publish #321

v0.31.0 (2021-06-17)

Full Changelog

Enhancements:

  • Add new pops command #309
  • Add new ip-list command #308
  • Implement new --version and --autoclone flags #302
  • Reword backend create --use-ssl warning output #303
  • Define new --version and --autoclone flags #300
  • Implement remediation for dynamic config context deadline error #298
  • Capitalise 'n' for [y/N] prompt #299
  • Move exec behaviour from common package to its own package #297
  • Move command behaviour from common package to its own package #296
  • Move time behaviour from common package to its own package #295
  • Move sync behaviour from common package to its own package #294
  • Move undo behaviour from common package to its own package #293
  • Surface any cargo metadata errors #286

Bug fixes:

  • Don't persist --service-id flag value to manifest #307
  • Fix broken --service-id flag in compute publish #292
  • Fix parsing backend port number #291

Documentation:

  • Update broken link in stats historical #285

v0.30.0 (2021-05-19)

Full Changelog

Enhancements:

  • Update messaging for rustup self update #281
  • Replace archived go-git dependency #283
  • Implement pack subcommand #282

v0.29.0 (2021-05-13)

Full Changelog

Enhancements:

  • Add arm64 to macOS build #277

Bug fixes:

  • Validate package before prompting inside compute deploy flow #279
  • Clear Service ID from manifest when service is deleted #278

v0.28.0 (2021-05-11)

Full Changelog

Enhancements:

  • Add isBool to command flags #267
  • Move service creation to fastly compute deploy. #266

Bug fixes:

  • Fix runtime panic when dealing with empty manifest. #274
  • Fix --force flag not being respected. #272
  • Clean-out service_id from manifest when deleting a service. #268

v0.27.2 (2021-04-21)

Full Changelog

Bug fixes:

  • Fix bug where legacy creds are reset after call to configure subcommand. #260

v0.27.1 (2021-04-16)

Full Changelog

Bug fixes:

  • Track CLI version. #257

v0.27.0 (2021-04-15)

Full Changelog

Enhancements:

  • Support IAM role in Kinesis logging endpoint #255
  • Support IAM role in S3 and Kinesis logging endpoints #253
  • Add support for file_max_bytes configuration for Azure logging endpoint #251
  • Warn on empty directory #247
  • Add compute publish subcommand #242
  • Allow local binary to be renamed #240
  • Retain RUSTFLAGS values from the environment #239
  • Make GitHub Versioner configurable #236
  • Add support for compression_codec to logging file sink endpoints #190

Bug fixes:

  • Remove flaky test logic. #249
  • Check the rustup version #248
  • Print all commands and subcommands in usage #244
  • pkg/logs: fix typo in error message #238

v0.26.3 (2021-03-26)

Full Changelog

Enhancements:

  • Default to port 443 if UseSSL set. #234

Bug fixes:

  • Ensure all UPDATE operations don't set optional fields. #235
  • Avoid setting fields that cause API to fail when given zero value. #233

v0.26.2 (2021-03-22)

Full Changelog

Enhancements:

  • Extra error handling around loading remote configuration data. #229

Bug fixes:

  • fastly compute build exits with error 1 #227
  • Set GOVERSION for goreleaser. #228

v0.26.1 (2021-03-19)

Full Changelog

Bug fixes:

  • Fix manifest_version as a section bug. #225

v0.26.0 (2021-03-18)

Full Changelog

Enhancements:

  • Remove version from fastly.toml manifest. #222
  • Don't run "cargo update" before building rust app. #221

Bug fixes:

  • Loading remote config.toml should fail gracefully. #223
  • Update the fastly.toml manifest if missing manifest_version. #220
  • Refactor UserAgent. #219

v0.25.2 (2021-03-16)

Full Changelog

Bug fixes:

  • Fix duplicate warning messages and missing SetOutput(). #216

v0.25.1 (2021-03-16)

Full Changelog

Bug fixes:

  • The manifest_version should default to 1 if missing. #214

v0.25.0 (2021-03-16)

Full Changelog

Enhancements:

  • Replace deprecated ioutil functions with go 1.16. #212
  • Replace TOML parser #211
  • Implement manifest_version into the fastly.toml #210
  • Dynamic Configuration #187

Bug fixes:

  • Log output should be simplified when running in CI #175
  • Override error message in compute init #204

v0.24.2 (2021-02-15)

Full Changelog

Bug fixes:

  • Fix CI binary overlap #209
  • Fix CI workflow by switching from old syntax to new #208
  • Fix goreleaser version lookup #207
  • LogTail: Properly close response body #205
  • Add port prompt for compute init #203
  • Update GitHub Action to not use commit hash #200

v0.24.1 (2021-02-03)

Full Changelog

Bug fixes:

  • Logs Tail: Give the user better feedback when --from flag errors #201

v0.24.0 (2021-02-02)

Full Changelog

Enhancements:

  • Add static content starter kit #197
  • 🦀 Update rust toolchain #196

Bug fixes:

  • Fix go vet error related to missing docstring #198

v0.23.0 (2021-01-22)

Full Changelog

Enhancements:

  • Update Go-Fastly dependency to v3.0.0 #193
  • Support for Compute@Edge Log Tailing #192

Bug fixes:

  • Resolve issues with Rust integration tests. #194
  • Update URL for default Rust starter #191

v0.22.0 (2021-01-07)

Full Changelog

Enhancements:

  • Add support for TLS client and batch size options for splunk #183
  • Add support for Kinesis logging endpoint #177

v0.21.2 (2021-01-06)

Full Changelog

Bug fixes:

  • Switch from third-party dependency to our own mirror #184

v0.21.1 (2020-12-18)

Full Changelog

Bug fixes:

  • CLI shouldn't recommend Rust crate prerelease versions #168
  • Run cargo update before attempting to build Rust compute packages #179

v0.21.0 (2020-12-14)

Full Changelog

Enhancements:

  • Adds support for managing edge dictionaries #159

v0.20.0 (2020-11-24)

Full Changelog

Enhancements:

  • Migrate to Go-Fastly 2.0.0 #169

Bug fixes:

  • Build failure with Cargo workspaces #171
  • Support cargo workspaces #172

v0.19.0 (2020-11-19)

Full Changelog

Enhancements:

  • Support sasl kafka endpoint options in Fastly CLI #161

v0.18.1 (2020-11-03)

Full Changelog

Enhancements:

  • Update the default Rust template to fastly-0.5.0 #163

Bug fixes:

  • Constrain Version Upgrade Suggestion #165
  • Fix AssemblyScript compilation messaging #164

v0.18.0 (2020-10-27)

Full Changelog

Enhancements:

  • Add AssemblyScript support to compute init and build commands #160

v0.17.0 (2020-09-24)

Full Changelog

Enhancements:

  • Bump supported Rust toolchain version to 1.46 #156
  • Add service search command #152

Bug fixes:

  • Broken link in usage info #148

v0.16.1 (2020-07-21)

Full Changelog

Bug fixes:

  • Display the correct version number on error #144
  • Fix bug where name was not added to the manifest #143

v0.16.0 (2020-07-09)

Full Changelog

Enhancements:

  • Compare package hashsum during deployment #139
  • Allow compute init to be reinvoked within an existing package directory #138

v0.15.0 (2020-06-29)

Full Changelog

Enhancements:

  • Adds OpenStack logging support #132

v0.14.0 (2020-06-25)

Full Changelog

Enhancements:

  • Bump default Rust template version to v0.4.0 #133

v0.13.0 (2020-06-15)

Full Changelog

Enhancements:

  • Allow compute services to be initialised from an existing service ID #125

Bug fixes:

  • Fix bash completion #128

Closed issues:

  • Bash Autocomplete is broken #127

v0.12.0 (2020-06-05)

Full Changelog

Enhancements:

  • Adds MessageType field to SFTP #118
  • Adds User field to Cloudfiles Updates #117
  • Adds Region field to Scalyr #116
  • Adds PublicKey field to S3 #114
  • Adds MessageType field to GCS Updates #113
  • Adds ResponseCondition and Placement fields to BigQuery Creates #111

Bug fixes:

  • Unable to login with API key #94

v0.11.0 (2020-05-29)

Full Changelog

Enhancements:

  • Add ability to exclude files from build package #87

Bug fixes:

  • unintended files included in upload package #24

v0.10.0 (2020-05-28)

Full Changelog

Enhancements:

  • Adds Google Cloud Pub/Sub logging endpoint support #96
  • Adds Datadog logging endpoint support #92
  • Adds HTTPS logging endpoint support #91
  • Adds Elasticsearch logging endpoint support #90
  • Adds Azure Blob Storage logging endpoint support #89

v0.9.0 (2020-05-21)

Full Changelog

Breaking changes:

  • Describe subcommand consistent --name short flag -d -> -n #85

Enhancements:

  • Adds Kafka logging endpoint support #95
  • Adds DigitalOcean Spaces logging endpoint support #80
  • Adds Rackspace Cloudfiles logging endpoint support #79
  • Adds Log Shuttle logging endpoint support #78
  • Adds SFTP logging endpoint support #77
  • Adds Heroku logging endpoint support #76
  • Adds Honeycomb logging endpoint support #75
  • Adds Loggly logging endpoint support #74
  • Adds Scalyr logging endpoint support #73
  • Verify fastly crate version during compute build. #67
  • Basic support for historical & realtime stats #66
  • Adds Splunk endpoint #64
  • Adds FTP logging endpoint support #63
  • Adds GCS logging endpoint support #62
  • Adds Sumo Logic logging endpoint support #59
  • Adds Papertrail logging endpoint support #57
  • Adds Logentries logging endpoint support #56

Bug fixes:

  • Fallback to a file copy during update if the file rename fails #72

v0.8.0 (2020-05-13)

Full Changelog

Enhancements:

  • Add a --force flag to compute build to skip verification steps. #68
  • Improve compute build rust compilation error messaging #60
  • Adds Syslog logging endpoint support #55

Bug fixes:

  • debian package doesn't install in default $PATH #58
  • deb and rpm packages install the binary in /usr/local instead of /usr/local/bin #53

Closed issues:

  • ERROR: error during compilation process: exit status 101. #52

v0.7.1 (2020-05-04)

Full Changelog

Bug fixes:

  • Ensure compute deploy selects the most ideal version to clone/activate #50

v0.7.0 (2020-04-28)

Full Changelog

Enhancements:

  • Publish scoop package manifest during release process #45
  • Generate dep and rpm packages during release process #44
  • 🦀 🆙date to Rust 1.43.0 #40

Closed issues:

  • README's build instructions do not work without additional dependencies met #35

v0.6.0 (2020-04-24)

Full Changelog

Enhancements:

  • Bump default Rust template to v0.3.0 #32
  • Publish to homebrew #26

Bug fixes:

  • Don't display the fastly token in the terminal when doing fastly configure #27
  • Documentation typo in fastly service-version update #22
  • Fix typo in service-version update command #31
  • Tidy up fastly configure text output #30
  • compute/init: make space after Author prompt match other prompts #25

v0.5.0 (2020-04-08)

Full Changelog

Enhancements:

  • Add the ability to initialise a compute project from a specific branch #14

v0.4.1 (2020-03-27)

Full Changelog

Bug fixes:

  • Fix persistence of author string to fastly.toml #12
  • Fix up undoStack.RunIfError #11

v0.4.0 (2020-03-20)

Full Changelog

Enhancements:

  • Add commands for S3 logging endpoints #9
  • Add useful next step links to compute deploy #8
  • Persist version to manifest file when deploying compute services #7

Bug fixes:

  • Fix comment for --use-ssl flag #6

v0.3.0 (2020-03-11)

Full Changelog

Enhancements:

  • Interactive init #5

v0.2.0 (2020-02-24)

Full Changelog

Enhancements:

  • Improve toolchain installation help messaging #3

Bug fixes:

  • Filter unwanted files from template repository whilst initialising #1

v0.1.0 (2020-02-05)

Full Changelog

Initial release 🎉

* This Changelog was automatically generated by github_changelog_generator