Releases: sonata-project/SonataMediaBundle
Releases · sonata-project/SonataMediaBundle
3.31.0
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
andReplicate::$slave
, in favor ofReplicate::$primary
andReplicate::$secondary
(@dps910)
Removed
3.30.0
3.29.0
3.28.0
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
inBaseVideoProvider
(@core23)
Changed
- [#1848]
gallery
translation key intoGallery
(@gremo) - [#1821] When using Doctrine ORM or MongoDB the service
sonata.media.admin.media.manager
is now an alias ofsonata.admin.manager.orm
orsonata.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()
andCloudFront::getStatusList()
; (@phansys) - [#1815] Deprecated returning
false
or any value not present in theCDNInterface::STATUS_*
constants fromCloudFront::getFlushStatus()
. (@phansys) - [#1841]
sonata.media.adapter.filesystem.mogilefs
andsonata.media.filesystem.mogilefs
services; (@phansys) - [#1841]
sonata_media.filesystem.mogilefs
configuration node. (@phansys) - [#1664] Deprecate
Guzzle
andBuzz
usage inBaseVideoProvider
(@core23) - [#1814] Deprecated
sonata_media.filesystem.s3.sdk_version
configuration node. (@phansys)
Fixed
- [#1815] Fixed getting values returned by
CloudFrontClient::createInvalidation()
andCloudFrontClient::getInvalidation()
methods when using "aws/aws-sdk-php:^3.0". (@phansys) - [#1823] Fixed marking the medium as not CDN synced (
Media::$cdnIsFlushable
) inBaseProvider::flushCdn()
andUpdateCdnStatusCommand
. (@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
andSonata\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
andsonata_media.filesystem.s3.endpoint
configuration nodes when using aws/aws-sdk-php:^2.0. (@phansys)
Removed
3.27.0
3.26.0
Added
- [#1761] Added public alias
Sonata\MediaBundle\Controller\Api\GalleryController
forsonata.media.controller.api.gallery
service (@wbloszyk) - [#1761] Added public alias
Sonata\MediaBundle\Controller\Api\MediaController
forsonata.media.controller.api.media
service (@wbloszyk) - [#1767] Added support for
friendsofsymfony/rest-bundle:^3.0
(@wbloszyk) - [#1771] Added french translation for
image_too_small
error message (@romainjanvier) - [#1756] Added
twig/string-extra
dependency. (@franmomu) - [#1757] Add missing
MediaManagerInterface
toNoDriverManager
(@core23)
Change
Changed
- [#1765] Change based command class from
ContainerAwareCommand
toCommand
and inject services instead container (@wbloszyk) - [#1753] SonataEasyExtendsBundle is now optional, using SonataDoctrineBundle is preferred (@jordisala1991)
- [#1756] Changed use of
truncate
filter withu
filter. (@franmomu)
Deprecated
- [#1753] Using SonataEasyExtendsBundle to add Doctrine mapping information (@jordisala1991)
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 expectedGalleryManagerInterface
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
intoSonata\MediaBundle\Command\IdGenerator
- Renamed class
Sonata\MediaBundle\Command\ODMGenerator
intoSonata\MediaBundle\Command\UuidGenerator
- Renamed class
Sonata\MediaBundle\Command\PHPCRGenerator
intoSonata\MediaBundle\Command\PathGenerator
- Made width setting non-mandatory but made width or height setting mandatory on the resizer.
Removed
- support for Symfony < 4.3