github sonata-project/SonataAdminBundle 3.50.0

latest releases: 4.30.2, 4.30.1, 4.30.0...
4 years ago

Added

  • Added "role" option for methods ListMapper::add(), DatagridMapper::add(),
    ShowMapper::add() and FormMapper::add(); in order to restrict the content
    rendering based on the provided role.

Fixed

  • Fixed deprecation notice when core services are injected in service through
    autowiring
  • Deprecated controller syntax generated by "sonata:admin:generate" command.
  • Bumped "twig/twig" dependency to "^2.9"
  • Changed usages of {% spaceless %} tag, which is deprecated as of Twig 1.38
    with {% apply spaceless %} filter
  • Changed usages of {% for .. if .. %}, which is deprecated as of Twig 2.10
    with filter filter'
  • Edit form field group descriptions may again contain HTML.

Changed

  • Truncate long titles at 100 characters at breadcrumb and navbar.
  • Subject is now fully displayed at navbar. Before, it was using the same title
    as the <title> tag, which is truncated to 15 characters.
  • Values to passed with the "identifier" option for ListMapper::add() are
    cast to boolean before using them to infer if the field must be used as
    identifier or not.

Deprecated

  • Passing non boolean values to "identifier" option for ListMapper::add().

Don't miss a new SonataAdminBundle release

NewReleases is sending notifications on new releases.