CakePHP v4.0.2 Release Notes
Release Date: 2020-01-12 // over 4 years ago-
π The CakePHP core team is happy to announce the immediate availability of CakePHP 4.0.2. This is a maintenance release for the 4.0 branch that fixes several community reported issues.
π Bugfixes
π You can expect the following changes in 4.0.2. See the changelog for every commit.
- π» An exception is now raised in development mode if the generated alias name for a table + column would exceed the maximum identifier length for your database platform.
FormProtectionComponent
now checks unlockedFields correctly.- π The deprecation warning in
RequestHandlerComponent
for parsing request bodies was removed. Conditionally triggering it had too many edge cases and was confusing users. - π Improved formatting of API documentation examples.
- π The ORM more efficiently traverses and transforms query objects improving performance for all ORM operations.
- Associations that use
formatResults
and change the associated entities no longer result in records being marked as dirty when records are read. - π²
Cache
andLog
now handle numeric engine names correctly. - β Errors and warnings emitted while DebugKit is active now reference the correct file and line.
- π¦ Dependencies on abandoned zendframework packages are now referencing the Laminas project.
- Using
contain()
with a field list on a BelongsToMany association now works correctly. - π Session cookies now have
SameSite=Lax
instead of strict to better emulate how session cookies worked in the past. - View element caching now works when elements are in subdirectories.
PaginatorHelper::first()
andlast()
now apply theurl
option when the title parameter is a string.
Contributors to 4.0.2
π Thank you to all the contributors that helped make this release happen:
- ADmad
- Corey Taylor
- Edgaras JanuΕ‘auskas
- Mark Scherer
- Mark Story
- gregs
- o0h
- othercorey
- saeideng
π As always, we would like to thank all the contributors that opened issues, created pull requests or updated the documentation.