Skip to content

Commit

Permalink
chore(deps): Bump go.uber.org/fx from 1.21.1 to 1.22.0 (#3458)
Browse files Browse the repository at this point in the history
Bumps [go.uber.org/fx](https://github.com/uber-go/fx) from 1.21.1 to
1.22.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/uber-go/fx/releases">go.uber.org/fx's
releases</a>.</em></p>
<blockquote>
<h2>v1.22.0</h2>
<h3>Added</h3>
<ul>
<li>Add <code>fx.Self</code> which can be passed to the
<code>fx.As</code> annotation to signify
that a type should be provided as itself.</li>
<li>Add <code>fxtest.EnforceTimeout</code> that can be passed to
<code>fxtest.NewLifecycle</code>
to force <code>Start</code> and <code>Stop</code> to return context
errors when hook context expires.</li>
</ul>
<h3>Changed</h3>
<ul>
<li><code>fx.Private</code> can now be used with
<code>fx.Supply</code>.</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Fx apps will no longer listen to OS signals when they are stopped,
solving blocking issues in programs that depended on OS signals
after an Fx app stops.</li>
</ul>
<p>Thank you <a
href="https://github.com/MarcoPolo"><code>@​MarcoPolo</code></a> for
your contribution to the release.</p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/uber-go/fx/blob/master/CHANGELOG.md">go.uber.org/fx's
changelog</a>.</em></p>
<blockquote>
<h2><a
href="https://github.com/uber-go/fx/compare/v1.21.1...v1.22.0">1.22.0</a>
- 2024-05-30</h2>
<h3>Added</h3>
<ul>
<li>Add <code>fx.Self</code> which can be passed to the
<code>fx.As</code> annotation to signify
that a type should be provided as itself.</li>
<li>Add <code>fxtest.EnforceTimeout</code> that can be passed to
<code>fxtest.NewLifecycle</code>
to force <code>Start</code> and <code>Stop</code> to return context
errors when hook context expires.</li>
</ul>
<h3>Changed</h3>
<ul>
<li><code>fx.Private</code> can now be used with
<code>fx.Supply</code>.</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Fx apps will no longer listen to OS signals when they are stopped,
solving blocking issues in programs that depended on OS signals
after an Fx app stops.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/uber-go/fx/commit/e6a361e521cac6f28ef9327a58fd79e9be47055f"><code>e6a361e</code></a>
Prepare Release 1.22.0 (<a
href="https://redirect.github.com/uber-go/fx/issues/1208">#1208</a>)</li>
<li><a
href="https://github.com/uber-go/fx/commit/b3b1c3b77947bdfc4cd5f673aee8e919727e4800"><code>b3b1c3b</code></a>
Support fx.Private w/ fx.Supply (<a
href="https://redirect.github.com/uber-go/fx/issues/1207">#1207</a>)</li>
<li><a
href="https://github.com/uber-go/fx/commit/9e6f6c21af133f94ea22563f1f24bb3caa52e3f7"><code>9e6f6c2</code></a>
fxtest: Enforceable Timeouts on Lifecycle (<a
href="https://redirect.github.com/uber-go/fx/issues/1203">#1203</a>)</li>
<li><a
href="https://github.com/uber-go/fx/commit/abda254ddb674d9c3570441fb3c5369609392530"><code>abda254</code></a>
Reference fx.Self in fx.As doc (<a
href="https://redirect.github.com/uber-go/fx/issues/1202">#1202</a>)</li>
<li><a
href="https://github.com/uber-go/fx/commit/7dd18c6b7574be4bbf497e305403f8d4a54a47f4"><code>7dd18c6</code></a>
fx.Self: a parameter to fx.As for providing a type as itself (<a
href="https://redirect.github.com/uber-go/fx/issues/1201">#1201</a>)</li>
<li><a
href="https://github.com/uber-go/fx/commit/cb9cccf5584521887b9e20b4e9e2985aad5a26dd"><code>cb9cccf</code></a>
Call signal.Stop when signalReceivers is stopped (<a
href="https://redirect.github.com/uber-go/fx/issues/1198">#1198</a>)</li>
<li><a
href="https://github.com/uber-go/fx/commit/696ed9a6457aed98e11e465738efb4989cfb33f1"><code>696ed9a</code></a>
chore(deps): Bump golangci/golangci-lint-action from 5 to 6 (<a
href="https://redirect.github.com/uber-go/fx/issues/1200">#1200</a>)</li>
<li><a
href="https://github.com/uber-go/fx/commit/0af84dbc7c621f8d0849aa9b7d606cb611b281ee"><code>0af84db</code></a>
chore(deps): Bump golang.org/x/tools from 0.20.0 to 0.21.0 in /tools (<a
href="https://redirect.github.com/uber-go/fx/issues/1199">#1199</a>)</li>
<li><a
href="https://github.com/uber-go/fx/commit/2379ac906bbf063deb99033c995584234388fc98"><code>2379ac9</code></a>
CI: test against go1.22 (<a
href="https://redirect.github.com/uber-go/fx/issues/1195">#1195</a>)</li>
<li><a
href="https://github.com/uber-go/fx/commit/029720f2e14ffa7c2d4e801473e6f637b547446d"><code>029720f</code></a>
chore(deps): Bump golangci/golangci-lint-action from 4 to 5 (<a
href="https://redirect.github.com/uber-go/fx/issues/1194">#1194</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/uber-go/fx/compare/v1.21.1...v1.22.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=go.uber.org/fx&package-manager=go_modules&previous-version=1.21.1&new-version=1.22.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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored and ramin committed Jun 6, 2024
1 parent 0f62a9f commit 96bd76a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ require (
go.opentelemetry.io/otel/sdk/metric v1.26.0
go.opentelemetry.io/otel/trace v1.26.0
go.opentelemetry.io/proto/otlp v1.2.0
go.uber.org/fx v1.21.1
go.uber.org/fx v1.22.0
go.uber.org/zap v1.27.0
golang.org/x/crypto v0.23.0
golang.org/x/exp v0.0.0-20240213143201-ec583247a57a
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -2441,8 +2441,8 @@ go.uber.org/dig v1.15.0/go.mod h1:pKHs0wMynzL6brANhB2hLMro+zalv1osARTviTcqHLM=
go.uber.org/dig v1.17.1 h1:Tga8Lz8PcYNsWsyHMZ1Vm0OQOUaJNDyvPImgbAu9YSc=
go.uber.org/dig v1.17.1/go.mod h1:Us0rSJiThwCv2GteUN0Q7OKvU7n5J4dxZ9JKUXozFdE=
go.uber.org/fx v1.18.2/go.mod h1:g0V1KMQ66zIRk8bLu3Ea5Jt2w/cHlOIp4wdRsgh0JaY=
go.uber.org/fx v1.21.1 h1:RqBh3cYdzZS0uqwVeEjOX2p73dddLpym315myy/Bpb0=
go.uber.org/fx v1.21.1/go.mod h1:HT2M7d7RHo+ebKGh9NRcrsrHHfpZ60nW3QRubMRfv48=
go.uber.org/fx v1.22.0 h1:pApUK7yL0OUHMd8vkunWSlLxZVFFk70jR2nKde8X2NM=
go.uber.org/fx v1.22.0/go.mod h1:HT2M7d7RHo+ebKGh9NRcrsrHHfpZ60nW3QRubMRfv48=
go.uber.org/goleak v1.0.0/go.mod h1:8a7PlsEVH3e/a/GLqe5IIrQx6GzcnRmZEufDUTk4A7A=
go.uber.org/goleak v1.1.10/go.mod h1:8a7PlsEVH3e/a/GLqe5IIrQx6GzcnRmZEufDUTk4A7A=
go.uber.org/goleak v1.1.11-0.20210813005559-691160354723/go.mod h1:cwTWslyiVhfpKIDGSZEM2HlOvcqm+tG4zioyIeLoqMQ=
Expand Down

0 comments on commit 96bd76a

Please sign in to comment.