All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
2.3.0 - 2019-10-03
Child "_delete" does not exist
in Collection when we don't have delete permission
sonata-project/core-bundle
dependencies from^3.8
to^3.14
- use new
Sonata\Form\Type\*
namespace of SonataCoreBundle
2.2.0 - 2019-01-22
- Symfony 4 support
- Form Type Filter ChoiceType Symfony 3 compatibility
- Deprecation for symfony/config 4.2+
- support for php 5 and php 7.0
2.1.1 - 2018-02-08
- Switch all templates references to Twig namespaced syntax
- Switch from templating service to sonata.templating
2.1.0 - 2018-01-08
- version 2.0 for
phpcr-odm
- Support for old versions of PHP and Symfony.
- Missing root_node parameter in cmfTree options
- 2017-04-26: [BC break] The tree routing is no longer optional. Require
@SonataDoctrinePhpcrAdminBundle/Resources/config/routing/tree.xml
in your routing file. - 2017-02-06: [BC break] Removed
Datagrid\SimplePager
in favor of the one provided by the SonataAdminBundle. - 2015-05-06: [BC break] Removed
Tree\PhpcrOdmTree
. - 2015-05-06: [BC break] Changed first argument of
Controller\TreeController
fromTreeInterface $tree
to$repositoryName = 'default'
. - 2015-05-06: [BC break] The tree block template now only recieves a
repository_name
,root_node
androuting_defaults
variables. - 2015-05-06: Added
document_tree_repository
setting. - 2015-05-06: [BC break] Removed
Form\Type\TreeModelType#setTree()
method and$tree
property.
- 2014-10-22: Updated the template
Block/tree.html.twig
, parameters are now wrapped insettings
. - 2014-10-13: Fixed things around showing relations
- 2014-09-29: Now compatible with sonata admin 2.3
- 2014-08-20: Updated to PSR-4 autoloading
Release 1.1.0
- drop Symfony 2.2 compatibility
- Updated the dependencies on sonata to use the new SonataCoreBundle.
- The tree options confirm_move and depth are now grouped in the configuration
document_tree_options
, plus there is an additional optionprecise_children
to further help with flat trees.
- Added support for the Sonata ACL editor, if that is enabled in the configuration. http://www.sonata-project.org/bundles/admin/master/doc/reference/security.html#acl-editor
- Improved the document tree configuration so that "all" works as it was intended.
Added validation of the class names used in the tree - if you start seeing
exceptions that means you have invalid class names in your
document_tree
.
- Changed show URL from
/<doc-path>
to<doc-path>/show
as this agrees with the Sonata path.
Renamed form type doctrine_phpcr_type_tree_model
to doctrine_phpcr_odm_tree
. You will need to update your form types / admin classes, e.g. change:
$builder->add('parent', 'doctrine_phpcr_type_tree_model');
// to
$builder->add('parent', 'doctrine_phpcr_odm_tree');
renamed: Resources/views/CRUD/edit_orm_many_association_script.html.twig -> Resources/views/CRUD/edit_phpcr_many_association_script.html.twig renamed: Resources/views/CRUD/edit_orm_many_to_many.html.twig -> Resources/views/CRUD/edit_phpcr_many_to_many.html.twig renamed: Resources/views/CRUD/edit_orm_many_to_one.html.twig -> Resources/views/CRUD/edit_phpcr_many_to_one.html.twig renamed: Resources/views/CRUD/edit_orm_one_association_script.html.twig -> Resources/views/CRUD/edit_phpcr_one_association_script.html.twig renamed: Resources/views/CRUD/edit_orm_one_to_many.html.twig -> Resources/views/CRUD/edit_phpcr_one_to_many.html.twig renamed: Resources/views/CRUD/edit_orm_one_to_one.html.twig -> Resources/views/CRUD/edit_phpcr_one_to_one.html.twig renamed: Resources/views/CRUD/list_orm_many_to_many.html.twig -> Resources/views/CRUD/list_phpcr_many_to_many.html.twig renamed: Resources/views/CRUD/list_orm_many_to_one.html.twig -> Resources/views/CRUD/list_phpcr_many_to_one.html.twig renamed: Resources/views/CRUD/list_orm_one_to_many.html.twig -> Resources/views/CRUD/list_phpcr_one_to_many.html.twig renamed: Resources/views/CRUD/list_orm_one_to_one.html.twig -> Resources/views/CRUD/list_phpcr_one_to_one.html.twig
You should change any template extensions accordingly: {% extends 'SonataDoctrinePHPCRAdminBundle:CRUD:...' %}
Renamed blocks in Resources/views/Form/form_admin_fields.html.twig You should change any block overrides accordingly.