diff --git a/user_guide_src/source/changelogs/v4.6.0.rst b/user_guide_src/source/changelogs/v4.6.0.rst index f965e9fab737..c9a72bf5dace 100644 --- a/user_guide_src/source/changelogs/v4.6.0.rst +++ b/user_guide_src/source/changelogs/v4.6.0.rst @@ -199,8 +199,9 @@ Removed Deprecated Items ``CodeIgniter\Test\TestLogger::cleanup()`` have been removed. Use the ``clean_path()`` function instead. - **Router:** The deprecated ``CodeIgniter\Router\Exceptions\RedirectException`` has been removed. Use ``CodeIgniter\HTTP\Exceptions\RedirectException`` instead. -- **Security:** ``Config\Security::$samesite`` has been removed. Use ``Config\Cookie::$samesite`` instead. -- **Cookie:** Methods ``dispatch()``, ``setRawCookie()``, ``setCookie()`` in ``CodeIgniter\Cookie\CookieStore`` has been removed. They are now part of ``CodeIgniter\HTTP\ResponseTrait``. +- **Security:** The deprecated property ``Config\Security::$samesite`` has been removed. Use ``Config\Cookie::$samesite`` instead. +- **Cookie:** The deprecated methods: ``dispatch()``, ``setRawCookie()``, ``setCookie()`` in ``CodeIgniter\Cookie\CookieStore`` has been removed. They are now part of ``CodeIgniter\HTTP\ResponseTrait``. +- **Cookie:** The deprecated ``CodeIgniter\Cookie\Cookie::withNeverExpiring()`` has been removed. ************ Enhancements diff --git a/user_guide_src/source/libraries/cookies.rst b/user_guide_src/source/libraries/cookies.rst index ae09cb7c685d..00239b0911f7 100644 --- a/user_guide_src/source/libraries/cookies.rst +++ b/user_guide_src/source/libraries/cookies.rst @@ -228,7 +228,7 @@ the instance with the modified instance. Dispatching Cookies in Store ============================ -.. important:: This method is deprecated since 4.1.6 and removed in 4.6.0. +.. important:: This method was deprecated as of version 4.1.6 and was removed in 4.6.0. More often than not, you do not need to concern yourself in manually sending cookies. CodeIgniter will do this for you. However, if you really need to manually send cookies, you can use the ``dispatch`` method. Just like @@ -367,9 +367,7 @@ Class Reference .. php:method:: withNeverExpiring() - .. deprecated:: 4.2.6 - - .. important:: This method is deprecated. It will be removed in future releases. + .. important:: This method was deprecated as of version 4.2.6 and was removed in 4.6.0. :param string $name: :rtype: ``Cookie`` @@ -482,7 +480,7 @@ Class Reference .. php:method:: dispatch(): void - .. important:: This method is deprecated since 4.1.6 and removed in 4.6.0. + .. important:: This method was deprecated as of version 4.1.6 and was removed in 4.6.0. :rtype: void