From 2a8e13bd7934920eec33a1483d59b7be561c6a3a Mon Sep 17 00:00:00 2001 From: kenjis Date: Mon, 10 Jun 2024 16:03:21 +0900 Subject: [PATCH 1/2] Prep for 4.5.2 release --- CHANGELOG.md | 25 ++++++++++++++ phpdoc.dist.xml | 2 +- system/CodeIgniter.php | 2 +- user_guide_src/source/changelogs/v4.5.2.rst | 14 +------- user_guide_src/source/conf.py | 2 +- .../source/installation/upgrade_452.rst | 34 ++++++------------- 6 files changed, 39 insertions(+), 40 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5148b0faad05..9d71e1792fe5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,30 @@ # Changelog +## [v4.5.2](https://github.com/codeigniter4/CodeIgniter4/tree/v4.5.2) (2024-06-10) +[Full Changelog](https://github.com/codeigniter4/CodeIgniter4/compare/v4.5.1...v4.5.2) + +### Fixed Bugs + +* chore: fix phpunit.xml.dist for appstarter by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8785 +* fix: update `preload.php` for 4.5 by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8805 +* fix: [ErrorException] Undefined array key in `spark phpini:check` by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8804 +* fix: incorrect Security exception message by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8818 +* fix: [QueryBuilder] TypeError in join() with BETWEEN by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8792 +* fix: [SQLSRV] Query Builder always sets `""."".` to the table name. by @ping-yee in https://github.com/codeigniter4/CodeIgniter4/pull/8786 +* fix: remove unused undefined param $raw in MockCache::save() by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8847 +* fix: FileCollection pseudo-regex by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8868 +* fix: [Model] casting may throw InvalidArgumentException: Invalid parameter: nullable by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8870 +* fix: [Model] casting causes TypeError when finding no record by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8871 +* fix: correct property default values in Email by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8855 +* fix: CLI::promptByMultipleKeys() and prompt() by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8873 +* fix: [Postgres] show missing error message by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8913 +* fix: TypeError in number_to_amount() by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8932 +* fix: Model::find() returns incorrect data with casting by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8933 + +### Refactoring + +* refactor: remove unused path parameter on PhpStreamWrapper::stream_open() by @samsonasik in https://github.com/codeigniter4/CodeIgniter4/pull/8926 + ## [v4.5.1](https://github.com/codeigniter4/CodeIgniter4/tree/v4.5.1) (2024-04-14) [Full Changelog](https://github.com/codeigniter4/CodeIgniter4/compare/v4.5.0...v4.5.1) diff --git a/phpdoc.dist.xml b/phpdoc.dist.xml index 546630d3f446..141e99770713 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 1758228076ab..65f5dd22b593 100644 --- a/system/CodeIgniter.php +++ b/system/CodeIgniter.php @@ -56,7 +56,7 @@ class CodeIgniter /** * The current version of CodeIgniter Framework */ - public const CI_VERSION = '4.5.1'; + public const CI_VERSION = '4.5.2'; /** * App startup time. diff --git a/user_guide_src/source/changelogs/v4.5.2.rst b/user_guide_src/source/changelogs/v4.5.2.rst index 8824d3c72b96..cb25e2fc74a8 100644 --- a/user_guide_src/source/changelogs/v4.5.2.rst +++ b/user_guide_src/source/changelogs/v4.5.2.rst @@ -2,7 +2,7 @@ Version 4.5.2 ############# -Release Date: Unreleased +Release Date: June 10, 2024 **4.5.2 release of CodeIgniter4** @@ -10,24 +10,12 @@ Release Date: Unreleased :local: :depth: 3 -******** -BREAKING -******** - *************** Message Changes *************** - Added ``Security.insecureCookie`` message. -******* -Changes -******* - -************ -Deprecations -************ - ********** Bugs Fixed ********** diff --git a/user_guide_src/source/conf.py b/user_guide_src/source/conf.py index 1bc7efd9d0ab..e5f3b2a71ccd 100644 --- a/user_guide_src/source/conf.py +++ b/user_guide_src/source/conf.py @@ -26,7 +26,7 @@ version = '4.5' # The full version, including alpha/beta/rc tags. -release = '4.5.1' +release = '4.5.2' # -- General configuration --------------------------------------------------- diff --git a/user_guide_src/source/installation/upgrade_452.rst b/user_guide_src/source/installation/upgrade_452.rst index 9b7071b99bf9..c3166ba6f1c4 100644 --- a/user_guide_src/source/installation/upgrade_452.rst +++ b/user_guide_src/source/installation/upgrade_452.rst @@ -12,18 +12,6 @@ Please refer to the upgrade instructions corresponding to your installation meth :local: :depth: 2 -********************** -Mandatory File Changes -********************** - -**************** -Breaking Changes -**************** - -********************* -Breaking Enhancements -********************* - ************* Project Files ************* @@ -34,21 +22,19 @@ 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/DocTypes.php +- app/Config/Exceptions.php +- preload.php +- spark +- writable/.htaccess +- writable/cache/index.html +- writable/debugbar/index.html +- writable/index.html +- writable/logs/index.html +- writable/session/index.html From 0f7a454231a53ec43a9766be8712bd0eaf24b544 Mon Sep 17 00:00:00 2001 From: kenjis Date: Mon, 10 Jun 2024 16:05:37 +0900 Subject: [PATCH 2/2] docs: make sentence as a note To make the tools stand out. --- admin/next-upgrading-guide.rst | 5 +++-- user_guide_src/source/installation/upgrade_452.rst | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/admin/next-upgrading-guide.rst b/admin/next-upgrading-guide.rst index bcffc3fe3de5..e38bebe3c4a7 100644 --- a/admin/next-upgrading-guide.rst +++ b/admin/next-upgrading-guide.rst @@ -31,8 +31,9 @@ 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 `_. +.. note:: There are some third-party CodeIgniter modules available to assist + with merging changes to the project space: + `Explore on Packagist `_. Content Changes =============== diff --git a/user_guide_src/source/installation/upgrade_452.rst b/user_guide_src/source/installation/upgrade_452.rst index c3166ba6f1c4..8c902594703f 100644 --- a/user_guide_src/source/installation/upgrade_452.rst +++ b/user_guide_src/source/installation/upgrade_452.rst @@ -19,8 +19,9 @@ 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 `_. +.. note:: There are some third-party CodeIgniter modules available to assist + with merging changes to the project space: + `Explore on Packagist `_. All Changes ===========