Releases: EasyCorp/EasyAdminBundle
4.24.3
Bug fixes
[37fc36f] Fix warning when matching menu item URLs without path (@javiereguiluz)
[a16b068] Disable switch if user has no permission to edit (@IndraGunawan)
4.24.2
Bug fixes
[2c6493e] Wrap form tab HTML attributes in double quotes (@dimanche-matin)
[0bf1177] Fix how we get the value of a query parameter in the layout template (@javiereguiluz)
[b74f56c] Deprecate the custom CacheWarmer that won't be used in the next version (@javiereguiluz)
[0b60a4c] Change AdminRouterSubscriber::getSymfonyControllerFqcn so it generates relative paths (@pacproduct)
[448072e] [Doc] Clarify that AdminDashboard only works for pretty URLs (@javiereguiluz)
4.24.1
Bug fixes
[200beff] Fix custom action not working when URL has a search query (@allan-simon)
[ea7494d] Fix menu item highlight when using pretty urls (@a-r-m-i-n)
[2537a4c] Update Ukrainian translation (@Atantares)
[5e48501] Add default locale to all pretty routes (@danut007ro)
[fce5882] Misc doc fixes (@Bisb)
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)