|
10 | 10 | </div>
|
11 | 11 | <div class="description">
|
12 | 12 | <div class="mb50 mt50">
|
13 |
| - <h2><?= __("What's new in version") ?></h2> |
14 |
| - <p><?= __("The migration guide has a complete list of what's new in. We recommend you give that page a read when upgrading. A few highlights from 5.0 are:") ?> |
| 13 | + <h2><?= __("What's new in 5.1") ?></h2> |
| 14 | + <p><?= __("The migration guide has a complete list of {0}. We recommend you give that page a read when upgrading. A few highlights from 5.1 are:", |
| 15 | + $this->Html->link(__("what's new in 5.1", 'https://book.cakephp.org/5/en/appendices/5-1-migration-guide.html')) |
| 16 | + ) ?> |
| 17 | + </p> |
15 | 18 | <ul>
|
16 |
| - <li><?= __('PHP 8.1 required.') ?></li> |
17 |
| - <li><?= __('Improved typehints across the framework. CakePHP now leverages union types to formalize the types of many parameters across the framework.') ?></li> |
18 |
| - <li><?= __('Upgraded to PHPUnit 10.x') ?></li> |
19 |
| - <li><?= __('New enum type mapping support in the ORM enabling more expressive model layers with improved type checking.') ?></li> |
20 |
| - <li><?= __('Table finders with named parameters, providing more expressive query building APIs.') ?></li> |
21 |
| - <li><?= __('Added time-only Time type and greatly improved Date and DateTime support via chronos 3.x.') ?></li> |
22 |
| - <li><?= __('Support for PSR17 HTTP factories was added.') ?></li> |
| 19 | + <li><?= __('new plugin commands') ?></li> |
| 20 | + <li><?= __('Components can now have dependencies injected by the container') ?></li> |
| 21 | + <li><?= __('Upgraded to support PHPUnit 11.1+') ?></li> |
| 22 | + <li><?= __('Improved enum validation') ?></li> |
| 23 | + <li><?= __('More events, so you can observe your application more easily') ?></li> |
| 24 | + <li><?= __('Geospatial type support') ?></li> |
| 25 | + <li><?= __('INTERSECT operation support in Database queries') ?></li> |
23 | 26 | </ul>
|
24 |
| - <p> |
25 |
| - <?= __('While CakePHP 5 contains a number of breaking changes we have prepared an exhaustive migration guide |
26 |
| - covering all the deprecated and removed features as well as highlighting the shiny new features.') ?> |
27 |
| - </p> |
28 | 27 | <div>
|
29 |
| - <a href="https://book.cakephp.org/5/en/appendices/5-0-migration-guide.html" class="btn btn-home">Learn more</a> |
| 28 | + <a href="https://book.cakephp.org/5/en/appendices/5-1-migration-guide.html" class="btn btn-home">Learn more</a> |
30 | 29 | </div>
|
31 | 30 | </div>
|
32 | 31 | </div>
|
|
0 commit comments