Skip to content

Commit

Permalink
Update CHANGELOG for 0.15.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bflad committed Oct 26, 2022
1 parent de565fa commit 1ee1a4f
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,37 @@
# 0.15.0 (October 26, 2022)

NOTES:

* 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))
* 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))
* 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))
* 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))
* 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))
* 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))
* 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))
* 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))
* 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))

ENHANCEMENTS:

* types: Added `BoolNull()`, `BoolUnknown()`, and `BoolValue()` functions, which create immutable `Bool` values ([#502](https://github.com/hashicorp/terraform-plugin-framework/issues/502))
* 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))
* types: Added `Float64Null()`, `Float64Unknown()`, and `Float64Value()` functions, which create immutable `Float64` values ([#502](https://github.com/hashicorp/terraform-plugin-framework/issues/502))
* 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))
* types: Added `Int64Null()`, `Int64Unknown()`, and `Int64Value()` functions, which create immutable `Int64` values ([#502](https://github.com/hashicorp/terraform-plugin-framework/issues/502))
* 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))
* types: Added `ListNull()`, `ListUnknown()`, `ListValue()`, and `ListValueMust()` functions, which create immutable `List` values ([#502](https://github.com/hashicorp/terraform-plugin-framework/issues/502))
* 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))
* 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))
* types: Added `MapNull()`, `MapUnknown()`, `MapValue()`, and `MapValueMust()` functions, which create immutable `Map` values ([#502](https://github.com/hashicorp/terraform-plugin-framework/issues/502))
* 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))
* types: Added `NumberNull()`, `NumberUnknown()`, and `NumberValue()` functions, which create immutable `Number` values ([#502](https://github.com/hashicorp/terraform-plugin-framework/issues/502))
* 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))
* types: Added `SetNull()`, `SetUnknown()`, `SetValue()`, and `SetValueMust()` functions, which create immutable `Set` values ([#502](https://github.com/hashicorp/terraform-plugin-framework/issues/502))
* 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))
* types: Added `StringNull()`, `StringUnknown()`, and `StringValue()` functions, which create immutable `String` values ([#502](https://github.com/hashicorp/terraform-plugin-framework/issues/502))
* 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))

# 0.14.0 (October 4, 2022)

NOTES:
Expand Down

0 comments on commit 1ee1a4f

Please sign in to comment.