Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
张重言
rails
提交
e281641e
R
rails
项目概览
张重言
/
rails
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
rails
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
e281641e
编写于
4月 26, 2019
作者:
प
प्रथमेश Sonpatki
提交者:
GitHub
4月 26, 2019
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #36107 from alexcameron89/add_more_release_notes
Add 6.0 Release Notes for Action Pack
上级
61b2f3d3
fdb44b40
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
68 addition
and
0 deletion
+68
-0
guides/source/6_0_release_notes.md
guides/source/6_0_release_notes.md
+68
-0
未找到文件。
guides/source/6_0_release_notes.md
浏览文件 @
e281641e
...
...
@@ -178,10 +178,78 @@ Please refer to the [Changelog][action-pack] for detailed changes.
### Removals
*
Remove deprecated
`fragment_cache_key`
helper in favor of
`combined_fragment_cache_key`
.
(
[
Commit
](
https://github.com/rails/rails/commit/e70d3df7c9b05c129b0fdcca57f66eca316c5cfc
)
)
*
Remove deprecated methods in
`ActionDispatch::TestResponse`
:
`#success?`
in favor of
`#successful?`
,
`#missing?`
in favor of
`#not_found?`
,
`#error?`
in favor of
`#server_error?`
(
[
Commit
](
https://github.com/rails/rails/commit/13ddc92e079e59a0b894e31bf5bb4fdecbd235d1
)
)
### Deprecations
*
Deprecate
`ActionDispatch::Http::ParameterFilter`
in favor of
`ActiveSupport::ParameterFilter`
.
(
[
Pull Request
](
https://github.com/rails/rails/pull/34039
)
)
*
Deprecate controller level
`force_ssl`
in favor of
`config.force_ssl`
.
(
[
Pull Request
](
https://github.com/rails/rails/pull/32277
)
)
### Notable changes
*
Raise an
`ArgumentError`
if a resource param contains a colon.
(
[
Pull Request
](
https://github.com/rails/rails/pull/35236
)
)
*
Allow
`ActionDispatch::SystemTestCase.driven_by`
to be called with a block
to define specific browser capabilities.
(
[
Pull Request
](
https://github.com/rails/rails/pull/35081
)
)
*
Add
`ActionDispatch::HostAuthorization`
middleware that guards against DNS rebinding
attacks.
(
[
Pull Request
](
https://github.com/rails/rails/pull/33145
)
)
*
Allow the use of
`parsed_body`
in
`ActionController::TestCase`
.
(
[
Pull Request
](
https://github.com/rails/rails/pull/34717
)
)
*
Raise an
`ArgumentError`
when multiple root routes exists in the same context
without
`as:`
naming specifications.
(
[
Pull Request
](
https://github.com/rails/rails/pull/34494
)
)
*
Allow the use of
`#rescue_from`
for handling parameter parsing errors.
(
[
Pull Request
](
https://github.com/rails/rails/pull/34341
)
)
*
Add
`ActionController::Parameters#each_value`
for iterating through parameters.
(
[
Pull Request
](
https://github.com/rails/rails/pull/33979
)
)
*
Encode Content-Disposition filenames on
`send_data`
and
`send_file`
.
(
[
Pull Request
](
https://github.com/rails/rails/pull/33829
)
)
*
Expose
`ActionController::Parameters#each_key`
.
(
[
Pull Request
](
https://github.com/rails/rails/pull/33758
)
)
*
Add purpose metadata to signed/encrypted cookies to prevent copying the value of
cookies into one another.
(
[
Pull Request
](
https://github.com/rails/rails/pull/32937
)
)
*
Raise
`ActionController::RespondToMismatchError`
for conflicting
`respond_to`
invocations.
(
[
Pull Request
](
https://github.com/rails/rails/pull/33446
)
)
*
Add an explicit error page for when a template is missing for a request format.
(
[
Pull Request
](
https://github.com/rails/rails/pull/29286
)
)
*
Introduce
`ActionDispatch::DebugExceptions.register_interceptor`
, a way to hook into
DebugExceptions and process the exception, before being rendered.
(
[
Pull Request
](
https://github.com/rails/rails/pull/23868
)
)
*
Output only one Content-Security-Policy nonce header value per request.
(
[
Pull Request
](
https://github.com/rails/rails/pull/32602
)
)
*
Add a module specifically for the Rails default headers configuration
that can be explicitly included in controllers.
(
[
Pull Request
](
https://github.com/rails/rails/pull/32484
)
)
*
Add
`#dig`
to
`ActionDispatch::Request::Session`
.
(
[
Pull Request
](
https://github.com/rails/rails/pull/32446
)
)
Action View
-----------
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录