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)
function: Altered the RunResponse type, replacing Diagnostics with FuncError (#925)
diag: Removed DiagnosticWithFunctionArgument interface. Removed NewArgumentErrorDiagnostic(), NewArgumentWarningDiagnostic() and WithFunctionArgument() functions. Removed AddArgumentError() and AddArgumentWarning() methods from Diagnostics. (#925)
FEATURES:
resource: Added the ResourceWithMoveState interface, which enables state moves across resource types with Terraform 1.8 and later (#917)
ENHANCEMENTS:
privatestate: Added support for SetKey() method to fully remove key with nil or zero-length value (#910)
function: Added FuncError type, required for RunResponse (#925)
function: Added NewFuncError() and NewArgumentFuncError() functions, which create a FuncError (#925)
function: Added ConcatFuncErrors() and FuncErrorFromDiags() helper functions for use when working with FuncError (#925)
v1.5.0
NOTES:
all: Update google.golang.org/grpc dependency to address CVE-2023-44487 (#865)
Provider-defined function support is in technical preview and offered without compatibility promises until Terraform 1.8 is generally available. (#889)
FEATURES:
function: New package for implementing provider defined functions (#889)
ENHANCEMENTS:
types/basetypes: Added TupleType and TupleValue implementations, which are only necessary for dynamic value handling (#870)
diag: Added NewArgumentErrorDiagnostic() and NewArgumentWarningDiagnostic() functions, which create diagnostics with the function argument position set (#889)
provider: Added ProviderWithFunctions interface for implementing provider defined functions (#889)
diag: Added (Diagnostics).AddArgumentError() and (Diagnostics).AddArgumentWarning() methods for appending function argument diagnostics (#889)
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)
function: Altered the RunResponse type, replacing Diagnostics with FuncError (#925)
diag: Removed DiagnosticWithFunctionArgument interface. Removed NewArgumentErrorDiagnostic(), NewArgumentWarningDiagnostic() and WithFunctionArgument() functions. Removed AddArgumentError() and AddArgumentWarning() methods from Diagnostics. (#925)
FEATURES:
resource: Added the ResourceWithMoveState interface, which enables state moves across resource types with Terraform 1.8 and later (#917)
ENHANCEMENTS:
privatestate: Added support for SetKey() method to fully remove key with nil or zero-length value (#910)
function: Added FuncError type, required for RunResponse (#925)
function: Added NewFuncError() and NewArgumentFuncError() functions, which create a FuncError (#925)
function: Added ConcatFuncErrors() and FuncErrorFromDiags() helper functions for use when working with FuncError (#925)
1.5.0 (January 11, 2024)
NOTES:
all: Update google.golang.org/grpc dependency to address CVE-2023-44487 (#865)
Provider-defined function support is in technical preview and offered without compatibility promises until Terraform 1.8 is generally available. (#889)
FEATURES:
function: New package for implementing provider defined functions (#889)
ENHANCEMENTS:
types/basetypes: Added TupleType and TupleValue implementations, which are only necessary for dynamic value handling (#870)
diag: Added NewArgumentErrorDiagnostic() and NewArgumentWarningDiagnostic() functions, which create diagnostics with the function argument position set (#889)
provider: Added ProviderWithFunctions interface for implementing provider defined functions (#889)
diag: Added (Diagnostics).AddArgumentError() and (Diagnostics).AddArgumentWarning() methods for appending function argument diagnostics (#889)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps github.com/hashicorp/terraform-plugin-framework from 1.4.2 to 1.6.0.
Release notes
Sourced from github.com/hashicorp/terraform-plugin-framework's releases.
Changelog
Sourced from github.com/hashicorp/terraform-plugin-framework's changelog.
Commits
f35653e
Update changeloga995991
function: Replace usage of diagnostics with function errors during execution ...3c7a391
reflect: Determine equivalency of float32 or float64, and *big.Float via stri...8d0d29d
docs: add import statements to default-values.mdx (#851)a8189f1
function: Switch the representation of variadic arguments totypes.Tuple
(#...bcbb70b
Result of tsccr-helper -log-level=info gha update -latest . (#924)86b2acb
resource: Initial MoveResourceState RPC support (#917)f471850
Result of tsccr-helper -log-level=info gha update -latest . (#918)f2e8b33
build(deps): Bump hashicorp/setup-terraform from 2.0.3 to 3.0.0 (#916)0185b95
Added GHA dependabot config for managing hashicorp actions (#915)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show