CakePHP v4.1.0-RC2 Release Notes
Release Date: 2020-06-22 // almost 4 years ago-
๐ The CakePHP core team is proud to announce the first release candidate of CakePHP 4.1.0. This beta 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.๐ New Features
โฌ๏ธ 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 theModel.afterSaveCommit
event.- ๐ Improved deprecation links.
- ๐ Fix a regression in RC1 where associations with
dependent
but not associated records would cause deletions to fail. - ๐ Fixed inflection of CamelCase words.
- ๐ Deprecated
TableRegistry::get()
. Use theTableLocatorAwareTrait
instead. - ๐ Fix query LoggingStatement prematurely fetching records.
- ๐ The
whitelist
andsortWhitelist
options forPaginatorComponent
have been deprecated. UseallowedParameters
andsortableFields
instead. - ๐ Fixed incorrect paths in missing layout exception pages.
- ๐
CsrfProtectionMiddleware::whitelistCallback()
has been deprecated. UseskipCheckCallback()
instead. - โ 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:
- ADmad
- Corey Taylor
- Mark Scherer
- Mark Story
- Walther Lalk
- ndm2
๐ As always, a huge thanks to all the community members that helped make this release happen by reporting issues and sending pull requests.