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 atypes.List
for retrieving variadic argument data will need to update their code to usetypes.Tuple
. (#923) - function: Altered the
RunResponse
type, replacingDiagnostics
withFuncError
(#925) - diag: Removed
DiagnosticWithFunctionArgument
interface. RemovedNewArgumentErrorDiagnostic()
,NewArgumentWarningDiagnostic()
andWithFunctionArgument()
functions. RemovedAddArgumentError()
andAddArgumentWarning()
methods fromDiagnostics
. (#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 withnil
or zero-length value (#910) - function: Added
FuncError
type, required forRunResponse
(#925) - function: Added
NewFuncError()
andNewArgumentFuncError()
functions, which create aFuncError
(#925) - function: Added
ConcatFuncErrors()
andFuncErrorFromDiags()
helper functions for use when working withFuncError
(#925)