Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Media Bundle Laravel Package

sonata-project/media-bundle

View on GitHub
Deep Wiki
Context7
4.20.0

Added

Removed

4.19.0

Added

Deprecated

4.18.0

Added

4.17.0

Added

4.16.0

Changed

4.15.0

Added

Changed

4.14.1

Fixed

4.14.0

Added

Fixed

4.13.0

Added

4.12.0

Changed

4.11.1

Fixed

4.11.0

Added

4.10.5

Changed

Fixed

4.10.4

Fixed

4.10.3

Fixed

4.10.2

Changed

4.10.1

Fixed

4.10.0

Added

4.9.0

Added

4.8.1

Fixed

4.8.0

Removed

4.7.1

Changed

Fixed

4.7.0

Added

Removed

4.6.0

Added

4.5.1

Fixed

4.5.0

Added

4.4.0

Added

4.3.0

Changed

Removed

4.2.0

Changed

Removed

4.1.5

Fixed

4.1.4

Fixed

4.1.3

Fixed

4.1.2

Fixed

4.1.1

Fixed

4.1.0

Added

4.0.1

Fixed

4.0.0-alpha1
4.0.0-RC2

Fixed

4.0.0-RC1

Changed

Fixed

4.0.0

Added

Changed

Fixed

Removed

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 by providerName 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
3.4.0

Added

  • An icon to admin menu (fa-image)
  • Added getRequest method on controller for BC with Symfony 2.3+
  • Added test on MediaAdminController

Changed

  • Replaced form types for the FQCN's

Fixed

  • Support for Twig 2.0
  • Callback contraint is not a valid callable on Symfony 3
  • BaseAdmin incorrectly retrieved providerName
  • Fixed BlockBundle deprecation messages
  • Fixed pager test with DatagridBundle 2.2.1
  • Media List is now filterable by Category again
  • Incorrect access to providerName parameter in request in Admin/BaseMediaAdmin.php
  • Wrong FQCN's and added missing end() on GalleryAdmin
  • Calling a macro without importing it is an error on twig 2.0
  • Remove deprecations from non FQCNs on form types on MediaAdmin

Removed

  • cascade_validation from GalleryAdmin
  • ClassificationBundle is now an optional dependency
3.38.1

Added

3.38.0

Added

3.37.1

Fixed

3.37.0

Added

Changed

Fixed

Removed

3.36.0

Changed

Deprecated

Removed

3.35.1

Fixed

3.35.0

Deprecated

Fixed

Removed

3.34.2

Fixed

3.34.1

Fixed

3.34.0

Added

Deprecated

Fixed

3.33.1

Fixed

3.33.0

Added

Changed

Deprecated

Fixed

3.32.0

Added

Changed

Fixed

3.31.2

Fixed

3.31.1

Fixed

3.31.0

Added

Deprecated

Removed

3.30.0

Added

3.3.1

Added

  • Added filesize check to upload
  • Added empty filename check to upload
  • Generate thumbnails asynchronously if creating Media on console commands.

Changed

  • translation in twig templates now uses the twig translation filter
  • Moved ApiDoc groups from string to array.

Fixed

  • Deprecation warning for addDownloadSecurity
  • Moved FosRest groups from string to array and reimplemented the orderBy parameter enabling support for FosRestBundle>=2.0.
  • Missing italian translations
3.3.0

Added

  • Added config key to define default resizer
  • Added config key to define default resizer adapter

Fixed

  • The provider and context options are now required
  • Use $request instead of $this->get('request')

Removed

  • Ability to provide custom attributes for a thumbnail
3.29.0

Fixed

3.28.0

Added

Changed

Deprecated

Fixed

Removed

3.27.0

Added

Fixed

Removed

3.26.0

Added

Change

Changed

Deprecated

Fixed

Removed

3.25.0

Added

  • Add image size validation
  • Added support for symfony/mime:^5.0
  • adding maxFileSize as a parameter in the validation message

Changed

  • Changed the validation message for the validation rule

Fixed

  • Fix missing translation of gallery context
  • Removed all calls to container inside the CleanMediaCommand
  • Fix bin/console lint:container command and pass an object of class NoDriverManager of the expected GalleryManagerInterface interface

Removed

  • remove SonataCoreBundle dependencies
3.24.0

Fixed

  • BlockBundle deprecations
  • API routes config, made them public for the FOSRest routeloader.

Changed

  • Use Mime Component to guess extension
  • Renamed class Sonata\MediaBundle\Command\DefaultGenerator into Sonata\MediaBundle\Command\IdGenerator
  • Renamed class Sonata\MediaBundle\Command\ODMGenerator into Sonata\MediaBundle\Command\UuidGenerator
  • Renamed class Sonata\MediaBundle\Command\PHPCRGenerator into Sonata\MediaBundle\Command\PathGenerator
  • Made width setting non-mandatory but made width or height setting mandatory on the resizer.

