-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7115 from kenjis/release-4.3.1
Prep for 4.3.1 release
- Loading branch information
Showing
6 changed files
with
107 additions
and
16 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
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,29 +1,23 @@ | ||
Version 4.3.1 | ||
############# | ||
|
||
Release Date: Unreleased | ||
Release Date: January 14, 2023 | ||
|
||
**4.3.1 release of CodeIgniter4** | ||
|
||
.. contents:: | ||
:local: | ||
:depth: 3 | ||
|
||
BREAKING | ||
******** | ||
|
||
Message Changes | ||
*************** | ||
|
||
Changes | ||
******* | ||
|
||
Deprecations | ||
************ | ||
|
||
Bugs Fixed | ||
********** | ||
|
||
* Fixed: some environment variable (**.env**) values were not reflected in Email Config | ||
* Fixed: TypeError in Validation ``is_unique`` and ``is_not_unique`` | ||
* Fixed: revert method name ``BaseBuilder::resetQuery()`` changed accidentally | ||
* Fixed: handling float in Validation Strcit Rules (``greater_than``, ``greater_than_equal_to``, ``less_than``, ``less_than_equal_to``) | ||
* Fixed: missing instruction for ``Config\Exceptions`` in PHP 8.2 in the user guide | ||
|
||
See the repo's | ||
`CHANGELOG.md <https://github.com/codeigniter4/CodeIgniter4/blob/develop/CHANGELOG.md>`_ | ||
for a complete list of bugs fixed. |
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,81 @@ | ||
############################## | ||
Upgrading from 4.3.0 to 4.3.1 | ||
############################## | ||
|
||
Please refer to the upgrade instructions corresponding to your installation method. | ||
|
||
- :ref:`Composer Installation App Starter Upgrading <app-starter-upgrading>` | ||
- :ref:`Composer Installation Adding CodeIgniter4 to an Existing Project Upgrading <adding-codeigniter4-upgrading>` | ||
- :ref:`Manual Installation Upgrading <installing-manual-upgrading>` | ||
|
||
.. contents:: | ||
:local: | ||
:depth: 2 | ||
|
||
Composer Version | ||
**************** | ||
|
||
.. important:: If you use Composer, CodeIgniter v4.3 requires | ||
Composer 2.0.14 or later. | ||
|
||
If you are using older version of Composer, upgrade your ``composer`` tool, | ||
and delete the **vendor/** directory, and run ``composer update`` again. | ||
|
||
The procedure, for example, is as follows:: | ||
|
||
> composer self-update | ||
> rm -rf vendor/ | ||
> composer update | ||
|
||
Mandatory File Changes | ||
********************** | ||
|
||
Config Files | ||
============ | ||
|
||
app/Config/Email.php | ||
-------------------- | ||
|
||
- If you updated **app/Config/Email.php** when upgrading to v4.3.0, you must | ||
set the default values to ``$fromEmail``, ``$fromName``, ``$recipients``, | ||
``$SMTPHost``, ``$SMTPUser`` and ``$SMTPPass`` to apply environment variable | ||
(**.env**) values. | ||
- If no default values are set, setting environment variables for them will not | ||
be reflected in the Config object. | ||
|
||
app/Config/Exceptions.php | ||
------------------------- | ||
|
||
- If you are using PHP 8.2, you need to add new properties ``$logDeprecations`` and ``$deprecationLogLevel``. | ||
|
||
Project Files | ||
************* | ||
|
||
Some files in the **project space** (root, app, public, writable) received updates. Due to | ||
these files being outside of the **system** scope they will not be changed without your intervention. | ||
|
||
There are some third-party CodeIgniter modules available to assist with merging changes to | ||
the project space: `Explore on Packagist <https://packagist.org/explore/?query=codeigniter4%20updates>`_. | ||
|
||
Content Changes | ||
=============== | ||
|
||
The following files received significant changes (including deprecations or visual adjustments) | ||
and it is recommended that you merge the updated versions with your application: | ||
|
||
Config | ||
------ | ||
|
||
- app/Config/Encryption.php | ||
- Set the default value ``''`` to ``$fromEmail``, ``$fromName``, | ||
``$recipients``, ``$SMTPHost``, ``$SMTPUser`` and ``$SMTPPass`` | ||
to apply environment variable (**.env**) values. | ||
|
||
All Changes | ||
=========== | ||
|
||
This is a list of all files in the **project space** that received changes; | ||
many will be simple comments or formatting that have no effect on the runtime: | ||
|
||
- app/Config/Email.php | ||
- composer.json |
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