Releases: hashicorp/go-tfe
Releases · hashicorp/go-tfe
v1.51.0
Enhancements
- Adds
Teams
field toOrganizationMembershipCreateOptions
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 #891OrganizationScoped
attribute forOAuthClient
is now generally available by @netramali #873
v1.50.0
Enhancements
- Adds Bitbucket Data Center as a new
ServiceProviderType
and ensures similar validation as Bitbucket Server by @zainq11 #879 - Add
GlobalRunTasks
field toEntitlements
by @glennsarti #865 - Add
Global
field toRunTask
by @glennsarti #865 - Add
Stages
field toWorkspaceRunTask
by @glennsarti #865 - Changing BETA
OrganizationScoped
attribute ofOAuthClient
to be a pointer for bug fix by @netramali 884 - Adds
Query
parameter toVariableSetListOptions
to allow searching variable sets by name, by @JarrettSpiker#877
Deprecations
- The
Stage
field has been deprecated onWorkspaceRunTask
. Instead, useStages
by @glennsarti #865
v1.49.0
Enhancements
- Adds
post_apply
to list of possiblestages
for Run Tasks by @glennsarti #878
Full Changelog: v1.48.0...v1.49.0
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