Releases: hashicorp/go-tfe
Releases · hashicorp/go-tfe
v1.48.0
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 theDataRetentionPolicy
relationship onOrganization
andWorkspace
s have been deprecated. TheDataRetentionPolicy
type is equivalent to the newDataRetentionPolicyDeleteOlder
. The Data retention policy relationships onOrganization
andWorkspace
s are now polymorphic, and are represented by theDataRetentionPolicyChoice
relationship. The existingDataRetentionPolicy
relationship will continue to be populated when reading anOrganization
orWorkspace
, but it may be removed in a future release. @JarrettSpiker #652 - The
SetDataRetentionPolicy
function onOrganizations
andWorkspaces
is now deprecated in favour ofSetDataRetentionPolicyDeleteOlder
orSetDataRetentionPolicyDontDelete
.SetDataRetentionPolicy
will only update the data retention policy when communicating with TFE versions v202311 and v202312. @JarrettSpiker #652 - The
ReadDataRetentionPolicy
function onOrganizations
andWorkspaces
is now deprecated in favour ofReadDataRetentionPolicyChoice
.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
- Adds
Variables
relationship field toWorkspace
by @arybolovlev #872
v1.47.1
v1.47.0
Enhancements
- Adds BETA
description
attribute toProject
by @netramali #861 - Adds
Read
method toTestVariables
by @aaabdelgany #851
v1.46.0
ENHANCEMENTS
- Adds
Query
field toProject
andTeam
list options, to allow projects and teams to be searched by name by @JarrettSpiker #849 - Adds
AgenPool
relation toOAuthClient
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
Enhancements
- Updates go-tfe client to export the instance name using
AppName()
@sebasslash #848 - Add
DeleteByName
API endpoint toRegistryModule
@laurenolivia #847 - Update deprecated
RegistryModule
endpointsDeleteProvider
andDeleteVersion
with new API calls @laurenolivia #847
v1.44.0
Enhancements
- Updates
Workspaces
to include anAutoDestroyAt
attribute on create and update by @notchairmk and @ctrombley #786 - Adds
AgentsEnabled
andPolicyToolVersion
attributes toPolicySet
by @mrinalirao #752
v1.43.0
v1.42.0
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
v1.41.0
v1.40.0
Bug Fixes
- Removed unused field
AgentPoolID
from the Workspace model. (Callers should be using theAgentPool
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
andRemoveProjects
for attaching/detaching oauth_client to projects by Netra2104 #806 - Adds a missing interface
WorkspaceResources
and theList
method by @stefan-kiss Issue#754