Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 1.34 KB

UPGRADE-2.x.md

File metadata and controls

35 lines (25 loc) · 1.34 KB

UPGRADE 2.x

TwitterEmbedTweetBlockService uses psr/http-client

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.

UPGRADE FROM 2.2 to 2.3

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.

UPGRADE FROM 2.0 to 2.1

Deprecated methods in Sonata\SeoBundle\Twig\Extension

deprecated method recommended method
renderTitle() getTitle()
renderMetadatas() getMetadatas()
renderHtmlAttributes() getHtmlAttributes()
renderHeadAttributes() getHeadAttributes()
renderLinkCanonical() getLinkCanonical()
renderLangAlternates() getLangAlternates()

Tests

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.