Skip to content

Releases: warrensbox/terraform-switcher

0.13.1300

27 Oct 06:05
201c8e9

Choose a tag to compare

Changelog

  • 05dbd11 Add Linux ARMv{6,7} arch to install.sh
  • 5fbd75d Create dependabot.yml
  • ef92e9a Merge pull request #257 from Jukie/master
  • f0a0811 Merge pull request #261 from warrensbox/feature/add_more_platforms_to_install.sh
  • 201c8e9 Merge pull request #276 from warrensbox/master
  • 62ae3e1 Update dependabot.yml
  • 107631f update go sum

0.13.1288

04 Jul 06:22
b24be8c

Choose a tag to compare

Changelog

  • b83a34e Merge pull request #255 from warrensbox/jukie/cve-fixes
  • b24be8c Merge pull request #258 from warrensbox/master
  • 151798e Upgrade libraries: cve's

0.13.1275

20 Jun 06:29
1d262d6

Choose a tag to compare

Context

Tfswitch cannot reach Hashicorp url and cli help not up-to-date

Fixed

  • Update the regex for hashicorp url
  • Update documentation on CLI

Upgrade

N/A

Added

N/A

Removed

N/A

Fixes:

#251 #249

Changelog

  • 6c622c5 🐛 Corrected bad installations if user doesn't input 2 dots in version
  • 585ed97 📝 Updated documentation instead of code
  • 4ab85e4 Drop xargs in favour of while loop and switch one another set +e
  • 98cdf38 Fail CircleCI early
  • 73ca476 Merge pull request #246 from warrensbox/fix/Fail_CircleCI_pipeline_on_errors
  • 3072cc2 Merge pull request #249 from afreyermuth98/master
  • 59df4fb Merge pull request #251 from chrispruitt/adjust-mirror-regex
  • 1d262d6 Merge pull request #253 from warrensbox/master
  • 49579b9 Push breaking change for testing
  • 518152c Revert last change
  • cc61983 adjust regex to get all terraform versinos from mirror

0.13.1250

27 May 17:14
8a41cc2

Choose a tag to compare

Context

Issues with changing directories

Fixed

  • Chdir with absolute project path
  • MacOs -> macOS to be consistent with the standard casing

Upgrade

  • upgraded to go 1.18

