Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump cloud.google.com/go/compute/metadata from 0.4.0 to 0.5.0 in /gcp (…
…#107) Bumps [cloud.google.com/go/compute/metadata](https://github.com/googleapis/google-cloud-go) from 0.4.0 to 0.5.0. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/googleapis/google-cloud-go/blob/main/CHANGES.md">cloud.google.com/go/compute/metadata's changelog</a>.</em></p> <blockquote> <h2>v0.5.0</h2> <ul> <li>bigquery: <ul> <li>The SQL types DATE, TIME and DATETIME are now supported. They correspond to the <code>Date</code>, <code>Time</code> and <code>DateTime</code> types in the new <code>cloud.google.com/go/civil</code> package.</li> <li>Support for query parameters.</li> <li>Support deleting a dataset.</li> <li>Values from INTEGER columns will now be returned as int64, not int. This will avoid errors arising from large values on 32-bit systems.</li> </ul> </li> <li>datastore: <ul> <li>Nested Go structs encoded as Entity values, instead of a flattened list of the embedded struct's fields. This means that you may now have twice-nested slices, eg. <pre lang="go"><code>type State struct { Cities []struct{ Populations []int } } </code></pre> See <a href="https://groups.google.com/forum/#!topic/google-api-go-announce/79jtrdeuJAg">the announcement</a> for more details.</li> <li>Contexts no longer hold namespaces; instead you must set a key's namespace explicitly. Also, key functions have been changed and renamed.</li> <li>The WithNamespace function has been removed. To specify a namespace in a Query, use the Query.Namespace method: <pre lang="go"><code>q := datastore.NewQuery("Kind").Namespace("ns") </code></pre> </li> <li>All the fields of Key are exported. That means you can construct any Key with a struct literal: <pre lang="go"><code>k := &Key{Kind: "Kind", ID: 37, Namespace: "ns"} </code></pre> </li> <li>As a result of the above, the Key methods Kind, ID, d.Name, Parent, SetParent and Namespace have been removed.</li> <li><code>NewIncompleteKey</code> has been removed, replaced by <code>IncompleteKey</code>. Replace <pre lang="go"><code>NewIncompleteKey(ctx, kind, parent) </code></pre> with <pre lang="go"><code>IncompleteKey(kind, parent) </code></pre> and if you do use namespaces, make sure you set the namespace on the returned key.</li> <li><code>NewKey</code> has been removed, replaced by <code>NameKey</code> and <code>IDKey</code>. Replace <pre lang="go"><code>NewKey(ctx, kind, name, 0, parent) NewKey(ctx, kind, "", id, parent) </code></pre> with <pre lang="go"><code>NameKey(kind, name, parent) </code></pre> </li> </ul> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/googleapis/google-cloud-go/commit/7959a9f8d3f60ecaaec2358e5467e73197d2e7f0"><code>7959a9f</code></a> bigquery: support struct field parameters</li> <li><a href="https://github.com/googleapis/google-cloud-go/commit/a64eb5d53f434cc548fd6b2898b5a3e8a0c31b78"><code>a64eb5d</code></a> bigquery: support array query parameters</li> <li><a href="https://github.com/googleapis/google-cloud-go/commit/2861f2ec86c3945fb1950d87f9b7a716feb7795c"><code>2861f2e</code></a> bigquery: support scalar query parameters</li> <li><a href="https://github.com/googleapis/google-cloud-go/commit/a2e776edd7c5463ed144b91a28640db71619ae3c"><code>a2e776e</code></a> civil: civil time types</li> <li><a href="https://github.com/googleapis/google-cloud-go/commit/918f8d52d5a9f5e706fcf2138d9cb9b2fdef79e9"><code>918f8d5</code></a> fields: test that a tagged field takes precedence</li> <li><a href="https://github.com/googleapis/google-cloud-go/commit/e86221fc41f28bd94f749e29ee4592a07aca604f"><code>e86221f</code></a> bigtable/bttest: RowKeyFilter support in emulator.</li> <li><a href="https://github.com/googleapis/google-cloud-go/commit/648bc878a8db5e1154bb3c0745e66d4a40475edb"><code>648bc87</code></a> bigquery: support BYTES data type</li> <li><a href="https://github.com/googleapis/google-cloud-go/commit/7bb67ec9e3e20f50a5968388da7cb58267ebc9d5"><code>7bb67ec</code></a> bigtable/bttest: TimestampRangeFilter improvements</li> <li><a href="https://github.com/googleapis/google-cloud-go/commit/8b767aecfc0fedb791a71ebe697673837e61f9cb"><code>8b767ae</code></a> fields: simplify dominantField</li> <li><a href="https://github.com/googleapis/google-cloud-go/commit/8ee8376926a88f3bb137c436715d52efa0e777f8"><code>8ee8376</code></a> fields: add Match optimizations</li> <li>Additional commits viewable in <a href="https://github.com/googleapis/google-cloud-go/compare/v0.4.0...v0.5.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=cloud.google.com/go/compute/metadata&package-manager=go_modules&previous-version=0.4.0&new-version=0.5.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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 <dependency name> 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) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information