FlashComponent now stacks Flash messages when set with the set() or __call() method.
New config storage has been added.
RequestHandlerComponent now switches the layout and template based on the parsed extension or Accept-Type header in the beforeRender()callback instead of startup().
The default mime type used when sending requests has changed in Http\Client.
其他改进
The default route>DashedRoute in the cakephp/app repo. Your current code base is not affected by this, but it is recommended to use this route>
The breakpoint() helper function has been added. This function provides a snippet of code that can be put into eval() to trigger an interactiveconsole.
Shell::dispatchShell() no longer outputs the welcome message from the dispatched shell.
You can now set _serialized to true for JsonView and XmlView to serialize all view variables instead of explicitly specifying them.
Time::fromNow() has been added. This method makes it easier to calculate differences from 'now'.
Time::i18nFormat() now supports non-gregorian calendars when formatting dates.
废弃
The SessionHelper has been deprecated. You can use $this->request->session() directly.