Skip to content

Releases: hashicorp/terraform-plugin-go

v0.14.3

05 Jan 17:03
c593d2e
Compare
Choose a tag to compare

BUG FIXES:

  • tfprotov5/tf5server: Prevented TF_LOG_SDK_PROTO_DATA_DIR file overlap by switching from second to millisecond file naming granularity (#245)
  • tfprotov6/tf6server: Prevented TF_LOG_SDK_PROTO_DATA_DIR file overlap by switching from second to millisecond file naming granularity (#245)

v0.14.2

22 Nov 15:09
8f3514e
Compare
Choose a tag to compare

BUG FIXES:

  • tfprotov5: Allow diagnostic messages with incorrect UTF-8 encoding to pass through with the invalid sequences replaced with the Unicode Replacement Character. This avoids returning the unhelpful message "string field contains invalid UTF-8" in that case. (#237)
  • tfprotov6: Allow diagnostic messages with incorrect UTF-8 encoding to pass through with the invalid sequences replaced with the Unicode Replacement Character. This avoids returning the unhelpful message "string field contains invalid UTF-8" in that case. (#237)

v0.14.1

08 Nov 19:40
f3636ee
Compare
Choose a tag to compare

NOTES:

  • No expected changes with this Go module's functionality. Contains updates to dependencies such as google.golang.org/grpc and github.com/hashicorp/go-plugin, which may be beneficial for consumers.

v0.14.0

15 Aug 07:13
f4e3d09
Compare
Choose a tag to compare

NOTES:

  • This Go module has been updated to Go 1.18 per the Go support policy. Any consumers building on earlier Go versions may experience errors. (#219)

ENHANCEMENTS:

  • tfprotov5/tf5server: Added resource private state when protocol data output is enabled (#221)
  • tfprotov6/tf6server: Added resource private state when protocol data output is enabled (#221)

BUG FIXES:

  • tfprotov5/tf5server: Fixed ApplyResourceChange request RPC protocol data output to include PriorState and ProviderMeta fields (#221)
  • tfprotov6/tf6server: Fixed ApplyResourceChange request RPC protocol data output to include PriorState and ProviderMeta fields (#221)

v0.13.0

28 Jul 15:12
Compare
Choose a tag to compare

ENHANCEMENTS:

  • tfprotov5: Added RawState type UnmarshalWithOpts method to facilitate configurable behaviour during unmarshalling (#213)
  • tfprotov6: Added RawState type UnmarshalWithOpts method to facilitate configurable behaviour during unmarshalling (#213)

BUG FIXES:

  • tftypes: Clarified ValueFromJSON error messaging with object attribute key issues (#214)

v0.12.0

15 Jul 18:24
Compare
Choose a tag to compare

NOTES:

  • The underlying terraform-plugin-log dependency has been updated to v0.6.0, which includes log filtering support and breaking changes of With() to SetField() function names. Any provider logging which calls those functions may require updates. (#209)

v0.11.0

08 Jul 12:44
Compare
Choose a tag to compare

FEATURES:

  • Added support for protocol version 5.3 and 6.3, which allows providers to opt into the PlanResourceChange RPC for resource destruction (#205)

ENHANCEMENTS:

  • tfprotov5: Added ServerCapabilities type and ServerCapabilities field to GetProviderSchemaResponse (#205)
  • tfprotov6: Added ServerCapabilities type and ServerCapabilities field to GetProviderSchemaResponse (#205)

v0.10.0

05 Jul 18:15
Compare
Choose a tag to compare

ENHANCEMENTS:

  • tfprotov5/tf5server: Added downstream RPC request duration and response diagnostics logging (#203)
  • tfprotov6/tf6server: Added downstream RPC request duration and response diagnostics logging (#203)

v0.9.1

12 May 13:27
4f3425d
Compare
Choose a tag to compare

BUG FIXES:

  • tftypes: Prevented loss of number precision with integers between 54 and 64 bits (#190)

v0.9.0

13 Apr 12:26
Compare
Choose a tag to compare

NOTES:

  • This Go module has been updated to Go 1.17 per the Go support policy. Any consumers building on earlier Go versions may experience errors. (#175)

ENHANCEMENTS:

  • tftypes: Added Type support to WalkAttributePath() function (#163)

BUG FIXES:

  • tfprotov5/tf5server: Ensured @caller in protocol logging entries accurately reflected calling code location (#179)
  • tfprotov6/tf6server: Ensured @caller in protocol logging entries accurately reflected calling code location (#179)