Removed

  • support for Symfony < 4.3
3.23.1

Fixed

  • Generating path when using VO representing UUID
  • Deprecations about commands not returning an exit code
3.23.0

Added

  • Added support for "knplabs/gaufrette:0.9".

Fixed

  • Fixed passing the default values to the sonata.media.metadata.amazon service.
3.22.0

Added

  • Imagine ^1.0 support

Changed

  • SimpleResizer and SquareResizer resizers now use ImagineCompatibleResizerTrait

Fixed

  • Fixed using old string types to create forms
  • Add the addResizer method call on the thumbnail service only if the method exists.
  • Add missing default service argument for AmazonMetadataBuilder

Removed

  • Support for Symfony < 3.4
  • Support for Symfony >= 4, < 4.2
3.21.0

Added

  • Add missing translation for admin menu

Changed

  • Changed parameter type in MediaInterface::setCdnFlushIdentifier
  • Add breadcrumb as default context for seo blocks
  • the alt tag of media picture elements to the media description, falling back to the name when no description is present
  • Bumped "twig/twig" dependency to "^2.9";
  • Changed usages of {% spaceless %} tag, which is deprecated as of Twig 1.38 with {% apply spaceless %} filter;
  • Changed usages of {% for .. if .. %}, which is deprecated as of Twig 2.10 with filter filter'.

Fixed

  • Using deprecated \Twig_ classes without namespace.
  • Respect "field_description.options.route.name" value at list_image.html.twig instead of using hardcoded "edit".
  • Possibility to resolve Twig dependency to versions that don't support arrow functions on Twig filters.

