Releases: ViewComponent/view_component
v2.74.1
-
Add more users of ViewComponent to docs.
Joel Hawksley
-
Add a known issue for usage with
turbo_frame_tagto 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_postamblemethod to public API asoutput_postamble.Joel Hawksley
-
Promote experimental
_sidecar_filesmethod to public API assidecar_files.Joel Hawksley
-
Fix
show_previewsregression introduced in 2.73.0.Andy Baranov
-
with_request_urltest helper supports router constraints (such as Devise).Aotokitsuruya
v2.73.0
-
Remove experimental
_after_compilelifecycle 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.sidecarconfig 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_urito gemspec.Joel Hawksley
-
Link to
CHANGELOG.mdinstead of symlink.Joel Hawksley
-
Add Aluuno to list of companies using ViewComponent.
Daniel Naves de Carvalho
-
Add
source_code_urito gemspec.Yoshiyuki Hirano
-
Update link to benchmark script in docs.
Daniel Diekmeier
-
Add special exception message for
renders_one :contentexplaining that content passed as a block will be assigned to thecontentaccessor without having to create an explicit slot.Daniel Diekmeier
v2.71.0
ViewComponent has moved to a new organization: https://github.com/viewcomponent/view_component. See #1424 for more details.
v2.70.0
-
render_previewcan pass parameters to preview.Joel Hawksley
-
Fix docs typos.
Joel Hawksley
-
Add architectural decisions to documentation and rename sidebar sections.
Joel Hawksley
-
Clarify documentation on testability of Rails views.
Joel Hawksley
-
Add Arrows to list of companies using ViewComponent.
Matt Swanson
-
Add WIP to list of companies using ViewComponent.
Marc Köhlbrugge
-
Update slots documentation to include how to reference slots.
Brittany Ellich
-
Add Clio to list of companies using ViewComponent.
Mike Buckley
v2.69.0
-
Add missing
requireto fixpvcbuild.Joel Hawksley
-
Add
config.view_component.use_consistent_rendering_lifecycleto ensure side-effects incontentare consistently evaluated before components are rendered. This change effectively means thatcontentis evaluated for every component render whererender?returns true. As a result, code that's passed to a component via a block/content will now always be evaluated, before#call, which can reveal bugs in existing components. This configuration option defaults tofalsebut will be enabled in 3.0 and the old behavior will be removed.Blake Williams
-
Update Prism to version 1.28.0.
Thomas Hutterer
-
Corrects the deprecation warning for named slots to show the file and line where the slot is called.
River Bailey
v2.68.0
-
Update
gemspecauthor to be ViewComponent team.Joel Hawksley
-
Fix bug where
ViewComponent::Compilerwasn't required.Joel Hawksley
v2.67.0
-
Use ViewComponent::Base.config as the internal endpoint for config.
Simon Fish
-
Fix bug where
#with_request_url, when used with query string, set the incorrectrequest.pathandrequest.fullpath.Franz Liedke
-
Add link to ViewComponentAttributes in Resources section of docs.
Romaric Pascal
-
render_previewtest helper is available by default. It is no longer necessary to includeViewComponent::RenderPreviewHelper.Joel Hawksley
v2.66.0
-
Add missing
generate.sidecar,generate.stimulus_controller,generate.locale,generate.distinct_locale_files,generate.previewconfig options toconfig.view_component.Simon Fish