github EasyCorp/EasyAdminBundle v4.26.0
4.26.0

14 hours ago

This new version introduces many new features related to actions. First, we added a new Button component to render the buttons used for actions. They look similar to before but now they look much cleaner and more polished. The following images show all the new button variants in both light and dark modes:

easyadmin-buttons-light-mode

easyadmin-buttons-dark-mode

We also updated the order in which actions are displayed on pages. We believe this feature applies the best possible ordering in most situations, but you can opt out if you prefer and you can also continue using the reorder() method to define the exact order of your actions.

Finally, we added a new feature to group actions. This is an essential addition for complex backends that define many custom actions. You can now display multiple actions under a single button:

easyadmin-action-group

You can also define a main action that appears as a clickable split button, while the remaining actions are displayed when hovering over the split toggle:

easyadmin-action-group-split-button

These action groups also work on the index page, where they appear as nested dropdowns; or even as split dropdown items if the group defines a main action:

easyadmin-action-group-entity-dropdown

All these features are fully documented, so make sure to read the updated chapter about actions in the EasyAdmin docs. This feature was just merged, so you may need to wait a few hours until symfony.com rebuilds the documentation.

New features

[32e6169] Add a new Button component (@javiereguiluz)
[4e877c9] Update the default ordering of actions (@javiereguiluz)
[d8ed224] Allow to group actions into dropdowns (@javiereguiluz)
[96e8fbc] Dispatch autocomplete event on the select element (@Seb33300)

Bug fixes

[1433518] Fix custom admin routes when applied more than one to CRUD actions (@javiereguiluz)
[c5f3ce1] Fix generating locale change URLs for custom route (@andersonamuller)
[e5a30b3] Do not use deprecated ea global variable in macros (@smnscp)
[3796396] Fix SlugField not working in collection (@GuillaumeRoques)
[a4eeb8c] Allow decoration of AdminContextFactory (@ogrosse)
[307ea39][1357b37] Misc. doc updates (@Seb33300, @MA-XXXI)

Don't miss a new EasyAdminBundle release

NewReleases is sending notifications on new releases.