Skip to content

Bump view_component from 4.20.0 to 4.21.0 - #1283

Merged
robbevp merged 2 commits into
mainfrom
dependabot/bundler/view_component-4.21.0
Nov 6, 2026
Merged

robbevp merged 2 commits into
mainfrom
dependabot/bundler/view_component-4.21.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 6, 2026

Copy link
Copy Markdown
Contributor

Bumps view_component from 4.20.0 to 4.21.0.

Release notes

Sourced from view_component's releases.

4.21.0

  • Avoid NameError during eager loading when components include modules with temporary names.

    Joel Hawksley

  • Avoid repeated scanning of unterminated ERB tags during cache dependency discovery.

    Joel Hawksley

  • Skip dependency compilation for static ERB markup and literal templates while preserving helper-rendered component tracking.

    Joel Hawksley

  • Track helper-rendered component cache dependencies, enforce single-use instances on cache hits, and emit one render notification per self-cached render.

    Joel Hawksley

  • Resolve symbolic translation defaults in sidecars, restore request URL state in tests, and refresh inherited templates whenever template reloading is enabled.

    Joel Hawksley

  • Reuse existing GitHub releases when retrying a failed gem publish.

    Joel Hawksley

  • Prevent self-cache key collisions and track component references in views and format-specific partial dependencies.

    Joel Hawksley

  • Isolate preview and request parameters, honor preview locale callbacks, restore controller view contexts, and accept nil translation keys.

    Joel Hawksley

  • Honor negative generator flags and preserve pre-release versions throughout release automation. Report gem publishing failures.

    Joel Hawksley

  • Fix fragment cache collisions after render_parent, missing relative-partial and inherited-template dependencies, format fallback cache collisions, and stale cached output after development template edits.

    Joel Hawksley

  • Fix template method collisions between formats and variants, preserve default slot state, and copy collection spacer slots independently.

    Joel Hawksley

  • Apply --skip-suffix to all generated component files and restore full request URLs after with_request_url blocks.

    Joel Hawksley

... (truncated)

Changelog

Sourced from view_component's changelog.

4.21.0

  • Avoid NameError during eager loading when components include modules with temporary names.

    Joel Hawksley

  • Avoid repeated scanning of unterminated ERB tags during cache dependency discovery.

    Joel Hawksley

  • Skip dependency compilation for static ERB markup and literal templates while preserving helper-rendered component tracking.

    Joel Hawksley

  • Track helper-rendered component cache dependencies, enforce single-use instances on cache hits, and emit one render notification per self-cached render.

    Joel Hawksley

  • Resolve symbolic translation defaults in sidecars, restore request URL state in tests, and refresh inherited templates whenever template reloading is enabled.

    Joel Hawksley

  • Reuse existing GitHub releases when retrying a failed gem publish.

    Joel Hawksley

  • Prevent self-cache key collisions and track component references in views and format-specific partial dependencies.

    Joel Hawksley

  • Isolate preview and request parameters, honor preview locale callbacks, restore controller view contexts, and accept nil translation keys.

    Joel Hawksley

  • Honor negative generator flags and preserve pre-release versions throughout release automation. Report gem publishing failures.

    Joel Hawksley

  • Fix fragment cache collisions after render_parent, missing relative-partial and inherited-template dependencies, format fallback cache collisions, and stale cached output after development template edits.

    Joel Hawksley

  • Fix template method collisions between formats and variants, preserve default slot state, and copy collection spacer slots independently.

    Joel Hawksley

  • Apply --skip-suffix to all generated component files and restore full request URLs after with_request_url blocks.

    Joel Hawksley

... (truncated)

Commits
  • 293c623 Merge pull request #2767 from ViewComponent/release-4-21-0
  • ba7d81d release 4.21.0
  • 60ed221 Merge pull request #2766 from ViewComponent/joelhawksley-temporary-module-names
  • 5cfb262 Merge branch 'main' into joelhawksley-temporary-module-names
  • 74c80ad Merge pull request #2765 from ViewComponent/joelhawksley-main-bug-audit-8e5
  • a06cd0f Scan ERB dependency tags without backtracking
  • be966d8 Skip static markup in component dependency scans
  • 7340863 Skip unresolvable module names in cache digests
  • 83db0c1 Fix remaining main branch audit bugs
  • 12a63ec Merge pull request #2763 from ViewComponent/joelhawksley-main-bug-audit
  • 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 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.20.0 to 4.21.0.
- [Release notes](https://github.com/viewcomponent/view_component/releases)
- [Changelog](https://github.com/ViewComponent/view_component/blob/main/docs/CHANGELOG.md)
- [Commits](ViewComponent/view_component@v4.20.0...v4.21.0)

---
updated-dependencies:
- dependency-name: view_component
  dependency-version: 4.21.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels Nov 6, 2026
@robbevp
robbevp merged commit 57d6792 into main Nov 6, 2026
5 checks passed
@robbevp
robbevp deleted the dependabot/bundler/view_component-4.21.0 branch November 6, 2026 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant