BREAKING CHANGES:
- function: Removed
Definition
typeParameter()
method (#968)
NOTES:
- function: Provider-defined function features are now considered generally available and protected by compatibility promises (#966)
- attr/xattr: The
TypeWithValidate
interface has been deprecated in preference of theValidateableAttribute
interface. AValidatableParameter
interface has also been added to thefunction
package (#968)
FEATURES:
- attr/xattr: Added
ValidateableAttribute
interface for custom value type implementations (#968) - function: Added
ValidateableParameter
interface for custom value type implementations (#968) function
: AddBoolParameterValidator
,DynamicParameterValidator
,Float64ParameterValidator
,Int64ParameterValidator
,ListParameterValidator
,MapParameterValidator
,NumberParameterValidator
,ObjectParameterValidator
,SetParameterValidator
, andStringParameterValidator
interfaces for custom function parameter validation implementations. (#971)function
: AddParameterWithBoolValidators
,ParameterWithInt64Validators
,ParameterWithFloat64Validators
,ParameterWithDynamicValidators
,ParameterWithListValidators
,ParameterWithMapValidators
,ParameterWithNumberValidators
,ParameterWithObjectValidators
,ParameterWithSetValidators
, andParameterWithStringValidators
interfaces to enable parameter-based validation support (#971)
BUG FIXES:
- types/basetypes: Prevented panic in the
MapValue
typesEqual
method when the receiver has a nilelementType
(#961) - types/basetypes: Prevented panic in the
ListValue
typesEqual
method when the receiver has a nilelementType
(#961) - types/basetypes: Prevented panic in the
SetValue
typesEqual
method when the receiver has a nilelementType
(#961) - resource: Ensured computed-only dynamic attributes will not cause
wrong final value type
errors during planning (#969)