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.3.0.rst
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -109,15 +109,15 @@ ValidationInterface
109
109
Validation
110
110
^^^^^^^^^^
111
111
112
-
The return value of ``Validation::loadRuleGroup()`` has been changed ``null`` to ``[]`` when the ``$group`` is empty.
112
+
The return value of ``Validation::loadRuleGroup()`` has been changed from ``null`` to ``[]`` when the ``$group`` is empty.
113
113
114
114
Database
115
115
--------
116
116
117
117
- The return types of ``CodeIgniter\Database\BasePreparedQuery::close()`` and ``CodeIgniter\Database\PreparedQueryInterface`` have been changed to ``bool`` (previously untyped).
118
118
- The return type of ``CodeIgniter\Database\Database::loadForge()`` has been changed to ``Forge``.
119
119
- The return type of ``CodeIgniter\Database\Database::loadUtils()`` has been changed to ``BaseUtils``.
120
-
- Parameter ``$column`` has changed in ``Table::dropForeignKey()`` to ``$foreignName``.
120
+
- Parameter name ``$column`` has changed in ``Table::dropForeignKey()`` to ``$foreignName``.
121
121
- The second parameter ``$index`` of ``BaseBuilder::updateBatch()`` has changed to ``$constraints``. It now accepts types array, string, or ``RawSql``. Extending classes should likewise change types.
122
122
- The ``$set`` parameter of ``BaseBuilder::insertBatch()`` and ``BaseBuilder::updateBatch()`` now accepts an object of a single row of data.
123
123
- ``BaseBuilder::_updateBatch()``
@@ -185,7 +185,7 @@ Forge
185
185
- Added the ability to manually set index names. These methods include: ``Forge::addKey()``, ``Forge::addPrimaryKey()``, and ``Forge::addUniqueKey()``
186
186
- The new method ``Forge::dropPrimaryKey()`` allows dropping the primary key on a table. See :ref:`dropping-a-primary-key`.
187
187
- Fixed ``Forge::dropKey()`` to allow dropping unique indexes. This required the ``DROP CONSTRAINT`` SQL command.
188
-
- :php:meth:`CodeIgniter\\Database\\Forge::addForeignKey()` now includes a name parameter to manual set foreign key names. Not supported in SQLite3.
188
+
- :php:meth:`CodeIgniter\\Database\\Forge::addForeignKey()` now includes a name parameter to set foreign key names manually. This is not supported in SQLite3.
189
189
- SQLSRV now automatically drops ``DEFAULT`` constraint when using :ref:`Forge::dropColumn() <db-forge-dropColumn>`.
190
190
191
191
Others
@@ -218,7 +218,7 @@ Helpers and Functions
218
218
- Added new Form helper function :php:func:`validation_errors()`, :php:func:`validation_list_errors()` and :php:func:`validation_show_error()` to display Validation Errors.
219
219
- You can set the locale to :php:func:`route_to()` if you pass a locale value as the last parameter.
220
220
- Added :php:func:`request()` and :php:func:`response()` functions.
221
-
- Add:php:func:`decamelize()` function to convert camelCase to snake_case.
221
+
- Added:php:func:`decamelize()` function to convert camelCase to snake_case.
222
222
223
223
Error Handling
224
224
==============
@@ -232,9 +232,9 @@ Others
232
232
======
233
233
234
234
- Added ``$routes->useSupportedLocalesOnly(true)`` so that the Router returns 404 Not Found if the locale in the URL is not supported in ``Config\App::$supportedLocales``. See :ref:`Localization <localization-in-routes>`
235
-
- Added new ``$routes->view()`` method to return a the view directly. See :ref:`View Routes <view-routes>`.
236
-
- View Cells are now first-class citizens and can located in the **app/Cells** directory. See :ref:`View Cells <app-cells>`.
237
-
- Add ``Controlled Cells`` that provide more structure and flexibility to your View Cells. See :ref:`View Cells <controlled-cells>` for details.
235
+
- Added new ``$routes->view()`` method to return the view directly. See :ref:`View Routes <view-routes>`.
236
+
- View Cells are now first-class citizens and can be located in the **app/Cells** directory. See :ref:`View Cells <app-cells>`.
237
+
- Added ``Controlled Cells`` that provide more structure and flexibility to your View Cells. See :ref:`View Cells <controlled-cells>` for details.
238
238
- Now you can specify Composer packages to auto-discover manually. See :ref:`Code Modules <modules-specify-composer-packages>`.
0 commit comments