CakePHP v4.1.6 Release Notes
Release Date: 2020-11-08 // over 3 years ago-
π The CakePHP core team is happy to announce the immediate availability of CakePHP 4.1.6. This is a maintenance release for the 4.1 branch that fixes several community reported issues.
π Bugfixes
π You can expect the following changes in 4.1.6. See the changelog for every commit.
- β¬οΈ The
Validator::setStopOnFailure()
method was added. This method helps improve ease of upgrading from 3.x. It allows therequire*
methods to stop field validation. Mailer::setReplyTo()
now accepts multiple email addresses. This change alignsReply-To
with other email fields that accept multiple recipients.- π€‘ Warnings emitted by
AuthComponent
when using strict mode and a mocked request were fixed. - π Fixed incorrect error messages for named routes that failed to match.
- π Fixed string condition parsing in
having
andwhere
conditions when the string condition contains functions and spaces. - π Improved API documentation.
- OAuth 1.0 signatures no longer include request bodies if the request is not urlencoded data.
- π Support for UTF8 encodings was added to
pj()
. - β‘οΈ Entity marshalling now loosely compares objects. Previously strict comparisons were used causing all object attributes to considered dirty and updated.
- π Improved error messages when
INSERT
queries were missing a table name. - π
BodyParserMiddleware
now correctly handles scalar value request bodies for JSON requests. ServerCommand
now honours thePHP
environment variable when starting the HTTP server.
Contributors to 4.1.6
π Thank you to all the contributors that helped make this release happen:
- ADmad
- chris cnizzardini
- Corey Taylor
- Daniel Opitz
- Juan Basso
- Marc WΓΌrth
- Mark Scherer
- Mark Story
- Matthias Wirtz
- othercorey
- Ricardo Turella
- Richard.Strittmatter
π As always, we would like to thank all the contributors that opened issues, created pull requests or updated the documentation.
- β¬οΈ The