Skip to content

Releases: hashicorp/go-tfe

v1.53.0

07 May 22:23
07ffc37
Compare
Choose a tag to compare

Enhancements

  • Adds ManageTeams, ManageOrganizationAccess, and AccessSecretTeams permissions to team OrganizationAccess by @juliannatetreault #874
  • Mocks are now generated using the go.uber.org/mock package #897

v1.52.0

30 Apr 22:36
6fddd6e
Compare
Choose a tag to compare

ENHANCEMENTS

  • Add EnforcementLevel to Policy create and update options. This will replace the deprecated []Enforce method for specifying enforcement level. @JarrettSpiker #895

DEPRECATIONS

  • The Enforce fields on Policy, PolicyCreateOptions, and PolicyUpdateOptions have been deprecated. Use the EnforcementLevel instead. @JarrettSpiker #895

v1.51.0

23 Apr 19:38
c2be83d
Compare
Choose a tag to compare

Enhancements

  • Adds Teams field to OrganizationMembershipCreateOptions to allow users to be added to teams at the same time they are invited to an organization. by @JarrettSpiker #886
  • IsCloud() returns true when TFP-AppName is "HCP Terraform" by @sebasslash #891
  • OrganizationScoped attribute for OAuthClient is now generally available by @netramali #873

v1.50.0

17 Apr 21:45
6a6bc1f
Compare
Choose a tag to compare

Enhancements

  • Adds Bitbucket Data Center as a new ServiceProviderType and ensures similar validation as Bitbucket Server by @zainq11 #879
  • Add GlobalRunTasks field to Entitlements by @glennsarti #865
  • Add Global field to RunTask by @glennsarti #865
  • Add Stages field to WorkspaceRunTask by @glennsarti #865
  • Changing BETA OrganizationScoped attribute of OAuthClient to be a pointer for bug fix by @netramali 884
  • Adds Query parameter to VariableSetListOptions to allow searching variable sets by name, by @JarrettSpiker#877

Deprecations

  • The Stage field has been deprecated on WorkspaceRunTask. Instead, use Stages by @glennsarti #865

v1.49.0

02 Apr 20:26
41a1b6f
Compare
Choose a tag to compare

Enhancements

  • Adds post_apply to list of possible stages for Run Tasks by @glennsarti #878

Full Changelog: v1.48.0...v1.49.0

v1.48.0

26 Mar 22:35
9f99c79
Compare
Choose a tag to compare

Features

*For Terraform Enterprise users who have data retention policies defined on Organizations or Workspaces: A new DataRetentionPolicyChoice relation has been added to reflect that data retention policies are polymorphic. Organizations and workspaces may be related to a DataRetentionPolicyDeleteOlder or DataRetentionPolicyDontDelete record through the DataRetentionPolicyChoice struct. Data retention policies can be read using ReadDataRetentionPolicyChoice, and set or updated (including changing their type) using SetDataRetentionPolicyDeleteOlder or SetDataRetentionPolicyDontDelete by @JarrettSpiker #652

Deprecations

  • The DataRetentionPolicy type, and the DataRetentionPolicy relationship on Organization and Workspaces have been deprecated. The DataRetentionPolicy type is equivalent to the new DataRetentionPolicyDeleteOlder. The Data retention policy relationships on Organization and Workspaces are now polymorphic, and are represented by the DataRetentionPolicyChoice relationship. The existing DataRetentionPolicy relationship will continue to be populated when reading an Organization or Workspace, but it may be removed in a future release. @JarrettSpiker #652
  • The SetDataRetentionPolicy function on Organizations and Workspaces is now deprecated in favour of SetDataRetentionPolicyDeleteOlder or SetDataRetentionPolicyDontDelete. SetDataRetentionPolicy will only update the data retention policy when communicating with TFE versions v202311 and v202312. @JarrettSpiker #652
  • The ReadDataRetentionPolicy function on Organizations and Workspaces is now deprecated in favour of ReadDataRetentionPolicyChoice. ReadDataRetentionPolicyChoice may return the different multiple data retention policy types added in TFE 202401-1. SetDataRetentionPolicy will only update the data retention policy when communicating with TFE versions v202311 and v202312. @JarrettSpiker #652

Enhancements

v1.47.1

12 Mar 17:47
2ef7127
Compare
Choose a tag to compare

BUG FIXES

  • Change the error message for ErrWorkspaceStillProcessing to be the same error message returned by the API by @uturunku1 #864

v1.47.0

05 Mar 20:37
98aea87
Compare
Choose a tag to compare

Enhancements

v1.46.0

28 Feb 01:35
5acc29f
Compare
Choose a tag to compare

ENHANCEMENTS

  • Adds Query field to Project and Team list options, to allow projects and teams to be searched by name by @JarrettSpiker #849
  • Adds AgenPool relation to OAuthClient create options to support for Private VCS by enabling creation of OAuth Client when AgentPoolID is set (as an optional param) @roleesinhaHC #841
  • Add Sort field to workspace list options @Maed223 #859

v1.45.0

15 Feb 21:39
4cb525f
Compare
Choose a tag to compare

Enhancements

  • Updates go-tfe client to export the instance name using AppName() @sebasslash #848
  • Add DeleteByName API endpoint to RegistryModule @laurenolivia #847
  • Update deprecated RegistryModule endpoints DeleteProvider and DeleteVersion with new API calls @laurenolivia #847