Deprecated

  • Extending classes marked as final:
  • Sonata\MediaBundle\Admin\GalleryAdmin
  • Sonata\MediaBundle\Admin\GalleryHasMediaAdmin
  • Sonata\MediaBundle\Admin\ODM\MediaAdmin
  • Sonata\MediaBundle\Admin\ORM\MediaAdmin
  • Sonata\MediaBundle\Admin\PHPCR\GalleryAdmin
  • Sonata\MediaBundle\Admin\PHPCR\MediaAdmin
  • Sonata\MediaBundle\Block\Breadcrumb\GalleryIndexBreadcrumbBlockService
  • Sonata\MediaBundle\Block\Breadcrumb\GalleryViewBreadcrumbBlockService
  • Sonata\MediaBundle\Block\Breadcrumb\MediaViewBreadcrumbBlockService
  • Sonata\MediaBundle\Block\FeatureMediaBlockService
  • Sonata\MediaBundle\Block\GalleryBlockService
  • Sonata\MediaBundle\Block\GalleryListBlockService
  • Sonata\MediaBundle\Block\MediaBlockService
  • Sonata\MediaBundle\CDN\CloudFront
  • Sonata\MediaBundle\CDN\Fallback
  • Sonata\MediaBundle\CDN\PantherPortal
  • Sonata\MediaBundle\CDN\Server
  • Sonata\MediaBundle\Command\AddMassMediaCommand
  • Sonata\MediaBundle\Command\AddMediaCommand
  • Sonata\MediaBundle\Command\CleanMediaCommand
  • Sonata\MediaBundle\Command\FixMediaContextCommand
  • Sonata\MediaBundle\Command\MigrateToJsonTypeCommand
  • Sonata\MediaBundle\Command\RefreshMetadataCommand
  • Sonata\MediaBundle\Command\RemoveThumbsCommand
  • Sonata\MediaBundle\Command\SyncThumbsCommand
  • Sonata\MediaBundle\Command\UpdateCdnStatusCommand
  • Sonata\MediaBundle\Consumer\CreateThumbnailConsumer
  • Sonata\MediaBundle\Controller\Api\GalleryController
  • Sonata\MediaBundle\Controller\Api\MediaController
  • Sonata\MediaBundle\Controller\GalleryAdminController
  • Sonata\MediaBundle\Controller\GalleryController
  • Sonata\MediaBundle\Controller\MediaAdminController
  • Sonata\MediaBundle\Controller\MediaController
  • Sonata\MediaBundle\DependencyInjection\Compiler\AddProviderCompilerPass
  • Sonata\MediaBundle\DependencyInjection\Compiler\GlobalVariablesCompilerPass
  • Sonata\MediaBundle\DependencyInjection\Compiler\SecurityContextCompilerPass
  • Sonata\MediaBundle\DependencyInjection\Compiler\ThumbnailCompilerPass
  • Sonata\MediaBundle\DependencyInjection\Configuration
  • Sonata\MediaBundle\DependencyInjection\SonataMediaExtension
  • Sonata\MediaBundle\Document\GalleryManager
  • Sonata\MediaBundle\Document\MediaManager
  • Sonata\MediaBundle\Entity\GalleryManager
  • Sonata\MediaBundle\Entity\MediaManager
  • Sonata\MediaBundle\Extra\ApiMediaFile
  • Sonata\MediaBundle\Extra\Pixlr
  • Sonata\MediaBundle\Filesystem\Local
  • Sonata\MediaBundle\Filesystem\Replicate
  • Sonata\MediaBundle\Form\DataTransformer\ProviderDataTransformer
  • Sonata\MediaBundle\Form\DataTransformer\ServiceProviderDataTransformer
  • Sonata\MediaBundle\Form\Type\ApiDoctrineMediaType
  • Sonata\MediaBundle\Form\Type\ApiGalleryHasMediaType
  • Sonata\MediaBundle\Form\Type\ApiGalleryType
  • Sonata\MediaBundle\Form\Type\ApiMediaType
  • Sonata\MediaBundle\Form\Type\MediaType
  • Sonata\MediaBundle\Generator\DefaultGenerator
  • Sonata\MediaBundle\Generator\ODMGenerator
  • Sonata\MediaBundle\Generator\PHPCRGenerator
  • Sonata\MediaBundle\Listener\ODM\MediaEventSubscriber
  • Sonata\MediaBundle\Listener\ORM\MediaEventSubscriber
  • Sonata\MediaBundle\Listener\PHPCR\MediaEventSubscriber
  • Sonata\MediaBundle\Metadata\AmazonMetadataBuilder
  • Sonata\MediaBundle\Metadata\NoopMetadataBuilder
  • Sonata\MediaBundle\Metadata\ProxyMetadataBuilder
  • Sonata\MediaBundle\PHPCR\BaseGalleryHasMediaRepository
  • Sonata\MediaBundle\PHPCR\BaseGalleryRepository
  • Sonata\MediaBundle\PHPCR\BaseMediaRepository
  • Sonata\MediaBundle\PHPCR\GalleryManager
  • Sonata\MediaBundle\PHPCR\MediaManager
  • Sonata\MediaBundle\Provider\DailyMotionProvider
  • Sonata\MediaBundle\Provider\FileProvider
  • Sonata\MediaBundle\Provider\ImageProvider
  • Sonata\MediaBundle\Provider\Pool
  • Sonata\MediaBundle\Provider\VimeoProvider
  • Sonata\MediaBundle\Provider\YouTubeProvider
  • Sonata\MediaBundle\Resizer\SimpleResizer
  • Sonata\MediaBundle\Resizer\SquareResizer
  • Sonata\MediaBundle\Security\ForbiddenDownloadStrategy
  • Sonata\MediaBundle\Security\PublicDownloadStrategy
  • Sonata\MediaBundle\Security\RolesDownloadStrategy
  • Sonata\MediaBundle\Security\SessionDownloadStrategy
  • Sonata\MediaBundle\Serializer\GallerySerializerHandler
  • Sonata\MediaBundle\Serializer\MediaSerializerHandler
  • Sonata\MediaBundle\SonataMediaBundle
  • Sonata\MediaBundle\Thumbnail\ConsumerThumbnail
  • Sonata\MediaBundle\Thumbnail\FormatThumbnail
  • Sonata\MediaBundle\Thumbnail\LiipImagineThumbnail
  • Sonata\MediaBundle\Twig\Extension\FormatterMediaExtension
  • Sonata\MediaBundle\Twig\Extension\MediaExtension
  • Sonata\MediaBundle\Twig\GlobalVariables
  • Sonata\MediaBundle\Twig\Node\MediaNode
  • Sonata\MediaBundle\Twig\Node\PathNode
  • Sonata\MediaBundle\Twig\Node\ThumbnailNode
  • Sonata\MediaBundle\Twig\TokenParser\MediaTokenParser
  • Sonata\MediaBundle\Twig\TokenParser\PathTokenParser
  • Sonata\MediaBundle\Twig\TokenParser\ThumbnailTokenParser
  • Sonata\MediaBundle\Validator\Constraints\ValidMediaFormat
  • Sonata\MediaBundle\Validator\FormatValidator
3.20.1

Fixed

  • Value of code to throw RuntimeException when url of video throw an exception

Changed

  • Updated _controller attribute for routes which were using deprecated syntax.
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() return null
3.2.0

