Skip to content

Releases: EasyCorp/EasyAdminBundle

1.11.1

17 Jan 20:37
Compare
Choose a tag to compare

This is a minor bugfix release which fixes a problem with the layout.html.twig template when including the new menu.html.twig template used for custom menus. See [1b0a4d8] for details.

1.11.0

17 Jan 16:36
Compare
Choose a tag to compare

This new version adds a long-awaited feature: the possibility of customizing the main menu of the backend. You can now customize the order of the items, their labels and icons, you can create submenus, dividers, and even change the default homepage of the backend.

New features

[6dfe83f] Allow to create custom menus for the backends (@javiereguiluz)

Bug fixes

[6279a65] Fixed the layout of the new theme to make the sidebar sticky (@ogizanagi)
[b0c8e9a] Fixed the length issues of the widgets that use Select2 (@ogizanagi)

Translations

[c1556ef] Updated Basque (eu) translation and fixed Spanish (es) translations (@anboto)

1.10.4

15 Jan 17:11
Compare
Choose a tag to compare

This version introduces a complete redesign of the default backend theme. We now use the standard AdminLTE 2 backend template, which has been customized a bit to match our look and feel. See details.

How does this change affect your backend?

  1. If you haven't customized the templates of the bundle:

You don't have to do anything to get the new theme. If there is some error, reinstall the CSS/JS assets executing this command:

$ php app/console assets:install --symlink
  1. If you have customized the templates of the bundle:

You may need to change some HTML attributes or CSS selectors. These are the three backwards incompatible changes:

Before After
#header-menu .sidebar-menu
form#content-search .action-search form
#content-actions .global-actions

Besides, the names of the EasyAdmin asset files have changed: admin.css is now easyadmin.css and admin.js is now easyadmin.js.

1.10.3

14 Jan 17:18
Compare
Choose a tag to compare

