Releases: ViewComponent/view_component
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_if
in component templates. -
Add support for variants.
-
Fix bug in virtual path lookup.
-
Preselect the rendered component in render_inline.
v1.3.6
-
Allow template file names without format.
-
Add support for translations.
v1.3.5
-
Re-expose
controller
method. -
Gem version numbers are now accessible through
ActionView::Component::VERSION
-
Fix typo in README
v1.3.4
- Template errors surface correct file and line number.
- Allow access to
request
inside components.
v1.3.3
- Do not raise error when sidecar files that are not templates exist.
v1.3.2
- Support rendering views from inside component templates.
v1.3.1
- Fix bug where rendering nested content caused an error.
v1.3.0
- Components are rendered with enough controller context to support rendering of partials and forms.