Skip to content

Commit

Permalink
Add changelog entry.
Browse files Browse the repository at this point in the history
  • Loading branch information
paddycarver committed Sep 14, 2021
1 parent 887bf00 commit f623439
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .changelog/120.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
```release-note:breaking-change
`attr.Type` implementations must now have a `String()` method that returns a human-friendly name for the type.
```

```release-note:enhancement
Added a `tfsdk.ConvertValue` helper that will convert any `attr.Value` into any compatible `attr.Type`. Compatibility happens at the terraform-plugin-go level; the type that the `attr.Value`'s `ToTerraformValue` method produces must be compatible with the `attr.Type`'s `TerraformType()`. Generally, this means that the `attr.Type` of the `attr.Value` and the `attr.Type` being converted to must both produce the same `tftypes.Type` when their `TerraformType()` method is called.
```

0 comments on commit f623439

Please sign in to comment.