Skip to content

Commit 32f3f29

Browse files
authored
Merge pull request #7125 from kenjis/fix-docs-changelogs-v4.0.5
docs: fix changelogs v4.0.5
2 parents f758920 + 8d806a4 commit 32f3f29

1 file changed

Lines changed: 14 additions & 14 deletions

File tree

user_guide_src/source/changelogs/v4.0.5.rst

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,19 @@ Release Date: January 31, 2021
1212
Enhancements
1313
------------
1414

15-
- New URL helper function ``url_to()`` which creates absolute URLs based on controllers.
15+
- New URL helper function :php:func:`url_to()` which creates absolute URLs based on controllers.
1616
- New Model option: ``$useAutoIncrement`` which when set to ``false`` allows you to provide your own primary key for each record in the table. Handy when we want to implement 1:1 relation or use UUIDs for our model.
17-
- New URL helper function ``url_is()`` which allows you to check the current URL to see if matches the given string.
17+
- New URL helper function :php:func:`url_is()` which allows you to check the current URL to see if matches the given string.
1818
- Services now have their config parameters strictly typehinted. This will ensure no one will pass a different config instance. If you need to pass a new config with additional properties, you need to extend that particular config.
1919
- Support for setting SameSite attribute on Session and CSRF cookies has been added. For security and compatibility with latest browser versions, the default setting is ``Lax``.
20-
- Guessing file extensions from mime type in ``Config\Mimes::guessExtensionFromType`` now only reverse searches the ``$mimes`` array if no extension is proposed (i.e., usually not for uploaded files).
21-
- The getter functions for file extensions of uploaded files now have different fallback values (``$this->getClientExtension()`` for ``UploadedFile->getExtension()`` and ``''`` for ``UploadedFile->guessExtension()``). This is a security fix and makes the process less dependent on the client.
22-
- The Cache ``FileHandler`` now allows setting the file permissions mode via ``Config\Cache``
20+
- Guessing file extensions from mime type in ``Config\Mimes::guessExtensionFromType()`` now only reverse searches the ``$mimes`` array if no extension is proposed (i.e., usually not for uploaded files).
21+
- The getter functions for file extensions of uploaded files now have different fallback values (``UploadedFile::getClientExtension()`` for ``UploadedFile::getExtension()`` and ``''`` for ``UploadedFile::guessExtension()``). This is a security fix and makes the process less dependent on the client.
22+
- The Cache ``FileHandler`` now allows setting the file permissions mode via ``Config\Cache``.
2323

2424
Changes
2525
-------
2626

27-
- System messages defined in ``system/Language/en/`` are now strictly for internal framework use and are not covered by backwards compatibility (BC) promise. Users may use these messages in their applications but at their own risks.
27+
- System messages defined in **system/Language/en/** are now strictly for internal framework use and are not covered by backwards compatibility (BC) promise. Users may use these messages in their applications but at their own risks.
2828

2929
Bugs Fixed
3030
----------
@@ -36,12 +36,12 @@ Bugs Fixed
3636
Deprecations
3737
------------
3838

39-
- Deprecated ``BaseCommand::getPad`` in favor of ``BaseCommand::setPad``.
40-
- Deprecated ``CodeIgniter\Controller::loadHelpers`` in favor of ``helper`` function.
41-
- Deprecated ``Config\Format::getFormatter`` in favor of ``CodeIgniter\Format\Format::getFormatter``
42-
- Deprecated ``CodeIgniter\Security\Security::CSRFVerify`` in favor of ``CodeIgniter\Security\Security::verify``
43-
- Deprecated ``CodeIgniter\Security\Security::getCSRFHash`` in favor of ``CodeIgniter\Security\Security::getHash``
44-
- Deprecated ``CodeIgniter\Security\Security::getCSRTokenName`` in favor of ``CodeIgniter\Security\Security::getCSRTokenName``
39+
- Deprecated ``BaseCommand::getPad()`` in favor of ``BaseCommand::setPad()``.
40+
- Deprecated ``CodeIgniter\Controller::loadHelpers()`` in favor of ``helper()`` function.
41+
- Deprecated ``Config\Format::getFormatter()`` in favor of ``CodeIgniter\Format\Format::getFormatter()``
42+
- Deprecated ``CodeIgniter\Security\Security::CSRFVerify()`` in favor of ``CodeIgniter\Security\Security::verify()``
43+
- Deprecated ``CodeIgniter\Security\Security::getCSRFHash()`` in favor of ``CodeIgniter\Security\Security::getHash()``
44+
- Deprecated ``CodeIgniter\Security\Security::getCSRTokenName()`` in favor of ``CodeIgniter\Security\Security::getTokenName()``
4545
- Deprecated ``Config\App::$CSRFTokenName`` in favor of ``Config\Security::$tokenName``
4646
- Deprecated ``Config\App::$CSRFHeaderName`` in favor of ``Config\Security::$headerName``
4747
- Deprecated ``Config\App::$CSRFCookieName`` in favor of ``Config\Security::$cookieName``
@@ -52,6 +52,6 @@ Deprecations
5252
- Deprecated ``migrate:create`` command in favor of ``make:migration`` command.
5353
- Deprecated ``CodeIgniter\Database\ModelFactory`` in favor of ``CodeIgniter\Config\Factories::models()``
5454
- Deprecated ``CodeIgniter\Config\Config`` in favor of ``CodeIgniter\Config\Factories::config()``
55-
- Deprecated ``CodeIgniter\HTTP\Message::getHeader`` in favor of ``header()`` to prepare for PSR-7
56-
- Deprecated ``CodeIgniter\HTTP\Message::getHeaders`` in favor of ``headers()`` to prepare for PSR-7
55+
- Deprecated ``CodeIgniter\HTTP\Message::getHeader()`` in favor of ``header()`` to prepare for PSR-7
56+
- Deprecated ``CodeIgniter\HTTP\Message::getHeaders()`` in favor of ``headers()`` to prepare for PSR-7
5757
- Deprecated ``Config\Cache::$storePath`` in favor of ``Config\Cache::$file['storePath']``

0 commit comments

Comments
 (0)