提交 7bb5b66e 编写于 作者: B Brendan Abbott

[ci skip] Document deprecations for TemplateHandler subclasses

上级 824ca844
...@@ -82,6 +82,11 @@ ...@@ -82,6 +82,11 @@
*Mark Edmondson* *Mark Edmondson*
* Single arity template handlers are deprecated. Template handlers must
now accept two parameters, the view object and the source for the view object.
*tenderlove*
## Rails 6.0.0.beta1 (January 18, 2019) ## ## Rails 6.0.0.beta1 (January 18, 2019) ##
......
...@@ -304,6 +304,11 @@ Please refer to the [Changelog][action-view] for detailed changes. ...@@ -304,6 +304,11 @@ Please refer to the [Changelog][action-view] for detailed changes.
Paths should now be absolute. Paths should now be absolute.
([Pull Request](https://github.com/rails/rails/pull/35688)) ([Pull Request](https://github.com/rails/rails/pull/35688))
* Deprecate single arity template handlers. The `call` method of
`ActionView::Template::Handlers` subclasses should now accept two parameters,
the view object and the source for the view object.
([Pull Request](https://github.com/rails/rails/pull/35119))
### Notable changes ### Notable changes
* Clear ActionView cache in development only on file changes, speeding up * Clear ActionView cache in development only on file changes, speeding up
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册