All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
3.13.0 - 2020-08-05
- [#545] Added support for "friendsofsymfony/rest-bundle:^3.0" (@wbloszyk)
- [#542]
Added public alias
Sonata\ClassificationBundle\Controller\Api\CategoryController
forsonata.classification.controller.api.category
service (@wbloszyk) - [#542]
Added public alias
Sonata\ClassificationBundle\Controller\Api\CollectionController
forsonata.classification.controller.api.collection
service (@wbloszyk) - [#542]
Added public alias
Sonata\ClassificationBundle\Controller\Api\TagController
forsonata.classification.controller.api.tag
service (@wbloszyk) - [#542]
Added public alias
Sonata\ClassificationBundle\Controller\Api\ContextController
forsonata.classification.controller.api.context
service (@wbloszyk)
- [#536] SonataEasyExtendsBundle is now optional, using SonataDoctrineBundle is preferred (@jordisala1991)
- [#536] Using SonataEasyExtendsBundle to add Doctrine mapping information (@jordisala1991)
3.12.1 - 2020-06-21
3.12.0 - 2020-06-19
- Added
CategoryFilter
for admin lists - Added
CollectionFilter
for admin lists
- fixed database schema to work with mssql
- Make admin bundle optional
- SonataCoreBundle dependencies
- Support for Symfony < 4.3
3.11.1 - 2020-03-24
- Fix Lexer query error in managers
3.11.0 - 2020-03-18
- Add public aliases to all manager interface
- Added
CollectionManager::getBySlug
method - Added
CategoryManager::getBySlug
method - Added
CategoryManager::getByContext
method - Added
TagManager::getBySlug
method - Added
TagManager::getByContext
method
- Allow
cocur/slugify
^4.0
- Remove block deprecations
3.10.1 - 2020-02-03
- Fix media bundle decoupling
3.10.0 - 2020-01-31
- Fix media bundle decoupling
- Loading media association based on defined class
- Support for Symfony < 3.4
- Support for Symfony >= 4, < 4.2
3.9.2 - 2019-11-11
- Fix calling wrong manager in
AbstractCollectionsBlockService
3.9.1 - 2019-10-14
getContext
method with non-existing context causing infinite loop among other bugs
- Add missing translation for admin menu
3.9.0 - 2019-09-20
- Add more
@method
annotation to propagate new methods ofCategoryManagerInterface
- Add strict types to CategoryManager
- Remove superfluous PHPDoc
- Match PHPDoc with doctrine model
CategoryManager::getRootCategory
will throw an exception if you pass invalid arguments
3.8.1 - 2019-06-03
- Added translation keys for
CategoryAdmin
"General" and "Options" labels
3.8.0 - 2019-01-18
- Fix deprecation for symfony/config 4.2+
- Deprecations about
Sonata\CoreBundle\Model\BaseEntityManager
- Removed CoreBundle deprecations
- support for php 5 and php 7.0
3.7.1 - 2018-06-18
- Stop using the deprecated method
Sonata\AdminBundle\Controller\CRUDController::render
and use the newrenderWithExtraParams
- Force use translation strings for classification entities
- Make entity managers services public
3.7.0 - 2018-05-22
- make block icon configurable
- added block title translation domain
- Commands not working on symfony4
- Default title from blocks
- Compatibility with older versions of FOSRestBundle (<2.1)
- Compatibility with Cocur slugify
^1.0
3.6.1 - 2018-01-26
- Slugify ^3.0 support
- Make
sonata.classification.manager.category
public
3.6.0 - 2018-01-07
- Added
NotBlank
constraint toContext::$id
- make admin services explicit public
- Compatibility with SF 3.4, SF 4
NotNull
constraint fromTag::$name
NotNull
constraint fromContext::$name
NotNull
constraint fromCategory::$name
NotNull
constraint fromCollection::$name
3.5.0 - 2017-12-08
- Rollback to PHP 5.6 as minimum support.
- It is now allowed to install Symfony 4
3.4.0 - 2017-10-22
- Removed usage of old form type aliases
- Support for old versions of php and Symfony
3.3.2 - 2017-10-22
- context fields validation in tag/collection create forms, which prevents creating objects with empty context from UI
- Changed string type declaration of form fields to the fully-qualified type class name.
- Missing brazilian translations
3.3.1 - 2017-06-16
- use
same as
instead of deprecatedsameas
in twig template - Fixed hardcoded paths to classes in
.xml.skeleton
files of config - Added route check to tree view
Resources/views/CategoryAdmin/tree.html.twig
. If there aren't edit AND show routes, render element name only.
3.3.0 - 2017-03-16
- Menu icon (fa-tags).
- Fix bad / missing translations in french.
- new methods for root categories in
CategoryManager
CategoryManager::loadCategories
method now loads all root categories in context- Categories tree now renders all root categories in context
- Fix usage of deprecated
choice_list
option for >=SF2.7 - Allow false value for category in
AbstractCategoriesBlockService
- Allow false value for collection in
AbstractCollectionsBlockService
- Allow false value for tag in
AbstractTagsBlockService
- use
interface_exists
instead ofclass_exists
- Fixed missing type field in filters form in categories tree mode
- Twig runtime error on Symfony < 3.2 and Twig 2.x
- Fixed conflict of datagrid
context
value and persistentcontext
parameter - Fixed using
_self
innavigate_child
macro in tree template (Twig 2.0 support)
3.2.1 - 2017-02-02
- Category tree view was not easily customizable
- Missing italian translation
3.2.0 - 2017-01-05
- Symfony 3 compatibility was improved
- Support for FosRestBundle 2.0
- Incorrect
tag
reference on command output - Missing italian translations
- Deprecated
Admin
class usage - Missing parameters from parent class in
ContextAwareAdmin::getPersistentParameters
- Incorrect names transliterating for slugs
- Missing en translations for create forms
- Typo in service unit tests
- The category tree view in case the category list is empty
- Vertical centering of buttons within a navbar in list/tree selector
- Deprecated
AbstractBlockServiceTest
,FakeTemplating
,BaseBlockService
usage
- Internal test classes are now excluded from the autoloader
3.1.0 - 2016-07-05
- Added
AbstractCategoriesBlockService
class - Added
AbstractCollectionsBlockService
class - Added
AbstractTagsBlockService
class
3.0.1 - 2016-07-05
- Removed unmapped
count
property inBaseCategory.mongodb.xml
- Renamed wrong
slug
property toname
inBaseContext.mongodb.xml
CategoryAdmin
now extendsContextAwareAdmin
CollectionAdmin
now extendsContextAwareAdmin
- Some unneeded Symfony dependencies