Skip to content

Commit b81768d

Browse files
committed
Merge branch 'main' into av/refinements
2 parents 55b26ba + 4bb130f commit b81768d

32 files changed

+931
-2950
lines changed

.changes/0.24.0.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
## 0.24.0 (September 18, 2024)
2+
3+
BREAKING CHANGES:
4+
5+
* tfprotov5+tfprotov6: Removed temporary `ResourceServerWithMoveResourceState` interface type. Use `ResourceServer` instead. ([#408](https://github.com/hashicorp/terraform-plugin-go/issues/408))
6+
7+
NOTES:
8+
9+
* all: If using terraform-plugin-mux, it must be upgraded to v0.16.0 or later to prevent compilation errors ([#408](https://github.com/hashicorp/terraform-plugin-go/issues/408))
10+
* all: This Go module has been updated to Go 1.22 per the [Go support policy](https://go.dev/doc/devel/release#policy). It is recommended to review the [Go 1.22 release notes](https://go.dev/doc/go1.22) before upgrading. Any consumers building on earlier Go versions may experience errors. ([#428](https://github.com/hashicorp/terraform-plugin-go/issues/428))
11+
12+
BUG FIXES:
13+
14+
* logging: Add existing `MoveResourceState` server capability to v5 and v6 logging ([#432](https://github.com/hashicorp/terraform-plugin-go/issues/432))
15+

.changes/unreleased/BREAKING CHANGES-20240510-105824.yaml

Lines changed: 0 additions & 6 deletions
This file was deleted.

.changes/unreleased/NOTES-20240510-105942.yaml

Lines changed: 0 additions & 6 deletions
This file was deleted.

.changie.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# DO NOT EDIT - This GitHub Workflow is managed by automation
2+
# https://github.com/hashicorp/terraform-devex-repos
13
changesDir: .changes
24
unreleasedDir: unreleased
35
changelogPath: CHANGELOG.md

.github/workflows/add-content-to-project.yml

Lines changed: 0 additions & 40 deletions
This file was deleted.

.github/workflows/ci-changie.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# DO NOT EDIT - This GitHub Workflow is managed by automation
2+
# https://github.com/hashicorp/terraform-devex-repos
3+
14
# Continuous integration handling for changie
25
name: ci-changie
36

@@ -15,9 +18,10 @@ jobs:
1518
check:
1619
runs-on: ubuntu-latest
1720
steps:
18-
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
21+
# Ensure terraform-devex-repos is updated on version changes.
22+
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
23+
# Ensure terraform-devex-repos is updated on version changes.
1924
- uses: miniscruff/changie-action@6dcc2533cac0495148ed4046c438487e4dceaa23 # v2.0.0
2025
with:
2126
version: latest
2227
args: batch patch --dry-run
23-

.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@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
17-
- uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
16+
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
17+
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
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: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -16,28 +16,28 @@ jobs:
1616
golangci-lint:
1717
runs-on: ubuntu-latest
1818
steps:
19-
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
20-
- uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
19+
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
20+
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
2121
with:
2222
go-version-file: 'go.mod'
2323
- run: go mod download
24-
- uses: golangci/golangci-lint-action@a4f60bb28d35aeee14e6880718e0c85ff1882e64 # v6.0.1
24+
- uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 # v6.1.1
2525
terraform-provider-corner-tfprotov5:
2626
defaults:
2727
run:
2828
working-directory: terraform-provider-corner
2929
name: tfprotov5 (${{ matrix.os}}, Terraform ${{ matrix.terraform}})
3030
runs-on: ${{ matrix.os }}
3131
steps:
32-
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
33-
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
32+
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
33+
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
3434
with:
3535
path: terraform-provider-corner
3636
repository: hashicorp/terraform-provider-corner
37-
- uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
37+
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
3838
with:
3939
go-version-file: 'go.mod'
40-
- uses: hashicorp/setup-terraform@651471c36a6092792c552e8b1bef71e592b462d8 # v3.1.1
40+
- uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd # v3.1.2
4141
with:
4242
terraform_version: ${{ matrix.terraform }}
4343
terraform_wrapper: false
@@ -62,15 +62,15 @@ jobs:
6262
name: tfprotov6 (${{ matrix.os}}, Terraform ${{ matrix.terraform}})
6363
runs-on: ${{ matrix.os }}
6464
steps:
65-
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
66-
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
65+
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
66+
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
6767
with:
6868
path: terraform-provider-corner
6969
repository: hashicorp/terraform-provider-corner
70-
- uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
70+
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
7171
with:
7272
go-version-file: 'go.mod'
73-
- uses: hashicorp/setup-terraform@651471c36a6092792c552e8b1bef71e592b462d8 # v3.1.1
73+
- uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd # v3.1.2
7474
with:
7575
terraform_version: ${{ matrix.terraform }}
7676
terraform_wrapper: false
@@ -92,16 +92,16 @@ jobs:
9292
runs-on: ubuntu-latest
9393
strategy:
9494
matrix:
95-
go-version: ['1.22', '1.21']
95+
go-version: ['1.23', '1.22']
9696
steps:
97-
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
98-
- uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
97+
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
98+
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
9999
with:
100100
go-version: ${{ matrix.go-version }}
101101
- run: go mod download
102102
- run: go test -coverprofile=coverage.out ./...
103103
- run: go tool cover -html=coverage.out -o coverage.html
104-
- uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
104+
- uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
105105
with:
106106
name: go-${{ matrix.go-version }}-coverage
107107
path: coverage.html

.github/workflows/ci-goreleaser.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ name: ci-goreleaser
44
on:
55
pull_request:
66
paths:
7+
- .github/workflows/ci-goreleaser.yml
78
- .goreleaser.yml
89

910
permissions:
@@ -13,10 +14,10 @@ jobs:
1314
check:
1415
runs-on: ubuntu-latest
1516
steps:
16-
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
17-
- uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
17+
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
18+
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
1819
with:
1920
go-version-file: 'go.mod'
20-
- uses: goreleaser/goreleaser-action@5742e2a039330cbb23ebf35f046f814d4c6ff811 # v5.1.0
21+
- uses: goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # v6.0.0
2122
with:
2223
args: check

.github/workflows/ci-protobuf.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ jobs:
1919
protoc:
2020
runs-on: ubuntu-latest
2121
steps:
22-
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
23-
- uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
22+
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
23+
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
2424
with:
2525
go-version-file: 'go.mod'
2626
- uses: arduino/setup-protoc@c65c819552d16ad3c9b72d9dfd5ba5237b9c906b # v3.0.0
@@ -29,7 +29,7 @@ jobs:
2929
# pinned here to prevent unexpected differences. Follow the
3030
# https://github.com/protocolbuffers/protobuf repository for protoc
3131
# release updates.
32-
version: '26.1'
32+
version: '27.3'
3333
- run: go mod download
3434
- run: make tools
3535
- run: make protoc

0 commit comments

Comments
 (0)