From ffad503cc964b48c4c09d062c17198bafedbaf24 Mon Sep 17 00:00:00 2001 From: "John Paul E. Balandan, CPA" Date: Thu, 19 Aug 2021 11:34:33 +0800 Subject: [PATCH] Add entry to changelog --- user_guide_src/source/changelogs/v4.1.4.rst | 65 +++++++++++++-------- 1 file changed, 40 insertions(+), 25 deletions(-) diff --git a/user_guide_src/source/changelogs/v4.1.4.rst b/user_guide_src/source/changelogs/v4.1.4.rst index f5f7fb7d33b9..81623ce38c32 100644 --- a/user_guide_src/source/changelogs/v4.1.4.rst +++ b/user_guide_src/source/changelogs/v4.1.4.rst @@ -7,28 +7,43 @@ Release Date: Not released Breaking Changes: -The following methods were changed from "public" to "protected" to match their parent class methods and better align with their uses: - -* CodeIgniter4\Database\MySQLi\Connection::execute() -* CodeIgniter4\Database\MySQLi\Connection::_fieldData() -* CodeIgniter4\Database\MySQLi\Connection::_indexData() -* CodeIgniter4\Database\MySQLi\Connection::_foreignKeyData() -* CodeIgniter4\Database\Postgre\Builder::_like_statement() -* CodeIgniter4\Database\Postgre\Connection::execute() -* CodeIgniter4\Database\Postgre\Connection::_fieldData() -* CodeIgniter4\Database\Postgre\Connection::_indexData() -* CodeIgniter4\Database\Postgre\Connection::_foreignKeyData() -* CodeIgniter4\Database\SQLSRV\Connection::execute() -* CodeIgniter4\Database\SQLSRV\Connection::_fieldData() -* CodeIgniter4\Database\SQLSRV\Connection::_indexData() -* CodeIgniter4\Database\SQLSRV\Connection::_foreignKeyData() -* CodeIgniter4\Database\SQLite3\Connection::execute() -* CodeIgniter4\Database\SQLite3\Connection::_fieldData() -* CodeIgniter4\Database\SQLite3\Connection::_indexData() -* CodeIgniter4\Database\SQLite3\Connection::_foreignKeyData() -* CodeIgniter4\Images\Handlers\GDHandler::_flatten() -* CodeIgniter4\Images\Handlers\GDHandler::_flip() -* CodeIgniter4\Images\Handlers\ImageMagickHandler::_flatten() -* CodeIgniter4\Images\Handlers\ImageMagickHandler::_flip() -* CodeIgniter4\Test\Mock\MockIncomingRequest::detectURI() -* CodeIgniter4\Test\Mock\MockSecurity.php::sendCookie() +- The following methods were changed from "public" to "protected" to match their parent class methods and better align with their uses: + +* ``CodeIgniter\Database\MySQLi\Connection::execute()`` +* ``CodeIgniter\Database\MySQLi\Connection::_fieldData()`` +* ``CodeIgniter\Database\MySQLi\Connection::_indexData()`` +* ``CodeIgniter\Database\MySQLi\Connection::_foreignKeyData()`` +* ``CodeIgniter\Database\Postgre\Builder::_like_statement()`` +* ``CodeIgniter\Database\Postgre\Connection::execute()`` +* ``CodeIgniter\Database\Postgre\Connection::_fieldData()`` +* ``CodeIgniter\Database\Postgre\Connection::_indexData()`` +* ``CodeIgniter\Database\Postgre\Connection::_foreignKeyData()`` +* ``CodeIgniter\Database\SQLSRV\Connection::execute()`` +* ``CodeIgniter\Database\SQLSRV\Connection::_fieldData()`` +* ``CodeIgniter\Database\SQLSRV\Connection::_indexData()`` +* ``CodeIgniter\Database\SQLSRV\Connection::_foreignKeyData()`` +* ``CodeIgniter\Database\SQLite3\Connection::execute()`` +* ``CodeIgniter\Database\SQLite3\Connection::_fieldData()`` +* ``CodeIgniter\Database\SQLite3\Connection::_indexData()`` +* ``CodeIgniter\Database\SQLite3\Connection::_foreignKeyData()`` +* ``CodeIgniter\Images\Handlers\GDHandler::_flatten()`` +* ``CodeIgniter\Images\Handlers\GDHandler::_flip()`` +* ``CodeIgniter\Images\Handlers\ImageMagickHandler::_flatten()`` +* ``CodeIgniter\Images\Handlers\ImageMagickHandler::_flip()`` +* ``CodeIgniter\Test\Mock\MockIncomingRequest::detectURI()`` +* ``CodeIgniter\Test\Mock\MockSecurity.php::sendCookie()`` + +- To be compatible with the strict inheritance checks of PHP 8.1, the following method signatures are modified to match their parents' signatures whenever possible: + +* ``CodeIgniter\Cookie\Cookie::offsetExists()`` +* ``CodeIgniter\Cookie\Cookie::offsetSet()`` +* ``CodeIgniter\Cookie\Cookie::offsetUnset()`` +* ``CodeIgniter\Cookie\CookieStore::getIterator()`` + +- Related to the strict inheritance checks of PHP 8.1, the following session handlers implementing ``SessionHandlerInterface`` have their public methods modified to match the interface: + +* ``CodeIgniter\Session\Handlers\ArrayHandler`` +* ``CodeIgniter\Session\Handlers\DatabaseHandler`` +* ``CodeIgniter\Session\Handlers\FileHandler`` +* ``CodeIgniter\Session\Handlers\MemcachedHandler`` +* ``CodeIgniter\Session\Handlers\RedisHandler``