Skip to content

Commit 54ed5dc

Browse files
committed
Update CHANGELOG for 0.17.0
1 parent d51781c commit 54ed5dc

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

CHANGELOG.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,37 @@
1+
# 0.17.0 (November 30, 2022)
2+
3+
NOTES:
4+
5+
* datasource: The `DataSource` type `GetSchema` method has been deprecated. Use the `Schema` method instead. ([#546](https://github.com/hashicorp/terraform-plugin-framework/issues/546))
6+
* provider: The `Provider` type `GetSchema` method has been deprecated. Use the `Schema` method instead. ([#553](https://github.com/hashicorp/terraform-plugin-framework/issues/553))
7+
* resource: The `RequiresReplace()` plan modifier has been deprecated. Use a type-specific plan modifier instead, such as `resource/schema/stringplanmodifier.RequiresReplace()` or `resource/schema/stringplanmodifier.RequiresReplaceIfConfigured()` ([#565](https://github.com/hashicorp/terraform-plugin-framework/issues/565))
8+
* resource: The `RequiresReplaceIf()` plan modifier has been deprecated. Use a type-specific plan modifier instead, such as `resource/schema/stringplanmodifier.RequiresReplaceIf()` ([#565](https://github.com/hashicorp/terraform-plugin-framework/issues/565))
9+
* resource: The `Resource` type `GetSchema` method has been deprecated. Use the `Schema` method instead. ([#558](https://github.com/hashicorp/terraform-plugin-framework/issues/558))
10+
* resource: The `UseStateForUnknown()` plan modifier has been deprecated. Use a type-specific plan modifier instead, such as `resource/schema/stringplanmodifier.UseStateForUnknown()` ([#565](https://github.com/hashicorp/terraform-plugin-framework/issues/565))
11+
* tfsdk: The `Attribute`, `Block`, and `Schema` types have been deprecated. Use the similarly named types in the `datasource/schema`, `provider/schema`, and `resource/schema` packages instead. ([#563](https://github.com/hashicorp/terraform-plugin-framework/issues/563))
12+
* tfsdk: The `ListNestedAttributes`, `MapNestedAttributes`, `SetNestedAttributes`, and `SingleNestedAttributes` functions have been deprecated. Use the similarly named types in the `datasource/schema`, `provider/schema`, and `resource/schema` packages instead. ([#563](https://github.com/hashicorp/terraform-plugin-framework/issues/563))
13+
14+
BREAKING CHANGES:
15+
16+
* provider: The `ProviderWithMetaSchema` type `GetMetaSchema` method has been replaced with the `MetaSchema` method ([#562](https://github.com/hashicorp/terraform-plugin-framework/issues/562))
17+
* tfsdk: The `Attribute` type `FrameworkType()` method has been removed. Use the `GetType()` method instead which returns the same information. ([#543](https://github.com/hashicorp/terraform-plugin-framework/issues/543))
18+
* tfsdk: The `Attribute` type `GetType()` method now returns type information whether the attribute implements the `Type` field or `Attributes` field. ([#543](https://github.com/hashicorp/terraform-plugin-framework/issues/543))
19+
* tfsdk: The `Config`, `Plan`, and `State` type `Schema` field type has been updated from `tfsdk.Schema` to the generic `fwschema.Schema` interface to enable additional schema implementations ([#544](https://github.com/hashicorp/terraform-plugin-framework/issues/544))
20+
21+
FEATURES:
22+
23+
* datasource/schema: New package which contains schema interfaces and types relevant to data sources ([#546](https://github.com/hashicorp/terraform-plugin-framework/issues/546))
24+
* provider/schema: New package which contains schema interfaces and types relevant to providers ([#553](https://github.com/hashicorp/terraform-plugin-framework/issues/553))
25+
* resource/schema/planmodifier: New package which contains type-specific schema plan modifier interfaces ([#557](https://github.com/hashicorp/terraform-plugin-framework/issues/557))
26+
* resource/schema: New package which contains schema interfaces and types relevant to resources ([#558](https://github.com/hashicorp/terraform-plugin-framework/issues/558))
27+
* resource/schema: New packages, such as `stringplanmodifier` which contain type-specific schema plan modifier implementations ([#565](https://github.com/hashicorp/terraform-plugin-framework/issues/565))
28+
* schema/validator: New package which contains type-specific schema validator interfaces ([#542](https://github.com/hashicorp/terraform-plugin-framework/issues/542))
29+
30+
BUG FIXES:
31+
32+
* diag: 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. ([#549](https://github.com/hashicorp/terraform-plugin-framework/issues/549))
33+
* internal/fwserver: Ensured blocks are ignored when marking computed nils as unknown during resource change planning ([#552](https://github.com/hashicorp/terraform-plugin-framework/issues/552))
34+
135
# 0.16.0 (November 15, 2022)
236

337
BREAKING CHANGES:

0 commit comments

Comments
 (0)