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.2.0.rst
+16-9Lines changed: 16 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,9 @@ Release Date: Not Released
12
12
BREAKING
13
13
********
14
14
15
-
- The method signature of ``Validation::setRule()`` has been changed. The ``string`` typehint on the ``$rules`` parameter was removed. Extending classes should likewise remove the parameter so as not to break LSP.
15
+
- The method signature of ``Validation::setRule()`` has been changed.
16
+
- The method signature of ``CodeIgniter\Database\BaseBuilder::join()`` and ``CodeIgniter\Database\*\Builder::join()`` have been changed.
17
+
- The method signature of ``CodeIgniter\CLI\CommandRunner::_remap()`` has been changed to fix a bug.
16
18
- The ``CodeIgniter\CodeIgniter`` class has a new property ``$context`` and it must have the correct context at runtime. So the following files have been changed:
17
19
- ``public/index.php``
18
20
- ``spark``
@@ -59,6 +61,18 @@ Commands
59
61
- ``spark db:table my_table --metadata``
60
62
- The ``spark routes`` command now shows closure routes, auto routes, and filters. See :ref:`URI Routing <spark-routes>`.
61
63
64
+
Database
65
+
========
66
+
67
+
- Added Subqueries in the FROM section. See :ref:`query-builder-from-subquery`.
68
+
- Added Subqueries in the SELECT section. See :ref:`query-builder-select`.
69
+
- The BaseBuilder::buildSubquery() method can take an optional third argument ``string $alias``.
70
+
- Added new OCI8 driver for database.
71
+
- It can access Oracle Database and supports SQL and PL/SQL statements.
72
+
- QueryBuilder raw SQL string support
73
+
- Added the class ``CodeIgniter\Database\RawSql`` which expresses raw SQL strings.
- Added the functions ``csp_script_nonce()`` and ``csp_style_nonce()`` to get nonce attributes
69
83
- See :ref:`content-security-policy` for details.
70
84
- New :doc:`../outgoing/view_decorators` allow modifying the generated HTML prior to caching.
71
-
- Added Subqueries in the FROM section. See :ref:`query-builder-from-subquery`.
72
-
- Added Subqueries in the SELECT section. See :ref:`query-builder-select`.
73
-
- The BaseBuilder::buildSubquery() method can take an optional third argument ``string $alias``.
74
85
- Added Validation Strict Rules. See :ref:`validation-traditional-and-strict-rules`.
75
-
- Added new OCI8 driver for database.
76
-
- It can access Oracle Database and supports SQL and PL/SQL statements.
86
+
- The ``spark routes`` command now shows closure routes, auto routes, and filters. See :ref:`URI Routing <spark-routes>`.
77
87
- Exception information logged through ``log_message()`` has now improved. It now includes the file and line where the exception originated. It also does not truncate the message anymore.
78
88
- The log format has also changed. If users are depending on the log format in their apps, the new log format is "<1-based count> <cleaned filepath>(<line>): <class><function><args>"
79
89
- Added support for webp files to **app/Config/Mimes.php**.
80
90
- Added 4th parameter ``$includeDir`` to ``get_filenames()``. See :php:func:`get_filenames`.
81
91
- HTML helper ``script_tag()`` now uses ``null`` values to write boolean attributes in minimized form: ``<script src="..." defer />``. See the sample code for :php:func:`script_tag`.
82
92
- RouteCollection::addRedirect() can now use placeholders.
83
-
- QueryBuilder raw SQL string support
84
-
- Added the class ``CodeIgniter\Database\RawSql`` which expresses raw SQL strings.
Copy file name to clipboardExpand all lines: user_guide_src/source/installation/upgrade_420.rst
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,8 @@ Breaking Changes
37
37
Breaking Enhancements
38
38
*********************
39
39
40
-
none.
40
+
- The method signature of ``Validation::setRule()`` has been changed. The ``string`` typehint on the ``$rules`` parameter was removed. Extending classes should likewise remove the parameter so as not to break LSP.
41
+
- The method signature of ``CodeIgniter\Database\BaseBuilder::join()`` and ``CodeIgniter\Database\*\Builder::join()`` have been changed. The ``string`` typehint on the ``$cond`` parameter was removed. Extending classes should likewise remove the parameter so as not to break LSP.
0 commit comments