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-Towith other email fields that accept multiple recipients.- Warnings emitted by
AuthComponentwhen 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
havingandwhereconditions 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
INSERTqueries were missing a table name. BodyParserMiddlewarenow correctly handles scalar value request bodies for JSON requests.ServerCommandnow honours thePHPenvironment 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.