10.md (18924B)
1 # PR #10 Bump github.com/hashicorp/terraform-plugin-framework from 1.4.2 to 1.7.0 2 3 - **Status:** open 4 - **Author:** @dependabot[bot] 5 - **Created:** 2024-03-22T02:54:52Z 6 - **Branch:** dependabot/go_modules/github.com/hashicorp/terraform-plugin-framework-1.7.0 → main 7 - **Labels:** dependencies 8 - **Diff:** [10.diff](./10.diff) 9 10 --- 11 12 Bumps [github.com/hashicorp/terraform-plugin-framework](https://github.com/hashicorp/terraform-plugin-framework) from 1.4.2 to 1.7.0. 13 <details> 14 <summary>Release notes</summary> 15 <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> 16 <blockquote> 17 <h2>v1.7.0</h2> 18 <p>BREAKING CHANGES:</p> 19 <ul> 20 <li>function: All parameters must be explicitly named via the <code>Name</code> field (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/964">#964</a>)</li> 21 <li>function: <code>DefaultParameterNamePrefix</code> and <code>DefaultVariadicParameterName</code> constants have been removed (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/964">#964</a>)</li> 22 </ul> 23 <p>FEATURES:</p> 24 <ul> 25 <li>types/basetypes: Added <code>DynamicType</code> and <code>DynamicValue</code> implementations for dynamic value handling (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/147">#147</a>)</li> 26 <li>types/basetypes: Added interfaces <code>basetypes.DynamicTypable</code>, <code>basetypes.DynamicValuable</code>, and <code>basetypes.DynamicValuableWithSemanticEquals</code> for dynamic custom type and value implementations (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/147">#147</a>)</li> 27 <li>resource/schema: Added <code>DynamicAttribute</code> implementation for dynamic value handling (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/147">#147</a>)</li> 28 <li>datasource/schema: Added <code>DynamicAttribute</code> implementation for dynamic value handling (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/147">#147</a>)</li> 29 <li>provider/schema: Added <code>DynamicAttribute</code> implementation for dynamic value handling (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/147">#147</a>)</li> 30 <li>function: Added <code>DynamicParameter</code> and <code>DynamicReturn</code> for dynamic value handling` (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/147">#147</a>)</li> 31 <li>resource/schema/dynamicdefault: New package with <code>StaticValue</code> implementation for dynamic schema-based default values (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/147">#147</a>)</li> 32 <li>resource/schema/dynamicplanmodifier: New package with built-in implementations for dynamic value plan modification. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/147">#147</a>)</li> 33 <li>resource/schema/defaults: New <code>Dynamic</code> interface for dynamic schema-based default implementations (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/147">#147</a>)</li> 34 <li>resource/schema/planmodifier: New <code>Dynamic</code> interface for dynamic value plan modification implementations (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/147">#147</a>)</li> 35 <li>schema/validator: New <code>Dynamic</code> interface for dynamic value schema validation (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/147">#147</a>)</li> 36 </ul> 37 <h2>v1.6.1</h2> 38 <p>NOTES:</p> 39 <ul> 40 <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> 41 </ul> 42 <p>BUG FIXES:</p> 43 <ul> 44 <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> 45 <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> 46 <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> 47 </ul> 48 <h2>v1.6.0</h2> 49 <p>BREAKING CHANGES:</p> 50 <ul> 51 <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> 52 <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> 53 <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> 54 </ul> 55 <p>FEATURES:</p> 56 <ul> 57 <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> 58 </ul> 59 <p>ENHANCEMENTS:</p> 60 <ul> 61 <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> 62 <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> 63 <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> 64 <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> 65 </ul> 66 <h2>v1.5.0</h2> 67 <!-- raw HTML omitted --> 68 </blockquote> 69 <p>... (truncated)</p> 70 </details> 71 <details> 72 <summary>Changelog</summary> 73 <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> 74 <blockquote> 75 <h2>1.7.0 (March 21, 2024)</h2> 76 <p>BREAKING CHANGES:</p> 77 <ul> 78 <li>function: All parameters must be explicitly named via the <code>Name</code> field (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/964">#964</a>)</li> 79 <li>function: <code>DefaultParameterNamePrefix</code> and <code>DefaultVariadicParameterName</code> constants have been removed (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/964">#964</a>)</li> 80 </ul> 81 <p>FEATURES:</p> 82 <ul> 83 <li>types/basetypes: Added <code>DynamicType</code> and <code>DynamicValue</code> implementations for dynamic value handling (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/147">#147</a>)</li> 84 <li>types/basetypes: Added interfaces <code>basetypes.DynamicTypable</code>, <code>basetypes.DynamicValuable</code>, and <code>basetypes.DynamicValuableWithSemanticEquals</code> for dynamic custom type and value implementations (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/147">#147</a>)</li> 85 <li>resource/schema: Added <code>DynamicAttribute</code> implementation for dynamic value handling (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/147">#147</a>)</li> 86 <li>datasource/schema: Added <code>DynamicAttribute</code> implementation for dynamic value handling (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/147">#147</a>)</li> 87 <li>provider/schema: Added <code>DynamicAttribute</code> implementation for dynamic value handling (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/147">#147</a>)</li> 88 <li>function: Added <code>DynamicParameter</code> and <code>DynamicReturn</code> for dynamic value handling` (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/147">#147</a>)</li> 89 <li>resource/schema/dynamicdefault: New package with <code>StaticValue</code> implementation for dynamic schema-based default values (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/147">#147</a>)</li> 90 <li>resource/schema/dynamicplanmodifier: New package with built-in implementations for dynamic value plan modification. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/147">#147</a>)</li> 91 <li>resource/schema/defaults: New <code>Dynamic</code> interface for dynamic schema-based default implementations (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/147">#147</a>)</li> 92 <li>resource/schema/planmodifier: New <code>Dynamic</code> interface for dynamic value plan modification implementations (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/147">#147</a>)</li> 93 <li>schema/validator: New <code>Dynamic</code> interface for dynamic value schema validation (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/147">#147</a>)</li> 94 </ul> 95 <h2>1.6.1 (March 05, 2024)</h2> 96 <p>NOTES:</p> 97 <ul> 98 <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> 99 </ul> 100 <p>BUG FIXES:</p> 101 <ul> 102 <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> 103 <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> 104 <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> 105 </ul> 106 <h2>1.6.0 (February 28, 2024)</h2> 107 <p>BREAKING CHANGES:</p> 108 <ul> 109 <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> 110 <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> 111 <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> 112 </ul> 113 <p>FEATURES:</p> 114 <ul> 115 <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> 116 </ul> 117 <p>ENHANCEMENTS:</p> 118 <ul> 119 <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> 120 <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> 121 <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> 122 </ul> 123 <!-- raw HTML omitted --> 124 </blockquote> 125 <p>... (truncated)</p> 126 </details> 127 <details> 128 <summary>Commits</summary> 129 <ul> 130 <li><a href="https://github.com/hashicorp/terraform-plugin-framework/commit/332d5d11189e7a1fb4cd94e26da64642587fb18d"><code>332d5d1</code></a> Update changelog</li> 131 <li><a href="https://github.com/hashicorp/terraform-plugin-framework/commit/a7607bb3f91477b1a702a9e626dd84375cb75e9e"><code>a7607bb</code></a> Require provider-defined function parameter naming (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/964">#964</a>)</li> 132 <li><a href="https://github.com/hashicorp/terraform-plugin-framework/commit/84f656ed0c597bb24372065aaf7b36b1b2c03ccf"><code>84f656e</code></a> all: Add dynamic type, attribute, and function support (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/931">#931</a>)</li> 133 <li><a href="https://github.com/hashicorp/terraform-plugin-framework/commit/f86c88c9700c4bd03743b32382b20694577d71a7"><code>f86c88c</code></a> website/docs: Link fix on int64 type page (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/960">#960</a>)</li> 134 <li><a href="https://github.com/hashicorp/terraform-plugin-framework/commit/05f0d88ab91e21cc08b82bf00ecfa20cac89f75d"><code>05f0d88</code></a> all: Miscellaneous doc fixes (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/958">#958</a>)</li> 135 <li><a href="https://github.com/hashicorp/terraform-plugin-framework/commit/37dabc87ce686ae4a74836d455961c98522e583e"><code>37dabc8</code></a> docs: Explicitly call out object parameter attributes are required (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/956">#956</a>)</li> 136 <li><a href="https://github.com/hashicorp/terraform-plugin-framework/commit/09b53c3e7bde127e4821692d3f7533bcfc9a48f1"><code>09b53c3</code></a> Correct resource State Move documentation (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/957">#957</a>)</li> 137 <li><a href="https://github.com/hashicorp/terraform-plugin-framework/commit/6f28bad7558bca002f9be88b905bc62ae0485355"><code>6f28bad</code></a> build(deps): Bump google.golang.org/protobuf in /tools (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/953">#953</a>)</li> 138 <li><a href="https://github.com/hashicorp/terraform-plugin-framework/commit/91d777b8e8045965ce0bd6be86dcdd1717752b6b"><code>91d777b</code></a> docs: Fix note tag with link (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/952">#952</a>)</li> 139 <li><a href="https://github.com/hashicorp/terraform-plugin-framework/commit/d88ef0ebd25497979c7d51411f2677fa0c5f03e0"><code>d88ef0e</code></a> Add clarification for nil check of ProviderData in data source and resource C...</li> 140 <li>Additional commits viewable in <a href="https://github.com/hashicorp/terraform-plugin-framework/compare/v1.4.2...v1.7.0">compare view</a></li> 141 </ul> 142 </details> 143 <br /> 144 145 146 [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 147 148 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`. 149 150 [//]: # (dependabot-automerge-start) 151 [//]: # (dependabot-automerge-end) 152 153 --- 154 155 <details> 156 <summary>Dependabot commands and options</summary> 157 <br /> 158 159 You can trigger Dependabot actions by commenting on this PR: 160 - `@dependabot rebase` will rebase this PR 161 - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it 162 - `@dependabot merge` will merge this PR after your CI passes on it 163 - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it 164 - `@dependabot cancel merge` will cancel a previously requested merge and block automerging 165 - `@dependabot reopen` will reopen this PR if it is closed 166 - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually 167 - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency 168 - `@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) 169 - `@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) 170 - `@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) 171 172 173 </details> 174