Skip to content

Commit 35ea083

Browse files
committed
Merge branch '5.x' into 5.next
2 parents 4f46d5a + acdb2dd commit 35ea083

13 files changed

Lines changed: 677 additions & 956 deletions

‎.github/workflows/deploy_5.yml‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ on:
1010
concurrency:
1111
group: ${{ github.workflow }}-${{ github.ref }}
1212

13+
permissions:
14+
contents: read
15+
1316
jobs:
1417
deploy:
1518
runs-on: ubuntu-latest
@@ -20,7 +23,7 @@ jobs:
2023
fetch-depth: 0
2124

2225
- name: Push to dokku
23-
uses: dokku/github-action@master
26+
uses: dokku/github-action@cc7dec1d2b9fed249a14ae462bc953bba436f78c # v1.10.0
2427
with:
2528
branch: '5.next'
2629
git_remote_url: 'ssh://dokku@apps.cakephp.org:22/newbook-5next'

‎.github/workflows/stale.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

1818
steps:
19-
- uses: actions/stale@v10
19+
- uses: actions/stale@v11
2020
with:
2121
repo-token: ${{ secrets.GITHUB_TOKEN }}
2222
stale-issue-message: 'This issue is stale because it has been open for 120 days with no activity. Remove the `stale` label or comment or this will be closed in 15 days'

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ npm run docs:preview
3737

3838
### Prerequisites
3939

40-
- `node` (version 18 or newer) - JavaScript runtime required by Vite/VitePress
40+
- `node` (version 22 or newer) - JavaScript runtime required by Vite/VitePress
4141
- `npm` - Package manager (included with most Node.js installations)
4242
- `git` - Required to install `@cakephp/docs-skeleton` from GitHub
4343

‎docs/en/intro/supported-versions.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ See [CakePHP Development Process](../appendices/cakephp-development-process.md)
44

55
## CakePHP Supported Versions
66

7-
This table was last updated in February 2026.
7+
This table was last updated in August 2026.
88

99
| Major Version | Supported Version | PHP-Version | Active Support | Security Support |
1010
|---------------|-------------------|----------------|----------------|----------------------|
11-
| `5.x` | `5.1` to `5.3` | `8.1` to `8.5` | `5.3+` | ✅ |
11+
| `5.x` | `5.2` to `5.4` | `8.1` to `8.5` | `5.4+` | ✅ |
1212
| `4.x` | `4.4` to `4.6` | `7.2` to `8.3` | ❌ | September 10th, 2026 |
1313
| `3.x` | None | `5.6` to `7.4` | ❌ | ❌ |
1414
| `2.x` | None | `5.4` to `7.4` | ❌ | ❌ |

‎docs/en/orm/behaviors.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ a perfect fit for.
1818

1919
## Using Behaviors
2020

21-
<!--@include: ./table-objects.md{414,460}-->
21+
<!--@include: ./table-objects.md#behaviors-->
2222

2323
## Core Behaviors
2424

‎docs/en/orm/query-builder.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1905,11 +1905,11 @@ data, you first need to setup associations between the tables as described in
19051905
the [Associations - Linking Tables Together](../orm/associations) section. This technique of combining queries
19061906
to fetch associated data from other tables is called **eager loading**.
19071907

1908-
<!--@include: ./retrieving-data-and-resultsets.md{507,719}-->
1908+
<!--@include: ./retrieving-data-and-resultsets.md#contain-->
19091909

19101910
### Filtering by Associated Data
19111911

1912-
<!--@include: ./retrieving-data-and-resultsets.md{727,938}-->
1912+
<!--@include: ./retrieving-data-and-resultsets.md#filtering-->
19131913

19141914
### Adding Joins
19151915

‎docs/en/orm/retrieving-data-and-resultsets.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ By default, CakePHP does not load **any** associated data when using `find()`.
525525
You need to 'contain' or eager-load each association you want loaded in your
526526
results.
527527

528-
<!-- start-contain -->
528+
<!-- #region contain -->
529529

530530
Eager loading helps avoid many of the potential performance problems
531531
surrounding lazy-loading in an ORM. The queries generated by eager loading can
@@ -739,13 +739,13 @@ $query->contain([
739739
]);
740740
```
741741

742-
<!-- end-contain -->
742+
<!-- #endregion contain -->
743743

744744
<a id="filtering-by-associated-data"></a>
745745

746746
## Filtering by Associated Data Via Matching And Joins
747747

748-
<!-- start-filtering -->
748+
<!-- #region filtering -->
749749

750750
A fairly common query case with associations is finding records 'matching'
751751
specific associated data. For example if you have 'Articles belongsToMany Tags'
@@ -958,7 +958,7 @@ $query = $authorsTable
958958
This function will not load any columns from the specified associations into the
959959
result set.
960960
961-
<!-- end-filtering -->
961+
<!-- #endregion filtering -->
962962
963963
## Changing Fetching Strategies
964964

‎docs/en/orm/table-objects.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ You can manage event priorities in one of a few ways:
443443

444444
`method` Cake\\ORM\\Table::**addBehavior**(string $name, array $options = []): static
445445

446-
<!-- start-behaviors -->
446+
<!-- #region behaviors -->
447447

448448
Behaviors provide a way to create horizontally re-usable pieces of logic
449449
related to table classes. You may be wondering why behaviors are regular classes
@@ -491,7 +491,7 @@ class ArticlesTable extends Table
491491
}
492492
```
493493

494-
<!-- end-behaviors -->
494+
<!-- #endregion behaviors -->
495495

496496
You can find out more about behaviors, including the behaviors provided by
497497
CakePHP in the chapter on [Behaviors](../orm/behaviors).

‎docs/ja/orm/behaviors.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
## ビヘイビアーの利用
1414

15-
<!--@include: ./table-objects.md{401,446}-->
15+
<!--@include: ./table-objects.md#behaviors-->
1616

1717
## コアビヘイビアー
1818

‎docs/ja/orm/query-builder.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1258,11 +1258,11 @@ $query->cache(function ($q) {
12581258
あるようにテーブル間の関連をセットアップしてください。他のテーブルから関連するデータを
12591259
フェッチするためにクエリーを合成する技術を **イーガーロード** (eager load) といいます。
12601260

1261-
<!--@include: ./retrieving-data-and-resultsets.md{488,680}-->
1261+
<!--@include: ./retrieving-data-and-resultsets.md#contain-->
12621262

12631263
### 関連付くデータでフィルターする
12641264

1265-
<!--@include: ./retrieving-data-and-resultsets.md{686,858}-->
1265+
<!--@include: ./retrieving-data-and-resultsets.md#filtering-->
12661266

12671267
### Join を追加する
12681268

0 commit comments

Comments
 (0)