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 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.

    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.