Skip to content

Releases: EasyCorp/EasyAdminBundle

1.5.2

21 May 15:06
Compare
Choose a tag to compare

This minor bugfix release fixes a problem that prevented to display the main menu in Safari browsers.

Changelog

[716e90e] [Menu] Fixed menu for Safari browsers (@ogizanagi)

1.5.1

21 May 07:14
Compare
Choose a tag to compare

This is a minor bugfix release to address an issue found when displaying the number of elements of some Doctrine collections.

Changelog

[91dbb69] Simplified the instructions to override the AdminController (@ogizanagi)
[1962c72] Made tests more robust and reduced code duplication
[8eba824] Fixed a problem when displaying the number of elements of Doctrine collections

1.5.0

17 May 17:23
Compare
Choose a tag to compare

This version is by far the most important release in the history of this bundle. In the previous version (1.4.0) we allowed you to tweak/replace any template or fargment used in the interface. In this new version, you can also tweak/override/replace any action executed during the backend workflow.

This means that you can tweak/override the method used to instantiate any entity, to create any form, to save/persist any entity, to execute any view (list, edit, show, etc.) And you can do all of that in two different ways: defining your own AdminController and using Symfony events.

Lastly, the documentation has been completely revamped, so you are encouraged to read it again, even if you already have experience with this bundle. You can read the new Getting Started Guide and the collection of Advanced Tutorials.

Features

[c31b171] Allow to override any action
[4baf490] Revamped and reorganized the entire documentation
[6f7fb05] Allow to configure the fields used for the search queries
[626a2fb] Highlight search terms in the search results listing
[dd4ba2d][7de902d] Added lots of functional tests (@Pierstoval)
[3e5ac07] After editing/deleting/showing an entity, the user is returned to his/her original listing/search page
[929f1e9] Allow to use entity.label and entity.name in any page title or button label
[1852e27] Added an advanced responsive main menu (@mashware)
[2c9bd0f] Added an UPGRADE guide detailing BC breaks
[a583cdf] Cache the Composer cache directory on Travis (@xabbuh)

Fixes

[47d9995] Changed the way we assign entity names and labels
[8d903b2] Fixed an issue with virtual fields that don't correspond to a Doctrine entity
[8deefda] Fix some design issues when header title is multiline (@Pierstoval)
[b38a0cc] Add back Travis job for lowest allowed deps (@xabbuh)

1.4.0

01 May 10:11
Compare
Choose a tag to compare

This new version allows to customize any backend element. You can override and/or tweak any template or fragment of the backend. You can do it globally or per entity. You can use our simple override mechanism or use your own templates. Read all the details in the new Customize the Templates of the Backend section in the Chapter 10 of the documentation.

Note: there is a small backwards compatibility break if your backend already overrides some templates because of the following changes:

  • form/entity_form.html.twig template has been renamed to form.html.twig (4d5736e)
  • _list_paginator.html.twig template has been renamed to _paginator.html.twig (7584d3b)
  • _flashes.html.twig template has been removed because it wasn't used in any other template (5f0e755)

New features

[ea029ab] [36e3369] Allow to easily customize/override any backend element
[d31ed39] [f1240c9] [b5456de] [f80196a] Main templates (layout, list, new, edit and show) now define a lot of new Twig blocks to easily override their contents.
[fb8457f] The contents of the form field help option can now include any HTML markup because they are displayed with the |raw filter (@Pierstoval)
[a696ef8] The labels of the listing table can now include any HTML markup because they are displayed with the |raw filter (@Pierstoval)
[467f1d8] Refactored the search logic to better use Doctrine expressions

Fixes

[fe1e906] The search form query now works for non-text fields, such as number and booleans (javiereguiluz)
[bad9ab2] Fixed an issue with responsive tables when displaying empty cells
[50140d4] Fixed field sorting for search action
[e154f63] Minor code fixes and improvements

1.3.0

22 Apr 15:23
Compare
Choose a tag to compare

The main feature of this new version are the new and spectacular responsive tables displayed when the backend is browsed using a smartphone. Check out how do these tables look

New features

[af26df3][ed08447] Implemented advanced responsive tables for smartphones
[53a8651][dd73a22] Updated header markup to follow Bootstrap best practices

Fixes

[1589496] Avoid using HttpFoundation/Response constants as they aren't compatible with sf <2.4 (ogizanagi)

Misc.

[890d0b8] Added Symfony 2.8 to Travis tests

1.2.1

19 Apr 20:23
Compare
Choose a tag to compare

