Skip to content

Releases: hashicorp/go-tfe

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

v1.44.0

31 Jan 20:33
80504c3
Compare
Choose a tag to compare

Enhancements

v1.43.0

23 Jan 19:01
c5d529a
Compare
Choose a tag to compare

Features

  • Adds AggregatedCommitStatusEnabled field to Organization by @mjyocca #829

Enhancements

  • Adds GlobalProviderSharing field to AdminOrganization by @alex-ikse #837

v1.42.0

02 Jan 22:48
e70c2bc
Compare
Choose a tag to compare

Deprecations

  • The Sourceable field has been deprecated on RunTrigger. Instead, use SourceableChoice to locate the non-empty field representing the actual sourceable value by @brandonc #816

Features

  • Added AdminOPAVersion and AdminSentinelVersion Terraform Enterprise admin endpoints by @mrinalirao #758

Enhancements

  • Adds LockedBy relationship field to Workspace by @brandonc #816
  • Adds CreatedBy relationship field to TeamToken, UserToken, and OrganizationToken by @brandonc #816
  • Added Sentinel field to PolicyResult by @stefan-kiss. #790

v1.41.0

06 Dec 21:55
b68fdd6
Compare
Choose a tag to compare

Enhancements

  • Allow managing workspace and organization data retention policies by @mwudka #801

v1.40.0

22 Nov 18:54
61f9b7e
Compare
Choose a tag to compare

Bug Fixes

  • Removed unused field AgentPoolID from the Workspace model. (Callers should be using the AgentPool relation instead) by @brandonc #815

Enhancements

  • Add organization scope field for oauth clients by @Netra2104 #812
  • Added BETA support for including projects relationship to oauth_client on create by @Netra2104 #806
  • Added BETA method AddProjects and RemoveProjects for attaching/detaching oauth_client to projects by Netra2104 #806
  • Adds a missing interface WorkspaceResources and the List method by @stefan-kiss Issue#754