Skip to content

Commit

Permalink
Bump cloud.google.com/go/compute/metadata from 0.4.0 to 0.5.0 in /gcp (
Browse files Browse the repository at this point in the history
…#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(&quot;Kind&quot;).Namespace(&quot;ns&quot;)
</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 := &amp;Key{Kind: &quot;Kind&quot;, ID: 37,
Namespace: &quot;ns&quot;}
</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, &quot;&quot;, 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
dependabot[bot] authored Jul 15, 2024
1 parent 2fca042 commit ab746bf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gcp/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/nil-go/nilgo/gcp
go 1.21

require (
cloud.google.com/go/compute/metadata v0.4.0
cloud.google.com/go/compute/metadata v0.5.0
cloud.google.com/go/profiler v0.4.1
github.com/nil-go/sloth v0.3.0
github.com/nil-go/sloth/otel v0.3.0
Expand Down
4 changes: 2 additions & 2 deletions gcp/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ cloud.google.com/go/auth v0.7.0 h1:kf/x9B3WTbBUHkC+1VS8wwwli9TzhSt0vSTVBmMR8Ts=
cloud.google.com/go/auth v0.7.0/go.mod h1:D+WqdrpcjmiCgWrXmLLxOVq1GACoE36chW6KXoEvuIw=
cloud.google.com/go/auth/oauth2adapt v0.2.2 h1:+TTV8aXpjeChS9M+aTtN/TjdQnzJvmzKFt//oWu7HX4=
cloud.google.com/go/auth/oauth2adapt v0.2.2/go.mod h1:wcYjgpZI9+Yu7LyYBg4pqSiaRkfEK3GQcpb7C/uyF1Q=
cloud.google.com/go/compute/metadata v0.4.0 h1:vHzJCWaM4g8XIcm8kopr3XmDA4Gy/lblD3EhhSux05c=
cloud.google.com/go/compute/metadata v0.4.0/go.mod h1:SIQh1Kkb4ZJ8zJ874fqVkslA29PRXuleyj6vOzlbK7M=
cloud.google.com/go/compute/metadata v0.5.0 h1:Zr0eK8JbFv6+Wi4ilXAR8FJ3wyNdpxHKJNPos6LTZOY=
cloud.google.com/go/compute/metadata v0.5.0/go.mod h1:aHnloV2TPI38yx4s9+wAZhHykWvVCfu7hQbF+9CWoiY=
cloud.google.com/go/iam v1.1.10 h1:ZSAr64oEhQSClwBL670MsJAW5/RLiC6kfw3Bqmd5ZDI=
cloud.google.com/go/iam v1.1.10/go.mod h1:iEgMq62sg8zx446GCaijmA2Miwg5o3UbO+nI47WHJps=
cloud.google.com/go/profiler v0.4.1 h1:Q7+lOvikTGMJ/IAWocpYYGit4SIIoILmVZfEEWTORSY=
Expand Down

0 comments on commit ab746bf

Please sign in to comment.