Skip to content

Commit 5dcf32b

Browse files
authored
Merge pull request #1703 from alanpoulain/chore/merge-2.7
2 parents f9e0125 + 21097dd commit 5dcf32b

File tree

4 files changed

+18
-13
lines changed

4 files changed

+18
-13
lines changed

core/controllers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ App\Entity\Book:
148148

149149
[/codeSelector]
150150

151-
It is mandatory to set the `method`, `path` and `controller` attributes. They allow API Platform to configure the routing path and
151+
It is mandatory to set the `method`, `uriTemplate` and `controller` attributes. They allow API Platform to configure the routing path and
152152
the associated controller respectively.
153153

154154
## Using the PlaceholderAction

core/operations.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,12 @@ use ApiPlatform\Metadata\ApiResource;
7676
use ApiPlatform\Metadata\Get;
7777
use ApiPlatform\Metadata\GetCollection;
7878

79-
#[ApiResource(operations: [
80-
new Get(),
81-
new GetCollection()
82-
])]
79+
#[ApiResource(
80+
operations: [
81+
new Get(),
82+
new GetCollection()
83+
]
84+
)]
8385
class Book
8486
{
8587
// ...

distribution/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,13 @@ Similarly, on Windows, only [Docker for Windows](https://docs.docker.com/docker-
7373
Open a terminal, and navigate to the directory containing your project skeleton. Run the following command to start all
7474
services using [Docker Compose](https://docs.docker.com/compose/):
7575

76-
Download and build the latest versions of the images:
76+
Download the latest versions of the images:
7777

7878
```console
79-
docker compose build --pull --no-cache
79+
docker compose pull --include-deps
8080
```
8181

82-
Start Docker Compose in detached mode:
82+
Then build images and Start Docker Compose in detached mode:
8383

8484
```console
8585
docker compose up -d

extra/releases.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,18 @@ For example:
1313

1414
## Maintenance
1515

16-
Only 3 versions are maintained at the same time:
16+
3 versions are maintained at the same time:
1717

18-
* **stable** (currently the **2.7** branch): regular bugfixes are integrated in this version
19-
* **old-stable** (currently **2.6** branch): security fixes are integrated in this version, regular bugfixes are **not** backported in it
18+
* **stable** (currently the **3.0** branch): regular bugfixes are integrated in this version
19+
* **old-stable** (currently **2.7** branch): [security fixes](security.md) are integrated in this version, regular bugfixes are **not** backported in it
2020
* **development** (**main** branch): new features target this branch
2121

22-
Older versions (1.x, 2.0...) **are not maintained**. If you still use them, you must upgrade as soon as possible.
22+
Older versions (1.x, 2.6...) **are not maintained**. If you still use them, you must upgrade as soon as possible.
2323

2424
The **old-stable** branch is merged in the **stable** branch on a regular basis to propagate [security fixes](security.md).
2525
The **stable** branch is merged in the **development** branch on a regular basis to propagate [security](security.md) and regular bugfixes.
2626

27-
New versions of API Platform are released **when they are ready**, on the behalf of the API Platform Core Team.
27+
New major versions of API Platform are released every 2 years.
28+
New minor versions of API Platform are released every 6 months.
29+
30+
The latest minor version of a major branch contains all the new features introduced in the first version of the next major, but also contains deprecated features which are removed in the next major branch.

0 commit comments

Comments
 (0)