Skip to content

Releases: sonata-project/SonataMediaBundle

3.20.0

16 May 20:12
3.20.0
a01182d
Compare
Choose a tag to compare

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() return null

3.19.1

23 Feb 10:48
3.19.1
35d2572
Compare
Choose a tag to compare

Fixed

  • return type for CategoryManager::find()
  • Crash about setFormTheme when viewing the gallery list

3.19.0

21 Feb 07:58
3.19.0
d549826
Compare
Choose a tag to compare

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

21 Jan 18:50
3.18.1
fdae9b6
Compare
Choose a tag to compare

Fixed

  • crash about wrong provider argument type when trying to upload a media

3.18.0

18 Jan 22:15
3.18.0
0a25f18
Compare
Choose a tag to compare

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

12 Jan 12:18
3.17.1
a161cd4
Compare
Choose a tag to compare

Fixes

  • crashes on pages with null medias

3.17.0

10 Jan 19:52
3.17.0
fc42095
Compare
Choose a tag to compare

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

05 Nov 18:54
3.16.3
064ef59
Compare
Choose a tag to compare

Fixed

  • Added missing methods to FormatterMediaExtension

3.16.2

17 Oct 08:33
3.16.2
94f02da
Compare
Choose a tag to compare

Fixed

  • Fix dailymotion regex to extract the video reference from the url.

3.16.1

03 Oct 07:11
3.16.1
2b52cb0
Compare
Choose a tag to compare

Fixed

  • Prevent incompatible sonata-project/formatter-bundle 4 from being installed