6.0 Ideas
Mark Story edited this page Mar 4, 2024
·
31 revisions
None
- Remove default inflection of template names to underscored version in
View
. - Consolidate
RoutingCollection::parse()
andRoutingCollection::parseRequest()
into a single method and alsoRoute::parseRequest()
andRouter::parse()
. URL parsing doesn't need the full request instance so consider passing only URL string orUriInterface
instance to the parse methods. - Remove
_
prefix from properties like$_accessible
,$_hidden
and methods like_getMyVirtualField()
. - Move global function aliases into a plugin that can be used by folks that need it. Related app issue
- Check interface methods ( https://github.com/cakephp/cakephp/commit/6a8198139a169ed4b8ccd23dfbe58d3efae92716 )
- Unify array structure for containing and marshalling associated data #17547
- Allow extending Collections (https://github.com/cakephp/cakephp/issues/17483)
- Add
ConsoleIoInterface
. Having an interface in console commands would allow us to provide better stub implementations. This would require a rector rule.
-
Move(rejected, see https://github.com/cakephp/bake/pull/905)$this->render();
from\Cake\Controller\Controller
to userland controllers to encourage better return types in controller actions
- 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)
- Rename
_accessible
topatchable
(https://github.com/cakephp/cakephp/issues/17375) - Remove/replace
Query::matching()
- Attach association joins in order of declaration in fluid query builder (https://github.com/cakephp/cakephp/issues/10746)
-
Consider throwing exception when accessing entity field that does not exist (https://github.com/cakephp/cakephp/issues/15423)(rejected)
- Use Mockery for all new tests which require mocking
- Introduce
localizedDecimal
and fix currentdecimal
validator (https://github.com/cakephp/cakephp/issues/17459)
- Rename
escapeTitle
toescapeContent
as this is not the attribute title, but the content of the link. The rest of the API is already consistent here, only this option is not.