Releases: ViewComponent/view_component
Releases · ViewComponent/view_component
v1.3.6
-
Allow template file names without format.
-
Add support for translations.
v1.3.5
-
Re-expose
controllermethod. -
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
requestinside 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.
v1.2.1
actionview-component is now tested against Ruby 2.3/2.4 and Rails 5.0.0.
v1.2.0
-
The
render_componenttest helper has been renamed torender_inline.render_componenthas been deprecated and will be removed in v2.0.0. -
Components are now rendered with
render MyComponent, foo: :barsyntax. The existingrender MyComponent.new(foo: :bar)syntax has been deprecated and will be removed in v2.0.0.
v1.1.0
This release moves the base class to ActionView::Component::Base.
This release introduced a breaking change and thus broke SemVer protocol.