Releases: ViewComponent/view_component
Releases · ViewComponent/view_component
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.
v1.2.1
actionview-component
is now tested against Ruby 2.3/2.4 and Rails 5.0.0.
v1.2.0
-
The
render_component
test helper has been renamed torender_inline
.render_component
has been deprecated and will be removed in v2.0.0. -
Components are now rendered with
render MyComponent, foo: :bar
syntax. 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.
v1.0.1
This release fixes a bug where component templates were not reloaded in development.