All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
3.4.1 - 2018-01-18
- typo in ListBuilder
3.4.0 - 2018-01-18
- Switched to templates from SonataAdminBundle
- Association templates
- Fixed invalid PathExpression error in ProxyQuery
3.3.0 - 2017-12-16
- Added refresh of edit button URL if item was replaced by add/list action
- 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 - 2017-11-30
- 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
- Change minimum doctrine/orm version to 2.4.5 because QueryBuilder bug on PHP7 and HHVM
- 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
- Support for old versions of PHP and Symfony.
3.1.7 - 2017-09-14
- added the missing
sonata-ba-field-error
class to table fields with errors - Replaced deprecated
getEntityManager
withgetManager
- Patched collection form handling script to maintain File input state when new items are added to collections
- Fixed invalid FieldDescription for association embedded properties
3.1.6 - 2017-07-05
- Throw an exception if property name is not found in field mappings
- Fixed
ModelManager::getDataSourceIterator
whengetSortBy
is empty - Wrong DQL generated for many to many relationship when filtering with not equals
- Fixed ClassFilter for Symfony 3+. Remove deprecated for Symfony > 2.7
3.1.5 - 2017-06-16
- A list field with
actions
type will get all the required field options just like the_action
field. _action
field will get a properactions
type.ModelFilter::handleMultiple
fix method to retrieve parent alias for building IDENTITY query part- One-to-many and many-to-many association script will not try to load links with "javascript:" hrefs via XHR.
- Fixed
AddAuditEntityCompilerPass::process()
when definitionsimplethings.entityaudit.audited_entities
is not present, as of2.x
version forsimplethings/entity-audit-bundle
.
3.1.4 - 2017-03-23
- Fixed broken translation in oneToMany table view
- Fixed wrong translation in delete checkbox in
edit_orm_one_to_many_inline_table.html.twig
- Fixed view - check specific item collection, not to the whole collection.
3.1.3 - 2017-01-17
- Consider NULL values when using 'is not equal' advanced model filter
- Use the right array conversion for filter value
- Fixed wrong link generation when calling
DatagridMapper::addIdentifier
on mapped field - Fixed duplicate translation of "Delete" in edit tab view
- Translation in twig templates uses the twig translation filter
3.1.2 - 2016-12-05
- ORM any-to-any list and show templates now use
hasAccess
- Fixed typo in exception message in
FormContractor
3.1.1 - 2016-10-04
- Use mor reliable
UnitOfWork::getEntityState()
method to detect persisted entities. - Typo on
RuntimeException
usages
3.1.0 - 2016-09-12
- Date range filter can now be used with only one side defined
- Use class names for filters when using symfony 2.8+
- Changed how
FormContractor::getDefaultOptions
checks which type is used. Instead of checking for an array of available types, we improve this by checking for the class instance or parents.
- Allow not mapped field to use
admin_code
option forsonata_type_model_list
FormContractor
supports the newSonata\AdminBundle\Form\Type\ModelListType
- Add missing translation of 'Delete' in edit view
- Use class name when referencing
Form Type
to be compatible with Symfony 2.8+
- internal test classes are now excluded from the autoloader
3.0.5 - 2016-06-05
- Fix
FormContractor::getDefaultOptions
not checking against form types FQCNs
3.0.4 - 2016-06-17
- Fix wrong property name on FormContractor
- Create form is shown instead of filters on
sonata_type_model_list
popup
3.0.3 - 2016-06-09
- Failing identifier management for relations as id
- Deprecated usage of
form
type name
3.0.2 - 2016-06-03
- Avoid duplicate field in ORDER clause
- Support embedded object for mapping
3.0.1 - 2016-05-22
- Added missing default sort by primary key(s).
- Allow non integer/string types as identifier (ex. uuid).