Releases: ViewComponent/view_component
v1.10.0
-
Deprecate all
rendersyntaxes except forrender(MyComponent.new(foo: :bar))Joel Hawksley
Note: To avoid deprecation warnings, it's recommended to update your application to use the render(MyComponent.new(foo: :bar) syntax before upgrading to this version.
v1.9.0
v1.8.1
-
Run validation checks before calling
#render?.Ash Wilson
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