Skip to content

Update "Whats new" section for CakePHP 5.2 #387

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 5, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 9 additions & 11 deletions templates/element/home/whats_new.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,20 @@
</div>
<div class="description">
<div class="mb50 mt50">
<h2><?= __("What's new in 5.1") ?></h2>
<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:",
$this->Html->link(__("what's new in 5.1"), 'https://book.cakephp.org/5/en/appendices/5-1-migration-guide.html')
<h2><?= __("What's new in 5.2") ?></h2>
<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.2 are:",
$this->Html->link(__("what's new in 5.2"), 'https://book.cakephp.org/5/en/appendices/5-2-migration-guide.html')
) ?>
</p>
<ul>
<li><?= __('new plugin commands') ?></li>
<li><?= __('Components can now have dependencies injected by the container') ?></li>
<li><?= __('Upgraded to support PHPUnit 11.1+') ?></li>
<li><?= __('Improved enum validation') ?></li>
<li><?= __('More events, so you can observe your application more easily') ?></li>
<li><?= __('Geospatial type support') ?></li>
<li><?= __('INTERSECT operation support in Database queries') ?></li>
<li><?= __('New "counter_cache" command') ?></li>
<li><?= __('New "nativeuuid" database type') ?></li>
<li><?= __('Error handling customization using methods in "ErrorController"') ?></li>
<li><?= __('Helper method for generation importmap for JavaScript files') ?></li>
<li><?= __('Support for PHPUnit 12') ?></li>
</ul>
<div>
<a href="https://book.cakephp.org/5/en/appendices/5-1-migration-guide.html" class="btn btn-home">Learn more</a>
<a href="https://book.cakephp.org/5/en/appendices/5-2-migration-guide.html" class="btn btn-home">Learn more</a>
</div>
</div>
</div>
Expand Down