Skip to content

Commit

Permalink
Add release notes for 5.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Dec 13, 2024
1 parent 44236a0 commit 2a201ae
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 0 deletions.
52 changes: 52 additions & 0 deletions 2024/12/12/cakephp_514.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
CakePHP 5.1.4
==============

The CakePHP core team is happy to announce the immediate availability of CakePHP
5.1.4. This is a maintenance release with a security fix 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 <https://github.com/cakephp/cakephp/issues/new?template=bug_report.yml>`_.

Bugfixes
--------

You can expect the following changes in 5.1.4. See the `changelog
<https://github.com/cakephp/cakephp/compare/5.1.2...5.1.4>`_ for every commit.

- Relaxed typehints to allow ``callable`` where previously typehints were
``Closure``.
- ``aria-invalid`` is now be applied to ``select`` elements.
- Relaxed type hints that were ``list`` to be ``array``.
- Improved API documentation.
- Converted 5xx response codes to 4xx for externally invoked bad URLs.
- ``Client\Request`` no longer mangles the ``Content-Type`` header for JSON
and XML requests with array data.
- ``Paginator`` will now trigger warnings when settings have not been applied.
- Request URIs are now read from ``REQUEST_URI`` instead of ``PATH_INFO``. This
resolves a potential security issue where paths with ``%2f`` would be
incorrectly handled as ``/`` by CakePHP.
- Improved CSP compliance in ``FormHelper`` by replacing inline style attributes
with classnames, and inline JavaScript with script blocks when
``CspMiddleware`` is enabled.
- Fixed off-by-one error on stackframe offests in ``ErrorTrap::handleError()``.

Contributors to 5.1.4
----------------------

Thank you to all the contributors that submitted a pull request:

* ADmad
* Kevin Pfeifer
* Marc Würth
* Mark Scherer
* Mark Story

As always, we would like to also thank all the contributors that opened issues,
or updated the documentation.

Download a `packaged release on github
<https://github.com/cakephp/cakephp/releases>`_.

.. author:: markstory
.. categories:: release, news
.. tags:: release, news, security
1 change: 1 addition & 0 deletions master.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Sitemap
.. toctree::
:maxdepth: 1

2024/12/12/cakephp_514
2024/11/24/cakephp_458
2024/11/09/cakephp_512
2024/10/03/cakephp_511
Expand Down

0 comments on commit 2a201ae

Please sign in to comment.