Skip to content

Releases: EasyCorp/EasyAdminBundle

4.24.0

31 Jan 19:12
Compare
Choose a tag to compare

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

21 Jan 19:11
Compare
Choose a tag to compare

Bug fixes

[322fd1c] Make NullFilter::CHOICE_VALUE_* consts public (@Sobak)
[fe672a4] Provide $previous exception context for EntityRemoveException (@Sobak)
[89fb2d2] Disallow clear in AssociationField when field is required (@Sobak)

4.23.1

20 Jan 19:53
Compare
Choose a tag to compare

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

18 Jan 19:17
Compare
Choose a tag to compare

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

17 Jan 19:39
Compare
Choose a tag to compare

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

15 Jan 18:41
Compare
Choose a tag to compare

Bug fixes

[f4edbf0] Force auto-generated CSRF token id (@nicolas-grekas)
[1453266] Add some missing deprecations about signed URLs (@javiereguiluz)

4.22.0

14 Jan 20:34
Compare
Choose a tag to compare

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

13 Jan 18:35
Compare
Choose a tag to compare

Bug fixes

[c14f516] Fix pretty URL redirection when using custom actions (@damien-louis)

4.21.0

12 Jan 11:05
Compare
Choose a tag to compare

New features

[8efaa68] When using pretty URLs, redirect ugly URLs automatically (@javiereguiluz)

Bug fixes

[623f063][b76eca4] Fix asset preloading (@fracsi)
[25e1df6] Fix active menu highlighting when there's a search query (@ywisax)

4.20.8

09 Jan 20:45
Compare
Choose a tag to compare

Bug fixes

[f813388] Fix an edge-case about pretty URLs and cache warm up (@javiereguiluz)