Skip to content

Commit

Permalink
3.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
soullivaneuh committed Sep 20, 2016
1 parent b1af813 commit 987b9e9
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Block/AbstractBlockService.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
namespace Sonata\BlockBundle\Block;

@trigger_error(
'This class is deprecated since 3.x and will be removed with the 4.0 release.'.
'This class is deprecated since 3.2 and will be removed with the 4.0 release.'.
'Use '.__NAMESPACE__.'\Block\Service\AbstractBlockService instead.',
E_USER_DEPRECATED
);
Expand All @@ -22,7 +22,7 @@
*
* @author Sullivan Senechal <soullivaneuh@gmail.com>
*
* @deprecated since 3.x, to be removed with 4.0
* @deprecated since 3.2, to be removed with 4.0
*/
abstract class AbstractBlockService extends \Sonata\BlockBundle\Block\Service\AbstractBlockService
{
Expand Down
4 changes: 2 additions & 2 deletions Block/BaseBlockService.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
use Sonata\BlockBundle\Block\Service\AbstractAdminBlockService;

@trigger_error(
'This class is deprecated since 3.x and will be removed with the 4.0 release.'.
'This class is deprecated since 3.2 and will be removed with the 4.0 release.'.
'Use '.__NAMESPACE__.'\Block\Service\AbstractBlockService instead.',
E_USER_DEPRECATED
);
Expand All @@ -25,7 +25,7 @@
*
* @author Thomas Rabaix <thomas.rabaix@sonata-project.org>
*
* @deprecated since 3.x, to be removed with 4.0
* @deprecated since 3.2, to be removed with 4.0
*/
abstract class BaseBlockService extends AbstractAdminBlockService implements BlockAdminServiceInterface
{
Expand Down
4 changes: 2 additions & 2 deletions Block/BlockAdminServiceInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
use Sonata\BlockBundle\Block\Service\AdminBlockServiceInterface;

@trigger_error(
'This class is deprecated since 3.x and will be removed with the 4.0 release.'.
'This class is deprecated since 3.2 and will be removed with the 4.0 release.'.
'Use '.__NAMESPACE__.'\Block\Service\AdminBlockServiceInterface instead.',
E_USER_DEPRECATED
);

/**
* @deprecated since 3.x, to be removed with 4.0
* @deprecated since 3.2, to be removed with 4.0
*/
interface BlockAdminServiceInterface extends AdminBlockServiceInterface
{
Expand Down
2 changes: 1 addition & 1 deletion Block/BlockServiceInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
/**
* Interface BlockServiceInterface.
*
* @deprecated since 3.x, to be removed with 4.0
* @deprecated since 3.2, to be removed with 4.0
*/
interface BlockServiceInterface
{
Expand Down
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.2.0](https://github.com/sonata-project/SonataBlockBundle/compare/3.1.1...3.2.0) - 2016-09-20
### Added
- Created `Sonata\BlockBundle\Block\Service\AbstractAdminBlockService` class
- Created `Sonata\BlockBundle\Block\Service\AbstractBlockService` class
- Created `Sonata\BlockBundle\Block\Service\AdminBlockServiceInterface` class
- Created `Sonata\BlockBundle\Block\Service\BlockServiceInterface` class

### Deprecated
- The class `Sonata\BlockBundle\Block\AbstractBlockService` is deprecated
- The class `Sonata\BlockBundle\Block\BaseBlockService` is deprecated
- The class `Sonata\BlockBundle\Block\BlockAdminServiceInterface` is deprecated
- The class `Sonata\BlockBundle\Block\BlockServiceInterface` is deprecated

## [3.1.1](https://github.com/sonata-project/SonataBlockBundle/compare/3.1.0...3.1.1) - 2016-07-12
### Deprecated
- Deprecate `Tests\Block\Service\FakeTemplating` in favor of `Test\Mock\MockTemplating` (missing PR for 3.1.0)
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.1 to 3.2
=======================

## Deprecated block classes and interfaces

The `Sonata\BlockBundle\Block\AbstractBlockService` and `Sonata\BlockBundle\Block\BaseBlockService` classes are deprecated.
Expand Down

0 comments on commit 987b9e9

Please sign in to comment.