Skip to content

Commit

Permalink
3.37.0 (#2218)
Browse files Browse the repository at this point in the history
* 3.37.0

* Update CHANGELOG.md

Co-authored-by: Javier Spagnoletti <[email protected]>

* Update CHANGELOG.md

Co-authored-by: Javier Spagnoletti <[email protected]>

* Update CHANGELOG.md

Co-authored-by: Javier Spagnoletti <[email protected]>

* Update CHANGELOG.md

Co-authored-by: Javier Spagnoletti <[email protected]>

Co-authored-by: Javier Spagnoletti <[email protected]>
  • Loading branch information
VincentLanglet and phansys authored Nov 17, 2021
1 parent c31711a commit 1ea1152
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 6 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [3.37.0](https://github.com/sonata-project/SonataMediaBundle/compare/3.356...3.37.0) - 2021-11-17
### Added
- [[#2177](https://github.com/sonata-project/SonataMediaBundle/pull/2177)] Support for "jms/serializer-bundle" 4.x ([@phansys](https://github.com/phansys))

### Fixed
- [[#2211](https://github.com/sonata-project/SonataMediaBundle/pull/2211)] Fixed call to `strlen()` with possible null value ([@jordisala1991](https://github.com/jordisala1991))
- [[#2211](https://github.com/sonata-project/SonataMediaBundle/pull/2211)] Improved error message for uploaded images that do not have an allowed extension or mime type ([@jordisala1991](https://github.com/jordisala1991))
- [[#2207](https://github.com/sonata-project/SonataMediaBundle/pull/2207)] Fix creation of galleries, an annotation was incorrectly configured ([@houssemz](https://github.com/houssemz))

## [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))
Expand Down
4 changes: 2 additions & 2 deletions UPGRADE-3.x.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
UPGRADE 3.x
===========

UPGRADE FROM 3.x to 3.x
=======================
UPGRADE FROM 3.36 to 3.37
=========================

### ReST API

Expand Down
8 changes: 4 additions & 4 deletions src/DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ private function addCdnSection(ArrayNodeDefinition $node): void
->arrayNode('panther')
->setDeprecated(...$this->getBackwardCompatibleArgumentsForSetDeprecated(
'The node "%node%" is deprecated and will be removed in version 4.0.',
'3.x'
'3.36'
))
->children()
->scalarNode('path')
Expand Down Expand Up @@ -181,7 +181,7 @@ private function addCdnSection(ArrayNodeDefinition $node): void
->scalarNode('master')
->setDeprecated(...$this->getBackwardCompatibleArgumentsForSetDeprecated(
'The "%node%" option is deprecated, use "primary" instead.',
'3.x'
'3.36'
))
->end()
->scalarNode('primary')->end()
Expand Down Expand Up @@ -313,14 +313,14 @@ private function addFilesystemSection(ArrayNodeDefinition $node): void
->scalarNode('master')
->setDeprecated(...$this->getBackwardCompatibleArgumentsForSetDeprecated(
'The "%node%" option is deprecated, use "primary" instead.',
'3.x'
'3.36'
))
->end()
->scalarNode('primary')->end()
->scalarNode('slave')
->setDeprecated(...$this->getBackwardCompatibleArgumentsForSetDeprecated(
'The "%node%" option is deprecated, use "secondary" instead.',
'3.x'
'3.36'
))
->end()
->scalarNode('secondary')->end()
Expand Down

0 comments on commit 1ea1152

Please sign in to comment.