Added

  • Created getReferenceUrl method for all video providers
  • Add parameter to specify aws_sdk version

Changed

  • Allow knplabs/gaufrette ^0.2
  • Update configuration and metadatabuilder to comply with AWS SDK 3.x

Fixed

  • Fixed wrong block inheritance in edit template
  • Fixed wrong html usage in edit template
  • Fixed loop in Pool::getDownloadSecurity
  • Fixed deprecated call of downloadSecurity in Resources/views/MediaAdmin/edit.html.twig template.
3.19.1

Fixed

  • return type for CategoryManager::find()
  • Crash about setFormTheme when viewing the gallery list
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

Fixed

  • crash about wrong provider argument type when trying to upload a media
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

Fixes

  • crashes on pages with null medias
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

Fixed

  • Added missing methods to FormatterMediaExtension
3.16.2

Fixed

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

Fixed

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

Added

  • S3 Connection without use of credentials (access and secret keys) but with IAM roles (Amazon instances must have been configured with it).

Fixed

  • Fixed S3 credentials set to false when no credentials are provided
  • Bug where an extension config with unresolved parameters was processed in a compiler pass
3.15.0

Added

  • Added getters for allowedExtensions and allowedMimeTypes properties
3.14.0

Changed

  • Make service alias sonata.media.manager.category public
  • Allow Gaufrette 0.6
  • Moved a code block from BaseProvider::postRemove to BaseProvider::preRemove

Fixed

  • Make services public
3.13.1

Changed

  • Force use existing translation strings for Media/Gallery breadcrumbs in Admin panel
  • Deprecations from controllers still using deprecated render instead of renderWithExtraParams()
  • Set providers, metadata and manager services public so applications using SonataMediaBundle can upgrade to Symfony 4.0.
3.13.0

Changed

  • A db_driver configuration parameter is optional now with no_driver default value

Fixed

  • Issue where all medias were removed from a gallery on update.
  • Fixed widget template for MediaType as a child form type
  • sonata:media:sync-thumbnails command when running this command with PHPCR or ODM document mapper.
3.12.0

Changed

  • Changed Vimeo endpoint to https

Fixed

  • LiipImagine generatePublicUrl updated to work with latest version of that bundle
  • Relative path when path it is already an url

Removed

  • Removed compatibility with older versions of FOSRestBundle (<2.1)
  • Removed SonataNotificationBundle as a required dependency
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.1and ^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 with createMock 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.1.0

Added

  • Added Sonata\MediaBundle\Listener\ORM\MediaEventSubscriber::onClear to clear the rootCategories cache when the EntityManager is cleared
  • Added region key to S3Client config
  • Added alt attribute to thumbnail twig tag

Changed

  • Injection of Session instead of the whole Container in Security/SessionDownloadStrategy
  • Sonata\MediaBundle\Listener\ORM\MediaEventSubscriber::onClear now subscribes to onClear too

Deprecated

  • $container property in Security/SessionDownloadStrategy
  • Deprecated Pool::$downloadSecurities for Pool::$downloadStrategies property
  • Deprecated Pool::addDownloadSecurity for Pool::addDownloadStrategy method
  • Deprecated Pool::getDownloadSecurity for Pool::getDownloadStrategy method

Fixed

  • Restored ApiDoc and QueryParam use statements in Api/GalleryController
  • Added missing sonata-project/block-bundle dependency
  • Fixed media widget spanish translations
  • Support for FOSRestBundle 2.0
  • Fixed ApiMediaType::getParent compatibility with Symfony3 forms
  • Fixed MediaType::buildForm compatibility with Symfony3 forms
  • Fixed MediaType::getParent compatibility with Symfony3 forms
  • Fixed BaseVideoProvider::buildEditForm compatibility with Symfony3 forms
  • Fixed BaseVideoProvider::buildCreateForm compatibility with Symfony3 forms
  • Fixed BaseVideoProvider:: buildMediaType compatibility with Symfony3 forms
  • Fixed FileProvider::buildEditForm compatibility with Symfony3 forms
  • Fixed FileProvider::buildCreateForm compatibility with Symfony3 forms
  • Fixed FileProvider::buildMediaType compatibility with Symfony3 forms
  • Fixed mixed-content error when loading Pixlr editor under https
  • Gaufrette compatibility with Symfony 3
  • Fix deprecated usage of Admin class
  • Added missing BaseProvider::$name property
  • Removed double translation in gallery edit form
  • Reuse of root categories instances after the entity manager has been cleared

Removed

  • Internal test classes are now excluded from the autoloader
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
terminal42/code-quality-tools
codifyo/ts-generator-bundle
andydefer/laravel-cluster
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky