Releases: ViewComponent/view_component
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.
ActionView::Component v1.0.0
This release extracts the ActionView::Component
library from the GitHub application.
It will be published on RubyGems under the existing actionview-component
gem name, as @chancancode has passed us ownership of the gem.