The CakePHP core team is proud to announce the second release candidate of CakePHP 4.1.0. This RC introduces a handful of deprecations. It also adds window function support and common-table-expression support to the ORM. Furthermore, it features improved
debug() output, and new ORM events for marshalling.
The migration guide has a complete list of what's new in 4.1.0. We recommend you give that page a read when upgrading as it outlines the deprecations present in 4.1.
Changes Since 4.1.0-RC1
Table::saveMany()now triggers the
- Improved deprecation links.
- Fix a regression in RC1 where associations with
dependentbut not associated records would cause deletions to fail.
- Fixed inflection of CamelCase words.
TableRegistry::get(). Use the
- Fix query LoggingStatement prematurely fetching records.
PaginatorComponenthave been deprecated. Use
- Fixed incorrect paths in missing layout exception pages.
CsrfProtectionMiddleware::whitelistCallback()has been deprecated. Use
- Add support for console colors in Windows 10 and bash emulation.
How you Can Help
You can help by trying out the RC in your application. Please open issues for any new test failures or regressions the new version creates in your application.
Contributors to 4.1.0-RC2
Thank you to all the contributors that have helped with 4.1.0:
- Corey Taylor
- Mark Scherer
- Mark Story
- Walther Lalk
As always, a huge thanks to all the community members that helped make this release happen by reporting issues and sending pull requests.