@@ -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
5156Enhancements
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
142152Bugs Fixed
143153**********
0 commit comments