Releases: sonata-project/SonataMediaBundle
Releases · sonata-project/SonataMediaBundle
3.20.0
Added
- Added compatibility with
jms/serializer-bundle:^3.0
- In context settings right now you can add the custom array named
resizer_options
.
Fixed
- 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
3.19.0
Added
- Added configuration option for the media helper to generate a
instead of
Changed
- Sort galleryHasMedias on GalleryAdmin::postUpdate
Fixed
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
3.18.0
Added
- Added alias for providers to use autoconfigure via DependencyInjection
- Added
Sonata\MediaBundle\Provider\Metadata
class
Changed
- Changed
MediaProviderInterface::getProviderMetadata
return type in PHPDoc - block classes will use the block specific Metadata class
Removed
- Removed CoreBundle deprecations
3.17.1
3.17.0
Added
- Added an alias for the pool
- Possiblity to create custom resizers
Changed
- Allow KnpLabs/Gaufrette 0.8
Removed
- support for php 5 and php 7.0
Fixed
- Fix deprecation for symfony/config 4.2+
- Deprecations about
Sonata\CoreBundle\Model\BaseEntityManager
Deprecated
- Undeprecated
MediaManagerInterface
3.16.3
3.16.2
Fixed
- Fix dailymotion regex to extract the video reference from the url.