Skip to content

Releases: sonata-project/SonataDoctrineORMAdminBundle

3.6.1

04 Jun 19:54
3.6.1
fa542f6
Compare
Choose a tag to compare

Fixed

  • Fix FieldDescription for multi-level embedded properties
  • marked sonata.admin.manager.orm as public service

3.6.0

23 Apr 09:23
3.6.0
ce108f8
Compare
Choose a tag to compare

Added

  • Added ProxyQuery::setDistinct and ProxyQuery::isDistinct.

Changed

  • Pager use CountWalker for get count.

3.5.1

10 Apr 08:12
3.5.1
f98eb6c
Compare
Choose a tag to compare

Fixed

  • Now it is possible to use entities with arguments on the constructor on the Collection and Admin types.

3.5.0

09 Apr 12:40
3.5.0
2f09845
Compare
Choose a tag to compare

Added

  • Support for "datetime_immutable", "datetimetz_immutable", "date_immutable" and "time_immutable" Doctrine types at TypeGuesser::guessType() and FilterTypeGuesser::guessType().
  • Added json_array to type guesser

Changed

  • Added doctrine/doctrine-bundle to composer.json

Fixed

  • embedded fields not working as filters
  • "nl2br() expects parameter 1 to be string, object given" error caused at base_show_field.html.twig.

3.4.2

08 Feb 10:12
3.4.2
f81775f
Compare
Choose a tag to compare

Changed

  • Switch all templates references to Twig namespaced syntax
  • Switch from templating service to sonata.templating

Fixed

  • Symfony 3.4 deprecation notice about getting private service AuditReader from the container
  • Hide selects added by OrderByToSelectWalker from hydration
  • Add orderBy field to select list for DataSourceIterator

Security

  • setSortOrder input is now validated

3.4.1

20 Jan 17:51
3.4.1
bdc0d5c
Compare
Choose a tag to compare

Fixed

  • typo in ListBuilder

3.4.0

18 Jan 00:02
3.4.0
17e334a
Compare
Choose a tag to compare

Changed

  • Switched to templates from SonataAdminBundle

Deprecated

  • Association templates

Fixed

  • Fixed invalid PathExpression error in ProxyQuery

3.3.0

16 Dec 18:32
3.3.0
10bde03
Compare
Choose a tag to compare

Added

  • Added refresh of edit button URL if item was replaced by add/list action

Fixed

  • Allow to add a new Model even if one is already selected
  • Fixed invalid PathExpression error in ProxyQuery
  • Issue with edit button always showing initial item in popup
  • Replaced FQCN strings with ::class constants
  • deprecation about Doctrine\ORM\Mapping\ClassMetadataInfo

3.2.0

30 Nov 10:56
3.2.0
230d4e8
Compare
Choose a tag to compare

Added

  • Added edit button that opens in dialog instead of add if there is object already in sonata type model list
  • Added ProxyQuery::setHint which allow to pass Query hint in createQuery

Changed

  • Change minimum doctrine/orm version to 2.4.5 because QueryBuilder bug on PHP7 and HHVM

Fixed

  • don't display fields that are missing in child classes
  • warning about deprecate "e" modifier for preg_replace
  • Fix sorting by multiple columns in custom createQuery in PostgreSQL and MySQL 5.7
  • compatibility with Symfony 4
  • Fix CollectionType on Symfony 3 when no type is specified
  • It is now allowed to install Symfony 4

Removed

  • Support for old versions of PHP and Symfony.

3.1.7

14 Sep 10:49
3.1.7
b06d010
Compare
Choose a tag to compare

Fixed

  • added the missing sonata-ba-field-error class to table fields with errors
  • Replaced deprecated getEntityManager with getManager
  • Patched collection form handling script to maintain File input state when new items are added to collections
  • Fixed invalid FieldDescription for association embedded properties