Skip to content

Commit 1839894

Browse files
committed
Document the media_type option removal
1 parent 9712575 commit 1839894

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

UPGRADING-2.0.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Upgrading From 1.x To 2.0
1818
* The SensioFrameworkExtraBundle view annotations must be enabled to
1919
use the `ViewResponseListener`:
2020

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

42-
* removed `callback_filter` configuration option for the jsonp_handler
42+
* removed `callback_filter` configuration option for the `jsonp_handler`
43+
44+
* removed `fos_rest.format_listener.media_type` configuration option.
45+
Use the versioning section instead:
46+
47+
```yml
48+
# config.yml
49+
50+
versioning: true
51+
```
4352

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

0 commit comments

Comments
 (0)