Skip to content

Releases: hashicorp/terraform-plugin-go

v0.18.0

03 Jul 16:22
Compare
Choose a tag to compare

ENHANCEMENTS:

  • tftypes: Added AttributePath type NextStep() method, which returns the next step in the path without first copying via Steps() (#307)

BUG FIXES:

  • tftypes: Significantly reduced compute and memory usage of Value type walking and transformation (#307)
  • tftypes: Removed unnecessary memory allocations from AttributePath type Equal(), LastStep(), and WithoutLastStep() methods (#307)
  • tftypes: Removed unnecessary memory allocations from NewValue() function (#307)

v0.17.0

28 Jun 14:29
Compare
Choose a tag to compare

ENHANCEMENTS:

  • tfprotov5: Added DynamicValue type IsNull method, which enables checking if the value is null without type information and fully decoding underlying data (#305)
  • tfprotov6: Added DynamicValue type IsNull method, which enables checking if the value is null without type information and fully decoding underlying data (#305)

v0.16.0

16 Jun 19:53
Compare
Choose a tag to compare

ENHANCEMENTS:

  • all: Improved SDK logging performance when messages would be skipped due to configured logging level (#289)

BUG FIXES:

  • tfprotov6/tf6server: Ensure interrupts route to StopProvider RPC (#301)

v0.15.0

27 Mar 16:23
Compare
Choose a tag to compare

NOTES:

  • all: This Go module has been updated to Go 1.19 per the Go support policy. It is recommended to review the Go 1.19 release notes before upgrading. Any consumers building on earlier Go versions may experience errors. (#266)

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)