CodeIgniter 4.4.0 is now available. This release includes bug fixes.
CodeIgniter 4.4.0 is a powerful PHP framework with a very small footprint, built for PHP coders who need a simple and elegant toolkit to create full-featured web applications.
If you’re a developer who lives in the real world of shared hosting accounts and clients with deadlines, and if you’re tired of ponderously large and thoroughly undocumented frameworks.
CodeIgniter 4.4.0 Changelog
Changed
- fix: URI::setSegment() accepts the last +2 segment without Exception by @kenjis in #7251
- feat: custom exception handler by @kenjis in #7087
- Clean router config by @lonnieezell in #7380
- feat: add ValidationInterface::getValidated() by @kenjis in #7429
- [4.4] refactor: moving RedirectException. by @iRedds in #7545
- Remove Config\App Session items by @kenjis in #7255
- perf: RouteCollection $routes optimization by @kenjis in #7175
- Remove Config\App Security items by @kenjis in #7630
- refactor: extract ResponseCache class for Web Page Caching by @kenjis in #7644
- fix: change Services::session() config param type by @kenjis in #7671
- feat: add Factories::define() to explicitly override a class by @kenjis in #7733
- Return signatures of Autoloader’s loaders should be void by @paulbalandan in #7747
- fix: remove instantiation of Response in
Services::exceptions()
by @kenjis in #7670 - refactor: move callExit() to index.php by @kenjis in #7800
- rework: URI creation and URL helper by @kenjis in #7282
Bug fixes
- fix: incorrect segment number in URI::getSegment() exception message by @kenjis in #7267
- fix: can’t change and override valid locales by @kenjis in #7309
- fix: Validation::check() does not accept array rules by @kenjis in #7424
- fix: directory separator from routing file. by @ping-yee in #7487
- [4.4] Fix output buffering by @iRedds in #7500
- fix: [Auto Routing Improved] one controller method has more than one URI when $translateURIDashes is true by @kenjis in #7422
- fix: [4.4] merge Exception::maskSensitiveData() fix into BaseExceptionHandler by @kenjis in #7736
New Features
- feat: Hot Reloading by @lonnieezell in #7489
Enhancements
- feat:
renderSection
option to retained data by @addngr in #7126 - feat: [Auto Routing Improved] fallback to default method by @kenjis in #7162
- feat: Filter Arguments with $filters in Config\Filters by @kenjis in #7159
- feat: New method DownloadResponse::inline() by @iRedds in #7207
- feat: add
--host
option tospark routes
by @kenjis in #7213 - feat: add
Entity::injectRawData()
to avoid name collision by @kenjis in #7208 - feat: [MySQLi] add config to use MYSQLI_OPT_INT_AND_FLOAT_NATIVE by @kai890707 in #7265
- feat: add new setter/getter for Entity by @kenjis in #7230
- feat: [SQLSRV] getFieldData() supports nullable by @kenjis in #7301
- feat: HTML Table data keys synchronize order with Heading keys by @rumpfc in #7409
- feat: [Validation] add method to get the validated data by @kenjis in #7420
- feat: [Auto Routing Improved] Module Routing by @kenjis in #7416
- feat: function array_group_by by @rumpfc in #7438
- feat: add Session::close() by @kenjis in #7508
- feat:
GDHandler
makeWebP
with option quality by @ddevsr in #7506 - feat: [Auto Routing Improved] fallback to default controller’s default method by @kenjis in #7406
- Add access to
full_path
index of uploaded files by @JamminCoder in #7541 - [4.4] Rework redirect exception by @iRedds in #7610
- feat: [CURLRequest] add option for Proxy by @kenjis in #7632
- feat: improve View route output by @kenjis in #7646
- feat: add SiteURI class by @kenjis in #7252
- feat: add SiteURIFactory by @kenjis in #7256
- feat: [Factories] Config caching by @kenjis in #7696
Refactoring
- refactor: remove Cookie config items in Config\App by @kenjis in #7221
- refactor: deprecate $request and $response in Exceptions::__construct() by @kenjis in #7232
- refactor: use config(Cache::class) in CodeIgniter by @kenjis in #7297
- [4.4] refactor: a single point of sending the Response. by @iRedds in #7519
- refactor: [Entity] fix incorrect return value by @kenjis in #7544
- [4.4] refactor: use ::class to config() param by @kenjis in #7619
- refactor: drop support for
Config\App::$proxyIPs = ''
by @kenjis in #7621 - refactor: extract DefinedRouteCollector by @kenjis in #7653
- refactor: remove uneeded
if
in Commands\Utilities\Routes by @kenjis in #7661 - refactor: [4.4] add types for phpstan by @kenjis in #7723
- Remove trimming logic of
Autoloader::loadClass()
by @paulbalandan in #7763
Contributors
- @addngr made their first contribution in #7126
- @JamminCoder made their first contribution in #7541
- @BennyBPB made their first contribution in #7559
Although updates are tested, you’re always encouraged to backup your files before patching.
Tags: php framework, Softaculous
Related Links
- Live Demo:
See CodeIgniter in action (Softaculous site (External link)) - Official Website:
Learn more about CodeIgniter software (External link) - Run CodeIgniter in your website:
Please Contact us for more information or start any Hosting Plan and install CodeIgniter from Softaculous software library - CodeIgniter Changelog:
To read changelog source Click Here (GitHub External link)