Skip to content

Commit

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

## [1.6.0](https://github.com/sonata-project/exporter/compare/1.5.0...1.6.0) - 2016-08-01
### Added
- Added `Exporter\Exporter` class to provide a Symfony `StreamedResponse`.
- Added a `sonata.exporter.exporter` service to deprecate the one defined in the admin bundle

### Deprecated
- Deprecate `Test\Writer\AbstractTypedWriterTestCase` in favor of `Test\AbstractTypedWriterTestCase`

## [1.5.0](https://github.com/sonata-project/exporter/compare/1.4.1...1.5.0) - 2016-06-16
### Added
- `MimeTypedWriterInterface` can be implemented to indicate the suitable `Content-Type` header and format for a writer.
Expand Down
5 changes: 4 additions & 1 deletion UPGRADE-1.x.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
UPGRADE 1.x
===========

## Deprectaded AbstractTypedWriterTestCase namespace
UPGRADE FROM 1.5 to 1.6
=======================

## Deprecated AbstractTypedWriterTestCase namespace

The `Test\Writer\AbstractTypedWriterTestCase` class is deprecated. Use `Test\AbstractTypedWriterTestCase` instead.

Expand Down
4 changes: 2 additions & 2 deletions test/Writer/AbstractTypedWriterTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
use Exporter\Test\AbstractTypedWriterTestCase as BaseTestCase;

@trigger_error(
'The '.__NAMESPACE__.'\AbstractTypedWriterTestCase class is deprecated since version 1.x and will be removed in 2.0.'
'The '.__NAMESPACE__.'\AbstractTypedWriterTestCase class is deprecated since version 1.6 and will be removed in 2.0.'
.' Use Exporter\Test\AbstractTypedWriterTestCase instead.',
E_USER_DEPRECATED
);

/**
* @author Grégoire Paris <postmaster@greg0ire.fr>
*
* @deprecated Deprecated since version 1.x. Use Exporter\Test\AbstractTypedWriterTestCase instead
* @deprecated Deprecated since version 1.6. Use Exporter\Test\AbstractTypedWriterTestCase instead
*/
abstract class AbstractTypedWriterTestCase extends BaseTestCase
{
Expand Down

0 comments on commit 4890510

Please sign in to comment.