Skip to content

Commit 77d9d28

Browse files
committed
Add release notes for 5.3.0
1 parent 3d6fa4e commit 77d9d28

File tree

2 files changed

+96
-0
lines changed

2 files changed

+96
-0
lines changed

2025/11/08/cakephp_530RC1.rst

Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
CakePHP 5.3.0-RC1 Released
2+
============================
3+
4+
The CakePHP core team is happy to announce the first release candidate for
5+
CakePHP 5.3.0. The 5.3 release includes several behavior changes to increase
6+
correctness and new features. The highlights of those include:
7+
8+
- Minium PHP version requirement is now PHP 8.2.0.
9+
- The Redis cache engine now supports Redis clusters.
10+
- ``cake plugin assets symlink`` command now supports a ``--relative`` option to
11+
create relative path symlinks.
12+
- ``cake server`` now supports a ``--frankenphp`` option that will start the
13+
development server with `FrankenPHP <https://frankenphp.dev/>`__.
14+
- Added ``Configure`` attribute to support injecting ``Configure`` values into
15+
constructor arguments.
16+
- Added ``Query::optimizerHint()`` which accepts engine-specific optimizer hints.
17+
- Added additional database types for ``year``, ``inet``, ``cidr``, and
18+
``macaddr``.
19+
- Added ``Date::getTimestamp()``. This method returns an int of the date's
20+
timestamp.
21+
- ``Table::patchEntity()``, ``Table::newEntity()``, ``Marshaller::one()`` and
22+
``Marshaller::many()`` now accept a ``strictFields`` option that only applies
23+
validation to the fields listed in the ``fields`` option.
24+
- Added ``TableContainer`` that you can register in your Application::services() to
25+
add dependency injection for your Tables.
26+
- Added ``SortableFieldsBuilder`` class enabling fluent configuration of
27+
sortable fields with advanced features. The ``sortableFields`` option now
28+
accepts a callable that receives a ``SortableFieldsBuilder`` instance,
29+
allowing you to map friendly sort keys to database fields with multi-column
30+
sorting and direction control.
31+
- ``assertRedirectBack()`` and ``assertRedirectBackToReferer()`` were added to
32+
improve ergonomics of asserting redirects.
33+
- ``HtmlHelper::scriptStart()`` and ``scriptEnd()`` now allow simple
34+
wrapping script tags (``<script>...</script>``) around inline JavaScript. This
35+
enables syntax highlighting in many editors.
36+
- ``StringTemplate::addClassNames()`` was added to provide a more ergonomic way
37+
to generate class names.
38+
- ``Cake\Http\Middleware\RateLimiterMiddleware`` was added to provide
39+
rate limiting functionality for applications.
40+
41+
What's new in 5.3.0
42+
-------------------
43+
44+
The `migration guide
45+
<https://book.cakephp.org/5.next/en/appendices/5-3-migration-guide.html>`_ has
46+
a complete list of what's new in 5.3.0. We recommend you give that page a read
47+
when upgrading as it notes the behavior changes present in 5.3.0.
48+
49+
How you Can Help
50+
----------------
51+
52+
You can help deliver 5.3.0 by contributing in one of many ways:
53+
54+
#. Check the `documentation <https://book.cakephp.org/5.next/en/>`_ for mistakes,
55+
outdated, unclear or broken examples. We've been trying to update the
56+
documentation as we go, but there are likely examples or sections we've
57+
missed.
58+
#. Try it out! Give CakePHP 5.3.0 a test drive. Let us know how upgrading
59+
went and if there were any rough spots.
60+
#. File issues for regressions in existing features, or suggest new features.
61+
Even if those features don't make it into 5.3.0, we're early in the process
62+
of planning 5.3 and value community feedback.
63+
64+
Contributors to 5.3.0-RC1
65+
-------------------------
66+
67+
Thank you to all the contributors that have contributed to this release:
68+
69+
- ADmad
70+
- Alberto G. Rodriguez
71+
- Christian
72+
- Corey Taylor
73+
- Jamison Bryant
74+
- Juhani Aronen
75+
- Kevin Pfeifer
76+
- Lauri Tunnela
77+
- Marcelo Rocha
78+
- Mark Scherer
79+
- Mark Story
80+
- Murl080
81+
- Nicos Panayides
82+
- nook24
83+
- Steve
84+
- Umer Salman
85+
- Val Bancer
86+
87+
As always, a huge thanks to all the community members that helped make this
88+
release happen by reporting issues and sending pull requests.
89+
90+
Download a `packaged release on github
91+
<https://github.com/cakephp/cakephp/releases>`_.
92+
93+
.. author:: markstory
94+
.. categories:: news
95+
.. tags:: release,news

master.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Sitemap
44
.. toctree::
55
:maxdepth: 1
66

7+
2025/11/08/cakephp_530RC1
78
2025/10/16/cakephp_529
89
2025/09/23/cakephp_528
910
2025/08/30/cakephp_527

0 commit comments

Comments
 (0)