Skip to content

Commit 961a649

Browse files
authored
升级到 4.5.1 (#164)
* 升级到 4.5.1
1 parent 7d0b2f7 commit 961a649

File tree

228 files changed

+4353
-780
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

228 files changed

+4353
-780
lines changed

source/changelogs/index.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@
1212
.. toctree::
1313
:titlesonly:
1414

15+
v4.5.1
16+
v4.5.0
17+
v4.4.8
18+
v4.4.7
19+
v4.4.6
1520
v4.4.5
1621
v4.4.4
1722
v4.4.3

source/changelogs/v4.4.6.rst

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
#############
2+
版本 4.4.6
3+
#############
4+
5+
发布日期:2024 年 2 月 24 日
6+
7+
**CodeIgniter4 的 4.4.6 版本发布**
8+
9+
.. contents::
10+
:local:
11+
:depth: 3
12+
13+
********
14+
重大变更
15+
********
16+
17+
Time::createFromTimestamp()
18+
===========================
19+
20+
修复了一个导致 :ref:`Time::createFromTimestamp() <time-createfromtimestamp>` 返回 UTC 时区的 Time 实例的错误。
21+
22+
从这个版本开始,当你不指定时区时,默认返回应用程序时区的 Time 实例。
23+
24+
**********
25+
修复的错误
26+
**********
27+
28+
- **Session:** 修复了 Redis session 处理程序中的一个错误,该错误导致锁定失败并清除了 session 数据。
29+
- **DB Forge:** 修复了 SQLite3 Forge 中的一个错误,该错误导致 ``Forge::modifyColumn()`` 错误地修改了表定义。
30+
- **CSP:** 修复了一个导致 CSP 阻止调试工具栏中某些元素的错误。
31+
32+
请参阅仓库中的
33+
`CHANGELOG.md <https://github.com/codeigniter4/CodeIgniter4/blob/develop/CHANGELOG.md>`_
34+
获取完整的错误修复列表。

source/changelogs/v4.4.7.rst

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
#############
2+
版本 4.4.7
3+
#############
4+
5+
发布日期:2024 年 3 月 29 日
6+
7+
**CodeIgniter4 的 4.4.7 版本发布**
8+
9+
.. contents::
10+
:local:
11+
:depth: 3
12+
13+
********
14+
安全更新
15+
********
16+
17+
- **Language:** 修复了 *Language 类 DoS 漏洞*。 详见 `Security advisory GHSA-39fp-mqmm-gxj6 <https://github.com/codeigniter4/CodeIgniter4/security/advisories/GHSA-39fp-mqmm-gxj6>`_。
18+
- **URI Security:** 添加了检查 URI 中是否包含不允许字符串的功能。此检查相当于 CodeIgniter 3 中的 URI 安全性。此功能默认为启用,但升级用户需要添加设置以启用它。详情见 :ref:`urls-uri-security`。
19+
- **Filters:** 修复了 Filters 处理的 URI 路径未进行 URL 解码的错误。详情见 :ref:`upgrade-447-filter-paths`。
20+
21+
********
22+
重大变更
23+
********
24+
25+
- 在以前的版本中,当使用 ``Time::difference()`` 比较日期时,如果日期包含不同于 24 小时的天数(由于夏令时导致),会返回意外结果。该错误已被修复。详情见 :ref:`Times and Dates 中的说明 <time-viewing-differences>`。
26+
27+
**********
28+
修复的错误
29+
**********
30+
31+
请参阅仓库中的
32+
`CHANGELOG.md <https://github.com/codeigniter4/CodeIgniter4/blob/develop/CHANGELOG.md>`_
33+
获取完整的错误修复列表。

source/changelogs/v4.4.8.rst

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
#############
2+
版本 4.4.8
3+
#############
4+
5+
发布日期:2024 年 4 月 7 日
6+
7+
**CodeIgniter4 的 4.4.8 版本发布**
8+
9+
.. contents::
10+
:local:
11+
:depth: 3
12+
13+
********
14+
重大变更
15+
********
16+
17+
- 修复了一个导致 :doc:`Exception handler <../general/errors>` 显示与异常代码不对应的错误视图文件的错误。
18+
为此,``CodeIgniter\Debug\ExceptionHandler::determineView()`` 添加了第三个参数 ``int $statusCode = 500``。
19+
20+
**********
21+
修复的错误
22+
**********
23+
24+
请参阅仓库中的
25+
`CHANGELOG.md <https://github.com/codeigniter4/CodeIgniter4/blob/develop/CHANGELOG.md>`_
26+
获取完整的错误修复列表。

0 commit comments

Comments
 (0)