Releases: hashicorp/terraform-plugin-go
Releases · hashicorp/terraform-plugin-go
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).Equalwould panic when comparing two values with underlyingDynamicPseudoTypetypes 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)
v0.19.1
v0.19.0
NOTES:
- all: If using terraform-plugin-framework, terraform-plugin-mux, or terraform-plugin-sdk, only upgrade this Go module when upgrading those Go modules or you may receive a
missing GetMetadata methoderror when compiling (#310) - all: This Go module has been updated to Go 1.20 per the Go support policy. It is recommended to review the Go 1.20 release notes before upgrading. Any consumers building on earlier Go versions may experience errors. (#321)
FEATURES:
- tfprotov5: Upgraded protocol to 5.4 and implemented
GetMetadataRPC (#310) - tfprotov6: Upgraded protocol to 6.4 and implemented
GetMetadataRPC (#310)
ENHANCEMENTS:
- tfprotov5: Added
ServerCapabilitiestypeGetProviderSchemaOptionalfield, which when enabled can signal that the provider supports RPC operations without theGetProviderSchemaRPC being called first (#310) - tfprotov6: Added
ServerCapabilitiestypeGetProviderSchemaOptionalfield, which when enabled can signal that the provider supports RPC operations without theGetProviderSchemaRPC being called first (#310)
v0.18.0
ENHANCEMENTS:
- tftypes: Added
AttributePathtypeNextStep()method, which returns the next step in the path without first copying viaSteps()(#307)
BUG FIXES:
- tftypes: Significantly reduced compute and memory usage of
Valuetype walking and transformation (#307) - tftypes: Removed unnecessary memory allocations from
AttributePathtypeEqual(),LastStep(), andWithoutLastStep()methods (#307) - tftypes: Removed unnecessary memory allocations from
NewValue()function (#307)
v0.17.0
ENHANCEMENTS:
- tfprotov5: Added
DynamicValuetypeIsNullmethod, which enables checking if the value is null without type information and fully decoding underlying data (#305) - tfprotov6: Added
DynamicValuetypeIsNullmethod, which enables checking if the value is null without type information and fully decoding underlying data (#305)