diff --git a/CHANGELOG.md b/CHANGELOG.md index c7c4e4dd3254..6b867cb672ef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,36 @@ # Changelog +## [v4.4.6](https://github.com/codeigniter4/CodeIgniter4/tree/v4.4.6) (2024-02-24) +[Full Changelog](https://github.com/codeigniter4/CodeIgniter4/compare/v4.4.5...v4.4.6) + +### Breaking Changes + +* fix: Time::createFromTimestamp() returns Time with UTC by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8544 + +### Fixed Bugs + +* fix: [OCI8] getFieldData() returns incorrect `default` value by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8459 +* fix: [SQLite3] getFieldData() returns incorrect `primary_key` values by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8460 +* fix: [OCI8][Postgre][SQLSRV][SQLite3] change order of properties returned by getFieldData() by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8481 +* docs: fix supported SQL Server version by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8489 +* fix: [SQLite3] Forge::modifyColumn() messes up table by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8457 +* docs: fix incorrect @return type in `ResultInterface-getCustomRowObject()` by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8503 +* fix: [Postgre] updateBatch() breaks `char` type data by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8524 +* fix: DebugBar block by CSP by @YapsBridging in https://github.com/codeigniter4/CodeIgniter4/pull/8411 +* docs: fix `@phpstan-type` in Model by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8543 +* fix: [CURLRequest] Multiple HTTP 100 return by API. by @ping-yee in https://github.com/codeigniter4/CodeIgniter4/pull/8466 +* fix: PHPDoc types in controller.tpl.php by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8561 +* fix: [Session] Redis session race condition by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8323 + +### Refactoring + +* test: refactor ImageMagickHandlerTest by @paulbalandan in https://github.com/codeigniter4/CodeIgniter4/pull/8461 +* test: refactor GetFieldDataTest by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8480 +* refactor: use ternary operators in Helpers by @ddevsr in https://github.com/codeigniter4/CodeIgniter4/pull/8529 +* refactor: use official site URLs by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8541 +* refactor: remove redundant URL helper loading by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8556 +* refactor: small improvement in `loadInNamespace` Autoloader by @ddevsr in https://github.com/codeigniter4/CodeIgniter4/pull/8553 + ## [v4.4.5](https://github.com/codeigniter4/CodeIgniter4/tree/v4.4.5) (2024-01-27) [Full Changelog](https://github.com/codeigniter4/CodeIgniter4/compare/v4.4.4...v4.4.5) diff --git a/phpdoc.dist.xml b/phpdoc.dist.xml index f0b3a7408da4..dcaa6ef840c0 100644 --- a/phpdoc.dist.xml +++ b/phpdoc.dist.xml @@ -10,7 +10,7 @@ api/build/ api/cache/ - + system diff --git a/system/CodeIgniter.php b/system/CodeIgniter.php index 46eb419f7717..a602d2a3c2f1 100644 --- a/system/CodeIgniter.php +++ b/system/CodeIgniter.php @@ -54,7 +54,7 @@ class CodeIgniter /** * The current version of CodeIgniter Framework */ - public const CI_VERSION = '4.4.5'; + public const CI_VERSION = '4.4.6'; /** * App startup time. diff --git a/system/I18n/TimeTrait.php b/system/I18n/TimeTrait.php index 3d70f8544fc6..a2a92b8fc94d 100644 --- a/system/I18n/TimeTrait.php +++ b/system/I18n/TimeTrait.php @@ -1153,7 +1153,7 @@ public function __toString(): string * * @param string $name * - * @return array|bool|DateTimeInterface|DateTimeZone|int|intlCalendar|self|string|null + * @return array|bool|DateTimeInterface|DateTimeZone|int|IntlCalendar|self|string|null */ public function __get($name) { diff --git a/system/Images/Handlers/ImageMagickHandler.php b/system/Images/Handlers/ImageMagickHandler.php index 7dd5e5d755ee..cb8ce9bae763 100644 --- a/system/Images/Handlers/ImageMagickHandler.php +++ b/system/Images/Handlers/ImageMagickHandler.php @@ -77,7 +77,7 @@ public function _resize(bool $maintainRatio = false) /** * Crops the image. * - * @return bool|\CodeIgniter\Images\Handlers\ImageMagickHandler + * @return bool|ImageMagickHandler * * @throws Exception */ diff --git a/user_guide_src/source/changelogs/v4.4.6.rst b/user_guide_src/source/changelogs/v4.4.6.rst index 234536b9d817..01096133bbc4 100644 --- a/user_guide_src/source/changelogs/v4.4.6.rst +++ b/user_guide_src/source/changelogs/v4.4.6.rst @@ -2,7 +2,7 @@ Version 4.4.6 ############# -Release Date: Unreleased +Release Date: February 24, 2024 **4.4.6 release of CodeIgniter4** @@ -23,22 +23,16 @@ to return a Time instance with a timezone of UTC has been fixed. Starting with this version, when you do not specify a timezone, a Time instance with the app's timezone is returned by default. -*************** -Message Changes -*************** - -******* -Changes -******* - -************ -Deprecations -************ - ********** Bugs Fixed ********** +- **Session:** Fixed a bug in Redis session handler that caused locking to fail + and the session data to be cleared. +- **DB Forge:** Fixed a bug in SQLite3 Forge that caused ``Forge::modifyColumn()`` + to incorrectly modify table definitions. +- **CSP:** Fixed a bug that CSP blocked some elements in the Debug Toolbar. + See the repo's `CHANGELOG.md `_ for a complete list of bugs fixed. diff --git a/user_guide_src/source/conf.py b/user_guide_src/source/conf.py index 86a3517b9d43..122e54fad4e8 100644 --- a/user_guide_src/source/conf.py +++ b/user_guide_src/source/conf.py @@ -26,7 +26,7 @@ version = '4.4' # The full version, including alpha/beta/rc tags. -release = '4.4.5' +release = '4.4.6' # -- General configuration --------------------------------------------------- diff --git a/user_guide_src/source/installation/upgrade_446.rst b/user_guide_src/source/installation/upgrade_446.rst index c19b814ba74d..7e7f927b5f75 100644 --- a/user_guide_src/source/installation/upgrade_446.rst +++ b/user_guide_src/source/installation/upgrade_446.rst @@ -12,10 +12,6 @@ Please refer to the upgrade instructions corresponding to your installation meth :local: :depth: 2 -********************** -Mandatory File Changes -********************** - **************** Breaking Changes **************** @@ -33,11 +29,6 @@ If you want to keep the timezone UTC, you need to call ``setTimezone('UTC')``:: $time = Time::createFromTimestamp(1501821586)->setTimezone('UTC'); - -********************* -Breaking Enhancements -********************* - ************* Project Files ************* @@ -48,21 +39,13 @@ these files being outside of the **system** scope they will not be changed witho There are some third-party CodeIgniter modules available to assist with merging changes to the project space: `Explore on Packagist `_. -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 ------- - -- @TODO - 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: -- @TODO +- app/Config/App.php +- app/Config/Routing.php +- app/Views/welcome_message.php +- composer.json