Releases: sonata-project/SonataMediaBundle
Releases · sonata-project/SonataMediaBundle
3.11.0
Added
- 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
Fixed
- Commands not working on symfony4
AmazonMetadataBuilder
now relies on Psr7 mimeType guesser
Removed
- 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
Added
- Added support for latest imagine version
Changed
- Make services public
3.10.1
Added
- Added missing SquareResizer::$metadata property
- Added Catalan translations
Fixed
- Selected gallery context is now translated just like in the dropdown.
- Replaced
getMockBuilder
withcreateMock
where it was possible - Fixed phpdoc
3.10.0
Added
- Added automatically adding src format to srcset
Fixed
- 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
Added
- Added option to set the img
srcset
tag by giving it an array of format names.
Changed
- Rollback to PHP 5.6 as minimum support.
Fixed
- 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
Removed
- Support for old versions of php and Symfony.
3.7.0
Added
- Added
'onDelete' => 'CASCADE'
for mapping from GalleryHasMedia to Media and Gallery
Changed
- Use SonataAdminBundle configuration to configure bundle services
Fixed
- Prevent file from being removed if an error occurred while deleting its database entry.
- deprecation notices related to
addClassesToCompile
3.6.0
Added
- The Image Provider returns responsive images to the twig media helper.
Changed
- Allowed
jms/serializer-bundle ^2.0
Fixed
- 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
Changed
- allow
knplabs/gaufrette v0.3.0
Fixed
- Replace missing
providers
column byproviderName
on clean command
3.5.0
Fixed
- 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
- Removed an ugly hack to retrieve configuration on
AddProviderCompilerPass