PackageTrack
Sign in Get early access

sonata-project/media-bundle

Symfony SonataMediaBundle

4.20.0 5.7M downloads/mo #3981 most downloaded on Packagist sonata-project/SonataMediaBundle

What this package is like to depend on

Last release 8 months ago

19 Dec 2025

Release timing varies

gaps range from 8 days to 7 months

Most releases are documented

notes for 96 of 114 stable releases

Nothing withdrawn

no release was ever pulled

14 years old

117 releases · first in 2012

4 releases in the last 12 months

see the full history below

Release timeline

117 releases · Dec 2012 to Dec 2025
2013 2015 2017 2019 2021 2023 2025
Release Pre-release

Releases

latest 60 of 117
  1. 4.20.0 19 Dec 2025
    Release notes

    Added

    Removed

    Open source →
    Release notes

    Added

    Removed

    Open source →
  2. 4.19.0 18 Oct 2025
    Release notes

    Added

    Deprecated

    Open source →
    Release notes

    Added

    Deprecated

    Open source →
  3. 4.18.0 23 Sep 2025
    Release notes

    Added

    Open source →
    Release notes

    Added

    Open source →
  4. 4.17.0 15 Sep 2025
    Release notes

    Added

    • [#2492] Basic support for using Azure Blob Storage as filesystem (@jorrit)
    Open source →
    Release notes

    Added

    • [#2492] Basic support for using Azure Blob Storage as filesystem (@jorrit)
    Open source →
  5. 4.16.0 24 Feb 2025
    Release notes

    Changed

    Open source →
    Release notes

    Changed

    Open source →
  6. 4.15.0 14 Nov 2024
    Release notes

    Added

    Changed

    • [#2465] Czech translations updated (key order, incomplete values, missing keys) (@fbuchlak)
    Open source →
    Release notes

    Added

    Changed

    • [#2465] Czech translations updated (key order, incomplete values, missing keys) (@fbuchlak)
    Open source →
  7. 4.14.1 12 Sep 2024
    Release notes

    Fixed

    • [#2460] Fixed the callback transformers of media/gallery block services. (@lemorragia)
    Open source →
    Release notes

    Fixed

    • [#2460] Fixed the callback transformers of media/gallery block services. (@lemorragia)
    Open source →
  8. 4.14.0 27 Aug 2024
    Release notes

    Added

    Fixed

    Open source →
    Release notes

    Added

    Fixed

    Open source →
  9. 4.13.0 17 Mar 2024
    Release notes

    Added

    Open source →
    Release notes

    Added

    Open source →
  10. 4.12.0 08 Mar 2024
    Release notes

    Changed

    • [#2444] Throw TransformationFailedException when reverse transformation fails in ProviderDataTransformer. (@jorrit)
    Open source →
    Release notes

    Changed

    • [#2444] Throw TransformationFailedException when reverse transformation fails in ProviderDataTransformer. (@jorrit)
    Open source →
  11. 4.11.1 18 Feb 2024
    Release notes

    Fixed

    Open source →
  12. 4.11.0 15 Dec 2023
    Release notes

    Added

    Open source →
  13. 4.10.5 21 Nov 2023
    Release notes

    Changed

    • [#2351] How picture element twig options are merged, making them work same way as srcset (@haivala)

    Fixed

    Open source →
  14. 4.10.4 11 Sep 2023
    Release notes

    Fixed

    Open source →
  15. 4.10.3 01 Aug 2023
    Release notes

    Fixed

    • [#2411] Deprecation of Event Subscribers on Symfony 6.3. The MediaEventSubscriber now uses Event Listeners (@Hanmac)
    Open source →
  16. 4.10.2 28 Jul 2023
    Release notes

    Changed

    • [#2402] Resole "Admin has no subject" error from the getMediaBuilder (@Elkawaie)
    Open source →
  17. 4.10.1 22 Jul 2023
    Release notes

    Fixed

    Open source →
  18. 4.10.0 04 Jun 2023
    Release notes

    Added

    Open source →
  19. 4.9.0 13 May 2023
    Release notes

    Added

    Open source →
  20. 4.8.1 25 Apr 2023
    Release notes

    Fixed

    • [#2384] sonata.media.metadata.amazon is removed from the container if the configuration for S3 is not enabled (@jordisala1991)
    Open source →
  21. 4.8.0 25 Apr 2023
    Release notes

    Removed

    Open source →
  22. 4.7.1 12 Apr 2023
    Release notes

    Changed

    • [#2364] Italian translations updated (missing keys, keys ordering) (@gremo)

    Fixed

    Open source →
  23. 4.7.0 09 Mar 2023
    Release notes

    Added

    Removed

    Open source →
  24. 4.6.0 19 Feb 2023
    Release notes

    Added

    • [#2358] Added new configuration parameter sonata_media.filesystem.s3.async (@ozahorulia)
    Open source →
  25. 4.5.1 31 Aug 2022
    Release notes

    Fixed

    • [#2333] Allow CloudFront to compress files passing ContentLength in the headers. (@dmitryuk)
    Open source →
  26. 4.5.0 04 Aug 2022
    Release notes

    Added

    Open source →
  27. 4.4.0 28 Jun 2022
    Release notes

    Added

    Open source →
  28. 4.3.0 25 Jun 2022
    Release notes

    Changed

    • [#2313] MediaType form type will now allow you to pass your own data_class instead of relying on the provided $this->class. (@esserj)

    Removed

    Open source →
  29. 4.2.0 12 Jun 2022
    Release notes

    Changed

    Removed

    Open source →
  30. 4.1.5 27 Apr 2022
    Release notes

    Fixed

    Open source →
  31. 4.1.4 03 Mar 2022
    Release notes

    Fixed

    Open source →
  32. 4.1.3 28 Feb 2022
    Release notes

    Fixed

    Open source →
  33. 4.1.2 25 Feb 2022
    Release notes

    Fixed

    • [#2285] Fixed auto detect extension if the file does not provide it, for example when dealing with temporal filenames. (@jordisala1991)
    Open source →
  34. 4.1.1 13 Feb 2022
    Release notes

    Fixed

    Open source →
  35. 4.1.0 12 Feb 2022
    Release notes

    Added

    Open source →
  36. 4.0.1 08 Feb 2022
    Release notes

    Fixed

    Open source →
  37. 4.0.0 24 Jan 2022
    Release notes

    Added

    Changed

    • [#2227] Argument 1 in order to allow any iterable type at MediaInterface::setGalleryItems() and GalleryInterface::setGalleryItems(). (@phansys)

    Fixed

    Removed

    Open source →
  38. 4.0.0-alpha1 21 Oct 2021 pre-release

    Nothing published for this version

  39. 4.0.0-RC2 23 Nov 2021 pre-release
    Release notes

    Fixed

    Open source →
  40. 4.0.0-RC1 17 Nov 2021 pre-release
    Release notes

    Changed

    • [#2204] Make "sonata-project/admin-bundle" dependency optional for blocks (@core23)
    • [#2201] Changed visibility for public methods on Admin classes. (@jordisala1991)

    Fixed

    Open source →
  41. 3.38.1 24 Feb 2022
    Release notes

    Added

    • [#2285] Fixed auto detect extension if the file does not provide it, for example when dealing with temporal filenames. (@jordisala1991)
    Open source →
  42. 3.38.0 12 Feb 2022
    Release notes

    Added

    • [#2271] ImageProviderInterface so ImageProvider can be replaced without extending the class. (@jorrit)
    Open source →
  43. 3.37.1 09 Dec 2021
    Release notes

    Fixed

    • [#2245] src/Resources/views/MediaAdmin/inner_row_media.html.twig (@cezar77)
    Open source →
  44. 3.37.0 17 Nov 2021
    Release notes

    Added

    Changed

    Fixed

    Removed

    Open source →
  45. 3.36.0 04 Nov 2021
    Release notes

    Changed

    Deprecated

    Removed

    • [#2197] Conflict against "nelmio/api-doc-bundle" >= 4.0 (@phansys)
    • [#2197] The ReST API endpoints and documentation if "nelmio/api-doc-bundle" >= 4.0 is installed (@phansys)
    Open source →
  46. 3.35.1 18 Oct 2021
    Release notes

    Fixed

    Open source →
  47. 3.35.0 18 Oct 2021
    Release notes

    Deprecated

    Fixed

    • [#2171] Docblock for CategoryManagerInterface::getRootCategory() to tell it can return null (@phansys)
    • [#2169] Call to an undefined method Connection::fetchAll() when using doctrine/dbal:3.x (@phansys)
    • [#2166] Fixed usage of deprecated custom twig tags (@jordisala1991)

    Removed

    Open source →
  48. 3.34.2 08 Oct 2021
    Release notes

    Fixed

    • [#2152] Fixed safe output of sonata_media and sonata_thumbnail functions (@jordisala1991)
    • [#2152] Fixed calling sonata_media and sonata_thumbnail functions with null media (@jordisala1991)
    Open source →
  49. 3.34.1 06 Oct 2021
    Release notes

    Fixed

    Open source →
  50. 3.34.0 05 Oct 2021
    Release notes

    Added

    Deprecated

    Fixed

    Open source →
  51. 3.33.1 10 Sep 2021
    Release notes

    Fixed

    Open source →
  52. 3.33.0 08 Sep 2021
    Release notes

    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 in Sonata\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 from BaseMediaEventSubscriber::getMedia() if the related media does not implement MediaInterface (@phansys)

    Deprecated

    • [#2077] Unused argument 3 in Replicate::write() (@phansys)
    • [#2044] Sonata\MediaBundle\Filesystem\Replicate::createFileStream() in favor of createStream() (@phansys)
    • [#2072] Direct injection of SessionInterface on SessionDownloadStrategy, we use RequestStack 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 at Sonata\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)
    Open source →
  53. 3.32.0 13 Jun 2021
    Release notes

    Added

    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

    Open source →
  54. 3.31.2 19 May 2021
    Release notes

    Fixed

    • [#1955] CDN invalidation from CloudFront when submitting paths that were previously invalidated. (@phansys)
    • [#1956] Arguments passed to sprintf() in flushPaths() methods at CloudFront and CloudFrontVersion3. (@phansys)
    Open source →
  55. 3.31.1 19 Apr 2021
    Release notes

    Fixed

    • [#1953] Remove superfluous deprecation message when translator class is registered that implements both the legacy and new TranslatorInterface (@jorrit)
    Open source →
  56. 3.31.0 26 Mar 2021
    Release notes

    Added

    • [#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)

    Deprecated

    • [#1778] Replicate::$master and Replicate::$slave, in favor of Replicate::$primary and Replicate::$secondary (@dps910)

    Removed

    Open source →
  57. 3.30.0 15 Feb 2021
    Release notes

    Added

    • [#1907] Support sonata-project/datagrid-bundle:^3.0 (@Yozhef)
    Open source →
  58. 3.29.0 30 Nov 2020
    Release notes

    Fixed

    • [#1866] Guessing the content type of a file stored on Amazon S3 (@jorrit)
    • [#1863] SonataMediaBundle.it.xliff fixed "gallery" and "Gallery" translations (case) (@gremo)
    Open source →
  59. 3.28.0 30 Oct 2020
    Release notes

    Added

    • [#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 in BaseVideoProvider (@core23)

    Changed

    • [#1848] gallery translation key into Gallery (@gremo)
    • [#1821] When using Doctrine ORM or MongoDB the service sonata.media.admin.media.manager is now an alias of sonata.admin.manager.orm or sonata.admin.manager.doctrine_mongodb instead of a separate service implemented by the same class. (@jorrit)

    Deprecated

    • [#1815] Deprecated method signature for CloudFront::__construct(); (@phansys)
    • [#1815] Deprecated methods CloudFront::setClient() and CloudFront::getStatusList(); (@phansys)
    • [#1815] Deprecated returning false or any value not present in the CDNInterface::STATUS_* constants from CloudFront::getFlushStatus(). (@phansys)
    • [#1841] sonata.media.adapter.filesystem.mogilefs and sonata.media.filesystem.mogilefs services; (@phansys)
    • [#1841] sonata_media.filesystem.mogilefs configuration node. (@phansys)
    • [#1664] Deprecate Guzzle and Buzz usage in BaseVideoProvider (@core23)
    • [#1814] Deprecated sonata_media.filesystem.s3.sdk_version configuration node. (@phansys)

    Fixed

    • [#1815] Fixed getting values returned by CloudFrontClient::createInvalidation() and CloudFrontClient::getInvalidation() methods when using "aws/aws-sdk-php:^3.0". (@phansys)
    • [#1823] Fixed marking the medium as not CDN synced (Media::$cdnIsFlushable) in BaseProvider::flushCdn() and UpdateCdnStatusCommand. (@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 and Sonata\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 and sonata_media.filesystem.s3.endpoint configuration nodes when using aws/aws-sdk-php:^2.0. (@phansys)

    Removed

    • [#1836] Dev dependency on sonata-project/formatter-bundle. (@jorrit)
    • [#1818] Remove support for doctrine/mongodb-odm <2.0 (@franmomu)
    Open source →
  60. 3.27.0 02 Sep 2020
    Release notes

    Added

    Fixed

    • [#1800] Fixed support for string model identifiers at Open API definitions (@wbloszyk)

    Removed

    • [#1800] Removed requirements that were only allowing integers for model identifiers at Open API definitions (@wbloszyk)
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive