function: Removed Definition type Parameter() 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 the ValidateableAttribute interface. A ValidatableParameter interface has also been added to the function 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: Add BoolParameterValidator, DynamicParameterValidator, Float64ParameterValidator, Int64ParameterValidator, ListParameterValidator, MapParameterValidator, NumberParameterValidator, ObjectParameterValidator, SetParameterValidator, and StringParameterValidator interfaces for custom function parameter validation implementations. (#971)
function: Add ParameterWithBoolValidators, ParameterWithInt64Validators, ParameterWithFloat64Validators, ParameterWithDynamicValidators, ParameterWithListValidators, ParameterWithMapValidators, ParameterWithNumberValidators, ParameterWithObjectValidators, ParameterWithSetValidators, and ParameterWithStringValidators interfaces to enable parameter-based validation support (#971)
BUG FIXES:
types/basetypes: Prevented panic in the MapValue types Equal method when the receiver has a nil elementType (#961)
types/basetypes: Prevented panic in the ListValue types Equal method when the receiver has a nil elementType (#961)
types/basetypes: Prevented panic in the SetValue types Equal method when the receiver has a nil elementType (#961)
resource: Ensured computed-only dynamic attributes will not cause wrong final value type errors during planning (#969)
v1.7.0
BREAKING CHANGES:
function: All parameters must be explicitly named via the Name field (#964)
function: DefaultParameterNamePrefix and DefaultVariadicParameterName constants have been removed (#964)
FEATURES:
types/basetypes: Added DynamicType and DynamicValue implementations for dynamic value handling (#147)
types/basetypes: Added interfaces basetypes.DynamicTypable, basetypes.DynamicValuable, and basetypes.DynamicValuableWithSemanticEquals for dynamic custom type and value implementations (#147)
resource/schema: Added DynamicAttribute implementation for dynamic value handling (#147)
datasource/schema: Added DynamicAttribute implementation for dynamic value handling (#147)
provider/schema: Added DynamicAttribute implementation for dynamic value handling (#147)
function: Added DynamicParameter and DynamicReturn for dynamic value handling` (#147)
resource/schema/dynamicdefault: New package with StaticValue implementation for dynamic schema-based default values (#147)
resource/schema/dynamicplanmodifier: New package with built-in implementations for dynamic value plan modification. (#147)
resource/schema/defaults: New Dynamic interface for dynamic schema-based default implementations (#147)
resource/schema/planmodifier: New Dynamic interface for dynamic value plan modification implementations (#147)
schema/validator: New Dynamic interface for dynamic value schema validation (#147)
function: Removed Definition type Parameter() 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 the ValidateableAttribute interface. A ValidatableParameter interface has also been added to the function 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: Add BoolParameterValidator, DynamicParameterValidator, Float64ParameterValidator, Int64ParameterValidator, ListParameterValidator, MapParameterValidator, NumberParameterValidator, ObjectParameterValidator, SetParameterValidator, and StringParameterValidator interfaces for custom function parameter validation implementations. (#971)
function: Add ParameterWithBoolValidators, ParameterWithInt64Validators, ParameterWithFloat64Validators, ParameterWithDynamicValidators, ParameterWithListValidators, ParameterWithMapValidators, ParameterWithNumberValidators, ParameterWithObjectValidators, ParameterWithSetValidators, and ParameterWithStringValidators interfaces to enable parameter-based validation support (#971)
BUG FIXES:
types/basetypes: Prevented panic in the MapValue types Equal method when the receiver has a nil elementType (#961)
types/basetypes: Prevented panic in the ListValue types Equal method when the receiver has a nil elementType (#961)
types/basetypes: Prevented panic in the SetValue types Equal method when the receiver has a nil elementType (#961)
resource: Ensured computed-only dynamic attributes will not cause wrong final value type errors during planning (#969)
1.7.0 (March 21, 2024)
BREAKING CHANGES:
function: All parameters must be explicitly named via the Name field (#964)
function: DefaultParameterNamePrefix and DefaultVariadicParameterName constants have been removed (#964)
FEATURES:
types/basetypes: Added DynamicType and DynamicValue implementations for dynamic value handling (#147)
types/basetypes: Added interfaces basetypes.DynamicTypable, basetypes.DynamicValuable, and basetypes.DynamicValuableWithSemanticEquals for dynamic custom type and value implementations (#147)
resource/schema: Added DynamicAttribute implementation for dynamic value handling (#147)
datasource/schema: Added DynamicAttribute implementation for dynamic value handling (#147)
provider/schema: Added DynamicAttribute implementation for dynamic value handling (#147)
function: Added DynamicParameter and DynamicReturn for dynamic value handling` (#147)
resource/schema/dynamicdefault: New package with StaticValue implementation for dynamic schema-based default values (#147)
resource/schema/dynamicplanmodifier: New package with built-in implementations for dynamic value plan modification. (#147)
resource/schema/defaults: New Dynamic interface for dynamic schema-based default implementations (#147)
resource/schema/planmodifier: New Dynamic interface for dynamic value plan modification implementations (#147)
schema/validator: New Dynamic interface for dynamic value schema validation (#147)
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
Bumps github.com/hashicorp/terraform-plugin-framework from 1.6.1 to 1.8.0.
Release notes
Sourced from github.com/hashicorp/terraform-plugin-framework's releases.
Changelog
Sourced from github.com/hashicorp/terraform-plugin-framework's changelog.
Commits
711b0a5
Update changelog9d9533c
build(deps): Bump github.com/hashicorp/terraform-plugin-go (#984)23c2403
Remove wildcard suffix fromsetup_terraform
workflow call (#981)392ed7c
website: Update testing documentation to utilize newstatecheck
and `knownv...de32b2c
basetypes: fix equality for values with nil elementType (#961)d36ac87
Add parameter-based provider-defined function validation (#971)f6057df
docs: Remove technical preview verbiage from provider-defined functions (#972)4a9b6a3
Add type-based provider-defined function parameter validation (#968)541a7cb
Small edit for style on a code comment (#975)484f311
internal/fwserver: Ensure computed dynamic values are marked as dynamic type ...You can trigger a rebase of this PR by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show