Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): Bump go.uber.org/fx from 1.21.1 to 1.22.0 #3458

Merged
merged 2 commits into from
Jun 4, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 3, 2024

Bumps go.uber.org/fx from 1.21.1 to 1.22.0.

Release notes

Sourced from go.uber.org/fx's releases.

v1.22.0

Added

  • Add fx.Self which can be passed to the fx.As annotation to signify that a type should be provided as itself.
  • Add fxtest.EnforceTimeout that can be passed to fxtest.NewLifecycle to force Start and Stop to return context errors when hook context expires.

Changed

  • fx.Private can now be used with fx.Supply.

Fixed

  • 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.

Thank you @​MarcoPolo for your contribution to the release.

Changelog

Sourced from go.uber.org/fx's changelog.

1.22.0 - 2024-05-30

Added

  • Add fx.Self which can be passed to the fx.As annotation to signify that a type should be provided as itself.
  • Add fxtest.EnforceTimeout that can be passed to fxtest.NewLifecycle to force Start and Stop to return context errors when hook context expires.

Changed

  • fx.Private can now be used with fx.Supply.

Fixed

  • 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.
Commits

Dependabot compatibility score

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 commands and options

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)

@dependabot dependabot bot added the kind:deps Pull requests that update a dependency file label Jun 3, 2024
Bumps [go.uber.org/fx](https://github.com/uber-go/fx) from 1.21.1 to 1.22.0.
- [Release notes](https://github.com/uber-go/fx/releases)
- [Changelog](https://github.com/uber-go/fx/blob/master/CHANGELOG.md)
- [Commits](uber-go/fx@v1.21.1...v1.22.0)

---
updated-dependencies:
- dependency-name: go.uber.org/fx
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/go_modules/go.uber.org/fx-1.22.0 branch from e917e3e to f444e2b Compare June 3, 2024 12:33
@ramin ramin enabled auto-merge (squash) June 4, 2024 11:05
@ramin ramin merged commit c2374a9 into main Jun 4, 2024
28 checks passed
@ramin ramin deleted the dependabot/go_modules/go.uber.org/fx-1.22.0 branch June 4, 2024 11:11
ramin pushed a commit that referenced this pull request Jun 6, 2024
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:deps Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants