Skip to content

Releases: sonata-project/SonataAdminBundle

3.18.1

12 May 12:44
3.18.1
922819c
Compare
Choose a tag to compare

Fixed

  • Fixed select2 width calculation when using select2 v4
  • Compatibility with Select2 v4 on model autocomplete type

3.18.0

09 May 15:47
3.18.0
0ba299f
Compare
Choose a tag to compare

Added

  • Added new configuration parameter named empty_boxes with 3 variable: show, hide, fade

Fixed

  • Undefined admin action error on ModelAutocompleteFilter
  • added missing italian translations
  • deprecations when using sonata.admin.form.type.model_list

3.17.0

25 Apr 13:41
3.17.0
e101c48
Compare
Choose a tag to compare

Added

  • Added editable support for association fields from type choice in ListMapper
  • Added also new class option for field description
  • Translation can now be disabled on specific form fields

Changed

  • Changed GroupMenuProvider::get to setDisplay(false) on menuItem if on_top used and no items could be displayed

Fixed

  • Fixed the bug that caused an error "The helper "dialog" is not defined." on Symfony3 with new \Sensio\Bundle\GeneratorBundle\Command\Helper\QuestionHelper when you run command "sonata:admin:generate-object-acl".
  • Fixed issue on getExtendedType of MopaCompatibilityTypeFieldExtension and ChoiceTypeExtension because the method requires to return the fully-qualified class name (FQCN) since symfony version 2.8
  • ModelType have choices as values by default now on SF 2.7+.
  • Users without the LIST role can access the autocomplete items by configuring the target_admin_access_action option
  • Non existent isSuperior key on FormView error

Removed

  • recently introduced checkbox-disabling feature, which was not stable enough

3.16.0

31 Mar 09:31
3.16.0
9ef795a
Compare
Choose a tag to compare

Added

  • Added onTop parameter on @Admin annotation
  • Added new keep_open option to keep menu group always open

Fixed

  • field_description comparison in base_list_field.html.twig

3.15.1

28 Mar 15:54
3.15.1
4f978ab
Compare
Choose a tag to compare

Added

  • Added Brazilian Portuguese translation of title_show

Changed

  • change show picto on list view to use the same than in edit view

Fixed

  • do not double FieldDescription::Name and property_path in AdminType

3.15.0

27 Mar 09:50
3.15.0
7517f4f
Compare
Choose a tag to compare

Added

  • Add polish translation of title_show
  • Added the ability to leave the label of a show field empty by passing label => false to ShowMapper::add()

Changed

  • Make sure Moment.js translations work for every locale
  • The sonata/exporter constraint has been bumped to ^1.7

Fixed

  • Sanitize masked fields in ChoiceFieldMaskType
  • Whitespaces are not taken into account when rendering blocks on standard_layout
  • fixed boolean handling for xEditableType

3.14.0

16 Mar 09:21
3.14.0
dad38b8
Compare
Choose a tag to compare

Added

  • Added label and translation_domain fallback for batch actions
  • Config option to disable autoregistration of annotations with JMSDiExtraBundle
  • Added missing titles to the CRUD show page.
  • Added attributes parameter for url field type
  • Added a missing variable placeholder to a translation unit.

Fixed

  • Missing title for nested admin
  • Setting data form on update form field element by using sonata_type_model
  • deprecation notices that could not be avoided in the CoreController class
  • Fix #4292: don't overwrite JMSDiExtraBundle default configuration
  • Fixed markup on list on Admin with subclasses
  • x-editable choices are now correctly translated
  • Default translation of Base Breadcrumb Dashboard
  • Remove duplicated breadcrumb on admin list
  • Breadcrumb without link are now displayed correctly
  • Unified styles between admins with subclasses and admins without subclasses
  • name of permission, use VIEW instead of SHOW
  • Handling of boolean types in HelperController
  • use hasAccess instead of isGranted
  • better readability of exception message when too many admins are registered
  • Improve Catalan and Spanish translations
  • Fixed inconsistent translation placeholder quoting.
  • Batch action breaks when coming from list view with filter using doctrine_orm_model_autocomplete
  • Fixed non-existent variable action in base_list_field.html.twig

Changed

  • The export and list actions now integrate the sonata exporter bundle
  • Changed ActiveVoter and ChildrenVoter to only work with menu items having the SonataAdminBundle extra set.
  • Updated AdminLTE to 2.3.11
  • Removed non FQCNs on form types on AbstractAdmin
  • When checking the delete checkbox of an inline child form of CollectionType the related fields are now disabled to avoid preventing submission of the form when one of those inputs is required.
  • Updated Luxembourgish translations
  • Changed inconsistent translation unit name.
  • Replaced isGranted() by hasAccess() or checkAccess()

Deprecated

  • Exporter class and service : use equivalents from sonata-project/exporter instead.
  • auto registration of JMSDiExtraBundle annotations is now discouraged in favor of doing it manually

3.13.0

03 Feb 09:13
3.13.0
021646d
Compare
Choose a tag to compare

Added

  • Added support for priority attribute in the Extension compiler pass

Fixed

  • Compatibility of ajax actions with Twig 2.0

3.12.0

31 Jan 10:14
3.12.0
a06c89c
Compare
Choose a tag to compare

Added

  • Compatibility with Twig 2.0

Changed

  • --services default-value to null in Sonata\AdminBundle\Command\GenerateAdminCommand

Deprecated

  • ModelToArrayTransformer::$choiceList property
  • ModelToArrayTransformer::$choiceList::__construct() three-argument-signature is deprecated

Fixed

  • "Silent display of undefined block" Twig deprecation
  • Twig deprecation notice when using template inheritance to get a macro
  • The request parameter is passed to custom batch actions.

3.11.0

17 Jan 09:58
3.11.0
35d42c5
Compare
Choose a tag to compare

Added

  • Extract admin group and label translations
  • JQuery event trigger to Admin.setup_list_modal()

Changed

  • Updated compiler pass to support parent definition when using abstract service for admin.

Fixed

  • Fixed behaviour of persistent parameters in list editables
  • JMSDiExtraBundle is configured correctly to pick up Sonata annotations.