Releases: sonata-project/SonataMediaBundle
Releases · sonata-project/SonataMediaBundle
3.35.1
3.35.0
Deprecated
- [#2158] Deprecated passing null value for the media parameter to twig functions. (@jordisala1991)
- [#2159] Deprecated
MigrateToJsonTypeCommand
. (@jordisala1991) - [#2159] Deprecated
ServiceProviderDataTransformer
. (@jordisala1991)
Fixed
- [#2171] Docblock for
CategoryManagerInterface::getRootCategory()
to tell it can returnnull
. (@phansys) - [#2169] Call to an undefined method
Connection::fetchAll()
when usingdoctrine/dbal:3.x
. (@phansys) - [#2166] Fixed usage of deprecated custom twig tags. (@jordisala1991)
Removed
3.34.2
Fixed
- [#2152] Fixed safe output of
sonata_media
andsonata_thumbnail
functions (@jordisala1991) - [#2152] Fixed calling
sonata_media
andsonata_thumbnail
functions with null media (@jordisala1991)
3.34.1
Fixed
- [#2149] Fixed MediaRuntime definition (@jordisala1991)
3.34.0
Added
- [#2145] Added twig functions to load medias, thumbnails or paths (@jordisala1991)
- [#2138] Added new Action to download medias (@jordisala1991)
- [#2131] Added optional integration with Symfony messenger to handle async thumbnail generation (@jordisala1991)
Deprecated
- [#2145] Deprecated using twig tags to load media, thumbnails or paths (@jordisala1991)
- [#2138] Deprecated download medias through
MediaController
downloadAction. (@jordisala1991) - [#2139] Deprecated SonataNotificationBundle integration. Use Symfony Messenger integration instead. (@jordisala1991)
- [#2118] Deprecated ReST API with FOSRest, Nelmio Api Docs and JMS Serializer. (@jordisala1991)
- [#2113] Deprecated Pixlr integration. (@jordisala1991)
- [#2105] Deprecate controller actions for showing media and galleries. (@jordisala1991)
- [#2105] Deprecate breadcrumb classes. (@jordisala1991)
Fixed
- [#2116] Fixed deprecation when downloading media through
downloadAction()
(@jordisala1991)
3.33.1
3.33.0
Added
- [#2096] Missing method declarations in interfaces and abstract classes, through
@method
annotation in order to respect BC (@phansys) - [#2044] Method
Sonata\MediaBundle\Filesystem\Replicate::createStream()
(@phansys) - [#2044] Implemented
Gaufrette\Adapter\StreamFactory
inSonata\MediaBundle\Filesystem\Replicate
(@phansys) - [#2042] Added name for blocks so they can be recognized on SonataPageBundle (@jordisala1991)
- [#2040] Added
ResizableThumbnailInterface
(@jordisala1991) - [#2036] PHPStan configuration and dependencies backported from
master
branch (@phansys)
Changed
- [#2082] Return
null
fromBaseMediaEventSubscriber::getMedia()
if the related media does not implementMediaInterface
(@phansys)
Deprecated
- [#2077] Unused argument 3 in
Replicate::write()
(@phansys) - [#2044]
Sonata\MediaBundle\Filesystem\Replicate::createFileStream()
in favor ofcreateStream()
(@phansys) - [#2072] Direct injection of
SessionInterface
onSessionDownloadStrategy
, we useRequestStack
to avoid deprecations (@jordisala1991) - [#2043] Deprecated integration with openStack / rackSpace (@jordisala1991)
- [#2021] Deprecate
getContext()
from Pool without first having that context (@jordisala1991)
Fixed
- [#2082] Return type at
BaseMediaEventSubscriber::getProvider()
(@phansys) - [#2088] Removed placeholder for translations (@jordisala1991)
- [#2083] Call to undefined function
Buzz\Browser::sendRequest()
with "kriswallsmith/buzz" <0.16 (@phansys) - [#2075] Fix display of choices form types inside blocks (@jordisala1991)
- [#2044] Missing implementation for
Gaufrette\Adapter\FileFactory
interface atSonata\MediaBundle\Filesystem\Replicate
(@phansys) - [#2044] Call to undefined method
Adapter::createFileStream()
(@phansys) - [#2044] Call to undefined method
Adapter::listDirectory()
(@phansys) - [#2076] Fixed adding new Media with Pixlr enabled (@jordisala1991)
3.32.0
3.32.0 - 2021-06-13
Added
- [#1974] Addded support for
nelmio/api-doc-bundle
>= 3.9 (@jordisala1991)
Changed
- [#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)
Fixed
- [#1871]
MediaManager
implementsMediaManagerInterface
(@mrcmorales)