Added

  • Include testing in build job
    find ./test-data/* -type d | xargs -n 1 ./build/tfswitch -c

Removed

N/A

Fixes:

#222 #230

Changelog

  • 64761d4 Automate binary tests from test-data directory (#234)
  • 404af78 Fix chDirPath flag to allow absolute paths
  • 08a85ed Fix image ref
  • 214a4bd Fix working directory
  • 35f482a MacOs -> macOS to be consistent with the standard casing (#230)
  • 35b481a Merge pull request #235 from Jukie/techdebt/go-upgrade
  • 6583c47 Merge pull request #244 from warrensbox/bug-fix/chdirpath
  • 8a41cc2 Merge pull request #245 from warrensbox/master
  • 936debf Swap logic for sourcing directory path
  • 5e36f12 Upgrade to Go 1.18
  • 1b35962 Upgrade to Go 1.18 (#232)

0.14.0-alpha-1

25 May 05:32
35b481a

Choose a tag to compare

0.14.0-alpha-1 Pre-release
Pre-release

Context

This is the initial alpha release for v0.14. Will introduce new way to GET list of releases from hashicorp.com

Refactored

This will now GET the versions from the new API url https://api.releases.hashicorp.com/v1/releases/terraform

Removed

N/A

Fixes:

#222

0.13.1221

11 May 14:30
ed7e986

Choose a tag to compare

Changelog

  • 7282aec Applying patch from allen-servedio
  • 31a5b91 Merge pull request #225 from micahflattbuilt/version_url_tweaks
  • ed7e986 Merge pull request #229 from warrensbox/master
  • c0b7bc6 Simplify the regex and account for possiblity of re-introduction of ending slash
  • a9507db Tweaking URL regex based on comment from aderuelle

0.13.1218

08 Mar 21:44
9a8164c

Choose a tag to compare

Context

The semver implementation was improved. Previous version of tfswitch did not implement this correctly.

Now it follows terraform's guideline.

~>: Allows only the rightmost version component to increment. For example, to allow new patch releases within a specific minor release, use the full version number: ~> 1.0.4 will allow installation of 1.0.5 and 1.0.10 but not 1.1.0. This is usually called the pessimistic constraint operator

Fixed

Semver implementation

Added

N/A

Removed

N/A

Fixes:

#200 #207 #215

Changelog

  • 746549d Added test cases for unit test
  • ea69e4d Merge pull request #208 from warrensbox/fix/semver-constraints
  • 092ccf5 Merge pull request #209 from warrensbox/fix/fix-semver-main
  • 9a8164c Merge pull request #216 from warrensbox/master
  • 4775ac8 added quick start
  • 912f548 fix semver related issue
  • a5b23dd fixed semver for stable release
  • e7d1780 removed comment

0.13.1201

29 Nov 03:09
7e72036

Choose a tag to compare

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog,
and this project adheres to Semantic Versioning.

[0.13.1201] - 2021-11-28

Bug fixes

  • Fixed: No matter what users pass to --bin or -b, the local binary is called terraform. User can resume old behavior where -b is custom

Added

  • -c, --chdir=value : Switch to a different working directory before executing the given command. Ex: tfswitch --chdir terraform_project will run tfswitch in the terraform_project directory
  • -P, --show-latest-pre=value : Show latest pre-release implicit version. Ex: tfswitch --show-latest-pre 0.13 prints 0.13.0-rc1 (latest)
  • -S, --show-latest-stable=value : Show latest implicit version. Ex: tfswitch --show-latest-stable 0.13 prints 0.13.7 (latest)
  • -U, --show-latest : Show latest stable version

Removed

  • snapcraft installation option

Merged and released commits

  • c730f27 Add "show" options to just show the latest versions rather than actually switch or install.
  • 2708a3b Implement --chdir - Flag
  • 01aed79 Install darwin arm64 terraform version when desired version is equal or greater than 1.0.2 and you run MacOS on M1 CPU
  • 806d0c6 Merge branch 'datadrivers-feature/chdir-flag'
  • 39f7d0f Merge branch 'feature/chdir-flag' of git://github.com/datadrivers/terraform-switcher into datadrivers-feature/chdir-flag
  • 76ee4c0 Merge pull request #190 from warrensbox/develop
  • b9e4693 Merge pull request #191 from warrensbox/develop
  • 6924416 Merge pull request #193 from grimm26/show
  • 1a7aa80 Merge pull request #198 from spring-media/master
  • 48e8ed9 Merge pull request #202 from hlepesant/master
  • f8a3785 Merge pull request #205 from warrensbox/feature/remove-snap-groom-code
  • 7e72036 Merge pull request #206 from warrensbox/master
  • 09816b6 Refactor code - if version exist, simply change symlink
  • a3955b5 Update README.md
  • e3adcbc Update install.sh
  • 20ca883 Update lib/install.go
  • f51e56d Update lib/install.go
  • a13d3ae add darwin/arm64 in supported arch
  • 40b5968 add make install
  • 4601962 add snapsccrft option
  • df20be5 aded default chdir path, fixed typo
  • f20faca bump snapcraft
  • 9616cf0 compile last tag
  • e60bbda custom mirror option documentation
  • c7b1a83 testing SNAP_REAL_HOME
  • 03d377b testing snapcraft

0.12.1168

13 Jul 18:26
d3b466c

Choose a tag to compare

Changelog

03a3fe5 Merge pull request #185 from warrensbox/develop
d3b466c Merge pull request #186 from warrensbox/master
916c9a7 testing windows build

0.12.1119

02 Jul 22:14

Choose a tag to compare

Changelog

42dd45d rm netbsd