A framework for building reusable, testable & encapsulated view components in Ruby on Rails.
Revert "Avoid loading ActionView::Base during initialization (#1528)"
Jon Rohan
Fix tests using with_rendered_component_path
with custom layouts.
Ian Hollander
Adjust the way response objects are set on the preview controller to work around a recent change in Rails main.
Cameron Dutro
Fix typo in "Generate a Stimulus controller" documentation.
Ben Trewern
Modify the render_in_view_context
test helper to forward its args to the block.
Cameron Dutro
Move system test endpoint out of the unrelated previews controller.
Edwin Mak
Display Ruby 2.7 deprecation notice only once, when starting the application.
Henrik Hauge Bjørnskov
Require Rails 5.2+ in gemspec and update documentation.
Drew Bragg
Add documentation for using with_rendered_component_path
with RSpec.
Edwin Mak
Add ability to pass explicit preview_path
to preview generator.
Erinna Chen
Add with_rendered_component_path
helper for writing component system tests.
Edwin Mak
Include gem name and deprecation horizon in every deprecation message.
Jan Klimo
Support variants with dots in their names.
Javi Martín
Support variants with dashes in their names.
Javi Martín
Component.with_collection
supports components that accept splatted keyword arguments.
Zee Spencer
Remove config.view_component.use_consistent_rendering_lifecycle
since it is no longer planned for 3.0.
Blake Williams
Prevent polymorphic slots from calculating content
when setting a slot.
Blake Williams
Add ability to pass in the preview class to render_preview
.
Jon Rohan
Fix issue causing PVC tests to fail in CI.
Cameron Dutro
Fix YARD docs build task.
Hans Lemuet
Add Startup Jobs to list of companies using ViewComponent.
Marc Köhlbrugge
Run PVC's accessibility tests in a single process to avoid resource contention in CI.
Cameron Dutro
Avoid loading ActionView::Base during Rails initialization.
Jonathan del Strother
Mention lambda slots rendering returned values lazily in the guide.
Graham Rogers
Add "ViewComponent In The Wild" articles to resources.
Alexander Baygeldin
Add more users of ViewComponent to docs.
Joel Hawksley
Add a known issue for usage with turbo_frame_tag
to the documentation.
Vlad Radulescu
Add note about system testing components with previews.
Joel Hawksley
Remove locking mechanisms from the compiler.
Cameron Dutro
Add Avo to list of companies using ViewComponent.
Adrian Marin
Promote experimental _output_postamble
method to public API as output_postamble
.
Joel Hawksley
Promote experimental _sidecar_files
method to public API as sidecar_files
.
Joel Hawksley
Fix show_previews
regression introduced in 2.73.0.
Andy Baranov
with_request_url
test helper supports router constraints (such as Devise).
Aotokitsuruya