build(deps): bump view_component from 4.0.0 to 4.0.2 #215

Closed
dependabot[bot] wants to merge 1 commit from dependabot/bundler/view_component-4.0.2 into dev
dependabot[bot] commented 2025-08-15 19:56:40 +00:00 (Migrated from github.com)

Bumps view_component from 4.0.0 to 4.0.2.

Release notes

Sourced from view_component's releases.

v4.0.2

What's Changed

Full Changelog: https://github.com/ViewComponent/view_component/compare/v4.0.1...v4.0.2

4.0.1

  • Conditionally add the ViewComponent::Base#format method back for Rails 7.1 only.

  • Compute and check lockfiles into source control.

  • Constrain Rails versions in gemfiles to only allow the patch version to vary, eg. ~> 7.1.0 instead of ~> 7.1.

    Cameron Dutro

  • Setup Trusted Publishing to RubyGems to improve software supply chain safety.

    Hans Lemuet

Changelog

Sourced from view_component's changelog.

4.0.2

  • Share the view context in tests to prevent out-of-order rendering issues for certain advanced use-cases, eg. testing instances of Rails' FormBuilder.

  • Fix double rendering issue for partials that yield.

    Cameron Dutro

4.0.1

  • Setup Trusted Publishing to RubyGems to improve software supply chain safety.

    Hans Lemuet

  • Conditionally add the ViewComponent::Base#format method back for Rails 7.1 only.

  • Compute and check lockfiles into source control.

  • Constrain Rails versions in gemfiles to only allow the patch version to vary, eg. ~> 7.1.0 instead of ~> 7.1.

    Cameron Dutro

