Skip to content

Commit 35fca28

Browse files
committed
Merge tag 'v2.13.0' into pgavlin/upstream-v2.13.0
2 parents 62530c6 + 0f834ff commit 35fca28

File tree

122 files changed

+6510
-2008
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

122 files changed

+6510
-2008
lines changed

.changelog-note.tmpl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{{- define "note" -}}
2+
{{.Body}} ([#{{- .Issue -}}](https://github.com/hashicorp/terraform-plugin-sdk/issues/{{- .Issue -}}))
3+
{{- end -}}

.changelog.tmpl

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{{- if .NotesByType.note -}}
2+
NOTES:
3+
{{range .NotesByType.note -}}
4+
* {{ template "note" .}}
5+
{{ end -}}
6+
{{- end -}}
7+
8+
{{- if .NotesByType.deprecation -}}
9+
DEPRECATIONS:
10+
{{range .NotesByType.deprecation -}}
11+
* {{ template "note" .}}
12+
{{ end -}}
13+
{{- end -}}
14+
15+
{{- if index .NotesByType "breaking-change" -}}
16+
BREAKING CHANGES:
17+
{{range index .NotesByType "breaking-change" -}}
18+
* {{ template "note" .}}
19+
{{ end -}}
20+
{{- end -}}
21+
22+
{{- if .NotesByType.feature }}
23+
FEATURES:
24+
{{range .NotesByType.feature | sort -}}
25+
* {{ template "note" . }}
26+
{{ end -}}
27+
{{- end -}}
28+
29+
{{- if .NotesByType.enhancement }}
30+
ENHANCEMENTS:
31+
{{range .NotesByType.enhancement | sort -}}
32+
* {{ template "note" . }}
33+
{{ end -}}
34+
{{- end -}}
35+
36+
{{- if .NotesByType.bug }}
37+
BUG FIXES:
38+
{{range .NotesByType.bug -}}
39+
* {{ template "note" . }}
40+
{{ end -}}
41+
{{- end -}}
42+

.changelog/722.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:enhancement
2+
helper/resource: Support JSON in `TestStep` type `Config` field
3+
```

.changelog/837.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:note
2+
helper/schema: Started using terraform-plugin-log to write some SDK-level logs. Very few logs use this functionality now, but in the future, the environment variable `TF_LOG_SDK_HELPER_SCHEMA` will be able to set the log level for the SDK separately from the provider.
3+
```

.changelog/841.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:bug
2+
helper/schema: Allowed `Schema` with `TypeInt` to accept `string` values from `DefaultFunc`, such as `EnvDefaultFunc` ([#841](https://github.com/hashicorp/terraform-plugin-sdk/pull/841))
3+
```

.changelog/856.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:bug
2+
plugin: Prevent potential process leak on Windows platforms
3+
```

.changelog/857.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
```release-note:note
2+
plugin: The `Debug` function has been deprecated in preference of setting the `Debug` field in the `ServeOpts` passed into the `Serve` function.
3+
```
4+
5+
```release-note:enhancement
6+
plugin: Increased maximum gRPC send and receive message size limit to 256MB
7+
```
8+
9+
```release-note:enhancement
10+
plugin: Added support for writing protocol data to disk by setting `TF_LOG_SDK_PROTO_DATA_DIR` environment variable
11+
```

.changelog/882.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
```release-note:note
2+
helper/schema: The `Schema` type `DiffSuppressOnRefresh` field opts in to using `DiffSuppressFunc` to detect normalization changes during refresh, using the same rules as for planning. This can prevent normalization cascading downstream and producing confusing changes in other resources, and will avoid reporting "Values changed outside of Terraform" for normalization-only situations. This is a desirable behavior for most attributes that have `DiffSuppressFunc` and so would ideally be on by default, but it is opt-in for backward compatibility reasons.
3+
```
4+
5+
```release-note:enhancement
6+
helper/schema: Added the `DiffSuppressOnRefresh` field to the `Schema` type
7+
```

.changelog/889.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:enhancement
2+
helper/resource: Added more visible logging for test steps skipped via the `TestStep` type `SkipFunc` field.
3+
```

.changelog/891.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
```release-note:note
2+
helper/resource: The new terraform-plugin-log `sdk.helper_resource` logger inherits the `TF_LOG`, `TF_LOG_PATH_MASK`, and `TF_ACC_LOG_PATH` environment variable settings, similar to the prior logging. The `TF_LOG_SDK_HELPER_RESOURCE` environment variable can be used to separately control the new logger level.
3+
```
4+
5+
```release-note:enhancement
6+
helper/resource: Added terraform-plugin-log `sdk.helper_resource` logger and extensive `TRACE` log entries
7+
```

0 commit comments

Comments
 (0)