Skip to content

Commit 50ebfc9

Browse files
committed
Merge branch 'main' into null-identity
2 parents 7a6de00 + 7ab0d80 commit 50ebfc9

File tree

308 files changed

+9857
-27750
lines changed

Some content is hidden

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

308 files changed

+9857
-27750
lines changed

.changes/1.15.0.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
## 1.15.0 (May 16, 2025)
22

3+
ATTENTION:
4+
Please make sure to also update `terraform-plugin-(go|mux|sdk|testing)` when upgrading to this version. Otherwise there will be errors at runtime when using Terraform v1.12+ as this version of Plugin Framework supports the new resource identity feature and requires the supporting libraries to do so to.
5+
6+
Find [#1148](https://github.com/hashicorp/terraform-plugin-framework/issues/1148) for more information.
7+
8+
TL;DR – make sure to update to these versions (or higher)
9+
```
10+
github.com/hashicorp/[email protected]
11+
github.com/hashicorp/[email protected]
12+
github.com/hashicorp/[email protected]
13+
github.com/hashicorp/terraform-plugin-sdk/[email protected]
14+
github.com/hashicorp/[email protected]
15+
```
16+
317
NOTES:
418

519
* all: This Go module has been updated to Go 1.23 per the [Go support policy](https://go.dev/doc/devel/release#policy). It is recommended to review the [Go 1.23 release notes](https://go.dev/doc/go1.23) before upgrading. Any consumers building on earlier Go versions may experience errors. ([#1114](https://github.com/hashicorp/terraform-plugin-framework/issues/1114))

.changes/1.15.1.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
## 1.15.1 (July 31, 2025)
2+
3+
BUG FIXES:
4+
5+
* all: Fixed bug with `UseStateForUnknown` where known null state values were not preserved during update plans. ([#1117](https://github.com/hashicorp/terraform-plugin-framework/issues/1117))
6+

.changes/1.16.0-beta.1.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
## 1.16.0-beta.1 (July 31, 2025)
2+
3+
FEATURES:
4+
5+
* actions: Initial package implementation and new Actions RPC support ([#1181](https://github.com/hashicorp/terraform-plugin-framework/issues/1181))
6+
7+
ENHANCEMENTS:
8+
9+
* list: add `limit` field to `ListResult` ([#1182](https://github.com/hashicorp/terraform-plugin-framework/issues/1182))
10+
* list: add primitives, list and map types to schema ([#1177](https://github.com/hashicorp/terraform-plugin-framework/issues/1177))
11+
* actions: add schema interface and unlinked schema ([#1183](https://github.com/hashicorp/terraform-plugin-framework/issues/1183))
12+
* actions: add standard validation methods and interfaces for `ValidateActionConfig` RPCs ([#1188](https://github.com/hashicorp/terraform-plugin-framework/issues/1188))
13+
* actions: add attributes and nested blocks to schema package ([#1186](https://github.com/hashicorp/terraform-plugin-framework/issues/1186))
14+
15+
BUG FIXES:
16+
17+
* list: call `Configure` in `ListResource` RPC and remove the `ListResource` call in `ValidateListResourceConfig` ([#1192](https://github.com/hashicorp/terraform-plugin-framework/issues/1192))
18+

.changes/1.16.0.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
## 1.16.0 (September 17, 2025)
2+
3+
NOTES:
4+
5+
* all: This Go module has been updated to Go 1.24 per the [Go support policy](https://go.dev/doc/devel/release#policy). It is recommended to review the [Go 1.24 release notes](https://go.dev/doc/go1.24) before upgrading. Any consumers building on earlier Go versions may experience errors. ([#1217](https://github.com/hashicorp/terraform-plugin-framework/issues/1217))
6+
* Support for the new `action{}` block is in technical preview and offered without compatibility promises until Terraform 1.14 is generally available. ([#1181](https://github.com/hashicorp/terraform-plugin-framework/issues/1181))
7+
* action: This release contains a new interface (`action.Action`) and packages for implementing action types, available in Terraform 1.14+. An action in Terraform can be defined by providers to model side-effects that practitioners can reference in their configurations via the `lifecycle.action_trigger` block. ([#1181](https://github.com/hashicorp/terraform-plugin-framework/issues/1181))
8+
* List support is in technical preview and offered without compatibility promises until Terraform 1.14 is generally available. ([#1150](https://github.com/hashicorp/terraform-plugin-framework/issues/1150))
9+
* list: This release contains a new interface (`list.ListResource`) and packages for implementing list resource types, available in Terraform 1.14+. A list resource in Terraform can be defined by providers to list remote resources within a given scope. ([#1150](https://github.com/hashicorp/terraform-plugin-framework/issues/1150))
10+
11+
FEATURES:
12+
13+
* action: New package for implementing actions. ([#1181](https://github.com/hashicorp/terraform-plugin-framework/issues/1181))
14+
* action/schema: New package for implementing action schemas. ([#1183](https://github.com/hashicorp/terraform-plugin-framework/issues/1183))
15+
* types: Exported a previously internal function, `TerraformTypeToFrameworkType`, which converts `tftypes.Type` to a known framework type. ([#1200](https://github.com/hashicorp/terraform-plugin-framework/issues/1200))
16+
* list: New package for implementing list resources. ([#1150](https://github.com/hashicorp/terraform-plugin-framework/issues/1150))
17+
* all: Update Framework to handle new ListResource RPCs. ([#1157](https://github.com/hashicorp/terraform-plugin-framework/issues/1157))
18+
19+
ENHANCEMENTS:
20+
21+
* provider: Added `ProviderWithActions` interface for implementing actions. ([#1181](https://github.com/hashicorp/terraform-plugin-framework/issues/1181))
22+
* provider: Added `ActionData` to `ConfigureResponse`, to pass provider-defined data to `action.Action` implementations. ([#1185](https://github.com/hashicorp/terraform-plugin-framework/issues/1185))
23+
* provider: Added `ListResourceData` to `ConfigureResponse`, to pass provider-defined data to `list.ListResource` implementations. ([#1202](https://github.com/hashicorp/terraform-plugin-framework/issues/1202))
24+
* tfsdk: Allow `SetAtPath` to be called with a `tftypes.Value`. ([#1198](https://github.com/hashicorp/terraform-plugin-framework/issues/1198))
25+
* tfsdk: Allow `SetAttribute` to be called with a `tftypes.Value`. ([#1205](https://github.com/hashicorp/terraform-plugin-framework/issues/1205))
26+
* list: Add the `ListResourceWithRawV5Schemas` and `ListResourceWithRawV6Schemas` interfaces to support list implementation on non-framework resources. ([#1198](https://github.com/hashicorp/terraform-plugin-framework/issues/1198))
27+

.github/workflows/ci-changie.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ jobs:
1919
runs-on: ubuntu-latest
2020
steps:
2121
# Ensure terraform-devex-repos is updated on version changes.
22-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
22+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2323
# Ensure terraform-devex-repos is updated on version changes.
24-
- uses: miniscruff/changie-action@6dcc2533cac0495148ed4046c438487e4dceaa23 # v2.0.0
24+
- uses: miniscruff/changie-action@5036dffa79ffc007110dc7f75eca7ef72780e147 # v2.1.0
2525
with:
2626
version: latest
2727
args: batch patch --dry-run

.github/workflows/ci-github-actions.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ jobs:
1313
actionlint:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
17-
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
16+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
17+
- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
1818
with:
1919
go-version-file: 'go.mod'
2020
- run: go install github.com/rhysd/actionlint/cmd/actionlint@latest

.github/workflows/ci-go.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ jobs:
1616
golangci-lint:
1717
runs-on: ubuntu-latest
1818
steps:
19-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
20-
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
19+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
20+
- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
2121
with:
2222
go-version-file: 'go.mod'
2323
- run: go mod download
@@ -29,12 +29,12 @@ jobs:
2929
name: terraform-provider-corner (tfprotov5 / Terraform ${{ matrix.terraform}})
3030
runs-on: ubuntu-latest
3131
steps:
32-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
33-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
32+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
33+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
3434
with:
3535
path: terraform-provider-corner
3636
repository: hashicorp/terraform-provider-corner
37-
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
37+
- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
3838
with:
3939
go-version-file: 'go.mod'
4040
- uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd # v3.1.2
@@ -55,12 +55,12 @@ jobs:
5555
name: terraform-provider-corner (tfprotov6 / Terraform ${{ matrix.terraform}})
5656
runs-on: ubuntu-latest
5757
steps:
58-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
59-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
58+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
59+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
6060
with:
6161
path: terraform-provider-corner
6262
repository: hashicorp/terraform-provider-corner
63-
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
63+
- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
6464
with:
6565
go-version-file: 'go.mod'
6666
- uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd # v3.1.2
@@ -79,10 +79,10 @@ jobs:
7979
runs-on: ubuntu-latest
8080
strategy:
8181
matrix:
82-
go-version: [ '1.24', '1.23' ]
82+
go-version: [ '1.24', '1.25' ]
8383
steps:
84-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
85-
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
84+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
85+
- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
8686
with:
8787
go-version: ${{ matrix.go-version }}
8888
- run: go mod download

.github/workflows/ci-goreleaser.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414
check:
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
18-
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
17+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
18+
- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
1919
with:
2020
go-version-file: 'go.mod'
21-
- uses: goreleaser/goreleaser-action@9c156ee8a17a598857849441385a2041ef570552 # v6.3.0
21+
- uses: goreleaser/goreleaser-action@e435ccd777264be153ace6237001ef4d979d3a7a # v6.4.0
2222
with:
2323
args: check

.github/workflows/compliance.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
copywrite:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
14+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
1515
- uses: hashicorp/setup-copywrite@32638da2d4e81d56a0764aa1547882fc4d209636 # v1.1.3
1616
- run: copywrite headers --plan
1717
- run: copywrite license --plan

.github/workflows/lock.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
# https://github.com/hashicorp/terraform-devex-repos/blob/main/modules/repo/workflows/lock.tftpl
1515
- uses: dessant/lock-threads@1bf7ec25051fe7c00bdd17e6a7cf3d7bfb7dc771 # v5.0.1
1616
with:
17+
process-only: 'issues, prs'
1718
github-token: ${{ github.token }}
1819
issue-inactive-days: '30'
1920
issue-lock-reason: resolved

0 commit comments

Comments
 (0)