Skip to content

Commit b51f6c9

Browse files
committed
docs: Update changelog, userguide
1 parent 820bcf4 commit b51f6c9

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

Diff for: user_guide_src/source/changelogs/v4.6.0.rst

+3-2
Original file line numberDiff line numberDiff line change
@@ -199,8 +199,9 @@ Removed Deprecated Items
199199
``CodeIgniter\Test\TestLogger::cleanup()`` have been removed. Use the
200200
``clean_path()`` function instead.
201201
- **Router:** The deprecated ``CodeIgniter\Router\Exceptions\RedirectException`` has been removed. Use ``CodeIgniter\HTTP\Exceptions\RedirectException`` instead.
202-
- **Security:** ``Config\Security::$samesite`` has been removed. Use ``Config\Cookie::$samesite`` instead.
203-
- **Cookie:** Methods ``dispatch()``, ``setRawCookie()``, ``setCookie()`` in ``CodeIgniter\Cookie\CookieStore`` has been removed. They are now part of ``CodeIgniter\HTTP\ResponseTrait``.
202+
- **Security:** The deprecated property ``Config\Security::$samesite`` has been removed. Use ``Config\Cookie::$samesite`` instead.
203+
- **Cookie:** The deprecated methods: ``dispatch()``, ``setRawCookie()``, ``setCookie()`` in ``CodeIgniter\Cookie\CookieStore`` has been removed. They are now part of ``CodeIgniter\HTTP\ResponseTrait``.
204+
- **Cookie:** The deprecated ``CodeIgniter\Cookie\Cookie::withNeverExpiring()`` has been removed.
204205

205206
************
206207
Enhancements

Diff for: user_guide_src/source/libraries/cookies.rst

+3-5
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ the instance with the modified instance.
228228
Dispatching Cookies in Store
229229
============================
230230

231-
.. important:: This method is deprecated since 4.1.6 and removed in 4.6.0.
231+
.. important:: This method was deprecated as of version 4.1.6 and was removed in 4.6.0.
232232

233233
More often than not, you do not need to concern yourself in manually sending cookies. CodeIgniter will do this
234234
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
367367

368368
.. php:method:: withNeverExpiring()
369369
370-
.. deprecated:: 4.2.6
371-
372-
.. important:: This method is deprecated. It will be removed in future releases.
370+
.. important:: This method was deprecated as of version 4.2.6 and was removed in 4.6.0.
373371

374372
:param string $name:
375373
:rtype: ``Cookie``
@@ -482,7 +480,7 @@ Class Reference
482480

483481
.. php:method:: dispatch(): void
484482
485-
.. important:: This method is deprecated since 4.1.6 and removed in 4.6.0.
483+
.. important:: This method was deprecated as of version 4.1.6 and was removed in 4.6.0.
486484

487485
:rtype: void
488486

0 commit comments

Comments
 (0)