all: The v1.6.0 release updated this Go module to Go 1.21 per the Go support policy. It is recommended to review the Go 1.21 release notes before upgrading. Any consumers building on earlier Go versions may experience errors (#937)
BUG FIXES:
resource/schema: Ensured invalid attribute default value errors are raised (#930)
function: Added implementation validation to function.Definition to ensure all parameter names (including the variadic parameter) are unique. (#926)
function: Updated the default parameter name to include the position of the parameter (i.e. param1, param2, etc.). Variadic parameters will default to varparam. (#926)
v1.6.0
BREAKING CHANGES:
function: Changed the framework type for variadic parameters to types.TupleType, where each element is the same element type. Provider-defined functions using a types.List for retrieving variadic argument data will need to update their code to use types.Tuple. (#923)
function: Altered the RunResponse type, replacing Diagnostics with FuncError (#925)
diag: Removed DiagnosticWithFunctionArgument interface. Removed NewArgumentErrorDiagnostic(), NewArgumentWarningDiagnostic() and WithFunctionArgument() functions. Removed AddArgumentError() and AddArgumentWarning() methods from Diagnostics. (#925)
FEATURES:
resource: Added the ResourceWithMoveState interface, which enables state moves across resource types with Terraform 1.8 and later (#917)
ENHANCEMENTS:
privatestate: Added support for SetKey() method to fully remove key with nil or zero-length value (#910)
function: Added FuncError type, required for RunResponse (#925)
function: Added NewFuncError() and NewArgumentFuncError() functions, which create a FuncError (#925)
function: Added ConcatFuncErrors() and FuncErrorFromDiags() helper functions for use when working with FuncError (#925)
v1.5.0
NOTES:
all: Update google.golang.org/grpc dependency to address CVE-2023-44487 (#865)
Provider-defined function support is in technical preview and offered without compatibility promises until Terraform 1.8 is generally available. (#889)
FEATURES:
function: New package for implementing provider defined functions (#889)
ENHANCEMENTS:
types/basetypes: Added TupleType and TupleValue implementations, which are only necessary for dynamic value handling (#870)
diag: Added NewArgumentErrorDiagnostic() and NewArgumentWarningDiagnostic() functions, which create diagnostics with the function argument position set (#889)
provider: Added ProviderWithFunctions interface for implementing provider defined functions (#889)
diag: Added (Diagnostics).AddArgumentError() and (Diagnostics).AddArgumentWarning() methods for appending function argument diagnostics (#889)
all: The v1.6.0 release updated this Go module to Go 1.21 per the Go support policy. It is recommended to review the Go 1.21 release notes before upgrading. Any consumers building on earlier Go versions may experience errors (#937)
BUG FIXES:
resource/schema: Ensured invalid attribute default value errors are raised (#930)
function: Added implementation validation to function.Definition to ensure all parameter names (including the variadic parameter) are unique. (#926)
function: Updated the default parameter name to include the position of the parameter (i.e. param1, param2, etc.). Variadic parameters will default to varparam. (#926)
1.6.0 (February 28, 2024)
BREAKING CHANGES:
function: Changed the framework type for variadic parameters to types.TupleType, where each element is the same element type. Provider-defined functions using a types.List for retrieving variadic argument data will need to update their code to use types.Tuple. (#923)
function: Altered the RunResponse type, replacing Diagnostics with FuncError (#925)
diag: Removed DiagnosticWithFunctionArgument interface. Removed NewArgumentErrorDiagnostic(), NewArgumentWarningDiagnostic() and WithFunctionArgument() functions. Removed AddArgumentError() and AddArgumentWarning() methods from Diagnostics. (#925)
FEATURES:
resource: Added the ResourceWithMoveState interface, which enables state moves across resource types with Terraform 1.8 and later (#917)
ENHANCEMENTS:
privatestate: Added support for SetKey() method to fully remove key with nil or zero-length value (#910)
function: Added FuncError type, required for RunResponse (#925)
function: Added NewFuncError() and NewArgumentFuncError() functions, which create a FuncError (#925)
function: Added ConcatFuncErrors() and FuncErrorFromDiags() helper functions for use when working with FuncError (#925)
1.5.0 (January 11, 2024)
NOTES:
all: Update google.golang.org/grpc dependency to address CVE-2023-44487 (#865)
Provider-defined function support is in technical preview and offered without compatibility promises until Terraform 1.8 is generally available. (#889)
FEATURES:
function: New package for implementing provider defined functions (#889)
ENHANCEMENTS:
types/basetypes: Added TupleType and TupleValue implementations, which are only necessary for dynamic value handling (#870)
diag: Added NewArgumentErrorDiagnostic() and NewArgumentWarningDiagnostic() functions, which create diagnostics with the function argument position set (#889)
provider: Added ProviderWithFunctions interface for implementing provider defined functions (#889)
diag: Added (Diagnostics).AddArgumentError() and (Diagnostics).AddArgumentWarning() methods for appending function argument diagnostics (#889)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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)
Bumps github.com/hashicorp/terraform-plugin-framework from 1.4.2 to 1.6.1.
Release notes
Sourced from github.com/hashicorp/terraform-plugin-framework's releases.
Changelog
Sourced from github.com/hashicorp/terraform-plugin-framework's changelog.
Commits
b7497c5
Update changelog435ee9f
Fixing documentation (#942)e7415b7
Reinstate go toolchain and add changelog for Go version bump to 1.21 (#937)1597a95
Update provider functions testing docs to help users avoid nil pointer error ...bd22b58
resource/schema: Ensure invalid attribute default value errors are raised (#933)f03ca33
function: Add validation for parameter name conflicts and update defaulting l...87c1b41
diag: remove incorrect code (#935)f35653e
Update changeloga995991
function: Replace usage of diagnostics with function errors during execution ...3c7a391
reflect: Determine equivalency of float32 or float64, and *big.Float via stri...Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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