Skip to content

Commit 5f8c367

Browse files
committed
Add release notes for 5.2.0
1 parent 5587448 commit 5f8c367

File tree

2 files changed

+66
-0
lines changed

2 files changed

+66
-0
lines changed

2025/03/29/cakephp_520.rst

+65
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
CakePHP 5.2.0 Released
2+
============================
3+
4+
The CakePHP core team is happy to announce the release of CakePHP 5.2.0.
5+
The 5.2 release includes several behavior changes to increase correctness and
6+
new features. The highlights of those include:
7+
8+
- The ``cake counter_cache`` command was added. This command can be used to
9+
regenerate counters for models that use ``CounterCacheBehavior``.
10+
- ``ConsoleIntegrationTestTrait::debugOutput()`` makes it easier to debug
11+
integration tests for console commands.
12+
- Console arguments and options support a ``separator`` option making it
13+
possible to define parameters like ``--names=foo,bar``
14+
- The ``nativeuuid`` type was added. This type enables ``uuid`` columns to be
15+
used in Mysql connections with MariaDB. In all other drivers, ``nativeuuid``
16+
is an alias for ``uuid``.
17+
- A new set of database reflection methods are added. These new methods will be
18+
used to simplify migrations in future releases.
19+
- ``FormHelper::deleteLink()`` has been added as convenience wrapper for delete
20+
links in templates using ``DELETE`` method.
21+
- ``HtmlHelper::importmap()`` was added. This method allows you to define
22+
import maps for your JavaScript files.
23+
- Custom exceptions can have specific error handling logic defined in
24+
``ErrorController``.
25+
- ``TestFixture::$strictFields`` was added. Enabling this property will make
26+
fixtures raise an error if a fixture's record list contains fields that do not
27+
exist in the schema.
28+
29+
What's new in 5.2.0
30+
-------------------
31+
32+
The `migration guide
33+
<https://book.cakephp.org/5/en/appendices/5-2-migration-guide.html>`_ has
34+
a complete list of what's new in 5.2.0. We recommend you give that page a read
35+
when upgrading as it notes the behavior changes present in 5.2.0.
36+
37+
Contributors to 5.2.0
38+
-------------------------
39+
40+
Thank you to all the contributors that have contributed to this release:
41+
42+
- Adam Halfar
43+
- ADmad
44+
- Erwane Breton
45+
- John Caprez
46+
- Kevin Pfeifer
47+
- kolorafa
48+
- Mark Scherer
49+
- Mark Story
50+
- Masatoshi Ogiwara
51+
- Miguel Enes
52+
- mirko-pagliai
53+
- Nicos Panayides
54+
- othercorey
55+
- RobRikken
56+
57+
As always, a huge thanks to all the community members that helped make this
58+
release happen by reporting issues and sending pull requests.
59+
60+
Download a `packaged release on github
61+
<https://github.com/cakephp/cakephp/releases>`_.
62+
63+
.. author:: markstory
64+
.. categories:: news
65+
.. tags:: release,news

master.rst

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Sitemap
44
.. toctree::
55
:maxdepth: 1
66

7+
2025/03/29/cakephp_520
78
2025/03/22/cakephp_460
89
2025/03/21/cakephp_4510
910
2025/03/01/cakephp_520RC1

0 commit comments

Comments
 (0)