Skip to content

4.2 Roadmap

othercorey edited this page Dec 11, 2020 · 13 revisions

This release is a backwards compatible release with 4.1.

New Features

Application

Database

ORM

Routing

  • Add constants for HTTP method names. Validate method names provided to Route constructor and Route::setMethods(). See 14908.

DI(C)

  • RFC/Draft for DI (Dependency Injection) in CakePHP

Deprecations

  • Deprecate the ? style placeholders supported by Text::insert(). We aren't providing any better functionality than sprintf() can here and our implementation will only be slower.

  • Deprecate support for Query::distinct([]) with array parameters that simulates DISTINCT ON with GROUP BY. (https://github.com/cakephp/cakephp/issues/14791)