Releases: ViewComponent/view_component
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
v2.73.0
-
Remove experimental
_after_compile
lifecycle method.Joel Hawksley
-
Fix capitalization of JavaScript in docs.
Erinna Chen
-
Add PrintReleaf to list of companies using ViewComponent.
Ry Kulp
-
Simplify CI configuration to a single build per Ruby/Rails version.
Joel Hawksley
-
Correctly document
generate.sidecar
config option.Ruben Smit
-
Add Yobbers to list of companies using ViewComponent.
Anton Prins
v2.72.0
-
Deprecate support for Ruby < 2.7 for removal in v3.0.0.
Joel Hawksley
-
Add
changelog_uri
to gemspec.Joel Hawksley
-
Link to
CHANGELOG.md
instead of symlink.Joel Hawksley
-
Add Aluuno to list of companies using ViewComponent.
Daniel Naves de Carvalho
-
Add
source_code_uri
to gemspec.Yoshiyuki Hirano
-
Update link to benchmark script in docs.
Daniel Diekmeier
-
Add special exception message for
renders_one :content
explaining that content passed as a block will be assigned to thecontent
accessor without having to create an explicit slot.Daniel Diekmeier