This new version focused on fixing reported bugs. The fancy new features will return in the next version :)

New features

[2bc0858] Allow easier override of the "new" action. (Pierstoval)

Fixes

[3c280e1] Fixed and improved the documentation about the form types
[e76dc74] Improve field configuration parsing
[ae89628] Improved the internal URL for the dynamic CSS file
[dfb990e] Fixed the management of allowed and forbidden actions
[72f04cc] Fixed an issue when custom actions override default actions

1.2.0

12 Apr 20:32
Compare
Choose a tag to compare

This new version focused on adding new design customization options. Read the updated Chapter 10 to learn everything about the new options.

Features

[1c06a4e] Introduced a new "design" global option
[58b2959] Added the new 'theme' design option
[d69115e] Added the new 'form_theme' design option and simplified forms
[761ddc0] Added the new 'brand_color' design option
[ea8369b] Added the new 'color_scheme' design option

1.1.0

29 Mar 17:35
Compare
Choose a tag to compare

The main new feature of this version is the support of custom actions (read the new Chapter 8 for more details) and the addition of tens of new unit tests.

Features

[8cca619] Added support for custom actions and full action customization
[286c0f4] Deprecated list_max_results and list_actions global options. They have been replaced by the same options under the global list option. Your backend should keep working as previously because the bundle updates these options automatically for you.
[8cca619] Added tens of unit tests for Dependency Injection extension
[11689c0][701ad06] Added Travis CI and SensioLabsInsight badges

Fixes

[ffe6d07] Fixed a typo by referring to CSS assets in layout.html.twig (bmanolov)
[75a1a91] Don't allow to sort columns of one-to-many, many-to-one and many-to-many associations
[5270932] Don't use getBoolean() because it was introduced in Symfony 2.6
[71c15c4] Fixed a bug when using boolean flip switches from list view (Pierstoval)
[51f5871] Don't use deprecated Yaml component features (xabbuh)
[bf0516e] Fixed the label issue for checkbox in edit and new pages (Damien DECONINCK)
[06950b2] Fixed the translation for virtual fields label (Damien DECONINCK)

Documentation

[8cca619] Added a new chapter about customizing the actions of all views and adding your own custom actions

1.0.8

11 Mar 09:14
Compare
Choose a tag to compare

The main new feature of this version is the introduction of flip switches for boolean values. Now you can change the value of any boolean variable directly from the "list" page: see flip switches in action.

The other relevant feature is the introduction of the first unit tests. For now these tests focus on the configuration part of the bundle, which will allow us to move faster and with more confidence.

Features

[e2c10a1][fa47a37] Added click-to-toggle for boolean columns
[db84cc3] Allowed to configure the titles and labels of the pages and UI elements
[e631214] Added support for translating entity and property names (ogizanagi)
[b6ecf22] Defined new Twig blocks in the layout to override its contents more easily (Pierstoval)
[1ecc83f] Added the first unit tests of the bundle
[3b44030] Improved Travis configuration: allow to report results as fast as possible, use the container-based infrastructure and test agains several Symfony versions (xabbuh)
[2132b05] Improved the way we inspect the getters/setters of properties
[5b0f8b1] Added a convenient way to acces backend and entity config from the templates (ogizanagi)

Fixes

[368fc0b] Fix search title and other titles with html tags (ogizanagi)
[1af7ed8] Fix how images with absolute URLs are displayed in list/show actions (ogizanagi)
[57e3642] Fixed the way we handle the form field types in different actions

Translations

[f72ded3] Add bulgarian translation (bmanolov)
[d1f0ff1] Add Brazilian translation (ej-kun)

1.0.7

02 Mar 08:55
Compare
Choose a tag to compare

Features

[5904466] Added a new 'image' field type to display images in show/list actions
[498b363] [f26b05d] Improved the main menu to better display it on smaller devices and where there are lots of menu items (ogizanagi, Pierstoval)

Fixes

[bec8c72] Better control of white spaces for the action links
[7a7b5fb] Minor change to make the bundle compatible again with PHP 5.3
[a1a6afc] Use "delete_empty" option only if we're using Symfony 2.5.0 or higher
[9d5f5e8] Fixed association view issue (Pierstoval)

Translations

[c9dd378] Add Slovenian translation (peterkokot)
[a9cd169] Improved Russian language translation (KonstantinKuklin)
[71cef5d] Add German translation (sr972)

Documentation

[a75ebcf] Split documentation into smaller chapters