4.1 Roadmap
othercorey edited this page May 9, 2020
·
34 revisions
This release is a backwards compatible release with 4.0.
This list is not complete, and is an aspirational list not a promise.
-
Experimental support for PSR11 compliant dependency injection container. Potential libraries that we could use are:(moved to 4.2)- phpleague/container - https://container.thephpleague.com/3.x/
- Replace use of deprecated
File
andFolder
in cakephp packages (bake, etc).
-
Tested with mysql8
-
Provide an API to enable custom application type classes to map provide concrete SQL types for a given SQL dialect. This would allow custom types to be used in fixture schema. See https://github.com/cakephp/bake/issues/567(moved to 4.2) -
Add a CastExpression and automatically cast function expressions when the type is known. This will require making sure all our expression classes have a returnType like FunctionExpression does (https://github.com/cakephp/cakephp/issues/7534)(moved to 4.2)
-
Replace the(moved to 4.2)__call()
magic method in\Cake\ORM\Query
, and add concrete implementation in the ORM, so that the source code is easier to reason about, requires less docblock links and is more obvious when being read. #11751 - Add window function support.
- Improve the HTML variable dump output from
debug()
to have collapsible sections for nested objects. - Add styled output for
debug()
in console environments. - Add editor links in the Error page. Default to phpstorm, and allow format to be configured in application config.
- Improve log message creation so that context variables are formatted into the message string. This allows usage like
$logger->log('info', 'Thing {color}', ['color' => $value])
-
RFC/Draft for DI (Dependency Injection) in CakePHP(moved to 4.2)
- Add warnings for
QueryExpression::or_()
andQueryExpression::and_()
. - Add warning for
TableSchemaInterface::primaryKey()
andContextInterface::primaryKey()
.