The Guzzle
dependency was removed and replaced with abstract http-client
interface, so you can choose your preferred
client implementation. If you have extended the TwitterEmbedTweetBlockService
class, you need to adjust the
constructor signature.
sonata-project/block-bundle
is not required anymore. If you want to use seo friendly blocks,
you should require it on your own by calling composer require sonata-project/block-bundle
.
deprecated method | recommended method |
---|---|
renderTitle() |
getTitle() |
renderMetadatas() |
getMetadatas() |
renderHtmlAttributes() |
getHtmlAttributes() |
renderHeadAttributes() |
getHeadAttributes() |
renderLinkCanonical() |
getLinkCanonical() |
renderLangAlternates() |
getLangAlternates() |
All files under the Tests
directory are now correctly handled as internal test classes.
You can't extend them anymore, because they are only loaded when running internal tests.
More information can be found in the composer docs.