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
+38-16Lines changed: 38 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -49,34 +49,56 @@ Others
49
49
Enhancements
50
50
************
51
51
52
-
CLI
53
-
===
52
+
Commands
53
+
========
54
+
55
+
- The call handler for Spark commands from the ``CodeIgniter\CodeIgniter`` class has been extracted. This will reduce the cost of console calls.
56
+
- Added ``spark filter:check`` command to check the filters for a route. See :ref:`Controller Filters <spark-filter-check>` for the details.
57
+
- Now ``spark routes`` command shows route names. See :ref:`URI Routing <routing-spark-routes>`.
58
+
- Help information for a spark command can now be accessed using the ``--help`` option (e.g. ``php spark serve --help``)
54
59
- Added methods ``CLI::promptByMultipleKeys()`` to support multiple value in input, unlike ``promptByKey()``. See :ref:`prompt-by-multiple-keys` for details.
55
60
56
-
Others
57
-
======
61
+
Testing
62
+
=======
63
+
58
64
- Added the ``StreamFilterTrait`` to make it easier to work with capturing data from STDOUT and STDERR streams. See :ref:`testing-cli-output`.
59
65
- The CITestStreamFilter filter class now implements methods for adding a filter to streams. See :ref:`testing-cli-output`.
60
66
- Added the ``PhpStreamWrapper`` to make it easier to work with setting data to ``php://stdin``. See :ref:`testing-cli-input`.
67
+
- Added method :ref:`benchmark-timer-record` to measure performance in a callable. Also enhanced common function ``timer()`` to accept optional callable.
68
+
69
+
Database
70
+
========
71
+
72
+
- SQLite :ref:`BaseConnection::getIndexData() <db-metadata-getindexdata>` now can return pseudo index named ``PRIMARY`` for `AUTOINCREMENT` column, and each returned index data has ``type`` property.
73
+
- SQLSRV now automatically drops ``DEFAULT`` constraint when using :ref:`Forge::dropColumn() <db-forge-dropColumn>`.
74
+
- ``BaseConnection::escape()`` now excludes the ``RawSql`` data type. This allows passing SQL strings into data.
75
+
76
+
Model
77
+
=====
78
+
61
79
- Added before and after events to ``BaseModel::insertBatch()`` and ``BaseModel::updateBatch()`` methods. See :ref:`model-events-callbacks`.
62
80
- Added ``Model::allowEmptyInserts()`` method to insert empty data. See :ref:`Using CodeIgniter's Model <model-allow-empty-inserts>`
63
-
- 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>`
81
+
- Added new :ref:`entities-property-casting` class ``IntBoolCast`` for Entity.
82
+
83
+
Libraries
84
+
=========
85
+
64
86
- Added methods ``replace()``, ``addLineAfter()`` and ``addLineBefore()`` to modify files in Publisher. See :ref:`Publisher <publisher-modifying-files>` for details.
65
-
- The call handler for Spark commands from the ``CodeIgniter\CodeIgniter`` class has been extracted. This will reduce the cost of console calls.
66
-
- SQLite ``BaseConnection::getIndexData()`` now can return pseudo index named ``PRIMARY`` for `AUTOINCREMENT` column, and each returned index data has ``type`` property.
67
-
- Added ``spark filter:check`` command to check the filters for a route. See :ref:`Controller Filters <spark-filter-check>` for the details.
68
87
- Now **Encryption** can decrypt data encrypted with CI3's Encryption. See :ref:`encryption-compatible-with-ci3`.
69
-
- Added method ``Timer::record()`` to measure performance in a callable. Also enhanced common function ``timer()`` to accept optional callable.
70
-
- Now ``spark routes`` command shows route names. See :ref:`URI Routing <routing-spark-routes>`.
71
-
- Added new :ref:`entities-property-casting` class ``IntBoolCast`` for Entity.
72
-
- Help information for a spark command can now be accessed using the ``--help`` option (e.g. ``php spark serve --help``)
73
-
- Added new Form helper function :php:func:`validation_errors()`, :php:func:`validation_list_errors()` and :php:func:`validation_show_error()` to display Validation Errors.
74
-
- Now you can autoload helpers by **app/Config/Autoload.php**.
75
-
- ``BaseConnection::escape()`` now excludes the ``RawSql`` data type. This allows passing SQL strings into data.
76
-
- SQLSRV now automatically drops ``DEFAULT`` constraint when using ``Forge::dropColumn()``.
77
88
- Added :ref:`Time::toDatabase() <time-todatabase>` to get a datetime string that can be used with databases regardless of locale.
89
+
90
+
Helpers and Functions
91
+
=====================
92
+
93
+
- Now you can autoload helpers by **app/Config/Autoload.php**.
94
+
- Added new Form helper function :php:func:`validation_errors()`, :php:func:`validation_list_errors()` and :php:func:`validation_show_error()` to display Validation Errors.
78
95
- You can set the locale to :php:func:`route_to()` if you pass a locale value as the last parameter.
79
96
97
+
Others
98
+
======
99
+
100
+
- 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>`
0 commit comments