Releases: ViewComponent/view_component
v2.82.0
v2.81.0
-
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
v2.80.0
-
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
v2.79.0
v2.78.0
v2.77.0
v2.76.0
-
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
v2.75.0
v2.74.1
-
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
v2.74.0
-
Add Avo to list of companies using ViewComponent.
Adrian Marin
-
Promote experimental
_output_postamble
method to public API asoutput_postamble
.Joel Hawksley
-
Promote experimental
_sidecar_files
method to public API assidecar_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