Skip to content

Commit 68e138f

Browse files
authored
Merge pull request #7115 from kenjis/release-4.3.1
Prep for 4.3.1 release
2 parents e5f321f + c0c54c0 commit 68e138f

File tree

6 files changed

+107
-16
lines changed

6 files changed

+107
-16
lines changed

CHANGELOG.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# Changelog
22

3+
## [v4.3.1](https://github.com/codeigniter4/CodeIgniter4/tree/v4.3.1) (2023-01-14)
4+
[Full Changelog](https://github.com/codeigniter4/CodeIgniter4/compare/v4.3.0...v4.3.1)
5+
6+
### Fixed Bugs
7+
8+
* fix: Email config in the .env doesn't appear as expected by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/7078
9+
* fix: TypeError in Validation is_unique/is_not_unique by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/7085
10+
* fix: revert method name resetQuery() changed accidentally by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/7083
11+
* fix: handling float in Validation Strcit Rules (greater_than, greater_than_equal_to, less_than, less_than_equal_to) by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/7098
12+
* docs: add missing instruction for Config/Exceptions in PHP 8.2 by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/7100
13+
* fix: Call to undefined method Composer\InstalledVersions::getAllRawData() error by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/7107
14+
15+
### Refactoring
16+
17+
* [Rector] Enable AddDefaultValueForUndefinedVariableRector by @samsonasik in https://github.com/codeigniter4/CodeIgniter4/pull/7088
18+
319
## [v4.3.0](https://github.com/codeigniter4/CodeIgniter4/tree/v4.3.0) (2023-01-10)
420
[Full Changelog](https://github.com/codeigniter4/CodeIgniter4/compare/v4.2.12...v4.3.0)
521

@@ -12,7 +28,6 @@
1228
* fix: exceptionHandler may return invalid HTTP status code by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/6228
1329
* feat: add Form helpers for Validation Errors by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/6384
1430
* fix: ValidationInterface by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/6253
15-
* [Reverted] Make Unique Index Name Unique by @sclubricants in https://github.com/codeigniter4/CodeIgniter4/pull/6516
1631
* fix: types in database classes by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/6527
1732
* fix: ResponseInterface (1) by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/6556
1833
* Improve BaseConnection::getForeignKeyData() and Forge::addForeignKey() by @sclubricants in https://github.com/codeigniter4/CodeIgniter4/pull/6468

system/CodeIgniter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class CodeIgniter
4747
/**
4848
* The current version of CodeIgniter Framework
4949
*/
50-
public const CI_VERSION = '4.3.0';
50+
public const CI_VERSION = '4.3.1';
5151

5252
/**
5353
* App startup time.
Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,23 @@
11
Version 4.3.1
22
#############
33

4-
Release Date: Unreleased
4+
Release Date: January 14, 2023
55

66
**4.3.1 release of CodeIgniter4**
77

88
.. contents::
99
:local:
1010
:depth: 3
1111

12-
BREAKING
13-
********
14-
15-
Message Changes
16-
***************
17-
18-
Changes
19-
*******
20-
21-
Deprecations
22-
************
23-
2412
Bugs Fixed
2513
**********
2614

15+
* Fixed: some environment variable (**.env**) values were not reflected in Email Config
16+
* Fixed: TypeError in Validation ``is_unique`` and ``is_not_unique``
17+
* Fixed: revert method name ``BaseBuilder::resetQuery()`` changed accidentally
18+
* Fixed: handling float in Validation Strcit Rules (``greater_than``, ``greater_than_equal_to``, ``less_than``, ``less_than_equal_to``)
19+
* Fixed: missing instruction for ``Config\Exceptions`` in PHP 8.2 in the user guide
20+
2721
See the repo's
2822
`CHANGELOG.md <https://github.com/codeigniter4/CodeIgniter4/blob/develop/CHANGELOG.md>`_
2923
for a complete list of bugs fixed.

user_guide_src/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
version = '4.3'
2727

2828
# The full version, including alpha/beta/rc tags.
29-
release = '4.3.0'
29+
release = '4.3.1'
3030

3131
# -- General configuration ---------------------------------------------------
3232

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
##############################
2+
Upgrading from 4.3.0 to 4.3.1
3+
##############################
4+
5+
Please refer to the upgrade instructions corresponding to your installation method.
6+
7+
- :ref:`Composer Installation App Starter Upgrading <app-starter-upgrading>`
8+
- :ref:`Composer Installation Adding CodeIgniter4 to an Existing Project Upgrading <adding-codeigniter4-upgrading>`
9+
- :ref:`Manual Installation Upgrading <installing-manual-upgrading>`
10+
11+
.. contents::
12+
:local:
13+
:depth: 2
14+
15+
Composer Version
16+
****************
17+
18+
.. important:: If you use Composer, CodeIgniter v4.3 requires
19+
Composer 2.0.14 or later.
20+
21+
If you are using older version of Composer, upgrade your ``composer`` tool,
22+
and delete the **vendor/** directory, and run ``composer update`` again.
23+
24+
The procedure, for example, is as follows::
25+
26+
> composer self-update
27+
> rm -rf vendor/
28+
> composer update
29+
30+
Mandatory File Changes
31+
**********************
32+
33+
Config Files
34+
============
35+
36+
app/Config/Email.php
37+
--------------------
38+
39+
- If you updated **app/Config/Email.php** when upgrading to v4.3.0, you must
40+
set the default values to ``$fromEmail``, ``$fromName``, ``$recipients``,
41+
``$SMTPHost``, ``$SMTPUser`` and ``$SMTPPass`` to apply environment variable
42+
(**.env**) values.
43+
- If no default values are set, setting environment variables for them will not
44+
be reflected in the Config object.
45+
46+
app/Config/Exceptions.php
47+
-------------------------
48+
49+
- If you are using PHP 8.2, you need to add new properties ``$logDeprecations`` and ``$deprecationLogLevel``.
50+
51+
Project Files
52+
*************
53+
54+
Some files in the **project space** (root, app, public, writable) received updates. Due to
55+
these files being outside of the **system** scope they will not be changed without your intervention.
56+
57+
There are some third-party CodeIgniter modules available to assist with merging changes to
58+
the project space: `Explore on Packagist <https://packagist.org/explore/?query=codeigniter4%20updates>`_.
59+
60+
Content Changes
61+
===============
62+
63+
The following files received significant changes (including deprecations or visual adjustments)
64+
and it is recommended that you merge the updated versions with your application:
65+
66+
Config
67+
------
68+
69+
- app/Config/Encryption.php
70+
- Set the default value ``''`` to ``$fromEmail``, ``$fromName``,
71+
``$recipients``, ``$SMTPHost``, ``$SMTPUser`` and ``$SMTPPass``
72+
to apply environment variable (**.env**) values.
73+
74+
All Changes
75+
===========
76+
77+
This is a list of all files in the **project space** that received changes;
78+
many will be simple comments or formatting that have no effect on the runtime:
79+
80+
- app/Config/Email.php
81+
- composer.json

user_guide_src/source/installation/upgrading.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ See also :doc:`./backward_compatibility_notes`.
1616

1717
backward_compatibility_notes
1818

19+
upgrade_431
1920
upgrade_430
2021
upgrade_4212
2122
upgrade_4211

0 commit comments

Comments
 (0)