Skip to content

Commit f3ce6ec

Browse files
committed
Merge branch '5.next' into 6.x
# Conflicts: # config/conf.py # en/appendices/5-1-migration-guide.rst # en/appendices/5-2-migration-guide.rst # en/appendices/5-3-migration-guide.rst # en/appendices/migration-guides.rst
2 parents 2b5f53e + b386efa commit f3ce6ec

23 files changed

Lines changed: 945 additions & 34 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
doc-type: ['HTML', 'EPUB', 'PDF']
2323

2424
steps:
25-
- uses: actions/checkout@v5
25+
- uses: actions/checkout@v6
2626

2727
- uses: actions/setup-python@v6
2828
with:

‎.github/workflows/deploy_5.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
runs-on: ubuntu-latest
1717
steps:
1818
- name: Cloning repo
19-
uses: actions/checkout@v5
19+
uses: actions/checkout@v6
2020
with:
2121
fetch-depth: 0
2222

‎.github/workflows/deploy_5next.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
runs-on: ubuntu-latest
1717
steps:
1818
- name: Cloning repo
19-
uses: actions/checkout@v5
19+
uses: actions/checkout@v6
2020
with:
2121
fetch-depth: 0
2222

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
5.4 Migration Guide
2+
###################
3+
4+
The 5.4.0 release is backwards compatible with 5.0. It adds new functionality
5+
and introduces new deprecations. Any functionality deprecated in 5.x will be
6+
removed in 6.0.0.
7+
8+
Upgrade Tool
9+
============
10+
11+
The :doc:`upgrade tool </appendices/migration-guides>` provides rector rules for
12+
automating some of the migration work. Run rector before updating your
13+
``composer.json`` dependencies::
14+
15+
bin/cake upgrade rector --rules cakephp54 <path/to/app/src>
16+
17+
Behavior Changes
18+
================
19+
20+
- WIP
21+
22+
Deprecations
23+
============
24+
25+
- WIP
26+
27+
New Features
28+
============
29+
30+
Utility
31+
-------
32+
33+
- New ``Cake\Utility\Fs\Finder`` class provides a fluent, iterator-based API for
34+
discovering files and directories with support for pattern matching, depth
35+
control, and custom filters. The ``Cake\Utility\Fs\Path`` class offers
36+
cross-platform utilities for path manipulation.

‎en/contents.rst‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ Contents
5656

5757
core-libraries/app
5858
core-libraries/collections
59+
core-libraries/filesystem
5960
core-libraries/hash
6061
core-libraries/httpclient
6162
core-libraries/inflector

‎en/controllers.rst‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -625,6 +625,7 @@ More on Controllers
625625

626626
controllers/pages-controller
627627
controllers/components
628+
controllers/middleware/rate-limit
628629

629630
.. meta::
630631
:title lang=en: Controllers

‎en/controllers/middleware.rst‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ CakePHP provides several middleware to handle common tasks in web applications:
5757
* :doc:`Cake\Http\Middleware\SecurityHeadersMiddleware </security/security-headers>`
5858
makes it possible to add security related headers like ``X-Frame-Options`` to
5959
responses.
60+
* :doc:`Cake\Http\Middleware\RateLimitMiddleware </controllers/middleware/rate-limit>`
61+
provides configurable rate limiting to protect against abuse and ensure fair
62+
usage of resources.
6063

6164
.. _using-middleware:
6265

0 commit comments

Comments
 (0)