Skip to content

Commit 124bbb3

Browse files
authored
Merge pull request #380 from cakephp/51-content
Update landing page content for 5.1
2 parents 1798209 + e8c137d commit 124bbb3

File tree

2 files changed

+14
-15
lines changed

2 files changed

+14
-15
lines changed

templates/Pages/home.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
$this->assign('socialMeta', $this->Meta->socialTags(['title' => $title, 'description' => $description]));
1313
?>
1414

15-
<?= $this->element('home/cakefest_online')?>
15+
<?php //= $this->element('home/cakefest_online')?>
1616

1717
<?= $this->element('home/cake')?>
1818

templates/element/home/whats_new.php

+13-14
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,22 @@
1010
</div>
1111
<div class="description">
1212
<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>
1518
<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>
2326
</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>
2827
<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>
3029
</div>
3130
</div>
3231
</div>

0 commit comments

Comments
 (0)