Skip to content

Commit

Permalink
3.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
soullivaneuh committed Dec 12, 2017
1 parent ed3f3f8 commit e068ba3
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 3 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,19 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [3.9.0](https://github.com/sonata-project/SonataBlockBundle/compare/3.8.0...3.9.0) - 2017-12-12
### Added
- Added missing validation translations
- Added missing translation to blocks

### Changed
- Changed `MenuRegistry::add` method signature to allow string values instead of `MenuBuilderInterface`
- Removed usage of old form type aliases

### Deprecated
- deprecated `sonata.block.menu` tag in favor of the existing `knp_menu.menu` tag
- deprecated `MenuBuilderInterface` class

## [3.8.0](https://github.com/sonata-project/SonataBlockBundle/compare/3.7.0...3.8.0) - 2017-11-30
### Added
- added Russian translations
Expand Down
3 changes: 3 additions & 0 deletions UPGRADE-3.x.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
UPGRADE 3.x
===========

UPGRADE FROM 3.8 to 3.9
=======================

## Rewrote menu blocks

Defining menu blocks by using a `<tag name="sonata.block.menu"/>` tag was removed, because it never worked properly.
Expand Down
2 changes: 1 addition & 1 deletion src/Menu/MenuBuilderInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
/**
* @author Christian Gripp <[email protected]>
*
* @deprecated since 3.x, to be removed with 4.0.
* @deprecated since 3.9, to be removed with 4.0.
*/
interface MenuBuilderInterface
{
Expand Down
2 changes: 1 addition & 1 deletion src/Menu/MenuRegistry.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function add($menu)
{
if ($menu instanceof MenuBuilderInterface) {
@trigger_error(
'Adding a '.MenuBuilderInterface::class.' is deprecated since 3.x and will be removed in 4.0.',
'Adding a '.MenuBuilderInterface::class.' is deprecated since 3.9 and will be removed in 4.0.',
E_USER_DEPRECATED
);

Expand Down
2 changes: 1 addition & 1 deletion src/Resources/stubs/symfony2.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

if (!interface_exists('Symfony\Component\OptionsResolver\OptionsResolverInterface')) {
/**
* @deprecated since 3.x, to be removed in 4.0. Use \Symfony\Component\OptionsResolver\OptionsResolver instead.
* @deprecated since 3.9, to be removed in 4.0. Use \Symfony\Component\OptionsResolver\OptionsResolver instead.
*/
interface OptionsResolverInterface
{
Expand Down

0 comments on commit e068ba3

Please sign in to comment.