7.md (16408B)
1 # PR #7 Bump github.com/hashicorp/terraform-plugin-framework from 1.4.2 to 1.6.1 2 3 - **Status:** closed 4 - **Author:** @dependabot[bot] 5 - **Created:** 2024-03-06T02:07:48Z 6 - **Branch:** dependabot/go_modules/github.com/hashicorp/terraform-plugin-framework-1.6.1 → main 7 - **Closed:** 2024-03-22T02:54:54Z 8 - **Labels:** dependencies 9 - **Diff:** [7.diff](./7.diff) 10 11 --- 12 13 Bumps [github.com/hashicorp/terraform-plugin-framework](https://github.com/hashicorp/terraform-plugin-framework) from 1.4.2 to 1.6.1. 14 <details> 15 <summary>Release notes</summary> 16 <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> 17 <blockquote> 18 <h2>v1.6.1</h2> 19 <p>NOTES:</p> 20 <ul> 21 <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> 22 </ul> 23 <p>BUG FIXES:</p> 24 <ul> 25 <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> 26 <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> 27 <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> 28 </ul> 29 <h2>v1.6.0</h2> 30 <p>BREAKING CHANGES:</p> 31 <ul> 32 <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> 33 <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> 34 <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> 35 </ul> 36 <p>FEATURES:</p> 37 <ul> 38 <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> 39 </ul> 40 <p>ENHANCEMENTS:</p> 41 <ul> 42 <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> 43 <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> 44 <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> 45 <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> 46 </ul> 47 <h2>v1.5.0</h2> 48 <p>NOTES:</p> 49 <ul> 50 <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> 51 <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> 52 </ul> 53 <p>FEATURES:</p> 54 <ul> 55 <li>function: New package for implementing provider defined functions (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/889">#889</a>)</li> 56 </ul> 57 <p>ENHANCEMENTS:</p> 58 <ul> 59 <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> 60 <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> 61 <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> 62 <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> 63 </ul> 64 </blockquote> 65 </details> 66 <details> 67 <summary>Changelog</summary> 68 <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> 69 <blockquote> 70 <h2>1.6.1 (March 05, 2024)</h2> 71 <p>NOTES:</p> 72 <ul> 73 <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> 74 </ul> 75 <p>BUG FIXES:</p> 76 <ul> 77 <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> 78 <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> 79 <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> 80 </ul> 81 <h2>1.6.0 (February 28, 2024)</h2> 82 <p>BREAKING CHANGES:</p> 83 <ul> 84 <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> 85 <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> 86 <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> 87 </ul> 88 <p>FEATURES:</p> 89 <ul> 90 <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> 91 </ul> 92 <p>ENHANCEMENTS:</p> 93 <ul> 94 <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> 95 <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> 96 <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> 97 <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> 98 </ul> 99 <h2>1.5.0 (January 11, 2024)</h2> 100 <p>NOTES:</p> 101 <ul> 102 <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> 103 <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> 104 </ul> 105 <p>FEATURES:</p> 106 <ul> 107 <li>function: New package for implementing provider defined functions (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/889">#889</a>)</li> 108 </ul> 109 <p>ENHANCEMENTS:</p> 110 <ul> 111 <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> 112 <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> 113 <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> 114 <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> 115 </ul> 116 </blockquote> 117 </details> 118 <details> 119 <summary>Commits</summary> 120 <ul> 121 <li><a href="https://github.com/hashicorp/terraform-plugin-framework/commit/b7497c5cc4d00702551fc69f9a7ae1264bcb5bf8"><code>b7497c5</code></a> Update changelog</li> 122 <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> 123 <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> 124 <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> 125 <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> 126 <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> 127 <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> 128 <li><a href="https://github.com/hashicorp/terraform-plugin-framework/commit/f35653eee5dbea1a5cbcd1f421f0ec6f614a4d87"><code>f35653e</code></a> Update changelog</li> 129 <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> 130 <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> 131 <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> 132 </ul> 133 </details> 134 <br /> 135 136 137 [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 138 139 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`. 140 141 [//]: # (dependabot-automerge-start) 142 [//]: # (dependabot-automerge-end) 143 144 --- 145 146 <details> 147 <summary>Dependabot commands and options</summary> 148 <br /> 149 150 You can trigger Dependabot actions by commenting on this PR: 151 - `@dependabot rebase` will rebase this PR 152 - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it 153 - `@dependabot merge` will merge this PR after your CI passes on it 154 - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it 155 - `@dependabot cancel merge` will cancel a previously requested merge and block automerging 156 - `@dependabot reopen` will reopen this PR if it is closed 157 - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually 158 - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency 159 - `@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) 160 - `@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) 161 - `@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) 162 163 164 </details> 165 166 167 ## Comments 168 169 ### @dependabot[bot] — 2024-03-22T02:54:54Z 170 171 Superseded by #10. 172