Releases: sonata-project/SonataAdminBundle
Releases · sonata-project/SonataAdminBundle
3.18.1
Fixed
- Fixed select2 width calculation when using select2 v4
- Compatibility with Select2 v4 on model autocomplete type
3.18.0
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
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 thetarget_admin_access_action
option - Non existent
isSuperior
key onFormView
error
Removed
- recently introduced checkbox-disabling feature, which was not stable enough
3.16.0
Added
- Added
onTop
parameter on@Admin
annotation - Added new
keep_open
option to keep menu group always open
Fixed
field_description
comparison inbase_list_field.html.twig
3.15.1
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
andproperty_path
inAdminType
3.15.0
Added
- Add polish translation of
title_show
- Added the ability to leave the label of a show field empty by passing
label => false
toShowMapper::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
Added
- Added
label
andtranslation_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 forurl
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 ofSHOW
- Handling of boolean types in
HelperController
- use
hasAccess
instead ofisGranted
- 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
inbase_list_field.html.twig
Changed
- The export and list actions now integrate the sonata exporter bundle
- Changed
ActiveVoter
andChildrenVoter
to only work with menu items having theSonataAdminBundle
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()
byhasAccess()
orcheckAccess()
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
Added
- Added support for priority attribute in the Extension compiler pass
Fixed
- Compatibility of ajax actions with Twig 2.0
3.12.0
Added
- Compatibility with Twig 2.0
Changed
--services
default-value to null inSonata\AdminBundle\Command\GenerateAdminCommand
Deprecated
ModelToArrayTransformer::$choiceList
propertyModelToArrayTransformer::$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
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.