Skip to content

Commit 190f720

Browse files
authored
Prep for 4.6.0 release (#9419)
1 parent 3be476e commit 190f720

File tree

6 files changed

+82
-37
lines changed

6 files changed

+82
-37
lines changed

CHANGELOG.md

+63
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,68 @@
11
# Changelog
22

3+
## [v4.6.0](https://github.com/codeigniter4/CodeIgniter4/tree/v4.6.0) (2025-01-19)
4+
[Full Changelog](https://github.com/codeigniter4/CodeIgniter4/compare/v4.5.8...v4.6.0)
5+
6+
### Breaking Changes
7+
8+
* refactor: remove deprecated failValidationError() in API\ResponseTrait by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8793
9+
* refactor: remove depreacted ResponseInterface::getReason() by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8841
10+
* refactor: remove deprecated Logger::cleanFilenames() and TestLogger::cleanup() by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8843
11+
* fix: Exception rework by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8728
12+
* fix: DefinedRouteCollector to use RouteCollectionInterface by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8911
13+
* fix: View::renderSection() return type by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8965
14+
* feat: [Filters] enables a filter to run more than once with different arguments by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8977
15+
* fix: add check for duplicate Registrar Auto-Discovery runs by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/9073
16+
* fix: Time loses microseconds by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/9081
17+
* feat: fix spark db:table causes errors with table name including special chars by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8748
18+
* [4.6] fix: Time::createFromTimestamp() change for PHP 8.4 by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/9105
19+
* fix: Time::setTimestamp()'s different behavior than DateTime by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/9106
20+
* [4.6] fix: inconsistency in detailed error reporting by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/9144
21+
* [4.6] feat: force PHP default 32 chars length at 4 bits to Session ID by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/9139
22+
* fix: prioritize headers set by the `Response` class by @michalsn in https://github.com/codeigniter4/CodeIgniter4/pull/9235
23+
24+
### Fixed Bugs
25+
26+
* [4.6] fix: add validation message for min_dims by @christianberkman in https://github.com/codeigniter4/CodeIgniter4/pull/8988
27+
* fix: [Filters] normalize `$filters` arguments by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8994
28+
### Enhancements
29+
* feat: [FileCollection] add function to reatain multiple patterns by @christianberkman in https://github.com/codeigniter4/CodeIgniter4/pull/8960
30+
* feat: [Validation] add `min_dims` rule in FileRules by @christianberkman in https://github.com/codeigniter4/CodeIgniter4/pull/8966
31+
* feat: add `foundRows` option for MySQLi config by @ducng99 in https://github.com/codeigniter4/CodeIgniter4/pull/8979
32+
* feat: `spark filter:check` shows filter classnames by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8985
33+
* feat: add BaseConnection::resetTransStatus() by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8767
34+
* feat: add Services::resetServicesCache() to reset services cache by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/9012
35+
* feat: add "400 Bad Request" page for end users by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/9044
36+
* feat: add directives to `phpini:check` command by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/9117
37+
* feat: multiple hostname routing by @ddevsr in https://github.com/codeigniter4/CodeIgniter4/pull/9150
38+
* [4.6] feat: workaround for implicit nullable deprecations in PHP 8.4 by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/9140
39+
* feat: support CURL HTTP3 by @ddevsr in https://github.com/codeigniter4/CodeIgniter4/pull/9145
40+
* feat: design info environment top in `error_exception` by @ddevsr in https://github.com/codeigniter4/CodeIgniter4/pull/9241
41+
* feat: [Validation] add support for `$dbGroup` as parameter in `is_unique` and `is_not_unique` by @maniaba in https://github.com/codeigniter4/CodeIgniter4/pull/9216
42+
* feat: added the `namespace` option to the `publish` command by @dimtrovich in https://github.com/codeigniter4/CodeIgniter4/pull/9278
43+
* chore: update `Kint` to v6.0 by @ddevsr in https://github.com/codeigniter4/CodeIgniter4/pull/9289
44+
* feat: CURL option `force_ip_resolve` by @ddevsr in https://github.com/codeigniter4/CodeIgniter4/pull/9194
45+
* feat: add SQLite3 config synchronous by @michalsn in https://github.com/codeigniter4/CodeIgniter4/pull/9202
46+
* feat: Differentiate between kilobyte/kibibyte and megabyte/mebibyte by @ThomasMeschke in https://github.com/codeigniter4/CodeIgniter4/pull/9277
47+
* feat: Strict locale negotiation by @neznaika0 in https://github.com/codeigniter4/CodeIgniter4/pull/9360
48+
* fix: Add support for multibyte strings by @neznaika0 in https://github.com/codeigniter4/CodeIgniter4/pull/9372
49+
* feat: add page start end total to `PagerRenderer` by @murilohpucci in https://github.com/codeigniter4/CodeIgniter4/pull/9371
50+
* feat: New command `lang:sync` by @neznaika0 in https://github.com/codeigniter4/CodeIgniter4/pull/9023
51+
* feat: additional `opcache` setting in check php.ini by @ddevsr in https://github.com/codeigniter4/CodeIgniter4/pull/9032
52+
53+
### Refactoring
54+
55+
* [4.6] refactor: Validation rules and tests by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/8975
56+
* [4.6] refactor: add `: void` by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/9013
57+
* refactor: remove dependency on BaseConnection in TableName by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/9104
58+
* refactor: add return type to closuer in FilterCheck by @neznaika0 in https://github.com/codeigniter4/CodeIgniter4/pull/9190
59+
* refactor: Remove deprecated `RedirectException` by @neznaika0 in https://github.com/codeigniter4/CodeIgniter4/pull/9399
60+
* refactor: Remove deprecated `EVENT_PRIORITY_*` by @neznaika0 in https://github.com/codeigniter4/CodeIgniter4/pull/9401
61+
* refactor: Remove deprecated `View::$currentSection` by @neznaika0 in https://github.com/codeigniter4/CodeIgniter4/pull/9403
62+
* refactor: Remove deprecated `Cache::$storePath` by @neznaika0 in https://github.com/codeigniter4/CodeIgniter4/pull/9404
63+
* refactor: Remove deprecated `Config\Format::getFormatter()` by @neznaika0 in https://github.com/codeigniter4/CodeIgniter4/pull/9405
64+
* refactor: Remove deprecation related to cookies by @neznaika0 in https://github.com/codeigniter4/CodeIgniter4/pull/9406
65+
366
## [v4.5.8](https://github.com/codeigniter4/CodeIgniter4/tree/v4.5.8) (2025-01-19)
467
[Full Changelog](https://github.com/codeigniter4/CodeIgniter4/compare/v4.5.7...v4.5.8)
568

phpdoc.dist.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
xmlns="https://www.phpdoc.org"
66
xsi:noNamespaceSchemaLocation="https://docs.phpdoc.org/latest/phpdoc.xsd"
77
>
8-
<title>CodeIgniter v4.5 API</title>
8+
<title>CodeIgniter v4.6 API</title>
99
<paths>
1010
<output>api/build/</output>
1111
<cache>api/cache/</cache>
1212
</paths>
13-
<version number="4.5.8">
13+
<version number="4.6.0">
1414
<api format="php">
1515
<source dsn=".">
1616
<path>system</path>

system/CodeIgniter.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class CodeIgniter
5555
/**
5656
* The current version of CodeIgniter Framework
5757
*/
58-
public const CI_VERSION = '4.5.8';
58+
public const CI_VERSION = '4.6.0';
5959

6060
/**
6161
* App startup time.

user_guide_src/source/changelogs/v4.6.0.rst

+1-24
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,14 @@
22
Version 4.6.0
33
#############
44

5-
Release Date: Unreleased
5+
Release Date: January 19, 2025
66

77
**4.6.0 release of CodeIgniter4**
88

99
.. contents::
1010
:local:
1111
:depth: 3
1212

13-
**********
14-
Highlights
15-
**********
16-
17-
- TBD
18-
1913
********
2014
BREAKING
2115
********
@@ -33,7 +27,6 @@ The following breaking changes have been made accordingly:
3327

3428
- ``Validation::setRule()`` now throws ``CodeIgniter\Exceptions\InvalidArgumentException``
3529
instead of ``TypeError``.
36-
3730
- ``CriticalError`` now extends ``CodeIgniter\Exceptions\RuntimeException``
3831
instead of ``Error``.
3932
- ``DatabaseException`` now extends ``CodeIgniter\Exceptions\RuntimeException``
@@ -263,18 +256,9 @@ Pagination
263256
- Added a new feature to get the total and the range number of items of the current page.
264257
See :ref:`Displaying the Number of Items on the Page <displaying-the-number-of-items-on-the-page>` for more details.
265258

266-
Testing
267-
=======
268-
269259
Database
270260
========
271261

272-
Query Builder
273-
-------------
274-
275-
Forge
276-
-----
277-
278262
Others
279263
------
280264

@@ -284,9 +268,6 @@ Others
284268
- SQLite3 has a new Config item ``synchronous`` to adjust how strict SQLite is at flushing
285269
to disk during transactions. Modifying this can be useful if we use journal mode set to ``WAL``.
286270

287-
Model
288-
=====
289-
290271
Libraries
291272
=========
292273

@@ -299,9 +280,6 @@ Libraries
299280
- **Validation:** Rules: ``is_unique`` and ``is_not_unique`` now accept the optional
300281
``dbGroup`` as part of the first parameter. See :ref:`Validation <rules-for-general-use>`.
301282

302-
Helpers and Functions
303-
=====================
304-
305283
Others
306284
======
307285

@@ -342,7 +320,6 @@ The following changes have been made accordingly:
342320
``CodeIgniter\Exceptions\BadMethodCallException``.
343321
- Classes that threw ``BadFunctionCallException`` have been changed to throw
344322
``CodeIgniter\Exceptions\BadFunctionCallException``.
345-
346323
- ``RedirectException`` now extends ``CodeIgniter\Exceptions\RuntimeException``
347324
instead of ``Exception``.
348325
- ``PageNotFoundException`` now extends ``CodeIgniter\Exceptions\RuntimeException``

user_guide_src/source/conf.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@
2323
copyright = '2019-' + str(year_now) + ' CodeIgniter Foundation'
2424

2525
# The short X.Y version.
26-
version = '4.5'
26+
version = '4.6'
2727

2828
# The full version, including alpha/beta/rc tags.
29-
release = '4.5.8'
29+
release = '4.6.0'
3030

3131
# -- General configuration ---------------------------------------------------
3232

user_guide_src/source/installation/upgrade_460.rst

+13-8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#############################
2-
Upgrading from 4.5.x to 4.6.0
2+
Upgrading from 4.5.8 to 4.6.0
33
#############################
44

55
Please refer to the upgrade instructions corresponding to your installation method.
@@ -12,10 +12,6 @@ Please refer to the upgrade instructions corresponding to your installation meth
1212
:local:
1313
:depth: 2
1414

15-
**********************
16-
Mandatory File Changes
17-
**********************
18-
1915
****************
2016
Breaking Changes
2117
****************
@@ -221,7 +217,16 @@ All Changes
221217
This is a list of all files in the **project space** that received changes;
222218
many will be simple comments or formatting that have no effect on the runtime:
223219

224-
- app/Config/Feature.php
225-
- app/Config/Constants.php
226220
- app/Config/Cache.php
227-
- app/Config/Format.php
221+
- app/Config/Constants.php
222+
- app/Config/Database.php
223+
- app/Config/Feature.php
224+
- app/Config/Format.php
225+
- app/Config/Kint.php
226+
- app/Config/Routing.php
227+
- app/Config/Security.php
228+
- app/Views/errors/html/debug.css
229+
- app/Views/errors/html/error_400.php
230+
- preload.php
231+
- public/index.php
232+
- spark

0 commit comments

Comments
 (0)