Skip to content

Commit 2db9995

Browse files
committed
docs: add changelog and upgrading guide
1 parent 60dd8a2 commit 2db9995

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

user_guide_src/source/changelogs/v4.4.0.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@ Method Signature Changes
4747
``RouteCollection::__construct()``.
4848
- **Validation:** The method signature of ``Validation::check()`` has been changed.
4949
The ``string`` typehint on the ``$rule`` parameter was removed.
50+
- **Session:** The second parameter of ``Session::__construct()`` has been
51+
changed from ``Config\App`` to ``Config\Session``.
52+
- **Session:** The first parameter of ``__construct()`` in ``BaseHandler``,
53+
``DatabaseHandler``, ``FileHandler``, ``MemcachedHandler``, and ``RedisHandler``
54+
has been changed from ``Config\App`` to ``Config\Session``.
5055

5156
Enhancements
5257
************
@@ -120,6 +125,7 @@ Changes
120125
*******
121126

122127
- **Config:** The deprecated Cookie items in **app/Config/App.php** has been removed.
128+
- **Config:** The deprecated Session items in **app/Config/App.php** has been removed.
123129
- **Config:** Routing settings have been moved to **app/Config/Routing.php** config file.
124130
See :ref:`Upgrading Guide <upgrade-440-config-routing>`.
125131
- **DownloadResponse:** When generating response headers, does not replace the ``Content-Disposition`` header if it was previously specified.
@@ -138,6 +144,10 @@ Deprecations
138144
are deprecated. Because these methods have been moved to ``BaseExceptionHandler`` or
139145
``ExceptionHandler``.
140146
- **Autoloader:** ``Autoloader::sanitizeFilename()`` is deprecated.
147+
- **Session:** The property ``$sessionDriverName``, ``$sessionCookieName``,
148+
``$sessionExpiration``, ``$sessionSavePath``, ``$sessionMatchIP``,
149+
``$sessionTimeToUpdate``, and ``$sessionRegenerateDestroy`` in ``Session`` are
150+
deprecated, and no longer used. Use ``$config`` instead.
141151

142152
Bugs Fixed
143153
**********

user_guide_src/source/installation/upgrade_440.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,16 @@ The Cookie config items in **app/Config/App.php** are no longer used.
100100
2. Remove the properties (from ``$cookiePrefix`` to ``$cookieSameSite``) in
101101
**app/Config/App.php**.
102102

103+
app/Config/Session.php
104+
----------------------
105+
106+
The Session config items in **app/Config/App.php** are no longer used.
107+
108+
1. Copy **app/Config/Session.php** from the new framework to your **app/Config**
109+
directory, and configure it.
110+
2. Remove the properties (from ``$sessionDriver`` to ``$sessionDBGroup``) in
111+
**app/Config/App.php**.
112+
103113
Breaking Enhancements
104114
*********************
105115

0 commit comments

Comments
 (0)