gems view_component 4.24.0

38 minutes ago

4.24.0

  • Harden GitHub Actions workflows and dependency updates to address code-scanning alerts.

    Joel Hawksley

  • Check component templates for changes from the Rails reloader instead of every executor run, avoiding filesystem scans for Action Cable broadcasts and other executor-only work.

    Joel Hawksley

  • Avoid missing-template digest errors for namespaced component renders when using Rails' regex ERB dependency tracker.

    Joel Hawksley

  • Raise NoMethodError on the slot instead of on nil when calling an undefined method on a slot without a component, including methods only nil defines such as to_a or =~, which used to return nil's result.

    Clément Joubert

  • Update both Rails main builds to the same Rails commit through a weekly automated pull request.

    Joel Hawksley

  • Update Nokogiri to 1.19.5 for compatibility with Rails main.

    Joel Hawksley

  • Fix missing-template errors and request URL restoration with Rails main.

    Joel Hawksley

  • Keep compensating ERB line numbers for the annotation newline on future major Rails versions. The version check required a minor version above 0, so it would have stopped compensating on the next major's .0 release.

    Clément Joubert

Don't miss a new view_component release

NewReleases is sending notifications on new releases.