You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: user_guide_src/source/changelogs/v4.0.5.rst
+14-14Lines changed: 14 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,19 +12,19 @@ Release Date: January 31, 2021
12
12
Enhancements
13
13
------------
14
14
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.
16
16
- 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.
18
18
- 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.
19
19
- 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``.
23
23
24
24
Changes
25
25
-------
26
26
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.
28
28
29
29
Bugs Fixed
30
30
----------
@@ -36,12 +36,12 @@ Bugs Fixed
36
36
Deprecations
37
37
------------
38
38
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()``
45
45
- Deprecated ``Config\App::$CSRFTokenName`` in favor of ``Config\Security::$tokenName``
46
46
- Deprecated ``Config\App::$CSRFHeaderName`` in favor of ``Config\Security::$headerName``
47
47
- Deprecated ``Config\App::$CSRFCookieName`` in favor of ``Config\Security::$cookieName``
@@ -52,6 +52,6 @@ Deprecations
52
52
- Deprecated ``migrate:create`` command in favor of ``make:migration`` command.
53
53
- Deprecated ``CodeIgniter\Database\ModelFactory`` in favor of ``CodeIgniter\Config\Factories::models()``
54
54
- 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
57
57
- Deprecated ``Config\Cache::$storePath`` in favor of ``Config\Cache::$file['storePath']``
0 commit comments