提交 3cca8664 编写于 作者: J José Valim

Update CHANGELOG.

上级 fa77665a
......@@ -6,15 +6,27 @@
[tenderlove]
* Add `ActionController::ParamsWrapper` to wrap parameters into a nested hash, and will be turned on for JSON request in new applications by default [Prem Sichanugrist]
* Added streaming support, you can enable it with: [José Valim]
This can be customizabled by setting `ActionController::Base.wrap_parameters` in `config/initializer/wrap_parameters.rb`
class PostsController < ActionController::Base
stream :only => :index
end
Please read the docs at `ActionController::Streaming` for more information.
* Added `ActionDispatch::Request.ignore_accept_header` to ignore accept headers and only consider the format given as parameter [José Valim]
* Created `ActionView::Renderer` and specified an API for `ActionView::Context`, check those objects for more information [José Valim]
* Added `ActionController::ParamsWrapper` to wrap parameters into a nested hash, and will be turned on for JSON request in new applications by default [Prem Sichanugrist]
This can be customized by setting `ActionController::Base.wrap_parameters` in `config/initializer/wrap_parameters.rb`
* RJS has been extracted out to a gem. [fxn]
* Implicit actions named not_implemented can be rendered [Santiago Pastorino]
* Implicit actions named not_implemented can be rendered. [Santiago Pastorino]
* Wildcard route will always matching the optional format segment by default. [Prem Sichanugrist]
* Wildcard route will always match the optional format segment by default. [Prem Sichanugrist]
For example if you have this route:
......
......@@ -160,7 +160,7 @@ module ActionController #:nodoc:
# needs to inject contents in the HTML body.
#
# Also +Rack::Cache+ won't work with streaming as it does not support
# streaming bodies yet. So, whenever streaming, Cache-Control is automatically
# streaming bodies yet. Whenever streaming Cache-Control is automatically
# set to "no-cache".
#
# == Errors
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册