CodeIgniter 4 Development v4.1.5 Release Notes
Release Date: 2021-11-08 // over 2 years ago-
๐ Fixed bugs:
- ๐ Fix entity name generation when bundled in model by @paulbalandan in https://github.com/codeigniter4/CodeIgniter4/pull/5055
- ๐ Fix
Model::__call
throwingBadMethodCallException
on empty results by @ytetsuro in https://github.com/codeigniter4/CodeIgniter4/pull/5139 - ๐ Fixed an issue where the dropForeginKey method would execute an empty query when the dropConstraintStr property was empty. by @ytetsuro in https://github.com/codeigniter4/CodeIgniter4/pull/5173
- โก๏ธ Update 'updated_at' when enabled in replace() by @paulbalandan in https://github.com/codeigniter4/CodeIgniter4/pull/4684
- ๐ Fix query binding with two colons in query by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/5117
- ๐ Fixed the problem that _createTable does not take into account that it returns true. by @ytetsuro in https://github.com/codeigniter4/CodeIgniter4/pull/5133
- ๐ Fixed a problem with not run escape for identities in like when
insensitiveSearch
is true. by @ytetsuro in https://github.com/codeigniter4/CodeIgniter4/pull/5170 - ๐ Fixed an issue where an unnecessary prefix was given when the random number was a column. by @ytetsuro in https://github.com/codeigniter4/CodeIgniter4/pull/5179
- โก๏ธ Always escape identifiers in the set(), setUpdateBatch(), and insertBatch() by @ytetsuro in https://github.com/codeigniter4/CodeIgniter4/pull/5132
- Error when value is an object - validating api data by @daycry in https://github.com/codeigniter4/CodeIgniter4/pull/5142
- ๐ Fix color not updated in several places of the precompiled CSS by @vlakoff in https://github.com/codeigniter4/CodeIgniter4/pull/5155
- ๐ Fix debugbar styles printing by @paulbalandan in https://github.com/codeigniter4/CodeIgniter4/pull/5100
- ๐ Fix highlighting in database debug toolbar by @vlakoff in https://github.com/codeigniter4/CodeIgniter4/pull/5129
- ๐ Fix debug toolbar db connection count by @danielTiringer in https://github.com/codeigniter4/CodeIgniter4/pull/5172
- ๐ Fix CSRF filter does not work when set it to only post by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/5194
- โ Add CSRF Protection for PUT/PATCH/DELETE by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/5228
- ๐ Fix GC issue when session lifetime is set to 0 by @lf-uraku-yuki in https://github.com/codeigniter4/CodeIgniter4/pull/4744
- ๐ Fix wrong helper path resolution by @paulbalandan in https://github.com/codeigniter4/CodeIgniter4/pull/5246
- ๐ Fix: remove CURLRequest headers sharing from $_SERVER by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/5249
- ๐ Fix Localization not working/being ignored for 404 page by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/5267
- ๐ fix: module filters are not discovered when using route filters by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/5280
- IncomingRequest - Trim trailing slash by @najdanovicivan in https://github.com/codeigniter4/CodeIgniter4/pull/4974
- Previous Responses by @MGatner in https://github.com/codeigniter4/CodeIgniter4/pull/5034
- (Paging) Ensure page validity by @puschie286 in https://github.com/codeigniter4/CodeIgniter4/pull/5125
- ๐ Fix variable variable
$$id
in RedisHandler by @Terrorboy in https://github.com/codeigniter4/CodeIgniter4/pull/5062 - ๐ Fixes and enhancements to Exceptions by @paulbalandan in https://github.com/codeigniter4/CodeIgniter4/pull/5052
Implemented enhancements:
- feat:
_
can be used as separators in environment variable names by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/5156 - Multiple filters for a route and classname filter by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/5128
- ๐ Feature - Mark duplicate queries by @danielTiringer in https://github.com/codeigniter4/CodeIgniter4/pull/5185
- [Debug] Add formatted query string to timeline. by @sfadschm in https://github.com/codeigniter4/CodeIgniter4/pull/5196
- [Debug] Improve keyword highlighting and escaping of query strings. by @sfadschm in https://github.com/codeigniter4/CodeIgniter4/pull/5200
- โ Add
dropKey
method toForge
by @ytetsuro in https://github.com/codeigniter4/CodeIgniter4/pull/5171 - โก๏ธ Reduce memory usage of insertBatch(), updateBatch() by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/5202
- โ Add Session based CSRF Protection by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/5201
- feat: add valid_url_strict rule by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/5268
๐ Merged pull requests:
- ๐ Merge branch '4.2' by @paulbalandan in https://github.com/codeigniter4/CodeIgniter4/pull/5060
- โก๏ธ Update to latest laminas-escaper 2.9.0 by @samsonasik in https://github.com/codeigniter4/CodeIgniter4/pull/5065
- โ Remove unintended dead code in pre-commit by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/5116
- Adjust orange color in debug toolbar by @vlakoff in https://github.com/codeigniter4/CodeIgniter4/pull/5136
- Extract method to get prefix for DB access function by @ytetsuro in https://github.com/codeigniter4/CodeIgniter4/pull/5178
- ๐ Improve
model()
auto-completion by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/5186 - ๐ Rename toolbar loader to be a regular JS file by @paulbalandan in https://github.com/codeigniter4/CodeIgniter4/pull/5224
- โก๏ธ [HTTP] Update Http Status Description based on latest iana.org by @samsonasik in https://github.com/codeigniter4/CodeIgniter4/pull/5235
- โ Remove CSRF properties by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/5231
- โ Remove static variables for PHP 8.1 by @kenjis in https://github.com/codeigniter4/CodeIgniter4/pull/5262
- Replace usage of
FILTER_SANITIZE_STRING
by @paulbalandan in https://github.com/codeigniter4/CodeIgniter4/pull/5263 - Simplify logic of
number_to_roman
function by @paulbalandan in https://github.com/codeigniter4/CodeIgniter4/pull/5270 - ๐ Fix compatibility of
PgSql\Result
on closing the result instance by @paulbalandan in https://github.com/codeigniter4/CodeIgniter4/pull/5279 - ๐ Fix compatibility of Postgres result for PHP 8.1 by @paulbalandan in https://github.com/codeigniter4/CodeIgniter4/pull/5278
๐ New Contributors
- @Terrorboy made their first contribution in https://github.com/codeigniter4/CodeIgniter4/pull/5062
- @vlakoff made their first contribution in https://github.com/codeigniter4/CodeIgniter4/pull/5136
- @Felipebros made their first contribution in https://github.com/codeigniter4/CodeIgniter4/pull/5152
- @daycry made their first contribution in https://github.com/codeigniter4/CodeIgniter4/pull/5142
- @danielTiringer made their first contribution in https://github.com/codeigniter4/CodeIgniter4/pull/5172