Commits
  • 4bbea1c Merge pull request #2430 from ViewComponent/release-4-0-2
  • b1ab0d3 Update lockfiles
  • 408e8d3 release 4.0.2
  • 26c2798 Merge pull request #2410 from ViewComponent/shared_view_context_in_test_helpers
  • 851b096 Merge branch 'shared_view_context_in_test_helpers' of github.com:ViewComponen...
  • f3df765 Fix build for ruby HEAD
  • 69f3fd7 Merge branch 'main' into shared_view_context_in_test_helpers
  • a755f3c Merge pull request #2424 from ViewComponent/fix_partial_with_yield
  • bc7f8b4 Woops, fix changelog
  • e2cefa9 Woops, fix changelog
  • Additional commits viewable in compare view

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)
Bumps [view_component](https://github.com/viewcomponent/view_component) from 4.0.0 to 4.0.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/viewcomponent/view_component/releases">view_component's releases</a>.</em></p> <blockquote> <h2>v4.0.2</h2> <h2>What's Changed</h2> <ul> <li>Fix double rendering issue for partials that yield by <a href="https://github.com/camertron"><code>@​camertron</code></a> in <a href="https://redirect.github.com/ViewComponent/view_component/pull/2424">ViewComponent/view_component#2424</a></li> <li>Share the view context in tests by <a href="https://github.com/camertron"><code>@​camertron</code></a> in <a href="https://redirect.github.com/ViewComponent/view_component/pull/2410">ViewComponent/view_component#2410</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/ViewComponent/view_component/compare/v4.0.1...v4.0.2">https://github.com/ViewComponent/view_component/compare/v4.0.1...v4.0.2</a></p> <h2>4.0.1</h2> <ul> <li> <p>Conditionally add the <code>ViewComponent::Base#format</code> method back for Rails 7.1 only.</p> </li> <li> <p>Compute and check lockfiles into source control.</p> </li> <li> <p>Constrain Rails versions in gemfiles to only allow the patch version to vary, eg. <code>~&gt; 7.1.0</code> instead of <code>~&gt; 7.1</code>.</p> <p><em>Cameron Dutro</em></p> </li> <li> <p>Setup Trusted Publishing to RubyGems to improve software supply chain safety.</p> <p><em>Hans Lemuet</em></p> </li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/ViewComponent/view_component/blob/main/docs/CHANGELOG.md">view_component's changelog</a>.</em></p> <blockquote> <h2>4.0.2</h2> <ul> <li> <p>Share the view context in tests to prevent out-of-order rendering issues for certain advanced use-cases, eg. testing instances of Rails' <code>FormBuilder</code>.</p> </li> <li> <p>Fix double rendering issue for partials that yield.</p> <p><em>Cameron Dutro</em></p> </li> </ul> <h2>4.0.1</h2> <ul> <li> <p>Setup Trusted Publishing to RubyGems to improve software supply chain safety.</p> <p><em>Hans Lemuet</em></p> </li> <li> <p>Conditionally add the <code>ViewComponent::Base#format</code> method back for Rails 7.1 only.</p> </li> <li> <p>Compute and check lockfiles into source control.</p> </li> <li> <p>Constrain Rails versions in gemfiles to only allow the patch version to vary, eg. <code>~&gt; 7.1.0</code> instead of <code>~&gt; 7.1</code>.</p> <p><em>Cameron Dutro</em></p> </li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/ViewComponent/view_component/commit/4bbea1caaec79c15c1d98cf4f7fb31d5c22aa7b7"><code>4bbea1c</code></a> Merge pull request <a href="https://redirect.github.com/viewcomponent/view_component/issues/2430">#2430</a> from ViewComponent/release-4-0-2</li> <li><a href="https://github.com/ViewComponent/view_component/commit/b1ab0d398c15048458facf469104daebc4faa40a"><code>b1ab0d3</code></a> Update lockfiles</li> <li><a href="https://github.com/ViewComponent/view_component/commit/408e8d3572f8074644924c5c10ce1515ff4fda6a"><code>408e8d3</code></a> release 4.0.2</li> <li><a href="https://github.com/ViewComponent/view_component/commit/26c2798c52de1b9051e98ee3553aa0e97c12e7f0"><code>26c2798</code></a> Merge pull request <a href="https://redirect.github.com/viewcomponent/view_component/issues/2410">#2410</a> from ViewComponent/shared_view_context_in_test_helpers</li> <li><a href="https://github.com/ViewComponent/view_component/commit/851b096eb79e28bc69d789e82339f17ed405b8e0"><code>851b096</code></a> Merge branch 'shared_view_context_in_test_helpers' of github.com:ViewComponen...</li> <li><a href="https://github.com/ViewComponent/view_component/commit/f3df76539705e7800b45b9776cd44ca818a11cec"><code>f3df765</code></a> Fix build for ruby HEAD</li> <li><a href="https://github.com/ViewComponent/view_component/commit/69f3fd7a094be6c3ffe0e8efa28c4dfa4801048e"><code>69f3fd7</code></a> Merge branch 'main' into shared_view_context_in_test_helpers</li> <li><a href="https://github.com/ViewComponent/view_component/commit/a755f3ccd7b32010470c2e8e5bdb3489205478b3"><code>a755f3c</code></a> Merge pull request <a href="https://redirect.github.com/viewcomponent/view_component/issues/2424">#2424</a> from ViewComponent/fix_partial_with_yield</li> <li><a href="https://github.com/ViewComponent/view_component/commit/bc7f8b45080fc1d6792cd5d9d1fef58ab5c9a764"><code>bc7f8b4</code></a> Woops, fix changelog</li> <li><a href="https://github.com/ViewComponent/view_component/commit/e2cefa9c018ab4b2f43c47e0a84b0c12c51aa81b"><code>e2cefa9</code></a> Woops, fix changelog</li> <li>Additional commits viewable in <a href="https://github.com/viewcomponent/view_component/compare/v4.0.0...v4.0.2">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=view_component&package-manager=bundler&previous-version=4.0.0&new-version=4.0.2)](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>
dependabot[bot] commented 2025-09-07 15:05:42 +00:00 (Migrated from github.com)

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting `@dependabot ignore this major version` or `@dependabot ignore this minor version`. You can also ignore all major, minor, or patch releases for a dependency by adding an [`ignore` condition](https://docs.github.com/en/code-security/supply-chain-security/configuration-options-for-dependency-updates#ignore) with the desired `update_types` to your config file. If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

Pull request closed

Sign in to join this conversation.
No description provided.