Skip to content

build(deps): bump view_component from 4.19.0 to 4.20.0 - #7343

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bundler/view_component-4.20.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bundler/view_component-4.20.0

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps view_component from 4.19.0 to 4.20.0.

Release notes

Sourced from view_component's releases.

4.20.0

  • Fix invalid byte sequence in UTF-8 errors when precomputing cache digests for components loaded from encrypted or binary source files.

    Joel Junström

  • Fix cache digests missing components rendered through a slot declared with the component's class, through a method or variable that holds the component, or through a module the component includes. Any constant naming a component in a component's Ruby or templates now counts as a dependency, and included modules are digested like superclasses.

    Erik Axel Nielsen

  • Add an informational CI check that runs added and modified tests without a pull request's implementation changes to identify regression coverage.

    Joel Hawksley

  • Speed up rendering with direct compiled-template calls and avoid intermediate method allocations when invoking lambda-backed slots.

    Joel Hawksley

  • Fix Couldn't find template for digesting errors when computing cache digests for templates that render components. Action View inferred a partial from render SomeComponent.new, so partials inferred from component renders are now discarded. Component renders are found with Prism rather than a regular expression, adding a dependency on the prism gem.

    Joel Hawksley

  • Fix components rendering the template for the first format a lookup context rendered in, instead of the current one. An Action Mailer email that declares format.text before format.html rendered the text template of each component into its HTML part. Components now reuse the details key Action View memoizes, which Action View resets whenever a detail such as formats changes. Regression from 4.16.0.

    Jan Schilbach

  • Look up each component's sidecar templates and translations once while eager loading, instead of again when it compiles, loads its translations, and computes its cache digest, and for each of its subclasses. Time spent in ViewComponent during the boot benchmark drops by about a quarter.

    Clément Joubert

  • Measure cache digest precomputation in the boot benchmark by disabling class reloading in the benchmark app and having each generated component render another.

    Joel Hawksley

  • Add a CI performance check that fails a pull request when any benchmark scenario's component/partial render-time ratio, or ViewComponent's share of app boot time, regresses by more than 5% against the base branch on Rails 8.1 or Rails main.

    Joel Hawksley

  • Fail the test suite when a gem in the Gemfile or gemspec isn't loaded.

    Joel Hawksley

  • Remove the unused selenium-webdriver and tailwindcss-rails development dependencies.

    Joel Hawksley

  • Speed up sidecar_files, which 4.18's cache digest precomputation calls for every component and superclass at boot, by globbing each directory once instead of once per extension. On an app with 302 components, compile.view_component drops from 2.3 s to 1.2 s.

    Clément Joubert

Changelog

Sourced from view_component's changelog.

4.20.0

  • Fix invalid byte sequence in UTF-8 errors when precomputing cache digests for components loaded from encrypted or binary source files.

    Joel Junström

  • Fix cache digests missing components rendered through a slot declared with the component's class, through a method or variable that holds the component, or through a module the component includes. Any constant naming a component in a component's Ruby or templates now counts as a dependency, and included modules are digested like superclasses.

    Erik Axel Nielsen

  • Add an informational CI check that runs added and modified tests without a pull request's implementation changes to identify regression coverage.

    Joel Hawksley

  • Speed up rendering with direct compiled-template calls and avoid intermediate method allocations when invoking lambda-backed slots.

    Joel Hawksley

  • Fix Couldn't find template for digesting errors when computing cache digests for templates that render components. Action View inferred a partial from render SomeComponent.new, so partials inferred from component renders are now discarded. Component renders are found with Prism rather than a regular expression, adding a dependency on the prism gem.

    Joel Hawksley

  • Fix components rendering the template for the first format a lookup context rendered in, instead of the current one. An Action Mailer email that declares format.text before format.html rendered the text template of each component into its HTML part. Components now reuse the details key Action View memoizes, which Action View resets whenever a detail such as formats changes. Regression from 4.16.0.

    Jan Schilbach

  • Look up each component's sidecar templates and translations once while eager loading, instead of again when it compiles, loads its translations, and computes its cache digest, and for each of its subclasses. Time spent in ViewComponent during the boot benchmark drops by about a quarter.

    Clément Joubert

  • Measure cache digest precomputation in the boot benchmark by disabling class reloading in the benchmark app and having each generated component render another.

    Joel Hawksley

  • Add a CI performance check that fails a pull request when any benchmark scenario's component/partial render-time ratio, or ViewComponent's share of app boot time, regresses by more than 5% against the base branch on Rails 8.1 or Rails main.

    Joel Hawksley

  • Fail the test suite when a gem in the Gemfile or gemspec isn't loaded.

    Joel Hawksley

  • Remove the unused selenium-webdriver and tailwindcss-rails development dependencies.

    Joel Hawksley

  • Speed up sidecar_files, which 4.18's cache digest precomputation calls for every component and superclass at boot, by globbing each directory once instead of once per extension. On an app with 302 components, compile.view_component drops from 2.3 s to 1.2 s.

    Clément Joubert

Commits
  • efd8548 Merge pull request #2753 from ViewComponent/release-4-20-0
  • 85ab9ed release 4.20.0
  • 46982b8 Rename workflow from 'Release' to 'Build Release PR'
  • eff8252 Merge pull request #2751 from joeljunstrom/fix-cache-digest-binary-sources
  • 3a75fd5 Merge main into fix-cache-digest-binary-sources
  • a345279 Merge pull request #2752 from erikaxel/vc-digest-slots-helpers
  • 9bb1708 Simplify cache digest dependency analysis
  • f6cad28 Merge branch 'main' into vc-digest-slots-helpers
  • 5b6464a Merge branch 'main' into fix-cache-digest-binary-sources
  • 48894d4 Merge pull request #2748 from ViewComponent/joelhawksley-regression-test-ci
  • 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.19.0 to 4.20.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.19.0...v4.20.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Touches dependency files ruby Touches Ruby code labels Nov 5, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Touches dependency files ruby Touches Ruby code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants