-
Template errors surface correct file and line number.
Justin Coyne
-
Allow access to
request
inside components.Joel Hawksley
-
Do not raise error when sidecar files that are not templates exist.
Joel Hawksley
-
Support rendering views from inside component templates.
Patrick Sinclair
-
Fix bug where rendering nested content caused an error.
Joel Hawksley, Aaron Patterson
-
Components are rendered with enough controller context to support rendering of partials and forms.
Patrick Sinclair, Joel Hawksley, Aaron Patterson
actionview-component
is now tested against Ruby 2.3/2.4 and Rails 5.0.0.
-
The
render_component
test helper has been renamed torender_inline
.render_component
has been deprecated and will be removed in v2.0.0.Joel Hawksley
-
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.Joel Hawksley
-
Components now inherit from ActionView::Component::Base
Joel Hawksley
-
Always recompile component templates outside production.
Joel Hawksley, John Hawthorn
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.