CHANGELOG.md 4.2 KB

CHANGELOG

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

18/01/2011

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

15/01/2011

  • 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