v4.4.3 (2023-10-26)
- Detailed Error Report is Displayed in Production Environment was fixed. See the Security advisory for more information.
- fix: FilterTestTrait::getFilterCaller() does not support Filter classes as array by @kenjis in codeigniter4#8058
- fix: add dbgroup to model template only when specified as an option by @sammyskills in codeigniter4#8077
- Update phpstan-codeigniter and fix errors on Modules by @paulbalandan in codeigniter4#8036
- fix: [Validation] exact_length does not pass int values by @kenjis in codeigniter4#8088
- fix: [Table] field named
data
will produce bugged output by @ping-yee in codeigniter4#8054 - docs: fix event points descriptions by @kenjis in codeigniter4#8076
- docs: fix helper loading by @kenjis in codeigniter4#8084
v4.4.2 (2023-10-19)
- Fix: [Session] the problem of secondary retrieving values in RedisHandler by @ping-yee in codeigniter4#7887
- fix:
spark migrate
-g
option by @kenjis in codeigniter4#7894 - fix: [DebugBar] dark mode
timeline-color-open
color text onDebug
by @ddevsr in codeigniter4#7907 - fix: base_url()/site_url() does not work on CLI by @kenjis in codeigniter4#7901
- Fix: Routing::loadRoutes() in windows do not validate correctly $routesFiles by @pjsde in codeigniter4#7930
- fix: Services::request() should call AppServices instead static by @pjsde in codeigniter4#7985
- fix: lang() may return false by @kenjis in codeigniter4#7966
- fix: CI returns "200 OK" when PageNotFound by @kenjis in codeigniter4#8011
- fix: spark may not show exceptions or show backtrace as json by @kenjis in codeigniter4#7962
- fix: CLI prompt validation message by @kenjis in codeigniter4#7977
- fix: CSP style nonce is added even if honeypot is not attached by @kenjis in codeigniter4#8025
- fix: named routes don't work with spark by @kenjis in codeigniter4#8028
- fix: add a primary key to an existing table by @michalsn in codeigniter4#8031
- fix: reverse route for
''
is notfalse
by @kenjis in codeigniter4#8024 - fix:
spark routes
may show incorrect route names by @kenjis in codeigniter4#8040 - fix: Factories caching bug by @kenjis in codeigniter4#8037
- fix: file sort order in Files DebugBar by @kenjis in codeigniter4#8048
- fix: check for CSRF token in the raw body by @michalsn in codeigniter4#7915
- fix: add types to View $filters and $plugins by @paulbalandan in codeigniter4#7885
- test: use PHP_VERSION_ID instead of PHP_VERSION by @kenjis in codeigniter4#7913
- [PHP 8.3] refactor: ReflectionProperty::setValue() signature deprecation by @kenjis in codeigniter4#7911
- refactor: remove unneeded arguments to session by @paulbalandan in codeigniter4#7919
- fix: types for common functions by @paulbalandan in codeigniter4#7917
- Refactor: Apply PHPStan rule "Short ternary operator is not allowed" to RouteCollection by @pjsde in codeigniter4#7947
- refactor: remove $_SESSION from methods and functions by @pjsde in codeigniter4#7982
- refactor: if condition in OCI8/Connection.php by @kenjis in codeigniter4#7994
- style: remove unnecessary () in Toolbar by @kenjis in codeigniter4#8013
- refactor: replace deprecated
Services::request(config, false)
by @kenjis in codeigniter4#7998 - refactor: delete duplicate code for Composer loading by @kenjis in codeigniter4#8004
- [Rector] Apply BooleanInIfConditionRuleFixerRector by @samsonasik in codeigniter4#7951
Full Changelog: https://github.com/codeigniter4/CodeIgniter4/compare/v4.4.1...v4.4.2
v4.4.1 (2023-09-05)
- docs: add missing Config updates for Hot Reloading by @kenjis in codeigniter4#7862
- fix: auto route legacy does not work by @kenjis in codeigniter4#7871
- fix: Factories may not return shared instance by @kenjis in codeigniter4#7868
- fix: replace
config(DocTypes::class)
withnew DocTypes()
by @kenjis in codeigniter4#7872 - fix: FeatureTest may cause risky tests by @kenjis in codeigniter4#7867
- fix: reverse routing causes ErrorException by @kenjis in codeigniter4#7880
- fix: Email library forces to switch to TLS when setting port 465 by @kenjis in codeigniter4#7883
- fix: [DebugBar] make CSS rotate class less broad by @sanchawebo in codeigniter4#7882
- fix: FeatureTest fails when forceGlobalSecureRequests is true by @kenjis in codeigniter4#7890
v4.4.0 (2023-08-25)
- fix: URI::setSegment() accepts the last +2 segment without Exception by @kenjis in codeigniter4#7251
- feat: custom exception handler by @kenjis in codeigniter4#7087
- Clean router config by @lonnieezell in codeigniter4#7380
- feat: add ValidationInterface::getValidated() by @kenjis in codeigniter4#7429
- [4.4] refactor: moving RedirectException. by @iRedds in codeigniter4#7545
- Remove Config\App Session items by @kenjis in codeigniter4#7255
- perf: RouteCollection $routes optimization by @kenjis in codeigniter4#7175
- Remove Config\App Security items by @kenjis in codeigniter4#7630
- refactor: extract ResponseCache class for Web Page Caching by @kenjis in codeigniter4#7644
- fix: change Services::session() config param type by @kenjis in codeigniter4#7671
- feat: add Factories::define() to explicitly override a class by @kenjis in codeigniter4#7733
- Return signatures of Autoloader's loaders should be void by @paulbalandan in codeigniter4#7747
- fix: remove instantiation of Response in
Services::exceptions()
by @kenjis in codeigniter4#7670 - refactor: move callExit() to index.php by @kenjis in codeigniter4#7800
- rework: URI creation and URL helper by @kenjis in codeigniter4#7282
- fix: incorrect segment number in URI::getSegment() exception message by @kenjis in codeigniter4#7267
- fix: can't change and override valid locales by @kenjis in codeigniter4#7309
- fix: Validation::check() does not accept array rules by @kenjis in codeigniter4#7424
- fix: directory separator from routing file. by @ping-yee in codeigniter4#7487
- [4.4] Fix output buffering by @iRedds in codeigniter4#7500
- fix: [Auto Routing Improved] one controller method has more than one URI when $translateURIDashes is true by @kenjis in codeigniter4#7422
- fix: [4.4] merge Exception::maskSensitiveData() fix into BaseExceptionHandler by @kenjis in codeigniter4#7736
- feat: Hot Reloading by @lonnieezell in codeigniter4#7489
- feat:
renderSection
option to retained data by @addngr in codeigniter4#7126 - feat: [Auto Routing Improved] fallback to default method by @kenjis in codeigniter4#7162
- feat: Filter Arguments with $filters in Config\Filters by @kenjis in codeigniter4#7159
- feat: New method DownloadResponse::inline() by @iRedds in codeigniter4#7207
- feat: add
--host
option tospark routes
by @kenjis in codeigniter4#7213 - feat: add
Entity::injectRawData()
to avoid name collision by @kenjis in codeigniter4#7208 - feat: [MySQLi] add config to use MYSQLI_OPT_INT_AND_FLOAT_NATIVE by @kai890707 in codeigniter4#7265
- feat: add new setter/getter for Entity by @kenjis in codeigniter4#7230
- feat: [SQLSRV] getFieldData() supports nullable by @kenjis in codeigniter4#7301
- feat: HTML Table data keys synchronize order with Heading keys by @rumpfc in codeigniter4#7409
- feat: [Validation] add method to get the validated data by @kenjis in codeigniter4#7420
- feat: [Auto Routing Improved] Module Routing by @kenjis in codeigniter4#7416
- feat: function array_group_by by @rumpfc in codeigniter4#7438
- feat: add Session::close() by @kenjis in codeigniter4#7508
- feat:
GDHandler
makeWebP
with option quality by @ddevsr in codeigniter4#7506 - feat: [Auto Routing Improved] fallback to default controller's default method by @kenjis in codeigniter4#7406
- Add access to
full_path
index of uploaded files by @JamminCoder in codeigniter4#7541 - [4.4] Rework redirect exception by @iRedds in codeigniter4#7610
- feat: [CURLRequest] add option for Proxy by @kenjis in codeigniter4#7632
- feat: improve View route output by @kenjis in codeigniter4#7646
- feat: add SiteURI class by @kenjis in codeigniter4#7252
- feat: add SiteURIFactory by @kenjis in codeigniter4#7256
- feat: [Factories] Config caching by @kenjis in codeigniter4#7696
- refactor: remove Cookie config items in Config\App by @kenjis in codeigniter4#7221
- refactor: deprecate $request and $response in Exceptions::__construct() by @kenjis in codeigniter4#7232
- refactor: use config(Cache::class) in CodeIgniter by @kenjis in codeigniter4#7297
- [4.4] refactor: a single point of sending the Response. by @iRedds in codeigniter4#7519
- refactor: [Entity] fix incorrect return value by @kenjis in codeigniter4#7544
- [4.4] refactor: use ::class to config() param by @kenjis in codeigniter4#7619
- refactor: drop support for
Config\App::$proxyIPs = ''
by @kenjis in codeigniter4#7621 - refactor: extract DefinedRouteCollector by @kenjis in codeigniter4#7653
- refactor: remove uneeded
if
in Commands\Utilities\Routes by @kenjis in codeigniter4#7661 - refactor: [4.4] add types for phpstan by @kenjis in codeigniter4#7723
- Remove trimming logic of
Autoloader::loadClass()
by @paulbalandan in codeigniter4#7763
See CHANGELOG_4.3.md