Skip to content

Commit 7b9706f

Browse files
committed
resource+tfsdk: Remove tfsdk package schema types and functions
Reference: #132 Reference: #326 Reference: #491 Refer to the following pull request descriptions for migration information about migrating to the split schema packages: - `datasource/schema`: #546 - `provider/schema`: #553 - `resource/schema`: #558 - `provider/metaschema`: #562
1 parent 707c9ca commit 7b9706f

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.changelog/pending.txt

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
```release-note:breaking-change
2+
resource: The `RequiresReplace()` plan modifier has been removed. Use a type-specific plan modifier instead, such as `resource/schema/stringplanmodifier.RequiresReplace()` or `resource/schema/stringplanmodifier.RequiresReplaceIfConfigured()`
3+
```
4+
5+
```release-note:breaking-change
6+
resource: The `RequiresReplaceIf()` plan modifier has been removed. Use a type-specific plan modifier instead, such as `resource/schema/stringplanmodifier.RequiresReplaceIf()`
7+
```
8+
9+
```release-note:breaking-change
10+
resource: The `Resource` type `GetSchema` method has been removed. Use the `Schema` method instead.
11+
```
12+
13+
```release-note:breaking-change
14+
resource: The `UseStateForUnknown()` plan modifier has been removed. Use a type-specific plan modifier instead, such as `resource/schema/stringplanmodifier.UseStateForUnknown()`
15+
```
16+
17+
```release-note:breaking-change
18+
tfsdk: The `Attribute`, `Block`, and `Schema` types have been removed. Use the similarly named types in the `datasource/schema`, `provider/schema`, and `resource/schema` packages instead.
19+
```
20+
21+
```release-note:breaking-change
22+
tfsdk: The `AttributePlanModifier` interface has been removed. Use the type-specific plan modifier interfaces in the `resource/schema/planmodifier` package instead.
23+
```
24+
25+
```release-note:breaking-change
26+
tfsdk: The `AttributeValidator` interface has been removed. Use the type-specific validator interfaces in the `schema/validator` package instead.
27+
```
28+
29+
```release-note:breaking-change
30+
tfsdk: The `ListNestedAttributes`, `MapNestedAttributes`, `SetNestedAttributes`, and `SingleNestedAttributes` functions have been removed. Use the similarly named types in the `datasource/schema`, `provider/schema`, and `resource/schema` packages instead.
31+
```

0 commit comments

Comments
 (0)