Skip to content

Commit f35653e

Browse files
Update changelog
1 parent a995991 commit f35653e

10 files changed

+38
-50
lines changed

.changes/1.6.0.md

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
## 1.6.0 (February 28, 2024)
2+
3+
BREAKING CHANGES:
4+
5+
* function: Changed the framework type for variadic parameters to `types.TupleType`, where each element is the same element type. Provider-defined functions using a `types.List` for retrieving variadic argument data will need to update their code to use `types.Tuple`. ([#923](https://github.com/hashicorp/terraform-plugin-framework/issues/923))
6+
* function: Altered the `RunResponse` type, replacing `Diagnostics` with `FuncError` ([#925](https://github.com/hashicorp/terraform-plugin-framework/issues/925))
7+
* diag: Removed `DiagnosticWithFunctionArgument` interface. Removed `NewArgumentErrorDiagnostic()`, `NewArgumentWarningDiagnostic()` and `WithFunctionArgument()` functions. Removed `AddArgumentError()` and `AddArgumentWarning()` methods from `Diagnostics`. ([#925](https://github.com/hashicorp/terraform-plugin-framework/issues/925))
8+
9+
FEATURES:
10+
11+
* resource: Added the `ResourceWithMoveState` interface, which enables state moves across resource types with Terraform 1.8 and later ([#917](https://github.com/hashicorp/terraform-plugin-framework/issues/917))
12+
13+
ENHANCEMENTS:
14+
15+
* privatestate: Added support for `SetKey()` method to fully remove key with `nil` or zero-length value ([#910](https://github.com/hashicorp/terraform-plugin-framework/issues/910))
16+
* function: Added `FuncError` type, required for `RunResponse` ([#925](https://github.com/hashicorp/terraform-plugin-framework/issues/925))
17+
* function: Added `NewFuncError()` and `NewArgumentFuncError()` functions, which create a `FuncError` ([#925](https://github.com/hashicorp/terraform-plugin-framework/issues/925))
18+
* function: Added `ConcatFuncErrors()` and `FuncErrorFromDiags()` helper functions for use when working with `FuncError` ([#925](https://github.com/hashicorp/terraform-plugin-framework/issues/925))
19+

.changes/unreleased/BREAKING CHANGES-20240216-142501.yaml

-8
This file was deleted.

.changes/unreleased/BREAKING CHANGES-20240227-112229.yaml

-5
This file was deleted.

.changes/unreleased/BREAKING CHANGES-20240227-113128.yaml

-8
This file was deleted.

.changes/unreleased/ENHANCEMENTS-20240126-073810.yaml

-6
This file was deleted.

.changes/unreleased/ENHANCEMENTS-20240227-112448.yaml

-5
This file was deleted.

.changes/unreleased/ENHANCEMENTS-20240227-112633.yaml

-6
This file was deleted.

.changes/unreleased/ENHANCEMENTS-20240227-112752.yaml

-6
This file was deleted.

.changes/unreleased/FEATURES-20240201-173428.yaml

-6
This file was deleted.

CHANGELOG.md

+19
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
## 1.6.0 (February 28, 2024)
2+
3+
BREAKING CHANGES:
4+
5+
* function: Changed the framework type for variadic parameters to `types.TupleType`, where each element is the same element type. Provider-defined functions using a `types.List` for retrieving variadic argument data will need to update their code to use `types.Tuple`. ([#923](https://github.com/hashicorp/terraform-plugin-framework/issues/923))
6+
* function: Altered the `RunResponse` type, replacing `Diagnostics` with `FuncError` ([#925](https://github.com/hashicorp/terraform-plugin-framework/issues/925))
7+
* diag: Removed `DiagnosticWithFunctionArgument` interface. Removed `NewArgumentErrorDiagnostic()`, `NewArgumentWarningDiagnostic()` and `WithFunctionArgument()` functions. Removed `AddArgumentError()` and `AddArgumentWarning()` methods from `Diagnostics`. ([#925](https://github.com/hashicorp/terraform-plugin-framework/issues/925))
8+
9+
FEATURES:
10+
11+
* resource: Added the `ResourceWithMoveState` interface, which enables state moves across resource types with Terraform 1.8 and later ([#917](https://github.com/hashicorp/terraform-plugin-framework/issues/917))
12+
13+
ENHANCEMENTS:
14+
15+
* privatestate: Added support for `SetKey()` method to fully remove key with `nil` or zero-length value ([#910](https://github.com/hashicorp/terraform-plugin-framework/issues/910))
16+
* function: Added `FuncError` type, required for `RunResponse` ([#925](https://github.com/hashicorp/terraform-plugin-framework/issues/925))
17+
* function: Added `NewFuncError()` and `NewArgumentFuncError()` functions, which create a `FuncError` ([#925](https://github.com/hashicorp/terraform-plugin-framework/issues/925))
18+
* function: Added `ConcatFuncErrors()` and `FuncErrorFromDiags()` helper functions for use when working with `FuncError` ([#925](https://github.com/hashicorp/terraform-plugin-framework/issues/925))
19+
120
## 1.5.0 (January 11, 2024)
221

322
NOTES:

0 commit comments

Comments
 (0)