4.13.0
-
Add support for Turbo-streaming ViewComponents.
Ben Sheldon, Joel Hawksley
-
Reduce allocations and avoid redundant compiler work when rendering components and collections.
Joel Hawksley
-
Stabilize rendering allocation tests with explicit warmups and exact expectations by Rails and Ruby.
Joel Hawksley
-
Replace the custom memory allocation test helper with
minitest-memory, preserving Ruby-version-specific allocation thresholds while improving failure diagnostics.Joel Hawksley
-
Add zizmor security analysis for GitHub Actions workflows to CI.
Joel Hawksley
-
Remove the
$PROGRAM_NAMEversion-printing line fromversion.rbso the file no longer reads a global variable (unshareable across Ractors). The version is still available viaViewComponent::VERSION::STRING.Joel Hawksley
-
Fix intermittent template compilation failures where line-number offsets and annotation stripping were decided when a template object was created instead of when it was compiled, so later changes to coverage or annotation settings produced off-by-one backtraces or blank output.
Joel Hawksley
-
Freeze
ViewComponent::VERSION::STRINGso the version constant is immutable and Ractor-shareable.Joel Hawksley
-
Add audition Ractor-readiness checks to CI. Applied safe
.freezeauto-fixes to string constants inViewComponent::Errorsand baselined existing findings so the gate fails only on new Ractor-isolation violations.Joel Hawksley
-
Update link to GOV.UK Components library in resources list to govuk-components.x-govuk.org
Peter Yates
-
Fix
NoMethodError: undefined method 'template_handler_extensions'when gathering sidecar templates on Rails main. Action View removed theActionView::Template.template_handler_extensionsmethod in newer versions; the compiler now reads the registered extensions throughActionView::Template::Handlers.extensions, which is the supported read-path API across all supported Rails versions (7.1+).Luiz Kowalski