All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
3.32.0 - 2021-06-13
- [#1974] Addded support for
nelmio/api-doc-bundle
>= 3.9 (@jordisala1991)
- [#1974] Updated docs in order to expose how to configure custom serialization paths under jms_serializer configuration node (jms_serializer.metadata.directories). (@jordisala1991)
- [#1969] Updated Dutch translations (@VincentLanglet)
- [#1871]
MediaManager
implementsMediaManagerInterface
(@mrcmorales)
3.31.2 - 2021-05-18
- [#1955] CDN invalidation from CloudFront when submitting paths that were previously invalidated. (@phansys)
- [#1956] Arguments passed to
sprintf()
influshPaths()
methods atCloudFront
andCloudFrontVersion3
. (@phansys)
3.31.1 - 2021-04-19
- [#1953] Remove superfluous deprecation message when translator class is registered that implements both the legacy and new
TranslatorInterface
(@jorrit)
3.31.0 - 2021-03-26
- [#1923] Added support for
symfony/translation-contracts
^1.1 || ^2.0 (@wbloszyk) - [#1943] Conflict against nelmio/api-doc-bundle <2.13.5 || >=4.0 (@phansys)
- [#1939] Stricter type checks for arguments at
RolesDownloadStrategy::__construct()
(@phansys) - [#1939] Stricter type checks for arguments at
SessionDownloadStrategy::__construct()
(@phansys) - [#1906] Added support for PHP 8.x (@Yozhef)
- [#1930] Support for "symfony/templating:^5.2" (@phansys)
- [#1930] Support for "symfony/http-foundation:^5.2" (@phansys)
- [#1930] Support for "symfony/dependency-injection:^5.2" (@phansys)
- [#1930] Support for "symfony/config:^5.2" (@phansys)
- [#1930] Support for "symfony/routing:^5.2" (@phansys)
- [#1940] Added
CropResizer
(@core23)
- [#1778]
Replicate::$master
andReplicate::$slave
, in favor ofReplicate::$primary
andReplicate::$secondary
(@dps910)
3.30.0 - 2021-02-15
3.29.0 - 2020-11-30
- [#1866] Guessing the content type of a file stored on Amazon S3 (@jorrit)
- [#1863]
SonataMediaBundle.it.xliff
fixed "gallery" and "Gallery" translations (case) (@gremo)
3.28.0 - 2020-10-30
- [#1823]
Added CDN flush status check at
BaseProvider::flushCdn()
in order to resolve previous flushing processes. (@phansys) - [#1848] Missing translations (@gremo)
- [#1834] Support for symfony/validator ^5.1 (@jorrit)
- [#1664]
Added support for
psr/http-client
inBaseVideoProvider
(@core23)
- [#1848]
gallery
translation key intoGallery
(@gremo) - [#1821] When
using Doctrine ORM or MongoDB the service
sonata.media.admin.media.manager
is now an alias ofsonata.admin.manager.orm
orsonata.admin.manager.doctrine_mongodb
instead of a separate service implemented by the same class. (@jorrit)
- [#1815]
Deprecated method signature for
CloudFront::__construct()
; (@phansys) - [#1815]
Deprecated methods
CloudFront::setClient()
andCloudFront::getStatusList()
; (@phansys) - [#1815]
Deprecated returning
false
or any value not present in theCDNInterface::STATUS_*
constants fromCloudFront::getFlushStatus()
. (@phansys) - [#1841]
sonata.media.adapter.filesystem.mogilefs
andsonata.media.filesystem.mogilefs
services; (@phansys) - [#1841]
sonata_media.filesystem.mogilefs
configuration node. (@phansys) - [#1664]
Deprecate
Guzzle
andBuzz
usage inBaseVideoProvider
(@core23) - [#1814]
Deprecated
sonata_media.filesystem.s3.sdk_version
configuration node. (@phansys)
- [#1815]
Fixed getting values returned by
CloudFrontClient::createInvalidation()
andCloudFrontClient::getInvalidation()
methods when using "aws/aws-sdk-php:^3.0". (@phansys) - [#1823]
Fixed marking the medium as not CDN synced (
Media::$cdnIsFlushable
) inBaseProvider::flushCdn()
andUpdateCdnStatusCommand
. (@phansys) - [#1847]
Error on YouTube media creation in
ImageUploadDimensionValidator
(@tambait) - [#1832]
Fixed validity of
*.orm.xml
mapping files. (@jorrit) - [#1821]
Deprecation notice in
Sonata\DoctrineORMAdminBundle\Model\ModelManager
andSonata\DoctrineMongoDBAdminBundle\Model\ModelManager
. (@jorrit) - [#1716] Invalid mongodb xml mapping for BaseGallery.mongodb.xml and BaseMedia.mongodb.xml files (@SylvanoTombo)
- [#1816] Controller reference of some media API routes. (@jorrit)
- [#1814]
Fixed calls to deprecated method
AwsClient::factory()
when using aws/aws-sdk-php:^3.0; (@phansys) - [#1814] Fixed passing required arguments to "sonata.media.cdn.cloudfront" service when using aws/aws-sdk-php:^3.0; (@phansys)
- [#1814]
Fixed respecting
sonata_media.filesystem.s3.region
,sonata_media.filesystem.s3.version
andsonata_media.filesystem.s3.endpoint
configuration nodes when using aws/aws-sdk-php:^2.0. (@phansys)
- [#1836] Dev dependency on sonata-project/formatter-bundle. (@jorrit)
- [#1818]
Remove support for
doctrine/mongodb-odm
<2.0 (@franmomu)
3.27.0 - 2020-09-02
- [#1786] Added support for symfony/filesystem:^5.1 (@phansys)
- [#1786] Added support for symfony/options-resolver:^5.1 (@phansys)
- [#1774] Added configuration option filesystem.s3.endpoint (@michalpicpauer)
- [#1800] Removed requirements that were only allowing integers for model identifiers at Open API definitions (@wbloszyk)
3.26.0 - 2020-08-04
- [#1761]
Added public alias
Sonata\MediaBundle\Controller\Api\GalleryController
forsonata.media.controller.api.gallery
service (@wbloszyk) - [#1761]
Added public alias
Sonata\MediaBundle\Controller\Api\MediaController
forsonata.media.controller.api.media
service (@wbloszyk) - [#1767]
Added support for
friendsofsymfony/rest-bundle:^3.0
(@wbloszyk) - [#1771]
Added french translation for
image_too_small
error message (@romainjanvier) - [#1756]
Added
twig/string-extra
dependency. (@franmomu) - [#1757] Add
missing
MediaManagerInterface
toNoDriverManager
(@core23)
- [#1765]
Change based command class from
ContainerAwareCommand
toCommand
and inject services instead container (@wbloszyk) - [#1753] SonataEasyExtendsBundle is now optional, using SonataDoctrineBundle is preferred (@jordisala1991)
- [#1756]
Changed use of
truncate
filter withu
filter. (@franmomu)
- [#1753] Using SonataEasyExtendsBundle to add Doctrine mapping information (@jordisala1991)
3.25.0 - 2020-06-19
- Add image size validation
- Added support for
symfony/mime:^5.0
- adding
maxFileSize
as a parameter in the validation message
- Changed the validation message for the validation rule
- Fix missing translation of gallery context
- Removed all calls to container inside the
CleanMediaCommand
- Fix
bin/console lint:container
command and pass an object of classNoDriverManager
of the expectedGalleryManagerInterface
interface
- remove SonataCoreBundle dependencies
3.24.0 - 2020-03-15
- BlockBundle deprecations
- API routes config, made them public for the FOSRest routeloader.
- Use Mime Component to guess extension
- Renamed class
Sonata\MediaBundle\Command\DefaultGenerator
intoSonata\MediaBundle\Command\IdGenerator
- Renamed class
Sonata\MediaBundle\Command\ODMGenerator
intoSonata\MediaBundle\Command\UuidGenerator
- Renamed class
Sonata\MediaBundle\Command\PHPCRGenerator
intoSonata\MediaBundle\Command\PathGenerator
- Made width setting non-mandatory but made width or height setting mandatory on the resizer.
- support for Symfony < 4.3
3.23.1 - 2020-02-06
- Generating path when using VO representing UUID
- Deprecations about commands not returning an exit code
3.23.0 - 2020-01-07
- Added support for "knplabs/gaufrette:0.9".
- Fixed passing the default values to the
sonata.media.metadata.amazon
service.
3.22.0 - 2019-12-15
- Imagine
^1.0
support
SimpleResizer
andSquareResizer
resizers now useImagineCompatibleResizerTrait
- Fixed using old string types to create forms
- Add the
addResizer
method call on the thumbnail service only if the method exists. - Add missing default service argument for
AmazonMetadataBuilder
- Support for Symfony < 3.4
- Support for Symfony >= 4, < 4.2
3.21.0 - 2019-10-21
- Add missing translation for admin menu
- Changed parameter type in
MediaInterface::setCdnFlushIdentifier
- Add
breadcrumb
as default context for seo blocks - the alt tag of media picture elements to the media description, falling back to the name when no description is present
- 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 withfilter
filter'.
- Using deprecated
\Twig_
classes without namespace. - Respect "field_description.options.route.name" value at
list_image.html.twig
instead of using hardcoded "edit". - Possibility to resolve Twig dependency to versions that don't support arrow functions on Twig filters.
- Extending classes marked as final:
Sonata\MediaBundle\Admin\GalleryAdmin
Sonata\MediaBundle\Admin\GalleryHasMediaAdmin
Sonata\MediaBundle\Admin\ODM\MediaAdmin
Sonata\MediaBundle\Admin\ORM\MediaAdmin
Sonata\MediaBundle\Admin\PHPCR\GalleryAdmin
Sonata\MediaBundle\Admin\PHPCR\MediaAdmin
Sonata\MediaBundle\Block\Breadcrumb\GalleryIndexBreadcrumbBlockService
Sonata\MediaBundle\Block\Breadcrumb\GalleryViewBreadcrumbBlockService
Sonata\MediaBundle\Block\Breadcrumb\MediaViewBreadcrumbBlockService
Sonata\MediaBundle\Block\FeatureMediaBlockService
Sonata\MediaBundle\Block\GalleryBlockService
Sonata\MediaBundle\Block\GalleryListBlockService
Sonata\MediaBundle\Block\MediaBlockService
Sonata\MediaBundle\CDN\CloudFront
Sonata\MediaBundle\CDN\Fallback
Sonata\MediaBundle\CDN\PantherPortal
Sonata\MediaBundle\CDN\Server
Sonata\MediaBundle\Command\AddMassMediaCommand
Sonata\MediaBundle\Command\AddMediaCommand
Sonata\MediaBundle\Command\CleanMediaCommand
Sonata\MediaBundle\Command\FixMediaContextCommand
Sonata\MediaBundle\Command\MigrateToJsonTypeCommand
Sonata\MediaBundle\Command\RefreshMetadataCommand
Sonata\MediaBundle\Command\RemoveThumbsCommand
Sonata\MediaBundle\Command\SyncThumbsCommand
Sonata\MediaBundle\Command\UpdateCdnStatusCommand
Sonata\MediaBundle\Consumer\CreateThumbnailConsumer
Sonata\MediaBundle\Controller\Api\GalleryController
Sonata\MediaBundle\Controller\Api\MediaController
Sonata\MediaBundle\Controller\GalleryAdminController
Sonata\MediaBundle\Controller\GalleryController
Sonata\MediaBundle\Controller\MediaAdminController
Sonata\MediaBundle\Controller\MediaController
Sonata\MediaBundle\DependencyInjection\Compiler\AddProviderCompilerPass
Sonata\MediaBundle\DependencyInjection\Compiler\GlobalVariablesCompilerPass
Sonata\MediaBundle\DependencyInjection\Compiler\SecurityContextCompilerPass
Sonata\MediaBundle\DependencyInjection\Compiler\ThumbnailCompilerPass
Sonata\MediaBundle\DependencyInjection\Configuration
Sonata\MediaBundle\DependencyInjection\SonataMediaExtension
Sonata\MediaBundle\Document\GalleryManager
Sonata\MediaBundle\Document\MediaManager
Sonata\MediaBundle\Entity\GalleryManager
Sonata\MediaBundle\Entity\MediaManager
Sonata\MediaBundle\Extra\ApiMediaFile
Sonata\MediaBundle\Extra\Pixlr
Sonata\MediaBundle\Filesystem\Local
Sonata\MediaBundle\Filesystem\Replicate
Sonata\MediaBundle\Form\DataTransformer\ProviderDataTransformer
Sonata\MediaBundle\Form\DataTransformer\ServiceProviderDataTransformer
Sonata\MediaBundle\Form\Type\ApiDoctrineMediaType
Sonata\MediaBundle\Form\Type\ApiGalleryHasMediaType
Sonata\MediaBundle\Form\Type\ApiGalleryType
Sonata\MediaBundle\Form\Type\ApiMediaType
Sonata\MediaBundle\Form\Type\MediaType
Sonata\MediaBundle\Generator\DefaultGenerator
Sonata\MediaBundle\Generator\ODMGenerator
Sonata\MediaBundle\Generator\PHPCRGenerator
Sonata\MediaBundle\Listener\ODM\MediaEventSubscriber
Sonata\MediaBundle\Listener\ORM\MediaEventSubscriber
Sonata\MediaBundle\Listener\PHPCR\MediaEventSubscriber
Sonata\MediaBundle\Metadata\AmazonMetadataBuilder
Sonata\MediaBundle\Metadata\NoopMetadataBuilder
Sonata\MediaBundle\Metadata\ProxyMetadataBuilder
Sonata\MediaBundle\PHPCR\BaseGalleryHasMediaRepository
Sonata\MediaBundle\PHPCR\BaseGalleryRepository
Sonata\MediaBundle\PHPCR\BaseMediaRepository
Sonata\MediaBundle\PHPCR\GalleryManager
Sonata\MediaBundle\PHPCR\MediaManager
Sonata\MediaBundle\Provider\DailyMotionProvider
Sonata\MediaBundle\Provider\FileProvider
Sonata\MediaBundle\Provider\ImageProvider
Sonata\MediaBundle\Provider\Pool
Sonata\MediaBundle\Provider\VimeoProvider
Sonata\MediaBundle\Provider\YouTubeProvider
Sonata\MediaBundle\Resizer\SimpleResizer
Sonata\MediaBundle\Resizer\SquareResizer
Sonata\MediaBundle\Security\ForbiddenDownloadStrategy
Sonata\MediaBundle\Security\PublicDownloadStrategy
Sonata\MediaBundle\Security\RolesDownloadStrategy
Sonata\MediaBundle\Security\SessionDownloadStrategy
Sonata\MediaBundle\Serializer\GallerySerializerHandler
Sonata\MediaBundle\Serializer\MediaSerializerHandler
Sonata\MediaBundle\SonataMediaBundle
Sonata\MediaBundle\Thumbnail\ConsumerThumbnail
Sonata\MediaBundle\Thumbnail\FormatThumbnail
Sonata\MediaBundle\Thumbnail\LiipImagineThumbnail
Sonata\MediaBundle\Twig\Extension\FormatterMediaExtension
Sonata\MediaBundle\Twig\Extension\MediaExtension
Sonata\MediaBundle\Twig\GlobalVariables
Sonata\MediaBundle\Twig\Node\MediaNode
Sonata\MediaBundle\Twig\Node\PathNode
Sonata\MediaBundle\Twig\Node\ThumbnailNode
Sonata\MediaBundle\Twig\TokenParser\MediaTokenParser
Sonata\MediaBundle\Twig\TokenParser\PathTokenParser
Sonata\MediaBundle\Twig\TokenParser\ThumbnailTokenParser
Sonata\MediaBundle\Validator\Constraints\ValidMediaFormat
Sonata\MediaBundle\Validator\FormatValidator
3.20.1 - 2019-06-13
- Value of code to throw RuntimeException when url of video throw an exception
- Updated
_controller
attribute for routes which were using deprecated syntax.
3.20.0 - 2019-05-16
- Added compatibility with
jms/serializer-bundle:^3.0
- In context settings right now you can add the custom array named
resizer_options
.
- Fix error 500 when max post size is exceeded on multi providers context
- Fix file too big message not displayed when
$media->getBinaryContent()->getClientSize()
returnnull
3.19.1 - 2019-02-23
- return type for
CategoryManager::find()
- Crash about
setFormTheme
when viewing the gallery list
3.19.0 - 2019-02-21
- Added configuration option for the media helper to generate a
- Sort galleryHasMedias on GalleryAdmin::postUpdate
SimpleResizer::computeBox()
will return the size of the resulting image instead of just the scaled image before the cropping step.- Fix configuration defaults: omitted dimensions in format definitions must be
null
- Strict checking of height/width sizes in formats configuration
- Crash about
setFormTheme
when viewing the media list TypeError
on media upload when validation fails for another field
3.18.1 - 2019-01-21
- crash about wrong provider argument type when trying to upload a media
3.18.0 - 2019-01-18
- Added alias for providers to use autoconfigure via DependencyInjection
- Added
Sonata\MediaBundle\Provider\Metadata
class
- Changed
MediaProviderInterface::getProviderMetadata
return type in PHPDoc - block classes will use the block specific Metadata class
- Removed CoreBundle deprecations
3.17.1 - 2019-01-12
- crashes on pages with null medias
3.17.0 - 2019-01-10
- Added an alias for the pool
- Possiblity to create custom resizers
- Allow KnpLabs/Gaufrette 0.8
- support for php 5 and php 7.0
- Fix deprecation for symfony/config 4.2+
- Deprecations about
Sonata\CoreBundle\Model\BaseEntityManager
- Undeprecated
MediaManagerInterface
3.16.3 - 2018-11-05
- Added missing methods to
FormatterMediaExtension
3.16.2 - 2018-10-17
- Fix dailymotion regex to extract the video reference from the url.
3.16.1 - 2018-10-03
- Prevent incompatible
sonata-project/formatter-bundle
4 from being installed
3.16.0 - 2018-09-23
- S3 Connection without use of credentials (access and secret keys) but with IAM roles (Amazon instances must have been configured with it).
- Fixed S3 credentials set to false when no credentials are provided
- Bug where an extension config with unresolved parameters was processed in a compiler pass
3.15.0 - 2018-07-06
- Added getters for
allowedExtensions
andallowedMimeTypes
properties
3.14.0 - 2018-06-27
- Make service alias
sonata.media.manager.category
public - Allow Gaufrette 0.6
- Moved a code block from BaseProvider::postRemove to BaseProvider::preRemove
- Make services public
3.13.1 - 2018-05-25
- Force use existing translation strings for Media/Gallery breadcrumbs in Admin panel
- Deprecations from controllers still using deprecated
render
instead ofrenderWithExtraParams()
- Set providers, metadata and manager services public so applications using SonataMediaBundle can upgrade to Symfony 4.0.
3.13.0 - 2018-05-17
- A
db_driver
configuration parameter is optional now withno_driver
default value
- Issue where all medias were removed from a gallery on update.
- Fixed widget template for MediaType as a child form type
sonata:media:sync-thumbnails
command when running this command with PHPCR or ODM document mapper.
3.12.0 - 2018-04-09
- Changed Vimeo endpoint to https
- LiipImagine generatePublicUrl updated to work with latest version of that bundle
- Relative path when path it is already an url
- Removed compatibility with older versions of FOSRestBundle (<2.1)
- Removed
SonataNotificationBundle
as a required dependency
3.11.0 - 2018-02-23
- added block title translation domain option
- added block icon option
- added block class option
- Added compatibility with Gaufrette
^0.4
and^0.5
- Added compatibility with Buzz
^0.16
- Commands not working on symfony4
AmazonMetadataBuilder
now relies on Psr7 mimeType guesser
- Removed default title from blocks
- Removed old
sonata-
classes from templates - Removed compatibility with Gaufrette
^0.1
and^0.2
- Removed compatibility with JMS serializer
^0.13
3.10.2 - 2018-02-02
- Added support for latest imagine version
- Make services public
3.10.1 - 2018-01-26
- Added missing SquareResizer::$metadata property
- Added Catalan translations
- Selected gallery context is now translated just like in the dropdown.
- Replaced
getMockBuilder
withcreateMock
where it was possible - Fixed phpdoc
3.10.0 - 2017-11-30
- Added automatically adding src format to srcset
- Return size after resize in cropping flow, not just the cropped dimensions
- FOSRest-related deprecations
- It is now allowed to install Symfony 4
3.9.0 - 2017-11-23
- Added option to set the img
srcset
tag by giving it an array of format names.
- Rollback to PHP 5.6 as minimum support.
- fixed bug against twig 2.0 as
translationBundle
cannot be null - Silent
sonata:media:remove-thumbnails
command when running this command without arguments. - Sf3 compatibility on the sync-thumbnails command (dialog helper)
- Sf3 compatibility on the refresh-metadata and update-cdn-status commands (dialog helper)
- Use FormRenderer runtime to maintain compatibility with Symfony 3.4
3.8.0 - 2017-10-22
- Support for old versions of php and Symfony.
3.7.0 - 2017-10-22
- Added
'onDelete' => 'CASCADE'
for mapping from GalleryHasMedia to Media and Gallery
- Use SonataAdminBundle configuration to configure bundle services
- Prevent file from being removed if an error occurred while deleting its database entry.
- deprecation notices related to
addClassesToCompile
3.6.0 - 2017-08-01
- The Image Provider returns responsive images to the twig media helper.
- Allowed
jms/serializer-bundle ^2.0
- Change Youtube urls to use https
- The DataTransformers and MediaTypes (both standard and API) now depend on
Psr\Log\LoggerInterface
in order to log any exception that could arise from$provider->transform()
to get form errors when uploads are too big! - fix protocol error from image url returned by pixlr when sonata is under https protocol
- Fixed hardcoded paths to classes in
.xml.skeleton
files of config - Ability to extend the
MediaExtension
class
3.5.1 - 2017-03-31
- allow
knplabs/gaufrette v0.3.0
- Replace missing
providers
column byproviderName
on clean command
3.5.0 - 2017-03-08
- Optional dependency to SonataFormatterBundle is now on
^3.2
- Fixed issue when using SonataMediaBundle blocks in conjunction with SonataPageBundle and page composer (Sonata sandbox)
- Double padding on media list
- Removed an ugly hack to retrieve configuration on
AddProviderCompilerPass
3.4.0 - 2017-02-28
- An icon to admin menu (fa-image)
- Added
getRequest
method on controller for BC with Symfony 2.3+ - Added test on
MediaAdminController
- Replaced form types for the FQCN's
- Support for Twig 2.0
- Callback contraint is not a valid callable on Symfony 3
BaseAdmin
incorrectly retrievedproviderName
- Fixed BlockBundle deprecation messages
- Fixed pager test with DatagridBundle 2.2.1
- Media List is now filterable by Category again
- Incorrect access to providerName parameter in request in
Admin/BaseMediaAdmin.php
- Wrong FQCN's and added missing end() on GalleryAdmin
- Calling a macro without importing it is an error on twig 2.0
- Remove deprecations from non FQCNs on form types on
MediaAdmin
cascade_validation
fromGalleryAdmin
- ClassificationBundle is now an optional dependency
3.3.1 - 2017-02-02
- Added filesize check to upload
- Added empty filename check to upload
- Generate thumbnails asynchronously if creating Media on console commands.
- translation in twig templates now uses the twig translation filter
- Moved ApiDoc groups from string to array.
- Deprecation warning for
addDownloadSecurity
- Moved FosRest groups from string to array and reimplemented the orderBy parameter enabling support for FosRestBundle>=2.0.
- Missing italian translations
3.3.0 - 2016-09-08
- Added config key to define default resizer
- Added config key to define default resizer adapter
- The
provider
andcontext
options are now required - Use
$request
instead of$this->get('request')
- Ability to provide custom attributes for a thumbnail
3.2.0 - 2016-08-18
- Created
getReferenceUrl
method for all video providers - Add parameter to specify aws_sdk version
- Allow
knplabs/gaufrette
^0.2
- Update configuration and metadatabuilder to comply with AWS SDK 3.x
- Fixed wrong block inheritance in edit template
- Fixed wrong html usage in edit template
- Fixed loop in
Pool::getDownloadSecurity
- Fixed deprecated call of
downloadSecurity
inResources/views/MediaAdmin/edit.html.twig
template.
3.1.0 - 2016-07-22
- Added
Sonata\MediaBundle\Listener\ORM\MediaEventSubscriber::onClear
to clear therootCategories
cache when the EntityManager is cleared - Added
region
key to S3Client config - Added
alt
attribute to thumbnail twig tag
- Injection of
Session
instead of the wholeContainer
inSecurity/SessionDownloadStrategy
Sonata\MediaBundle\Listener\ORM\MediaEventSubscriber::onClear
now subscribes toonClear
too
$container
property inSecurity/SessionDownloadStrategy
- Deprecated
Pool::$downloadSecurities
forPool::$downloadStrategies
property - Deprecated
Pool::addDownloadSecurity
forPool::addDownloadStrategy
method - Deprecated
Pool::getDownloadSecurity
forPool::getDownloadStrategy
method
- Restored
ApiDoc
andQueryParam
use statements inApi/GalleryController
- Added missing
sonata-project/block-bundle
dependency - Fixed media widget spanish translations
- Support for FOSRestBundle 2.0
- Fixed
ApiMediaType::getParent
compatibility with Symfony3 forms - Fixed
MediaType::buildForm
compatibility with Symfony3 forms - Fixed
MediaType::getParent
compatibility with Symfony3 forms - Fixed
BaseVideoProvider::buildEditForm
compatibility with Symfony3 forms - Fixed
BaseVideoProvider::buildCreateForm
compatibility with Symfony3 forms - Fixed
BaseVideoProvider:: buildMediaType
compatibility with Symfony3 forms - Fixed
FileProvider::buildEditForm
compatibility with Symfony3 forms - Fixed
FileProvider::buildCreateForm
compatibility with Symfony3 forms - Fixed
FileProvider::buildMediaType
compatibility with Symfony3 forms - Fixed mixed-content error when loading Pixlr editor under https
- Gaufrette compatibility with Symfony 3
- Fix deprecated usage of
Admin
class - Added missing
BaseProvider::$name
property - Removed double translation in gallery edit form
- Reuse of root categories instances after the entity manager has been cleared
- Internal test classes are now excluded from the autoloader