Skip to content

Releases: EasyCorp/EasyAdminBundle

1.6.0

27 Sep 18:57
Compare
Choose a tag to compare

This release took a lot of time ot be published, so the list of new features and fixed bugs is very extensive.

Features

[1f9bbc2] Dropdowns are now displayed with the Select2 library widget (@javiereguiluz)
[09b59a8] Added a toolbar panel + profiler to improve backend debugging (@javiereguiluz)
[f4dd66e] Allowed to define custom field types and options on-the-fly (@ogizanagi)
[fe745cc] Introduced the "template" field option to define a custom template to render the field
[ef5514e] Added support for flash messages (@gabiudrescu)
[48f775c] Improved search engine for numeric search queries (@javiereguiluz)
[6e3c824] Displayed the global form errors (@thomasbeaujean)
[588ac32] Dispatch events in tweaked actions (@thomasbeaujean)
[7561df5] Added support for properties defined using snake_case (@javiereguiluz)
[ef3f59a] Added a link to remove entries of the collections (@thomasbeaujean)
[5fc1a7d] Required only needed Symfony dependencies (@xabbuh, @javiereguiluz)
[f7fb266] Updated Bootstrap, jQuery and FontAwesome (@Pierstoval)

Minor changes and bug fixes

[7c7b52f] Fixed the search engine for PostgreSQL databases (@javiereguiluz)
[ff6f5ef] Added the translations for the field collection action (@thomasbeaujean)
[9d32134] Translated the error (and errors) label of forms (@thomasbeaujean)
[9d6be7e] Trigger events in the ajaxEdit() method to mimic edit() behavior (@javiereguiluz)
[62329ce][a884695] Translated boolean labels (@thomasbeaujean)
[c7339ab] Translated all the remaining labels and messages
[82087d4] Updated the Spanish translation (@javiereguiluz)
[141d648] Updated the German translation (@xabbuh)
[ebf1c71] Moved the detailed error pages from production to development (@javiereguiluz)
[7b7bc1b] Added Catalan translations file (@arnaugm)

1.5.5

22 Jun 06:43
Compare
Choose a tag to compare

This version introduces a new option called disabled_actions that provides a precise and simple control over the actions enabled for each entity (edit, new, etc.) This greatly simplifies the existing action management system.

New features

[a6367eb] Introduced a new "disabled_actions" option (read the updated documentation about actions)

Minor changes

[5553e70] Use real exceptions instead of rendering error pages with custom methods
[86b0884] Improved Dutch translation (@patrickkempff)
[5222da9] Updated sensio/distribution-bundle version (@Pierstoval)
[5a4d099] Replaced underscores by dashes in the CSS class names (see UPGRADE guide)

1.5.4

06 Jun 19:50
Compare
Choose a tag to compare

This is a minor bugfix release that introduces some minor features and fixes some minor issues.

Features

[b388163] Allowed to translate the form field help messages (@javiereguiluz)
[e569acd][e6b9fc6] Allow to use an empty string as the action name (to display only the icon) (@ogizanagi, @javiereguiluz)
[9dc093a] Allow to override _request_parameters (@Pierstoval)
[17b29dc] [Travis] Update Symfony version to 2.7 (@xabbuh)

Fixes

[b23b9b5] Workaround Composer memory exhausted issue on Travis with PHP 5.3 (@ogizanagi)
[0a24646] Fixed a typo in the UPGRADE guide (@xabbuh)
[da29645] Added a missing tip in the UPGRADE file (@Pierstoval)

1.5.3

26 May 06:52
Compare
Choose a tag to compare

This is a minor release which only contains one significant change in the form of a minor BC break: The css option has been renamed to css_class.

Before:

easy_admin:
    actions:
        # ...
            - { name: 'edit', class: 'danger' }
    entities:
        # ...
        fields:
            - { property: 'id', class: 'col-md-12' }

After:

easy_admin:
    actions:
        # ...
            - { name: 'edit', css_class: 'danger' }
    entities:
        # ...
        fields:
            - { property: 'id', css_class: 'col-md-12' }

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