Skip to content

Commit

Permalink
Document the media_type option removal
Browse files Browse the repository at this point in the history
  • Loading branch information
GuilhemN committed Sep 7, 2016
1 parent 9712575 commit 1839894
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions UPGRADING-2.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Upgrading From 1.x To 2.0
* The SensioFrameworkExtraBundle view annotations must be enabled to
use the `ViewResponseListener`:

```yaml
```yml
# app/config/config.yml
sensio_framework_extra:
view:
Expand All @@ -39,7 +39,16 @@ Upgrading From 1.x To 2.0
* constructor signatures of most of the classes which used the container
were changed

* removed `callback_filter` configuration option for the jsonp_handler
* removed `callback_filter` configuration option for the `jsonp_handler`

* removed `fos_rest.format_listener.media_type` configuration option.
Use the versioning section instead:

```yml
# config.yml
versioning: true
```

* the `exception_wrapper_handler` config option was removed. Use normalizers instead.

Expand Down

0 comments on commit 1839894

Please sign in to comment.