Skip to content

Releases: hashicorp/go-tfe

v0.21.0

09 Dec 20:15
0c9b270
Compare
Choose a tag to compare

ENHANCEMENTS:

Full Changelog: v0.20.0...v0.21.0

v0.20.0

22 Oct 16:38
410a8d6
Compare
Choose a tag to compare

ENHANCEMENTS:

  • adds support for send-passing-statuses-for-untriggered-speculative-plans attribute by @brandonc in #270

BUG FIXES:

  • Let official, enabled, and beta be optional when creating new Terraform tool versions by @lafentres in #273

NOTES:

Full Changelog: v0.19.0...v0.20.0

v0.19.0

21 Sep 02:35
d25b0ab
Compare
Choose a tag to compare

BREAKING CHANGES

The method signature for Workspaces.RemoteStateConsumershas changed from:

Workspaces.RemoteStateConsumers(ctx context.Context, workspaceID string)

To:

Workspaces.RemoteStateConsumers(ctx context.Context, workspaceID string, options *RemoteStateConsumersListOptions)

This is to address an issue where you could not effectively query more than one paginated response worth of state consumers with this method. To easily retain the same behavior in your client code, you can add nil as the final parameter of calls to this method.

ENHANCEMENTS

  • Support for workspace tagging (#243)
  • Added IngressAttribute.CommitSHA (#241)
  • Added auto-apply to Runs and RunCreateOptions (#257)
  • Added Workspace ReadWithOptions (#248)

BUGFIXES

  • Added Workspace tag options validation to return error when no tags (#255)
  • Fixed issue where Workspaces.RemoteStateConsumers() would not fetch more than a single page of consumers (#260)

v0.18.0

20 Aug 13:55
f5e4ef8
Compare
Choose a tag to compare

Enhancements

  • Updated to use Golang 1.17 (#244)
  • Breaking Change Prior to this release, StateVersionOutput.Value was of string type. This was very limiting because the Value can be one of many types. Now, StateVersionOutput.Value is an interface{} type and requires the user of this client library to type cast the StateVersionOutput.Value into whichever type the StateVersionOutput is.

v0.17.1

26 Jul 15:06
0d658f2
Compare
Choose a tag to compare

SECURITY FIXES:

v0.17.0

23 Jun 01:56
6908572
Compare
Choose a tag to compare

ENHANCEMENTS

  • Add support for a PolicySet's PolicySetVersion relations (#234, #235)
  • Add support for the structured run output workspace setting, which allows workspaces to take advantage of the newly redesigned apply UI (#233)

v0.16.0

11 Jun 14:06
1cf894c
Compare
Choose a tag to compare

Enhancements

  • Add workspace source metadata (#224)
    • The source name and source URL are metadata values that can be set for workspaces created by an application using the API.
  • Add PolicySetVersions (#230)
    • Adds the ability to Create, and Read PolicySetVersions and Upload policy sets
  • Adds the IngressAttributes relation to the ConfigurationVersion (#231)

Bug Fixes

  • Remove unused EnterprisePlan attribute on Organization (#225)
  • Fix the RunStatusTimestamps on a Run (#226)

v0.15.0

18 May 20:56
0f08d6b
Compare
Choose a tag to compare

ENHANCEMENTS

  • Adds support for -refresh=false, -refresh-only, and -replace= runs, soon to be supported in Terraform Cloud in conjunction with the Terraform 0.15.4 release (#218)
  • Add Links to RegistryModuleVersions and Upload() for registry module version uploads (#221)

BUG FIXES

  • Fix IPRanges client baseURL modifying (#219) This fixes a bug where calls to the IP Ranges API would erroneously change the baseURL of the client so all subsequent requests requiring the default baseURL would fail.

v0.14.0

20 Apr 21:53
3db1c5f
Compare
Choose a tag to compare

ENHANCEMENTS

  • Add support for the new remote state consumers API to restrict inter-workspace data sharing within an organization (#201, #205)
  • Add Manage Policy Overrides permission (#198)
  • Add support for fetching a plan's JSON output (#187)

BUG FIXES

  • URL encode the workspace ID when listing variables (#207)
  • Revert Enforcement type changes (#211). A regression was introduced in the form of backwards incompatible type changes in 0.13.1. Note that this change was also included in a backported release, v0.13.3.

v0.13.3

20 Apr 21:49
Compare
Choose a tag to compare

BUG FIXES:

  • This release is a backport for 0.13.x of #211. It contains a fix for some regressions around type backwards incompatible type changes introduced in v0.13.1.