Skip to content

Commit

Permalink
3.36.0
Browse files Browse the repository at this point in the history
  • Loading branch information
phansys committed Nov 4, 2021
1 parent 05c721c commit f3c851d
Show file tree
Hide file tree
Showing 8 changed files with 108 additions and 96 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [3.36.0](https://github.com/sonata-project/SonataMediaBundle/compare/3.35.1...3.36.0) - 2021-11-04
### Changed
- [[#2194](https://github.com/sonata-project/SonataMediaBundle/pull/2194)] Final annotation to methods that will be final on 4.x ([@jordisala1991](https://github.com/jordisala1991))

### Deprecated
- [[#2187](https://github.com/sonata-project/SonataMediaBundle/pull/2187)] PantherPortal CDN ([@jordisala1991](https://github.com/jordisala1991))
- [[#2186](https://github.com/sonata-project/SonataMediaBundle/pull/2186)] Using `master` and `slave` for filesystem and cdn configuration, use `primary` and `secondary` instead ([@jordisala1991](https://github.com/jordisala1991))

### Removed
- [[#2197](https://github.com/sonata-project/SonataMediaBundle/pull/2197)] Conflict against "nelmio/api-doc-bundle" >= 4.0 ([@phansys](https://github.com/phansys))
- [[#2197](https://github.com/sonata-project/SonataMediaBundle/pull/2197)] The ReST API endpoints and documentation if "nelmio/api-doc-bundle" >= 4.0 is installed ([@phansys](https://github.com/phansys))

## [3.35.1](https://github.com/sonata-project/SonataMediaBundle/compare/3.35.0...3.35.1) - 2021-10-18
### Fixed
- [[#2175](https://github.com/sonata-project/SonataMediaBundle/pull/2175)] Fixed calling `media_thumbnail` instead of `sonata_thumbnail` ([@jordisala1991](https://github.com/jordisala1991))
Expand Down
2 changes: 1 addition & 1 deletion src/Admin/BaseMediaAdmin.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ public function getPool()
}

/**
* @final since sonata-project/media-bundle 3.x
* @final since sonata-project/media-bundle 3.36.0
*/
public function getObjectMetadata($object)
{
Expand Down
2 changes: 1 addition & 1 deletion src/CDN/PantherPortal.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
/**
* NEXT_MAJOR: Remove this class.
*
* @deprecated since sonata-project/media-bundle 3.x, to be removed in 4.0.
* @deprecated since sonata-project/media-bundle 3.36.0, to be removed in 4.0.
*/
class PantherPortal implements CDNInterface
{
Expand Down
14 changes: 7 additions & 7 deletions src/Listener/BaseMediaEventSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public function getPool()
}

/**
* @final since sonata-project/media-bundle 3.x
* @final since sonata-project/media-bundle 3.36.0
*/
public function postUpdate(EventArgs $args)
{
Expand All @@ -55,7 +55,7 @@ public function postUpdate(EventArgs $args)
}

/**
* @final since sonata-project/media-bundle 3.x
* @final since sonata-project/media-bundle 3.36.0
*/
public function postRemove(EventArgs $args)
{
Expand All @@ -69,7 +69,7 @@ public function postRemove(EventArgs $args)
}

/**
* @final since sonata-project/media-bundle 3.x
* @final since sonata-project/media-bundle 3.36.0
*/
public function postPersist(EventArgs $args)
{
Expand All @@ -83,7 +83,7 @@ public function postPersist(EventArgs $args)
}

/**
* @final since sonata-project/media-bundle 3.x
* @final since sonata-project/media-bundle 3.36.0
*/
public function preUpdate(EventArgs $args)
{
Expand All @@ -102,7 +102,7 @@ public function preUpdate(EventArgs $args)
}

/**
* @final since sonata-project/media-bundle 3.x
* @final since sonata-project/media-bundle 3.36.0
*/
public function preRemove(EventArgs $args)
{
Expand All @@ -116,7 +116,7 @@ public function preRemove(EventArgs $args)
}

/**
* @final since sonata-project/media-bundle 3.x
* @final since sonata-project/media-bundle 3.36.0
*/
public function prePersist(EventArgs $args)
{
Expand All @@ -140,7 +140,7 @@ abstract protected function recomputeSingleEntityChangeSet(EventArgs $args);
abstract protected function getMedia(EventArgs $args);

/**
* @final since sonata-project/media-bundle 3.x
* @final since sonata-project/media-bundle 3.36.0
*
* @return MediaProviderInterface
*/
Expand Down
24 changes: 12 additions & 12 deletions src/Model/Gallery.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,79 +63,79 @@ public function __toString()
}

/**
* @final since sonata-project/media-bundle 3.x
* @final since sonata-project/media-bundle 3.36.0
*/
public function setName($name)
{
$this->name = $name;
}

/**
* @final since sonata-project/media-bundle 3.x
* @final since sonata-project/media-bundle 3.36.0
*/
public function getName()
{
return $this->name;
}

/**
* @final since sonata-project/media-bundle 3.x
* @final since sonata-project/media-bundle 3.36.0
*/
public function setEnabled($enabled)
{
$this->enabled = $enabled;
}

/**
* @final since sonata-project/media-bundle 3.x
* @final since sonata-project/media-bundle 3.36.0
*/
public function getEnabled()
{
return $this->enabled;
}

/**
* @final since sonata-project/media-bundle 3.x
* @final since sonata-project/media-bundle 3.36.0
*/
public function setUpdatedAt(?\DateTime $updatedAt = null)
{
$this->updatedAt = $updatedAt;
}

/**
* @final since sonata-project/media-bundle 3.x
* @final since sonata-project/media-bundle 3.36.0
*/
public function getUpdatedAt()
{
return $this->updatedAt;
}

/**
* @final since sonata-project/media-bundle 3.x
* @final since sonata-project/media-bundle 3.36.0
*/
public function setCreatedAt(?\DateTime $createdAt = null)
{
$this->createdAt = $createdAt;
}

/**
* @final since sonata-project/media-bundle 3.x
* @final since sonata-project/media-bundle 3.36.0
*/
public function getCreatedAt()
{
return $this->createdAt;
}

/**
* @final since sonata-project/media-bundle 3.x
* @final since sonata-project/media-bundle 3.36.0
*/
public function setDefaultFormat($defaultFormat)
{
$this->defaultFormat = $defaultFormat;
}

/**
* @final since sonata-project/media-bundle 3.x
* @final since sonata-project/media-bundle 3.36.0
*/
public function getDefaultFormat()
{
Expand Down Expand Up @@ -185,15 +185,15 @@ public function addGalleryHasMedias(GalleryHasMediaInterface $galleryHasMedia)
}

/**
* @final since sonata-project/media-bundle 3.x
* @final since sonata-project/media-bundle 3.36.0
*/
public function setContext($context)
{
$this->context = $context;
}

/**
* @final since sonata-project/media-bundle 3.x
* @final since sonata-project/media-bundle 3.36.0
*/
public function getContext()
{
Expand Down
Loading

0 comments on commit f3c851d

Please sign in to comment.