Releases: hashicorp/terraform-plugin-go
Releases · hashicorp/terraform-plugin-go
v0.29.0
NOTES:
- all: This Go module has been updated to Go 1.24 per the Go support policy. It is recommended to review the Go 1.24 release notes before upgrading. Any consumers building on earlier Go versions may experience errors. (#556)
- tfprotov5+tfprotov6: An upcoming release will require the
ActionServerimplementation as part ofProviderServer. (#534)
FEATURES:
- tfprotov5+tfprotov6: Upgraded protocols and added types to support the new action type. (#534)
- tfprotov5+tfprotov6: Upgraded protocols and added types to support the new list type (#525)
ENHANCEMENTS:
- tftypes:
tftypes.Value.IsFullyNull()allows SDKs to determine when a value is null or consists of only null elements and attributes. (#541)
v0.29.0-beta.1
NOTES:
- Updates the
ValidateListResourceConfigRPC to validateinclude_resourceas well aslimit(#538)
FEATURES:
- tfprotov5+tfprotov6: Add action validation RPC (#539)
ENHANCEMENTS:
- tftypes:
tftypes.Value.IsFullyNull()allows SDKs to determine when a value is null or consists of only null elements and attributes. (#541)
BUG FIXES:
- Fix proto field numbering for
GetProviderSchema(#539)
v0.29.0-alpha.1
NOTES:
- This alpha pre-release contains the protocol definitions and Go type definitions for list resources, which are a new type of resource. (#512)
- A
ProviderServerWithListResourcecan be used with theterraform querysubcommand in Terraform 1.13.0-alpha20250708 and later to search unmanaged infrastructure. (#512) - The list resource protocol definitions are considered experimental and may change up until general availability. (#512)
- tfprotov5+tfprotov6: An upcoming release will require the
ValidateListResourceConfigandListResourceimplementations as part ofProviderServer. (#514)
v0.28.0
BREAKING CHANGES:
- tfprotov5+tfprotov6: Removed temporary
ProviderServerWithResourceIdentityinterface type. UseProviderServerinstead. (#516) - tfprotov5+tfprotov6:
GetResourceIdentitySchemasandUpgradeResourceIdentityRPC calls are now required inProviderServerandResourceServer. Implementations that don't support resource identity can return empty responses from theGetResourceIdentitySchemasmethod and an error message theUpgradeResourceIdentitymethod. (#516)
NOTES:
- all: To prevent compilation errors, ensure your Go module is updated to at least [email protected], [email protected], terraform-plugin-sdk/[email protected], and [email protected] before upgrading this dependency. (#516)
v0.27.0
NOTES:
- tfprotov5+tfprotov6: An upcoming release will require the
GetResourceIdentitySchemasandUpgradeResourceIdentityimplementations as part ofProviderServer. (#476) - all: This Go module has been updated to Go 1.23 per the Go support policy. It is recommended to review the Go 1.23 release notes before upgrading. Any consumers building on earlier Go versions may experience errors. (#491)
FEATURES:
v0.27.0-alpha.1
NOTES:
- This alpha pre-release contains the protocol definitions for managed resource identity, which can used with Terraform v1.12.0-alpha20250312, to store and read identity data during plan and apply workflows. (#476)
- all: This Go module has been updated to Go 1.23 per the Go support policy. It is recommended to review the Go 1.23 release notes before upgrading. Any consumers building on earlier Go versions may experience errors. (#491)
v0.26.0
BREAKING CHANGES:
- tfprotov5+tfprotov6:
EphemeralResourceServerinterface is now required inProviderServer. Implementations not needing ephemeral resource support can return errors from the*EphemeralResourcemethods. (#442) - tfprotov5+tfprotov6: Removed temporary
ProviderServerWithEphemeralResourcesinterface type. UseEphemeralResourceServerinstead. (#442)
NOTES:
- all: To prevent compilation errors, ensure your Go module is updated to at least [email protected], [email protected], terraform-plugin-sdk/[email protected], and [email protected] before upgrading this dependency. (#442)
FEATURES:
- tfprotov5+tfprotov6: Upgraded protocols and added types to support write-only attributes (#462)
v0.25.0
v0.24.0
BREAKING CHANGES:
- tfprotov5+tfprotov6: Removed temporary
ResourceServerWithMoveResourceStateinterface type. UseResourceServerinstead. (#408)
NOTES:
- all: If using terraform-plugin-mux, it must be upgraded to v0.16.0 or later to prevent compilation errors (#408)
- all: This Go module has been updated to Go 1.22 per the Go support policy. It is recommended to review the Go 1.22 release notes before upgrading. Any consumers building on earlier Go versions may experience errors. (#428)
BUG FIXES:
- logging: Add existing
MoveResourceStateserver capability to v5 and v6 logging (#432)
v0.23.0
BREAKING CHANGES:
- tfprotov5+tfprotov6:
FunctionServerinterface is now required inProviderServer. Implementations not needing function support can return errors from theGetFunctionsandCallFunctionmethods. (#388) - tfprotov5+tfprotov6:
MoveResourceStatemethod is now required inResourceServer. Implementations not needing move state support can return errors from theMoveResourceStatemethod. (#388)
NOTES:
- all: To prevent compilation errors, ensure your Go module is updated to at least [email protected], [email protected], terraform-plugin-sdk/[email protected], and [email protected] before upgrading this dependency. (#388)
FEATURES:
- tfprotov5+tfprotov6: Upgraded protocols and added types to support deferred actions (#403)