Skip to content

Latest commit

 

History

History
27 lines (15 loc) · 713 Bytes

UPGRADE-5.0.md

File metadata and controls

27 lines (15 loc) · 713 Bytes

UPGRADE FROM 4.x to 5.0

FeedContentProviderInterface is replaced with FeedProviderInterface

In version 4.x StreamController expects a FeedContentProviderInterface to provide the feed. Now it takes a FeedProviderInterface which is slightly different because it takes a Request as a parameter and no longer an array.

Before :

public function getFeedContent(array $options) : FeedInterface

Now :

public function getFeed(Request $request): FeedInterface

DoctrineFeedContentProvider is removed

As its implementation is too narrow to let developers do what they need, it's better to simply remove it.

That's it

There are no other modifications to upgrade into 5.0.