NOTES:
- types: The
Bool
typeNull
,Unknown
, andValue
fields have been deprecated in preference of theBoolNull()
,BoolUnknown()
, andBoolValue()
creation functions andIsNull()
,IsUnknown()
, andValueBool()
methods. The fields will be removed in a future release. (#502) - types: The
Float64
typeNull
,Unknown
, andValue
fields have been deprecated in preference of theFloat64Null()
,Float64Unknown()
, andFloat64Value()
creation functions andIsNull()
,IsUnknown()
, andValueFloat64()
methods. The fields will be removed in a future release. (#502) - types: The
Int64
typeNull
,Unknown
, andValue
fields have been deprecated in preference of theInt64Null()
,Int64Unknown()
, andInt64Value()
creation functions andIsNull()
,IsUnknown()
, andValueInt64()
methods. The fields will be removed in a future release. (#502) - types: The
List
typeElems
,ElemType
,Null
, andUnknown
fields have been deprecated in preference of theListNull()
,ListUnknown()
,ListValue()
, andListValueMust()
creation functions andElements()
,ElementsAs()
,ElementType()
,IsNull()
, andIsUnknown()
methods. The fields will be removed in a future release. (#502) - types: The
Map
typeElems
,ElemType
,Null
, andUnknown
fields have been deprecated in preference of theMapNull()
,MapUnknown()
,MapValue()
, andMapValueMust()
creation functions andElements()
,ElementsAs()
,ElementType()
,IsNull()
, andIsUnknown()
methods. The fields will be removed in a future release. (#502) - types: The
Number
typeNull
,Unknown
, andValue
fields have been deprecated in preference of theNumberNull()
,NumberUnknown()
, andNumberValue()
creation functions andIsNull()
,IsUnknown()
, andValueBigFloat()
methods. The fields will be removed in a future release. (#502) - types: The
Object
typeAttrs
,AttrTypes
,Null
, andUnknown
fields have been deprecated in preference of theObjectNull()
,ObjectUnknown()
,ObjectValue()
, andObjectValueMust()
creation functions andAs()
,Attributes()
,AttributeTypes()
,IsNull()
, andIsUnknown()
methods. The fields will be removed in a future release. (#502) - types: The
Set
typeElems
,ElemType
,Null
, andUnknown
fields have been deprecated in preference of theSetNull()
,SetUnknown()
,SetValue()
, andSetValueMust()
creation functions andElements()
,ElementsAs()
,ElementType()
,IsNull()
, andIsUnknown()
methods. The fields will be removed in a future release. (#502) - types: The
String
typeNull
,Unknown
, andValue
fields have been deprecated in preference of theStringNull()
,StringUnknown()
, andStringValue()
creation functions andIsNull()
,IsUnknown()
, andValueString()
methods. The fields will be removed in a future release. (#502)
ENHANCEMENTS:
- types: Added
BoolNull()
,BoolUnknown()
, andBoolValue()
functions, which create immutableBool
values (#502) - types: Added
Bool
typeValueBool()
method, which returns thebool
of the known value orfalse
if null or unknown (#502) - types: Added
Float64Null()
,Float64Unknown()
, andFloat64Value()
functions, which create immutableFloat64
values (#502) - types: Added
Float64
typeValueFloat64()
method, which returns thefloat64
of the known value or0.0
if null or unknown (#502) - types: Added
Int64Null()
,Int64Unknown()
, andInt64Value()
functions, which create immutableInt64
values (#502) - types: Added
Int64
typeValueInt64()
method, which returns theint64
of the known value or0
if null or unknown (#502) - types: Added
ListNull()
,ListUnknown()
,ListValue()
, andListValueMust()
functions, which create immutableList
values (#502) - types: Added
ListValueFrom()
,MapValueFrom()
,ObjectValueFrom()
, andSetValueFrom()
functions, which can create value types from standard Go types using reflection similar totfsdk.ValueFrom()
(#522) - types: Added
List
typeElements()
method, which returns the[]attr.Value
of the known values ornil
if null or unknown (#502) - types: Added
MapNull()
,MapUnknown()
,MapValue()
, andMapValueMust()
functions, which create immutableMap
values (#502) - types: Added
Map
typeElements()
method, which returns themap[string]attr.Value
of the known values ornil
if null or unknown (#502) - types: Added
NumberNull()
,NumberUnknown()
, andNumberValue()
functions, which create immutableNumber
values (#502) - types: Added
Number
typeValueBigFloat()
method, which returns the*big.Float
of the known value ornil
if null or unknown (#502) - types: Added
SetNull()
,SetUnknown()
,SetValue()
, andSetValueMust()
functions, which create immutableSet
values (#502) - types: Added
Set
typeElements()
method, which returns the[]attr.Value
of the known values ornil
if null or unknown (#502) - types: Added
StringNull()
,StringUnknown()
, andStringValue()
functions, which create immutableString
values (#502) - types: Added
String
typeValueString()
method, which returns thestring
of the known value or""
if null or unknown (#502)