Releases: hashicorp/terraform-plugin-go
Releases · hashicorp/terraform-plugin-go
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)
v0.22.2
v0.22.1
NOTES:
- all: Upgraded google.golang.org/protobuf dependency, which includes a fix for CVE-2024-24786. While the fixed feature is not used in this Go module, this upgrade may silence security vulnerability scanner reports that are based purely on dependency versions. (#385)
BUG FIXES:
- tftypes: Fixed an edge-case where
(Value).Equal
would panic when comparing two values with underlyingDynamicPseudoType
types and different concrete values. (#383)
v0.22.0
BREAKING CHANGES:
- tfprotov5+tfprotov6: Modified the response returned from the CallFunction RPC, replacing diagnostics with function error (#380)
NOTES:
- all: This Go module has been updated to Go 1.21 per the Go support policy. It is recommended to review the Go 1.21 release notes before upgrading. Any consumers building on earlier Go versions may experience errors. (#381)
- all: If using terraform-plugin-framework, terraform-plugin-mux, or terraform-plugin-sdk, only upgrade this Go module when upgrading those Go modules to [email protected], [email protected], and terraform-plugin-sdk/[email protected], or greater, respectively (#380)
v0.21.0
v0.20.0
NOTES:
- tfprotov5+tfprotov6: An upcoming release will require the FunctionServer implementation as part of ProviderServer. (#351)
- Provider-defined function support is in technical preview and offered without compatibility promises until Terraform 1.8 is generally available. (#351)
FEATURES:
- tfprotov5+tfprotov6: Upgraded protocols and added types to support provider-defined functions (#351)