Releases: EasyCorp/EasyAdminBundle
4.24.0
This new version changes the recommended way to define the main route of dashboards:
// BEFORE:
use Symfony\Component\Routing\Attribute\Route;
class DashboardController extends AbstractDashboardController
{
#[Route('/admin', name: 'admin')]
public function index(): Response
{
// ...
}
}
// AFTER:
use EasyCorp\Bundle\EasyAdminBundle\Attribute\AdminDashboard;
#[AdminDashboard(routePath: '/admin', routeName: 'admin')]
class DashboardController extends AbstractDashboardController
{
public function index(): Response
{
// ...
}
}
This will be the only supported way of defining the main dashboard route in Easyadmin 5.x. We do this because this change allows us to simplify a lot of features and improves the application performance slightly.
New features
[287f467] Improve the #[AdminDashboard]
attribute (@javiereguiluz)
Bug fixes
[64f33db] Fix an edge-case with pretty URLs and multiple dashboards (@javiereguiluz)
[32eaf4f][774d89f][d9320f8] Updated tests to remove all mocks related to final classes (@javiereguiluz)
[576f168] Misc doc fixes (@torchello)
4.23.2
4.23.1
Bug fixes
[9c784fe] Inject interfaces in menu item matcher instead of concrete implementations (@dragosprotung)
[fd6edb6] Fix ugly URLs with i18n backends (@dragosprotung)
[8e2c268] Improve the URL Field and add tests (@javiereguiluz)
[8901844] Keep URL absolute type for dashboards URLs (@dragosprotung)
4.23.0
New features
[1128fb4] Allow customize entity row attributes on index page (@zorn-v)
Bug fixes
[f847296] Use a better escaping mechanism for HTML attributes (@javiereguiluz)
[d36dbf2] Improve findRoute() method in admin route generator (@javiereguiluz)
[a95c204] Fix batch actions with ugly URLs (@javiereguiluz)
4.22.2
Bug fixes
[3178099] Add some missing deprecations related to forms (@javiereguiluz)
[cfeb05b] Fix set current route parameters with pretty urls enabled (@zorn-v)
[3aea6c9] Fix Dashboard menu item highlighting (@javiereguiluz)
4.22.1
Bug fixes
[f4edbf0] Force auto-generated CSRF token id (@nicolas-grekas)
[1453266] Add some missing deprecations about signed URLs (@javiereguiluz)
4.22.0
New features
[2ed6666] Allow customizing some parts of the login form page via Twig blocks (@Pierstoval)
Bug fixes
[e635148] Added some missing deprecations related to referrer URLs (@javiereguiluz)
[3179481] Do not redirect to pretty URL when CRUD controller is null (@Seb33300)
4.21.1
Bug fixes
[c14f516] Fix pretty URL redirection when using custom actions (@damien-louis)
4.21.0
4.20.8
Bug fixes
[f813388] Fix an edge-case about pretty URLs and cache warm up (@javiereguiluz)