diff --git a/user_guide_src/source/installation/upgrade_420.rst b/user_guide_src/source/installation/upgrade_420.rst index a306b4978347..cfbcbdbf1aeb 100644 --- a/user_guide_src/source/installation/upgrade_420.rst +++ b/user_guide_src/source/installation/upgrade_420.rst @@ -1,5 +1,5 @@ ############################# -Upgrading from 4.1.3 to 4.2.0 +Upgrading from 4.1.4 to 4.2.0 ############################# **Changes for set() method in BaseBuilder and Model class** @@ -10,3 +10,18 @@ and modified the ``set()`` method, then you need to change its definition from ``public function set($key, ?string $value = '', ?bool $escape = null)`` to ``public function set($key, $value = '', ?bool $escape = null)``. +**Session DatabaseHandler's database table change** + +The types of the following columns in the session table have been changed for optimization. + +- MySQL + - ``timestamp`` +- PostgreSQL + - ``ip_address`` + - ``timestamp`` + - ``data`` + +Update the definition of the session table. See the :doc:`/libraries/sessions` for the new definition. + +The change was introduced in v4.1.2. But due to `a bug `_, +the DatabaseHandler Driver did not work properly. diff --git a/user_guide_src/source/installation/upgrading.rst b/user_guide_src/source/installation/upgrading.rst index 64696e691dc7..b6ef428e8b47 100644 --- a/user_guide_src/source/installation/upgrading.rst +++ b/user_guide_src/source/installation/upgrading.rst @@ -8,6 +8,7 @@ upgrading from. .. toctree:: :titlesonly: + Upgrading from 4.1.4 to 4.2.0 Upgrading from 4.1.3 to 4.1.4 Upgrading from 4.1.2 to 4.1.3 Upgrading from 4.1.1 to 4.1.2