-
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.
* 升级到 v4.5.7 * update
- Loading branch information
Showing
25 changed files
with
188 additions
and
60 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,8 @@ | |
.. toctree:: | ||
:titlesonly: | ||
|
||
v4.5.7 | ||
v4.5.6 | ||
v4.5.5 | ||
v4.5.4 | ||
v4.5.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,33 @@ | ||
############# | ||
版本 4.5.6 | ||
############# | ||
|
||
发布日期:2024 年 12 月 28 日 | ||
|
||
**CodeIgniter4 的 4.5.6 版本发布** | ||
|
||
.. contents:: | ||
:local: | ||
:depth: 3 | ||
|
||
************ | ||
已修复的 Bug | ||
************ | ||
|
||
- **RequestTrait:** 修复了 ``fetchGlobal()`` 方法在处理以列表形式存储的数据时,无法通过数字键处理数据的 bug。 | ||
- **Session 类库:** 会话初始化的调试消息现在使用正确的日志类型 "debug" 而不是 "info"。 | ||
- **验证:** 修复了 ``getValidated()`` 方法在使用多个星号的验证规则时未返回有效数据的 bug。 | ||
- **数据库:** 修复了 ``like()`` 方法在处理带重音字符时的大小写不敏感选项。 | ||
- **解析器:** 修复了导致相同键名被第一个定义的键名替换的 bug。 | ||
- **DownloadResponse:** 修复了无法设置自定义缓存头的 bug。现在也可以使用 ``setCache()`` 方法。 | ||
- **DownloadResponse:** 修复了涉及发送自定义 "Expires-Disposition" 头的 bug。 | ||
- **路由:** 修复了当 `Routing::$translateURIDashes` 设置为 `true` 并且使用闭包定义路由时,`str_replace()` 中的 TypeError。 | ||
- **验证:** 修复了复杂语言字符串未正确处理的问题。 | ||
- **CURLRequest:** 添加了对使用非 1.1 版本的 HTTP 处理代理响应的支持。 | ||
- **数据库:** 修复了 ``Postgre\Connection::reconnect()`` 方法在连接尚未建立时抛出错误的 bug。 | ||
- **模型:** 修复了 ``Model::getIdValue()`` 方法在使用主键的数据映射时,无法正确识别 ``Entity`` 对象中主键的 bug。 | ||
- **数据库:** 修复了预处理语句中的一个错误,以正确处理二进制数据。 | ||
|
||
查看仓库的 | ||
`CHANGELOG.md <https://github.com/codeigniter4/CodeIgniter4/blob/develop/CHANGELOG.md>`_ | ||
以获取完整的已修复 bug 列表。 |
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,22 @@ | ||
############# | ||
版本 4.5.7 | ||
############# | ||
|
||
发布日期:2024 年 12 月 31 日 | ||
|
||
**CodeIgniter4 的 4.5.7 版本发布** | ||
|
||
.. contents:: | ||
:local: | ||
:depth: 3 | ||
|
||
************ | ||
已修复的 Bug | ||
************ | ||
|
||
- **Common:** 修复了 ``helper()`` 方法在有效的命名空间 helper 上可能抛出 `FileNotFoundException` 的 bug。 | ||
- **Forge:** 修复了 `SQLite3` 的 Forge 在调用 ``dropColumn()`` 时总是返回 `false` 的问题。 | ||
|
||
查看仓库的 | ||
`CHANGELOG.md <https://github.com/codeigniter4/CodeIgniter4/blob/develop/CHANGELOG.md>`_ | ||
以获取完整的已修复 bug 列表。 |
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
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
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
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 |
---|---|---|
@@ -1,9 +1,7 @@ | ||
<?php | ||
|
||
$pQuery = $db->prepare(static function ($db) { | ||
return $db->table('user')->insert([ | ||
'name' => 'x', | ||
'email' => 'y', | ||
'country' => 'US', | ||
]); | ||
}); | ||
$pQuery = $db->prepare(static fn ($db) => $db->table('user')->insert([ | ||
'name' => 'x', | ||
'email' => 'y', | ||
'country' => 'US', | ||
])); |
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
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
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
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
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
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
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
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.5.5 升级到 4.5.6 | ||
############################# | ||
|
||
请参考与你的安装方法对应的升级说明。 | ||
|
||
- :ref:`Composer 安装 App Starter 升级 <app-starter-upgrading>` | ||
- :ref:`Composer 安装 将 CodeIgniter4 添加到现有项目 升级 <adding-codeigniter4-upgrading>` | ||
- :ref:`手动安装 升级 <installing-manual-upgrading>` | ||
|
||
.. contents:: | ||
:local: | ||
:depth: 2 | ||
|
||
************* | ||
项目文件 | ||
************* | ||
|
||
**项目空间** (root、app、public、writable)中的一些文件已更新。由于这些文件位于 **system** 范围之外,它们不会在没有你干预的情况下被更改。 | ||
|
||
.. note:: 有一些第三方 CodeIgniter 模块可用于帮助合并项目空间的更改: | ||
`在 Packagist 上探索 <https://packagist.org/explore/?query=codeigniter4%20updates>`_。 | ||
|
||
所有更改 | ||
=========== | ||
|
||
这是 **项目空间** 中所有已更改文件的列表;许多更改只是注释或格式调整,不会影响运行时: | ||
|
||
- app/Config/Events.php | ||
- app/Config/Format.php | ||
- app/Controllers/BaseController.php | ||
- app/Views/errors/cli/error_exception.php | ||
- app/Views/errors/html/error_exception.php |
Oops, something went wrong.