From f35653eee5dbea1a5cbcd1f421f0ec6f614a4d87 Mon Sep 17 00:00:00 2001 From: hc-github-team-tf-provider-devex Date: Wed, 28 Feb 2024 12:19:34 +0000 Subject: [PATCH] Update changelog --- .changes/1.6.0.md | 19 +++++++++++++++++++ .../BREAKING CHANGES-20240216-142501.yaml | 8 -------- .../BREAKING CHANGES-20240227-112229.yaml | 5 ----- .../BREAKING CHANGES-20240227-113128.yaml | 8 -------- .../ENHANCEMENTS-20240126-073810.yaml | 6 ------ .../ENHANCEMENTS-20240227-112448.yaml | 5 ----- .../ENHANCEMENTS-20240227-112633.yaml | 6 ------ .../ENHANCEMENTS-20240227-112752.yaml | 6 ------ .../unreleased/FEATURES-20240201-173428.yaml | 6 ------ CHANGELOG.md | 19 +++++++++++++++++++ 10 files changed, 38 insertions(+), 50 deletions(-) create mode 100644 .changes/1.6.0.md delete mode 100644 .changes/unreleased/BREAKING CHANGES-20240216-142501.yaml delete mode 100644 .changes/unreleased/BREAKING CHANGES-20240227-112229.yaml delete mode 100644 .changes/unreleased/BREAKING CHANGES-20240227-113128.yaml delete mode 100644 .changes/unreleased/ENHANCEMENTS-20240126-073810.yaml delete mode 100644 .changes/unreleased/ENHANCEMENTS-20240227-112448.yaml delete mode 100644 .changes/unreleased/ENHANCEMENTS-20240227-112633.yaml delete mode 100644 .changes/unreleased/ENHANCEMENTS-20240227-112752.yaml delete mode 100644 .changes/unreleased/FEATURES-20240201-173428.yaml diff --git a/.changes/1.6.0.md b/.changes/1.6.0.md new file mode 100644 index 000000000..80100b763 --- /dev/null +++ b/.changes/1.6.0.md @@ -0,0 +1,19 @@ +## 1.6.0 (February 28, 2024) + +BREAKING CHANGES: + +* 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)) +* function: Altered the `RunResponse` type, replacing `Diagnostics` with `FuncError` ([#925](https://github.com/hashicorp/terraform-plugin-framework/issues/925)) +* 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)) + +FEATURES: + +* 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)) + +ENHANCEMENTS: + +* 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)) +* function: Added `FuncError` type, required for `RunResponse` ([#925](https://github.com/hashicorp/terraform-plugin-framework/issues/925)) +* function: Added `NewFuncError()` and `NewArgumentFuncError()` functions, which create a `FuncError` ([#925](https://github.com/hashicorp/terraform-plugin-framework/issues/925)) +* function: Added `ConcatFuncErrors()` and `FuncErrorFromDiags()` helper functions for use when working with `FuncError` ([#925](https://github.com/hashicorp/terraform-plugin-framework/issues/925)) + diff --git a/.changes/unreleased/BREAKING CHANGES-20240216-142501.yaml b/.changes/unreleased/BREAKING CHANGES-20240216-142501.yaml deleted file mode 100644 index 4fa7c3043..000000000 --- a/.changes/unreleased/BREAKING CHANGES-20240216-142501.yaml +++ /dev/null @@ -1,8 +0,0 @@ -kind: BREAKING CHANGES -body: '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`.' -time: 2024-02-16T14:25:01.729428-05:00 -custom: - Issue: "923" diff --git a/.changes/unreleased/BREAKING CHANGES-20240227-112229.yaml b/.changes/unreleased/BREAKING CHANGES-20240227-112229.yaml deleted file mode 100644 index de6c8d805..000000000 --- a/.changes/unreleased/BREAKING CHANGES-20240227-112229.yaml +++ /dev/null @@ -1,5 +0,0 @@ -kind: BREAKING CHANGES -body: 'function: Altered the `RunResponse` type, replacing `Diagnostics` with `FuncError`' -time: 2024-02-27T11:22:29.392126Z -custom: - Issue: "925" diff --git a/.changes/unreleased/BREAKING CHANGES-20240227-113128.yaml b/.changes/unreleased/BREAKING CHANGES-20240227-113128.yaml deleted file mode 100644 index 5b3697272..000000000 --- a/.changes/unreleased/BREAKING CHANGES-20240227-113128.yaml +++ /dev/null @@ -1,8 +0,0 @@ -kind: BREAKING CHANGES -body: 'diag: Removed `DiagnosticWithFunctionArgument` interface. Removed - `NewArgumentErrorDiagnostic()`, `NewArgumentWarningDiagnostic()` and - `WithFunctionArgument()` functions. Removed `AddArgumentError()` and - `AddArgumentWarning()` methods from `Diagnostics`.' -time: 2024-02-27T11:31:28.09588Z -custom: - Issue: "925" diff --git a/.changes/unreleased/ENHANCEMENTS-20240126-073810.yaml b/.changes/unreleased/ENHANCEMENTS-20240126-073810.yaml deleted file mode 100644 index 7cff4934c..000000000 --- a/.changes/unreleased/ENHANCEMENTS-20240126-073810.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: ENHANCEMENTS -body: 'privatestate: Added support for `SetKey()` method to fully remove key with - `nil` or zero-length value' -time: 2024-01-26T07:38:10.644333-05:00 -custom: - Issue: "910" diff --git a/.changes/unreleased/ENHANCEMENTS-20240227-112448.yaml b/.changes/unreleased/ENHANCEMENTS-20240227-112448.yaml deleted file mode 100644 index 0f80f4f0a..000000000 --- a/.changes/unreleased/ENHANCEMENTS-20240227-112448.yaml +++ /dev/null @@ -1,5 +0,0 @@ -kind: ENHANCEMENTS -body: 'function: Added `FuncError` type, required for `RunResponse`' -time: 2024-02-27T11:24:48.711538Z -custom: - Issue: "925" diff --git a/.changes/unreleased/ENHANCEMENTS-20240227-112633.yaml b/.changes/unreleased/ENHANCEMENTS-20240227-112633.yaml deleted file mode 100644 index 3bb29eaec..000000000 --- a/.changes/unreleased/ENHANCEMENTS-20240227-112633.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: ENHANCEMENTS -body: 'function: Added `NewFuncError()` and `NewArgumentFuncError()` functions, which - create a `FuncError`' -time: 2024-02-27T11:26:33.856219Z -custom: - Issue: "925" diff --git a/.changes/unreleased/ENHANCEMENTS-20240227-112752.yaml b/.changes/unreleased/ENHANCEMENTS-20240227-112752.yaml deleted file mode 100644 index a93ebe2b4..000000000 --- a/.changes/unreleased/ENHANCEMENTS-20240227-112752.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: ENHANCEMENTS -body: 'function: Added `ConcatFuncErrors()` and `FuncErrorFromDiags()` helper functions - for use when working with `FuncError`' -time: 2024-02-27T11:27:52.288519Z -custom: - Issue: "925" diff --git a/.changes/unreleased/FEATURES-20240201-173428.yaml b/.changes/unreleased/FEATURES-20240201-173428.yaml deleted file mode 100644 index 294b8ebaf..000000000 --- a/.changes/unreleased/FEATURES-20240201-173428.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: FEATURES -body: 'resource: Added the `ResourceWithMoveState` interface, which enables state - moves across resource types with Terraform 1.8 and later' -time: 2024-02-01T17:34:28.190047-05:00 -custom: - Issue: "917" diff --git a/CHANGELOG.md b/CHANGELOG.md index a308799cb..768f54ab6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,22 @@ +## 1.6.0 (February 28, 2024) + +BREAKING CHANGES: + +* 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)) +* function: Altered the `RunResponse` type, replacing `Diagnostics` with `FuncError` ([#925](https://github.com/hashicorp/terraform-plugin-framework/issues/925)) +* 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)) + +FEATURES: + +* 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)) + +ENHANCEMENTS: + +* 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)) +* function: Added `FuncError` type, required for `RunResponse` ([#925](https://github.com/hashicorp/terraform-plugin-framework/issues/925)) +* function: Added `NewFuncError()` and `NewArgumentFuncError()` functions, which create a `FuncError` ([#925](https://github.com/hashicorp/terraform-plugin-framework/issues/925)) +* function: Added `ConcatFuncErrors()` and `FuncErrorFromDiags()` helper functions for use when working with `FuncError` ([#925](https://github.com/hashicorp/terraform-plugin-framework/issues/925)) + ## 1.5.0 (January 11, 2024) NOTES: