Skip to content

Commit 1ee1a4f

Browse files
committed
Update CHANGELOG for 0.15.0
1 parent de565fa commit 1ee1a4f

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

CHANGELOG.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,37 @@
1+
# 0.15.0 (October 26, 2022)
2+
3+
NOTES:
4+
5+
* types: The `Bool` type `Null`, `Unknown`, and `Value` fields have been deprecated in preference of the `BoolNull()`, `BoolUnknown()`, and `BoolValue()` creation functions and `IsNull()`, `IsUnknown()`, and `ValueBool()` methods. The fields will be removed in a future release. ([#502](https://github.com/hashicorp/terraform-plugin-framework/issues/502))
6+
* types: The `Float64` type `Null`, `Unknown`, and `Value` fields have been deprecated in preference of the `Float64Null()`, `Float64Unknown()`, and `Float64Value()` creation functions and `IsNull()`, `IsUnknown()`, and `ValueFloat64()` methods. The fields will be removed in a future release. ([#502](https://github.com/hashicorp/terraform-plugin-framework/issues/502))
7+
* types: The `Int64` type `Null`, `Unknown`, and `Value` fields have been deprecated in preference of the `Int64Null()`, `Int64Unknown()`, and `Int64Value()` creation functions and `IsNull()`, `IsUnknown()`, and `ValueInt64()` methods. The fields will be removed in a future release. ([#502](https://github.com/hashicorp/terraform-plugin-framework/issues/502))
8+
* types: The `List` type `Elems`, `ElemType`, `Null`, and `Unknown` fields have been deprecated in preference of the `ListNull()`, `ListUnknown()`, `ListValue()`, and `ListValueMust()` creation functions and `Elements()`, `ElementsAs()`, `ElementType()`, `IsNull()`, and `IsUnknown()` methods. The fields will be removed in a future release. ([#502](https://github.com/hashicorp/terraform-plugin-framework/issues/502))
9+
* types: The `Map` type `Elems`, `ElemType`, `Null`, and `Unknown` fields have been deprecated in preference of the `MapNull()`, `MapUnknown()`, `MapValue()`, and `MapValueMust()` creation functions and `Elements()`, `ElementsAs()`, `ElementType()`, `IsNull()`, and `IsUnknown()` methods. The fields will be removed in a future release. ([#502](https://github.com/hashicorp/terraform-plugin-framework/issues/502))
10+
* types: The `Number` type `Null`, `Unknown`, and `Value` fields have been deprecated in preference of the `NumberNull()`, `NumberUnknown()`, and `NumberValue()` creation functions and `IsNull()`, `IsUnknown()`, and `ValueBigFloat()` methods. The fields will be removed in a future release. ([#502](https://github.com/hashicorp/terraform-plugin-framework/issues/502))
11+
* types: The `Object` type `Attrs`, `AttrTypes`, `Null`, and `Unknown` fields have been deprecated in preference of the `ObjectNull()`, `ObjectUnknown()`, `ObjectValue()`, and `ObjectValueMust()` creation functions and `As()`, `Attributes()`, `AttributeTypes()`, `IsNull()`, and `IsUnknown()` methods. The fields will be removed in a future release. ([#502](https://github.com/hashicorp/terraform-plugin-framework/issues/502))
12+
* types: The `Set` type `Elems`, `ElemType`, `Null`, and `Unknown` fields have been deprecated in preference of the `SetNull()`, `SetUnknown()`, `SetValue()`, and `SetValueMust()` creation functions and `Elements()`, `ElementsAs()`, `ElementType()`, `IsNull()`, and `IsUnknown()` methods. The fields will be removed in a future release. ([#502](https://github.com/hashicorp/terraform-plugin-framework/issues/502))
13+
* types: The `String` type `Null`, `Unknown`, and `Value` fields have been deprecated in preference of the `StringNull()`, `StringUnknown()`, and `StringValue()` creation functions and `IsNull()`, `IsUnknown()`, and `ValueString()` methods. The fields will be removed in a future release. ([#502](https://github.com/hashicorp/terraform-plugin-framework/issues/502))
14+
15+
ENHANCEMENTS:
16+
17+
* types: Added `BoolNull()`, `BoolUnknown()`, and `BoolValue()` functions, which create immutable `Bool` values ([#502](https://github.com/hashicorp/terraform-plugin-framework/issues/502))
18+
* types: Added `Bool` type `ValueBool()` method, which returns the `bool` of the known value or `false` if null or unknown ([#502](https://github.com/hashicorp/terraform-plugin-framework/issues/502))
19+
* types: Added `Float64Null()`, `Float64Unknown()`, and `Float64Value()` functions, which create immutable `Float64` values ([#502](https://github.com/hashicorp/terraform-plugin-framework/issues/502))
20+
* types: Added `Float64` type `ValueFloat64()` method, which returns the `float64` of the known value or `0.0` if null or unknown ([#502](https://github.com/hashicorp/terraform-plugin-framework/issues/502))
21+
* types: Added `Int64Null()`, `Int64Unknown()`, and `Int64Value()` functions, which create immutable `Int64` values ([#502](https://github.com/hashicorp/terraform-plugin-framework/issues/502))
22+
* types: Added `Int64` type `ValueInt64()` method, which returns the `int64` of the known value or `0` if null or unknown ([#502](https://github.com/hashicorp/terraform-plugin-framework/issues/502))
23+
* types: Added `ListNull()`, `ListUnknown()`, `ListValue()`, and `ListValueMust()` functions, which create immutable `List` values ([#502](https://github.com/hashicorp/terraform-plugin-framework/issues/502))
24+
* types: Added `ListValueFrom()`, `MapValueFrom()`, `ObjectValueFrom()`, and `SetValueFrom()` functions, which can create value types from standard Go types using reflection similar to `tfsdk.ValueFrom()` ([#522](https://github.com/hashicorp/terraform-plugin-framework/issues/522))
25+
* types: Added `List` type `Elements()` method, which returns the `[]attr.Value` of the known values or `nil` if null or unknown ([#502](https://github.com/hashicorp/terraform-plugin-framework/issues/502))
26+
* types: Added `MapNull()`, `MapUnknown()`, `MapValue()`, and `MapValueMust()` functions, which create immutable `Map` values ([#502](https://github.com/hashicorp/terraform-plugin-framework/issues/502))
27+
* types: Added `Map` type `Elements()` method, which returns the `map[string]attr.Value` of the known values or `nil` if null or unknown ([#502](https://github.com/hashicorp/terraform-plugin-framework/issues/502))
28+
* types: Added `NumberNull()`, `NumberUnknown()`, and `NumberValue()` functions, which create immutable `Number` values ([#502](https://github.com/hashicorp/terraform-plugin-framework/issues/502))
29+
* types: Added `Number` type `ValueBigFloat()` method, which returns the `*big.Float` of the known value or `nil` if null or unknown ([#502](https://github.com/hashicorp/terraform-plugin-framework/issues/502))
30+
* types: Added `SetNull()`, `SetUnknown()`, `SetValue()`, and `SetValueMust()` functions, which create immutable `Set` values ([#502](https://github.com/hashicorp/terraform-plugin-framework/issues/502))
31+
* types: Added `Set` type `Elements()` method, which returns the `[]attr.Value` of the known values or `nil` if null or unknown ([#502](https://github.com/hashicorp/terraform-plugin-framework/issues/502))
32+
* types: Added `StringNull()`, `StringUnknown()`, and `StringValue()` functions, which create immutable `String` values ([#502](https://github.com/hashicorp/terraform-plugin-framework/issues/502))
33+
* types: Added `String` type `ValueString()` method, which returns the `string` of the known value or `""` if null or unknown ([#502](https://github.com/hashicorp/terraform-plugin-framework/issues/502))
34+
135
# 0.14.0 (October 4, 2022)
236

337
NOTES:

0 commit comments

Comments
 (0)