From 8c2df758ea2eb9f5ff5a90dc6e04f6cd9a955c32 Mon Sep 17 00:00:00 2001 From: kenjis Date: Thu, 12 Oct 2023 10:43:23 +0900 Subject: [PATCH] docs: add changelog and upgrade --- user_guide_src/source/changelogs/v4.5.0.rst | 9 +++++++++ user_guide_src/source/installation/upgrade_450.rst | 8 ++++++++ 2 files changed, 17 insertions(+) diff --git a/user_guide_src/source/changelogs/v4.5.0.rst b/user_guide_src/source/changelogs/v4.5.0.rst index 89910fa84f3d..ad96b7574b92 100644 --- a/user_guide_src/source/changelogs/v4.5.0.rst +++ b/user_guide_src/source/changelogs/v4.5.0.rst @@ -35,6 +35,7 @@ Others have been fixed to ``void`` to follow the PSR-3 interface. - **Autoloader:** The prefix ``\`` in the fully qualified classname returned by ``FileLocator::findQualifiedNameFromPath()`` has been removed. +- **BaseModel:** The ``getIdValue()`` method has been changed to ``abstract``. Interface Changes ================= @@ -85,6 +86,14 @@ Others - **Config:** The deprecated ``CodeIgniter\Config\Config`` class has been removed. +Model +----- + +- ``BaseModel::idValue()`` +- ``BaseModel::fillPlaceholders()`` +- ``Model::idValue()`` +- ``Model::classToArray()`` + Enhancements ************ diff --git a/user_guide_src/source/installation/upgrade_450.rst b/user_guide_src/source/installation/upgrade_450.rst index 0a868831503c..878ecbd1ed21 100644 --- a/user_guide_src/source/installation/upgrade_450.rst +++ b/user_guide_src/source/installation/upgrade_450.rst @@ -80,6 +80,14 @@ Qualified Classnames with a leading ``\``. Now the leading ``\`` has been remove If you have code that expects a leading ``\``, fix it. +BaseModel::getIdValue() +======================= + +The ``BaseModel::getIdValue()`` has been changed to ``abstract``, and the implementation +has been removed. + +If you extneds ``BaseModel``, implement the ``getIdValue()`` method in the child class. + Removed Deprecated Items ========================