7.json (16895B)
1 { 2 "number": 7, 3 "title": "Bump github.com/hashicorp/terraform-plugin-framework from 1.4.2 to 1.6.1", 4 "state": "closed", 5 "diff_file": "7.diff", 6 "author": "dependabot[bot]", 7 "created_at": "2024-03-06T02:07:48Z", 8 "closed_at": "2024-03-22T02:54:54Z", 9 "merged_at": null, 10 "base_ref": "main", 11 "head_ref": "dependabot/go_modules/github.com/hashicorp/terraform-plugin-framework-1.6.1", 12 "labels": [ 13 "dependencies" 14 ], 15 "assignees": [], 16 "requested_reviewers": [], 17 "body": "Bumps [github.com/hashicorp/terraform-plugin-framework](https://github.com/hashicorp/terraform-plugin-framework) from 1.4.2 to 1.6.1.\n<details>\n<summary>Release notes</summary>\n<p><em>Sourced from <a href=\"https://github.com/hashicorp/terraform-plugin-framework/releases\">github.com/hashicorp/terraform-plugin-framework's releases</a>.</em></p>\n<blockquote>\n<h2>v1.6.1</h2>\n<p>NOTES:</p>\n<ul>\n<li>all: The <code>v1.6.0</code> release updated this Go module to Go 1.21 per the <a href=\"https://go.dev/doc/devel/release#policy\">Go support policy</a>. It is recommended to review the <a href=\"https://go.dev/doc/go1.21\">Go 1.21 release notes</a> before upgrading. Any consumers building on earlier Go versions may experience errors (<a href=\"https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/937\">#937</a>)</li>\n</ul>\n<p>BUG FIXES:</p>\n<ul>\n<li>resource/schema: Ensured invalid attribute default value errors are raised (<a href=\"https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/930\">#930</a>)</li>\n<li>function: Added implementation validation to <code>function.Definition</code> to ensure all parameter names (including the variadic parameter) are unique. (<a href=\"https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/926\">#926</a>)</li>\n<li>function: Updated the default parameter name to include the position of the parameter (i.e. <code>param1</code>, <code>param2</code>, etc.). Variadic parameters will default to <code>varparam</code>. (<a href=\"https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/926\">#926</a>)</li>\n</ul>\n<h2>v1.6.0</h2>\n<p>BREAKING CHANGES:</p>\n<ul>\n<li>function: Changed the framework type for variadic parameters to <code>types.TupleType</code>, where each element is the same element type. Provider-defined functions using a <code>types.List</code> for retrieving variadic argument data will need to update their code to use <code>types.Tuple</code>. (<a href=\"https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/923\">#923</a>)</li>\n<li>function: Altered the <code>RunResponse</code> type, replacing <code>Diagnostics</code> with <code>FuncError</code> (<a href=\"https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/925\">#925</a>)</li>\n<li>diag: Removed <code>DiagnosticWithFunctionArgument</code> interface. Removed <code>NewArgumentErrorDiagnostic()</code>, <code>NewArgumentWarningDiagnostic()</code> and <code>WithFunctionArgument()</code> functions. Removed <code>AddArgumentError()</code> and <code>AddArgumentWarning()</code> methods from <code>Diagnostics</code>. (<a href=\"https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/925\">#925</a>)</li>\n</ul>\n<p>FEATURES:</p>\n<ul>\n<li>resource: Added the <code>ResourceWithMoveState</code> interface, which enables state moves across resource types with Terraform 1.8 and later (<a href=\"https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/917\">#917</a>)</li>\n</ul>\n<p>ENHANCEMENTS:</p>\n<ul>\n<li>privatestate: Added support for <code>SetKey()</code> method to fully remove key with <code>nil</code> or zero-length value (<a href=\"https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/910\">#910</a>)</li>\n<li>function: Added <code>FuncError</code> type, required for <code>RunResponse</code> (<a href=\"https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/925\">#925</a>)</li>\n<li>function: Added <code>NewFuncError()</code> and <code>NewArgumentFuncError()</code> functions, which create a <code>FuncError</code> (<a href=\"https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/925\">#925</a>)</li>\n<li>function: Added <code>ConcatFuncErrors()</code> and <code>FuncErrorFromDiags()</code> helper functions for use when working with <code>FuncError</code> (<a href=\"https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/925\">#925</a>)</li>\n</ul>\n<h2>v1.5.0</h2>\n<p>NOTES:</p>\n<ul>\n<li>all: Update <code>google.golang.org/grpc</code> dependency to address CVE-2023-44487 (<a href=\"https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/865\">#865</a>)</li>\n<li>Provider-defined function support is in technical preview and offered without compatibility promises until Terraform 1.8 is generally available. (<a href=\"https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/889\">#889</a>)</li>\n</ul>\n<p>FEATURES:</p>\n<ul>\n<li>function: New package for implementing provider defined functions (<a href=\"https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/889\">#889</a>)</li>\n</ul>\n<p>ENHANCEMENTS:</p>\n<ul>\n<li>types/basetypes: Added <code>TupleType</code> and <code>TupleValue</code> implementations, which are only necessary for dynamic value handling (<a href=\"https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/870\">#870</a>)</li>\n<li>diag: Added <code>NewArgumentErrorDiagnostic()</code> and <code>NewArgumentWarningDiagnostic()</code> functions, which create diagnostics with the function argument position set (<a href=\"https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/889\">#889</a>)</li>\n<li>provider: Added <code>ProviderWithFunctions</code> interface for implementing provider defined functions (<a href=\"https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/889\">#889</a>)</li>\n<li>diag: Added <code>(Diagnostics).AddArgumentError()</code> and <code>(Diagnostics).AddArgumentWarning()</code> methods for appending function argument diagnostics (<a href=\"https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/889\">#889</a>)</li>\n</ul>\n</blockquote>\n</details>\n<details>\n<summary>Changelog</summary>\n<p><em>Sourced from <a href=\"https://github.com/hashicorp/terraform-plugin-framework/blob/main/CHANGELOG.md\">github.com/hashicorp/terraform-plugin-framework's changelog</a>.</em></p>\n<blockquote>\n<h2>1.6.1 (March 05, 2024)</h2>\n<p>NOTES:</p>\n<ul>\n<li>all: The <code>v1.6.0</code> release updated this Go module to Go 1.21 per the <a href=\"https://go.dev/doc/devel/release#policy\">Go support policy</a>. It is recommended to review the <a href=\"https://go.dev/doc/go1.21\">Go 1.21 release notes</a> before upgrading. Any consumers building on earlier Go versions may experience errors (<a href=\"https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/937\">#937</a>)</li>\n</ul>\n<p>BUG FIXES:</p>\n<ul>\n<li>resource/schema: Ensured invalid attribute default value errors are raised (<a href=\"https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/930\">#930</a>)</li>\n<li>function: Added implementation validation to <code>function.Definition</code> to ensure all parameter names (including the variadic parameter) are unique. (<a href=\"https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/926\">#926</a>)</li>\n<li>function: Updated the default parameter name to include the position of the parameter (i.e. <code>param1</code>, <code>param2</code>, etc.). Variadic parameters will default to <code>varparam</code>. (<a href=\"https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/926\">#926</a>)</li>\n</ul>\n<h2>1.6.0 (February 28, 2024)</h2>\n<p>BREAKING CHANGES:</p>\n<ul>\n<li>function: Changed the framework type for variadic parameters to <code>types.TupleType</code>, where each element is the same element type. Provider-defined functions using a <code>types.List</code> for retrieving variadic argument data will need to update their code to use <code>types.Tuple</code>. (<a href=\"https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/923\">#923</a>)</li>\n<li>function: Altered the <code>RunResponse</code> type, replacing <code>Diagnostics</code> with <code>FuncError</code> (<a href=\"https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/925\">#925</a>)</li>\n<li>diag: Removed <code>DiagnosticWithFunctionArgument</code> interface. Removed <code>NewArgumentErrorDiagnostic()</code>, <code>NewArgumentWarningDiagnostic()</code> and <code>WithFunctionArgument()</code> functions. Removed <code>AddArgumentError()</code> and <code>AddArgumentWarning()</code> methods from <code>Diagnostics</code>. (<a href=\"https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/925\">#925</a>)</li>\n</ul>\n<p>FEATURES:</p>\n<ul>\n<li>resource: Added the <code>ResourceWithMoveState</code> interface, which enables state moves across resource types with Terraform 1.8 and later (<a href=\"https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/917\">#917</a>)</li>\n</ul>\n<p>ENHANCEMENTS:</p>\n<ul>\n<li>privatestate: Added support for <code>SetKey()</code> method to fully remove key with <code>nil</code> or zero-length value (<a href=\"https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/910\">#910</a>)</li>\n<li>function: Added <code>FuncError</code> type, required for <code>RunResponse</code> (<a href=\"https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/925\">#925</a>)</li>\n<li>function: Added <code>NewFuncError()</code> and <code>NewArgumentFuncError()</code> functions, which create a <code>FuncError</code> (<a href=\"https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/925\">#925</a>)</li>\n<li>function: Added <code>ConcatFuncErrors()</code> and <code>FuncErrorFromDiags()</code> helper functions for use when working with <code>FuncError</code> (<a href=\"https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/925\">#925</a>)</li>\n</ul>\n<h2>1.5.0 (January 11, 2024)</h2>\n<p>NOTES:</p>\n<ul>\n<li>all: Update <code>google.golang.org/grpc</code> dependency to address CVE-2023-44487 (<a href=\"https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/865\">#865</a>)</li>\n<li>Provider-defined function support is in technical preview and offered without compatibility promises until Terraform 1.8 is generally available. (<a href=\"https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/889\">#889</a>)</li>\n</ul>\n<p>FEATURES:</p>\n<ul>\n<li>function: New package for implementing provider defined functions (<a href=\"https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/889\">#889</a>)</li>\n</ul>\n<p>ENHANCEMENTS:</p>\n<ul>\n<li>types/basetypes: Added <code>TupleType</code> and <code>TupleValue</code> implementations, which are only necessary for dynamic value handling (<a href=\"https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/870\">#870</a>)</li>\n<li>diag: Added <code>NewArgumentErrorDiagnostic()</code> and <code>NewArgumentWarningDiagnostic()</code> functions, which create diagnostics with the function argument position set (<a href=\"https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/889\">#889</a>)</li>\n<li>provider: Added <code>ProviderWithFunctions</code> interface for implementing provider defined functions (<a href=\"https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/889\">#889</a>)</li>\n<li>diag: Added <code>(Diagnostics).AddArgumentError()</code> and <code>(Diagnostics).AddArgumentWarning()</code> methods for appending function argument diagnostics (<a href=\"https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/889\">#889</a>)</li>\n</ul>\n</blockquote>\n</details>\n<details>\n<summary>Commits</summary>\n<ul>\n<li><a href=\"https://github.com/hashicorp/terraform-plugin-framework/commit/b7497c5cc4d00702551fc69f9a7ae1264bcb5bf8\"><code>b7497c5</code></a> Update changelog</li>\n<li><a href=\"https://github.com/hashicorp/terraform-plugin-framework/commit/435ee9f96a553d6e60bb9ea100bc13b2d2496150\"><code>435ee9f</code></a> Fixing documentation (<a href=\"https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/942\">#942</a>)</li>\n<li><a href=\"https://github.com/hashicorp/terraform-plugin-framework/commit/e7415b7704c7a6b8af2f343462a746c6f532b121\"><code>e7415b7</code></a> Reinstate go toolchain and add changelog for Go version bump to 1.21 (<a href=\"https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/937\">#937</a>)</li>\n<li><a href=\"https://github.com/hashicorp/terraform-plugin-framework/commit/1597a9529ffbddfbfcb7e20bd42471f03557b3aa\"><code>1597a95</code></a> Update provider functions testing docs to help users avoid nil pointer error ...</li>\n<li><a href=\"https://github.com/hashicorp/terraform-plugin-framework/commit/bd22b58c02491d36a2e237e8c2082d24f5eb5b43\"><code>bd22b58</code></a> resource/schema: Ensure invalid attribute default value errors are raised (<a href=\"https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/933\">#933</a>)</li>\n<li><a href=\"https://github.com/hashicorp/terraform-plugin-framework/commit/f03ca33c5b87df9080adc9b52cef1cf49115886c\"><code>f03ca33</code></a> function: Add validation for parameter name conflicts and update defaulting l...</li>\n<li><a href=\"https://github.com/hashicorp/terraform-plugin-framework/commit/87c1b41b2533465f230265e663f140b4e0dd93ba\"><code>87c1b41</code></a> diag: remove incorrect code (<a href=\"https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/935\">#935</a>)</li>\n<li><a href=\"https://github.com/hashicorp/terraform-plugin-framework/commit/f35653eee5dbea1a5cbcd1f421f0ec6f614a4d87\"><code>f35653e</code></a> Update changelog</li>\n<li><a href=\"https://github.com/hashicorp/terraform-plugin-framework/commit/a99599148977b8ec59e146a1545a4ca7118684e9\"><code>a995991</code></a> function: Replace usage of diagnostics with function errors during execution ...</li>\n<li><a href=\"https://github.com/hashicorp/terraform-plugin-framework/commit/3c7a391644c7f8b8d18d8cb61153f937c80893ad\"><code>3c7a391</code></a> reflect: Determine equivalency of float32 or float64, and *big.Float via stri...</li>\n<li>Additional commits viewable in <a href=\"https://github.com/hashicorp/terraform-plugin-framework/compare/v1.4.2...v1.6.1\">compare view</a></li>\n</ul>\n</details>\n<br />\n\n\n[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)\n\nDependabot 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`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n<details>\n<summary>Dependabot commands and options</summary>\n<br />\n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency\n- `@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)\n- `@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)\n- `@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)\n\n\n</details>", 18 "comments": [ 19 { 20 "author": "dependabot[bot]", 21 "created_at": "2024-03-22T02:54:54Z", 22 "body": "Superseded by #10." 23 } 24 ], 25 "review_comments": [] 26 }