-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 升级到 4.5.1
- Loading branch information
Showing
228 changed files
with
4,353 additions
and
780 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,11 @@ | |
.. toctree:: | ||
:titlesonly: | ||
|
||
v4.5.1 | ||
v4.5.0 | ||
v4.4.8 | ||
v4.4.7 | ||
v4.4.6 | ||
v4.4.5 | ||
v4.4.4 | ||
v4.4.3 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
############# | ||
版本 4.4.6 | ||
############# | ||
|
||
发布日期:2024 年 2 月 24 日 | ||
|
||
**CodeIgniter4 的 4.4.6 版本发布** | ||
|
||
.. contents:: | ||
:local: | ||
:depth: 3 | ||
|
||
******** | ||
重大变更 | ||
******** | ||
|
||
Time::createFromTimestamp() | ||
=========================== | ||
|
||
修复了一个导致 :ref:`Time::createFromTimestamp() <time-createfromtimestamp>` 返回 UTC 时区的 Time 实例的错误。 | ||
|
||
从这个版本开始,当你不指定时区时,默认返回应用程序时区的 Time 实例。 | ||
|
||
********** | ||
修复的错误 | ||
********** | ||
|
||
- **Session:** 修复了 Redis session 处理程序中的一个错误,该错误导致锁定失败并清除了 session 数据。 | ||
- **DB Forge:** 修复了 SQLite3 Forge 中的一个错误,该错误导致 ``Forge::modifyColumn()`` 错误地修改了表定义。 | ||
- **CSP:** 修复了一个导致 CSP 阻止调试工具栏中某些元素的错误。 | ||
|
||
请参阅仓库中的 | ||
`CHANGELOG.md <https://github.com/codeigniter4/CodeIgniter4/blob/develop/CHANGELOG.md>`_ | ||
获取完整的错误修复列表。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
############# | ||
版本 4.4.7 | ||
############# | ||
|
||
发布日期:2024 年 3 月 29 日 | ||
|
||
**CodeIgniter4 的 4.4.7 版本发布** | ||
|
||
.. contents:: | ||
:local: | ||
:depth: 3 | ||
|
||
******** | ||
安全更新 | ||
******** | ||
|
||
- **Language:** 修复了 *Language 类 DoS 漏洞*。 详见 `Security advisory GHSA-39fp-mqmm-gxj6 <https://github.com/codeigniter4/CodeIgniter4/security/advisories/GHSA-39fp-mqmm-gxj6>`_。 | ||
- **URI Security:** 添加了检查 URI 中是否包含不允许字符串的功能。此检查相当于 CodeIgniter 3 中的 URI 安全性。此功能默认为启用,但升级用户需要添加设置以启用它。详情见 :ref:`urls-uri-security`。 | ||
- **Filters:** 修复了 Filters 处理的 URI 路径未进行 URL 解码的错误。详情见 :ref:`upgrade-447-filter-paths`。 | ||
|
||
******** | ||
重大变更 | ||
******** | ||
|
||
- 在以前的版本中,当使用 ``Time::difference()`` 比较日期时,如果日期包含不同于 24 小时的天数(由于夏令时导致),会返回意外结果。该错误已被修复。详情见 :ref:`Times and Dates 中的说明 <time-viewing-differences>`。 | ||
|
||
********** | ||
修复的错误 | ||
********** | ||
|
||
请参阅仓库中的 | ||
`CHANGELOG.md <https://github.com/codeigniter4/CodeIgniter4/blob/develop/CHANGELOG.md>`_ | ||
获取完整的错误修复列表。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
############# | ||
版本 4.4.8 | ||
############# | ||
|
||
发布日期:2024 年 4 月 7 日 | ||
|
||
**CodeIgniter4 的 4.4.8 版本发布** | ||
|
||
.. contents:: | ||
:local: | ||
:depth: 3 | ||
|
||
******** | ||
重大变更 | ||
******** | ||
|
||
- 修复了一个导致 :doc:`Exception handler <../general/errors>` 显示与异常代码不对应的错误视图文件的错误。 | ||
为此,``CodeIgniter\Debug\ExceptionHandler::determineView()`` 添加了第三个参数 ``int $statusCode = 500``。 | ||
|
||
********** | ||
修复的错误 | ||
********** | ||
|
||
请参阅仓库中的 | ||
`CHANGELOG.md <https://github.com/codeigniter4/CodeIgniter4/blob/develop/CHANGELOG.md>`_ | ||
获取完整的错误修复列表。 |
Oops, something went wrong.