Besides the usual bug fixes and new minor features, this version updates lots of translation files (we're still looking for translators for the rest of languages). Stay tuned because the the next EasyAdmin version will include a stunning new design for the default backend theme (see https://github.com/javiereguiluz/EasyAdminBundle/pull/791).

Features

[fd994f2] Allow to define EasyAdmin configuration in different files (@javiereguiluz)
[63471ad] Tweaked form attributes (@ogizanagi)

Fixes

[6525cf5] Fix event listener registered multiple times (@ogizanagi)
[8785d51] Fixed a design issue when the user is anonymous (@reypm)
[e007b76] Updated the list of project contributors (@ogizanagi)
[6bcf35b] Fixed a bug that prevented using multiple entity managers (@anboto)
[6a0ebb1] Fixed deleting the last entity redirected to page -1 instead of showing "No results" (@ogizanagi)
[6df8607] Fixed the EasyAdmin icon in the Symfony toolbar for Symfony 2.7 and earlier versions (@yceruto)
[91b3226] Simplified the default CSS classes applied to generated forms (@rubengc)

Documentation

[113aca3] Added a new tutorial about managing complex backends (@javiereguiluz)
[3b47e18] Added a new tutorial about formatting dates and numbers (@javiereguiluz)
[758221f] Improved the CONTRIBUTING guide with more Git information (@javiereguiluz)

Translations

[838ffd5] Add missing translation for DELETE button on modal (@reypm)
[7bd233a] Updated Italian (it) translations (Luca Ferri)
[fdba265][351c48c] Updated Polish translations (@mkalisz77, @Jjourde)
[8a1efd4] Updated German translations (@xabbuh)
[6c3517e] Added Romanian (RO) translation (@gabiudrescu)
[46921eb] Updated Catalan translations (@rubengc)
[8fbefc0] Updated Slovenian translation (@peterkokot)
[470b774] Updated Turkish translation (@fatihkahveci)

1.10.2

03 Jan 21:33
Compare
Choose a tag to compare

This new version introduces a massive change in the way we handle configuration internally. This change doesn't affect your backends in any way and you don't have to make any change. The only difference you'll notice is that the backend is a bit faster because we now process the entire documentation using a compiler pass instead of processing it for each request.

Features

[55559dc] Refactored the way configuration is managed (@javiereguiluz)

Bug fixes

[ac6a637] Removed some CSS classes applied to <form> tag (@ogizanagi)

Minor changes

[6ddfd79] Updated year in the license (@xabbuh)
[cfcb57f] Tweaked config normalizers (@ogizanagi)
[c31f96f] Fixed typo in documentation (@gabiudrescu)

1.10.1

31 Dec 17:47
Compare
Choose a tag to compare

This is a minor bugfix release that fixes a minor issue with virtual fields and their metadata (see https://github.com/javiereguiluz/EasyAdminBundle/pull/726).

1.10.0

31 Dec 15:12
Compare
Choose a tag to compare

The most important new feature is the possibility of showing the delete action to all the items displayed in the list view, which was a feature requested by lots of users. When upgrading to the new version, keep in mind that when defining custom CSS classes for entity properties, you must use the css_class option and not the deprecated class option (this was deprecated a while ago, but because of a bug it wasn't enforced until this version).

New features

[0a85143] Allowed to add the delete action for all the items displayed in the list view (@ogizanagi)
[49a0057] Introduced AdminController::getEntityFormOptions() to allow setting form options before sending it to the form builder (@Pierstoval)
[0d80068] When no configuraiton is defined, we exclude some fields by default to improve "the first experience" (@javiereguiluz)
[a940b8a] Allowed to use a custom template for exception pages (just override the exception.html.twig template using the same mechanism applied to any other template) (@javiereguiluz)

Bug fixes

[239c1fe] Properties must define css_class instead of class in their configuration (@ogizanagi)
[a094064] Fixed ExceptionListener: exception to log isn't necessarily a BaseException instance (@ogizanagi)
[2119850] Fixed virtual field should not have a default label (@ogizanagi)
[7cb121b] Allowed to use 'horizontal' and 'vertical' form theme shortcuts even when using several form themes simultaneously (@Pierstoval)
[e4188bf] Fixed the CSS class applied to form-group <div> by using block prefixes (@ogizanagi)

Documentation

[ffc5d35] Added a new tutorial about integrating VichUploaderBundle to allow file uploading (@javiereguiluz)
[beb67f7] Added a new tutorial about translating the backend (@javiereguiluz)
[dd409de] Added a new tutorial about defining custom actions (@javiereguiluz)

Misc. changes

[65998b4] Refactored the EasyAdminExtension DI extension (@javiereguiluz)
[35b3576] Updated the Spanish translation file for form.label.empty_value key (@sebastianlp)

1.9.8

24 Dec 18:20
Compare
Choose a tag to compare

This version includes some nice new features and fixes a lot of small issues. It also adds a new tutorial about WYSIWYG editors and the new CONTRIBUTING guide.

The most important feature is the introduction of EntityTypeConfigurator, which allows to define custom configuration options for any form field. This change doesn't affect you in any way while creating backends, but it provides us a great flexibility to tweak form types, specially those provided by third-party bundles.

The first example of EntityTypeConfigurator in action is the CKEditor provided by IvoryCKEditorBundle. When you use that editor in an EasyAdmin backend, its default configuration is better than when you use it in your own Symfony applications. Our intention is to provide great default configurations for some popular third-party bundles in order to improve their integration with EasyAdmin.

Features

[ddd5b95] Added a new design.assets.favicon configuration option to define favicons for the backend different than the rest of the site (@ogizanagi)
[accd358] Required form fields are now highlighted with a red asterisk (@Pierstoval)
[6696e5f] Added a delete button for removing non-compound items from collection (@ogizanagi)
[7a07042][b0fbad6] Introduced EntityTypeConfigurator interface to create an easier way to customize the options of the form types (@ogizanagi)

Bug fixes

[dc63e91][7fc1e9b] Fixed test configuration to avoid PHPUnit form outputting exception messages (@ogizanagi)
[f68263e] Used more accurate checks for BC layers (@ogizanagi)
[3ba5642][22ad05a] Minor fixes in EasyAdminFormType::getFormTypeFqcn which is used to maintain compatibility between 2.x and 3.x form types (@ogizanagi)
[8e32bf4] Removed the now unused easyadmin.property_reflector class from services (@motvicka)
[758c164] Boolean fields are displayed as "flip switches" by default (@javiereguiluz)
[02a4bc7] [Configurator] Explicitly use "entity" type for associations instead of guessing it later (@ogizanagi)
[00758db] Fixed an error that prevented associated entities from being linked in "list" view (@javiereguiluz)
[2ae0ecb] Fixed the CSS styles applied to Bootstrap buttons (@ogizanagi)
[33d6019] Fix an error that prevented to remove the label of the actions to display just their icon (@ogizanagi)

Documentation

[bc73b2e] Documented the new design.assets.favicon option (@javiereguiluz)
[5d7d6d1] Added a new tip about using a different locale in the backend (@javiereguiluz)
[64bce38] Added a tutorial to integrate CKEditor to create WYSIWYG editors (@javiereguiluz)
[d267de4] Added CONTRIBUTION guideline (@helios-ag, @javiereguiluz)

Misc

[e05098a][ab76b09] Removed some unneeded templates after the last refactorings (@Pierstoval, @ogizanagi)
[f515c27] Removed useless HTML attributes in EasyAdminFormType (@ogizanagi)

1.9.7

13 Dec 18:53
Compare
Choose a tag to compare

This is a minor bug release.

Fixes

[9541c00] Fixed more errors in the method that updates entity's properties (@javiereguiluz)

1.9.6

13 Dec 18:36
Compare
Choose a tag to compare

This is a minor bugfix release.

Fixes

[13561b4] Removed a legacy usage of the "isWritable" property (@javiereguiluz)