Skip to content

Commit

Permalink
docs: Update changelog, userguide
Browse files Browse the repository at this point in the history
  • Loading branch information
neznaika0 committed Jan 12, 2025
1 parent 820bcf4 commit b51f6c9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
5 changes: 3 additions & 2 deletions user_guide_src/source/changelogs/v4.6.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 3 additions & 5 deletions user_guide_src/source/libraries/cookies.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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``
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit b51f6c9

Please sign in to comment.