CakePHP v4.1.1 Release Notes

Release Date: 2020-07-19 // over 3 years ago
  • πŸš€ The CakePHP core team is happy to announce the immediate availability of CakePHP 4.1.1. 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.1. See the changelog for every commit.

    • πŸ‘» FlashComponent::set() now handles Throwable in addition to Exception.
    • πŸ›  debug() now can output objects like SplFixedArray that have integer property names.
    • Validation::date() no longer accepts values that have , after the month value.
    • 🍱 Assets in vendor prefixed plugins now are correctly timestampped by HtmlHelper.
    • Routing error pages no longer double encode HTML for route elements and options.
    • πŸ›  Fix incorrect aliasing for Cake\Database\Expression\ComparisonExpression that was causing a regression in application/plugin code.
    • πŸ‘Œ Improved compatibility in getMockForModel().
    • πŸ“œ The parsed results of DSN strings now cast timeout to an integer.
    • πŸ”§ CsrfProtectionMiddleware not raises an exception when the request already contains a csrfToken attributes as this implies that CSRF has already been applied to the request and applying it twice is a configuration error.

    Contributors to 4.1.1

    πŸš€ Thank you to all the contributors that helped make this release happen:

    • ADmad
    • Cauan Cabral
    • Corey Taylor
    • Gerd Katzenbeisser
    • Mark Scherer
    • Mark Story
    • mitzzzjp
    • Peter HΓ€rder

    πŸ“š As always, we would like to thank all the contributors that opened issues, created pull requests or updated the documentation.