From 5070b3cbd40b890458cc758cea37bec8b2ca5a52 Mon Sep 17 00:00:00 2001 From: Mark Story Date: Thu, 3 Oct 2024 23:05:21 -0400 Subject: [PATCH] Add release notes for 5.1.1 --- 2024/10/03/cakephp_511.rst | 54 ++++++++++++++++++++++++++++++++++++++ master.rst | 1 + 2 files changed, 55 insertions(+) create mode 100644 2024/10/03/cakephp_511.rst diff --git a/2024/10/03/cakephp_511.rst b/2024/10/03/cakephp_511.rst new file mode 100644 index 0000000..78f1253 --- /dev/null +++ b/2024/10/03/cakephp_511.rst @@ -0,0 +1,54 @@ +CakePHP 5.1.1 +============== + +The CakePHP core team is happy to announce the immediate availability of CakePHP +5.1.1. This is a maintenance release for the 5.1 branch that fixes several +community reported issues and regressions. If you are having problems with the framework +breaking your application when you upgrade from 5.0.11 to 5.1, please open an +`issue`__. + +Bugfixes +-------- + +You can expect the following changes in 5.1.1. See the `changelog +`_ for every commit. + +- Improve FormHelper's request method inference. The ``method`` option now takes + precedence over the value of ``type`` option. +- Fixed regression in meta tag generation. +- Fix missing method errors in Console only applications. +- EventAwareApplicationInterface was added. This interface was is to solve + the console compatibility issue. +- Event hooks are now called application first, plugins after. This aligns + behavior with other hooks. +- I18n message translation now supports ``gettext`` compatible paths. +- PaginatorHelper will now reset the current page to 1 when changing the per + page limit. This reduces the chances of end users getting 404 errors changing + their per page limit. +- The new ``to*()`` type coercion functions are now available as a global functions for + applications that prefer to use global functions. +- Removed inline javascript from disabled pagination buttons. This improves + compatibility with strict CSP policies. +- Fixed a type error if ``Mailer::reset()`` was called without proper setup. +- Fixed a SQL generation regression for UNION queries in MySQL < 8. + +Contributors to 5.1.1 +---------------------- + +Thank you to all the contributors that submitted a pull request: + +* ADmad +* bancer +* Kevin Pfeifer +* Mark Story +* Robert Pustułka + +As always, we would like to also thank all the contributors that opened issues, +or updated the documentation. + +Download a `packaged release on github +`_. + +.. author:: markstory +.. categories:: release, news +.. tags:: release, news diff --git a/master.rst b/master.rst index 0830436..00bb652 100644 --- a/master.rst +++ b/master.rst @@ -4,6 +4,7 @@ Sitemap .. toctree:: :maxdepth: 1 + 2024/10/03/cakephp_511 2024/09/20/cakephp_457 2024/09/13/cakephp_510 2024/09/12/cakephp_5011