CakePHP 4.1.6
4 December 2020
CakePHP version 4.1.6 is now available (major release).
What's New in CakePHP 4.1.6
- The Validator::setStopOnFailure() method was added. This method helps improve ease of upgrading from 3.x. It allows the require* methods to stop field validation.
- Mailer::setReplyTo() now accepts multiple email addresses. This change aligns Reply-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 and where 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 the PHP environment variable when starting the HTTP server.