Upgrading from 1.0.0 to 2.0.0ΒΆ
eZ Platform Site API introduces a slight breaking change to ContentView value object, hence the
bump to version 2.0.
- Site API
ContentViewview object does not extend from eZ PlatformContentViewvalue object any more to allow implementation of custom view providers. Class signature did not change, however, since all required interfaces are now implemented directly on Site APIContentViewvalue object. - Also,
Netgen\Bundle\EzPlatformSiteApiBundle\View\ContentValueViewinterface does not containgetSiteLocationmethod any more. It is moved to a new interface,LocationValueView, in the same namespace. If you used this method in your code, make sure to check for this new interface. This was done to keep in line on how eZ kernel uses itsContentViewvalue object and its interfaces.