Releases: hashicorp/terraform-plugin-go
Releases · hashicorp/terraform-plugin-go
v0.29.0-beta.1
NOTES:
- Updates the
ValidateListResourceConfig
RPC to validateinclude_resource
as 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
ProviderServerWithListResource
can be used with theterraform query
subcommand 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
ValidateListResourceConfig
andListResource
implementations as part ofProviderServer
. (#514)
v0.28.0
BREAKING CHANGES:
- tfprotov5+tfprotov6: Removed temporary
ProviderServerWithResourceIdentity
interface type. UseProviderServer
instead. (#516) - tfprotov5+tfprotov6:
GetResourceIdentitySchemas
andUpgradeResourceIdentity
RPC calls are now required inProviderServer
andResourceServer
. Implementations that don't support resource identity can return empty responses from theGetResourceIdentitySchemas
method and an error message theUpgradeResourceIdentity
method. (#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
GetResourceIdentitySchemas
andUpgradeResourceIdentity
implementations 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:
EphemeralResourceServer
interface is now required inProviderServer
. Implementations not needing ephemeral resource support can return errors from the*EphemeralResource
methods. (#442) - tfprotov5+tfprotov6: Removed temporary
ProviderServerWithEphemeralResources
interface type. UseEphemeralResourceServer
instead. (#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
ResourceServerWithMoveResourceState
interface type. UseResourceServer
instead. (#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
MoveResourceState
server capability to v5 and v6 logging (#432)
v0.23.0
BREAKING CHANGES:
- tfprotov5+tfprotov6:
FunctionServer
interface is now required inProviderServer
. Implementations not needing function support can return errors from theGetFunctions
andCallFunction
methods. (#388) - tfprotov5+tfprotov6:
MoveResourceState
method is now required inResourceServer
. Implementations not needing move state support can return errors from theMoveResourceState
method. (#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)