Releases: ViewComponent/view_component
v1.8.0
-
Remove the unneeded ComponentExamplesController and simplify preview rendering.
Jon Palmer
-
Add
#render?hook to easily allow components to be no-ops.Kyle Fox
-
Don't assume ApplicationController exists.
Jon Palmer
-
Allow some additional checks to overrided
render?Sergey Malykh
-
Fix generator placing namespaced components in the root directory.
Asger Behncke Jacobsen
-
Fix cache test.
Sergey Malykh
v1.7.0
-
Simplify validation of templates and compilation.
Jon Palmer
-
Add support for multiple content areas.
Jon Palmer
v1.6.2
-
Fix Uninitialized Constant error.
Jon Palmer
-
Add basic github issue and PR templates.
Dylan Clark
-
Update readme phrasing around previews.
Justin Coyne
v1.6.1
-
Allow Previews to have no layout.
Jon Palmer
-
Bump rack from 2.0.7 to 2.0.8.
Dependabot
-
Compile components on application boot when eager loading is enabled.
Joel Hawksley
-
Previews support content blocks.
Cesario Uy
-
Follow Rails conventions. (refactor)
Rainer Borene
-
Fix edge case issue with extracting variants from less conventional source_locations.
Ryan Workman
v1.6.0
-
Avoid dropping elements in the render_inline test helper.
-
Add test for helpers.asset_url.
Christopher Coleman
-
Add rudimentary compatibility with better_html.
Joel Hawksley
-
Template-less variants fall back to default template.
Asger Behncke Jacobsen, Cesario Uy
-
Generated tests use new naming convention.
Simon Træls Ravn
-
Eliminate sqlite dependency.
Simon Dawson
-
Add support for rendering components via #to_component_class
Vinicius Stock
v1.5.3
-
Add support for RSpec to generators.
Dylan Clark, Ryan Workman
-
Require controllers as part of setting autoload paths.
Joel Hawksley
v1.5.2
-
Disable eager loading initializer.
Kasper Meyer
v1.5.1
-
Update railties class to work with Rails 6.
Juan Manuel Ramallo
v1.5.0
Note: actionview-component is now loaded by requiring actionview/component, not actionview/component/base.
-
Fix issue with generating component method signatures.
Ryan Workman, Dylan Clark
-
Create component generator.
Vinicius Stock
-
Add helpers proxy.
Kasper Meyer
-
Introduce ActionView::Component::Previews.
Juan Manuel Ramallo
v1.4.0
-
Fix bug where components broke in application paths with periods.
-
Add support for
cache_ifin component templates. -
Add support for variants.
-
Fix bug in virtual path lookup.
-
Preselect the rendered component in render_inline.