Skip to content

Latest commit

 

History

History
234 lines (155 loc) · 7.45 KB

CHANGELOG.md

File metadata and controls

234 lines (155 loc) · 7.45 KB

CHANGELOG

2013-12-27

  • [BC BREAK] Added KnpMenuBundle v2.x compatibility, buildSideMenu must now use the Admin::generateMenuUrl method to generate the route arguments for the KnpMenu options.

2013-12-14

  • [BC BREAK] Added the getTranslationLabel method to AdminInterface

2013-12-05

  • [BC BREAK] Move some classes to SonataCoreBundle, you need to add a new dependency

2013-11-23

  • [BC BREAK] added getBatchActions to the AdminInterface If you do not extend the Admin class, you need to add this method to your admin.

2013-10-13

  • [BC BREAK] added setCurrentChild, getCurrentChild to the AdminInterface If you do not extend the Admin class, you need to add these methods to your admin.

2013-10-05

  • [BC BREAK] added getExportFormats, getDataSourceIterator to the AdminInterface If you do not extend the Admin class, you need to add these methods to your admin.

2013-10-01

  • [BC BREAK] added supportsPreviewMode to the AdminInterface If you do not extend the Admin class, you need to add this method to your admin.

2013-09-30

  • [BC BREAK] added getFilterParameters to the AdminInterface If you do not extend the Admin class, you need to add this method to your admin.

2013-09-27

  • [BC BREAK] added hasParentFieldDescription, getPersistentParameters, getParentFieldDescription, getUniqid, getBaseCodeRoute, getIdParameter to the AdminInterface If you do not extend the Admin class, you need to add these methods to your admin.

  • added support for select2 (jQuery based replacement for select boxes)

2013-09-23

  • change list's action buttons to use btn-small from twitter bootstrap

2013-09-20

  • [BC BREAK] added getTranslator, getForm, getBreadcrumbs to the AdminInterface If you do not extend the Admin class, you need to add these methods to your admin.

2013-09-13

  • [BC BREAK] added getMaxPerPage, setMaxPerPage, setPage, setQuery , getResults to the PagerInterface If you do not extend the Pager class, you need to add these methods to your pager.

  • [BC BREAK] added isActive to the FilterInterface If you do not extend the Filter class, you need to add this method to your filter.

2013-09-11

  • [BC BREAK] added hasShowFieldDescription, hasListFieldDescription, removeListFieldDescription, removeFilterFieldDescription, hasFilterFieldDescription to the AdminInterface If you do not extend the Admin class, you need to add these methods to your admin.

  • [BC BREAK] added reorderFilters to the DatagridInterface If you do not extend the Datagrid class, you need to add this method to your Datagrid.

2013-09-05

  • [BC BREAK] added getListBuilder, getDatagridBuilder, setBaseControllerName, getBaseControllerName, getFormFieldDescriptions, getRoutes, getFilterFieldDescriptions, getListFieldDescriptions, isChild to the AdminInterface If you do not extend the Admin class, you need to add these methods to your admin.

2013-08-30

  • [BC BREAK] added getLabel, removeShowFieldDescription, getShowGroups, setShowGroups, reorderShowGroup to the AdminInterface If you do not extend the Admin class, you need to add these methods to your admin.

2013-07-26

  • [BC BREAK] added alterNewInstance to AdminExtensionInterface If you do not extend the AdminExtension, you need to add an empty method to your extension classes:

    public function alterNewInstance(AdminInterface $admin, $object)
    {}
    
  • [BC BREAK] added hasRequest to the AdminInterface If you do not extend the Admin class, you need to add a hasRequest method to your admin like this (depending on how you handle the request you return in getRequest:

    public function hasRequest()
    {
        return null !== $this->request;
    }
    

2013-07-23

  • [BC BREAK] changed route name/pattern guesser to be more acurate and persistance layer agnostic, this might affect you if you use a namespace scheme similar to the examples below:
    • Before - admin for Symfony\Cmf\Bundle\FoobarBundle\Document\Bar generated base route name admin_bundle_foobar_bar and base pattern /cmf/bundle/bar
    • After - admin for Symfony\Cmf\Bundle\FoobarBundle\Document\Bar generates admin_cmf_foobar_bar and /cmf/foobar/bar

2013-07-05

  • Remove qTip

2012-11-25

  • [BC BREAK] change the configureSideMenu signature to use the AdminInterface

    • protected function configureSideMenu(MenuItemInterface $menu, $action, Admin $childAdmin = null)
    • protected function configureSideMenu(MenuItemInterface $menu, $action, AdminInterface $childAdmin = null)

2012-08-05

  • [BC BREAK] remove getListTemplate, getEditTemplate, getShowTemplate => just use getTemplate('edit')
  • add a delete template configuration entry

2012-06-05

  • [BC BREAK] Fix bug introduces by 09334d81, now an admin must have the role ROLE_SONATA_ADMIN to see the top bar navigation

2012-05-31

  • Update batch action confirmation message (breaks some translations)

2012-05-02

  • [BC BREAK] add ProxyQueryInterface hint into the FilterInterface class

2012-03-07

  • [BC BREAK] Extension : refactor the AdminExtensionInterface to use the proper AdminInterface, add a new configureQuery method
  • Add export to xls format (html file)

2012-03-01

2012-02-28

2011-09-04

  • Add a delete option on widget with edit = list
  • Refactoring the Menu/Breadcrumb management due to a change in the KnpLab Menu lib

2011-08-03

  • remove property definitions
  • add TypeGuesser for list/show/filter
  • refactor [Form|List|Filter|Show]|Mapper to match the Symfony2 Form API
  • add theme form definition from within the Admin class - default : SonataAdminBundle:Form:admin_fields.html.twig
  • add new twig block type names to allows custom widget layouts per admin
  • add show

2011-04-01

  • migrate to the new form framework

2011-03-03

  • add sortable option

2011-02-08

  • add prototype for nested admin

2011-02-07

  • refactor code to use builder (FormBuilder, DatagradBuilder, FilterBuilder)

2011-02-02

  • starting to use the form.field_factory service
  • update code to integrate the last symfony changes

2011-01-24

  • add list mode
  • add 'add_empty' option to association widget (ie: select)
  • add country field type
  • refactor the form creation

2011-01-18

  • respect symfony conventions
  • add new base edit template (standard and inline)
  • admin instances are not singletons anymore
  • add inline edition

2011-01-15

  • respect symfony conventions
  • add a FieldDescription
  • register routes by using the getUrls from each Admin class
  • build admin information "on demand"
  • create an EntityAdmin and add new abstract method into the Admin class
  • add inline edition for one-to-one association