This changelog references changes done in Shopware 5.7 patch versions.
View all changes from v5.6.1...v5.7.0
- Do not use the
count()smarty function in your templates anymore, since this will break with PHP version > 8.0. Use|countmodifier instead! - Replaced
pshandantwith anMakefile. See updated README.md for installation workflow. - Changed min PHP version to 7.4
- Changed min Elasticsearch version to 7
- Added new required methods
saveCustomUrlsandsaveExcludedUrlsto interfaceShopware\Bundle\SitemapBundle\ConfigHandler\ConfigHandlerInterface - Changed Symfony version to 4.4
- Changed Slugify version to 3.2
- Changed Doctrine ORM version to 2.7.3
- Changed Doctrine Cache version to 1.10.2
- Changed Doctrine Common version to 3.0.2
- Changed Doctrine Persistence version to 2.0.0
- Changed Guzzle version to 7.1
- Changed Monolog version to 2
- Changed FPDF version to 1.8.2
- Changed FPDI version to 2.2.0
- Changed mPDF version to 8.0.7
- Migrated Zend components to new Laminas
- Elasticsearch indices doesn't use anymore types
- Added Symfony session to
Requestobject - Added new user interface for the sitemap configuration. It's available in the backend performance module
- Added
Shopware\Bundle\SitemapBundle\ConfigHandler\Databaseto save and read the sitemap configuration from the database - Added new doctrine model
Shopware\Models\Emotion\LandingPage, which extends fromShopware\Models\Emotion\Emotion. It's needed to search for landing pages only using the backend storeShopware.store.Search - Added new doctrine models
Shopware\Models\Sitemap\CustomUrlandShopware\Models\Sitemap\ExcludeUrl - Added new ExtJS component
Shopware.grid.Searchable. Using it you can search for different entities in a single grid, such as products, categories, blogs, etc. Have a look at the new sitemap UI to see what it looks like - Added
Shopware-Listing-Totalheader to ajax listing loading - Added database transaction around plugin uninstall, activate and deactivate
- Added support for MySQL 8
sql_require_primary_key - Added
attributeto users listing in API - Added new blocks
document_index_head_logoanddocument_index_head_wrappertothemes/Frontend/Bare/documents/index.tpl - Added
unmapped_typetointegerinengine/Shopware/Bundle/SearchBundleES/SortingHandler/ManualSortingHandler.php - Added a notice to registration form when a shipment blocked country has been selected
- Changed
Shopware\Models\Order\OrderandShopware\Models\Order\Detailmodels by extracting business logic into:Shopware\Bundle\OrderBundle\Service\StockServiceShopware\Bundle\OrderBundle\Service\CalculationServiceShopware\Bundle\OrderBundle\Subscriber\ProductStockSubscriberShopware\Bundle\OrderBundle\Subscriber\OrderRecalculationSubscriber
- Changed
Enlight_Components_Session_Namespaceto extend fromSymfony\Component\HttpFoundation\Session\Session - Changed the default config for smarty
compileCheckto false - Changed following columns to nullable
s_order_details.releasedates_core_auth.lastlogins_campaigns_logs.datums_emarketing_banners.valid_froms_emarketing_banners.valid_tos_emarketing_lastarticles.times_emarketing_tellafriend.datums_order_basket.datums_order_comparisons.datums_order_notes.datums_statistics_pool.datums_statistics_referer.datums_statistics_visitors.datums_user.firstlogins_user.lastlogin
- Changed response from
Shopware_Controllers_Widgets_Listingfrom JSON to HTML - Changed emotion component names to allow translations using snippets
Artikel=>productKategorie-Teaser=>category_teaserBlog-Artikel=>blog_articleBanner=>bannerBanner-Slider=>banner_sliderYoutube-Video=>youtubeHersteller-Slider=>manufacturer_sliderArtikel-Slider=>product_sliderHTML-Element=>html_elementiFrame-Element=>iframeHTML5 Video-Element=>html_videoCode Element=>code_element
- Changed the search to not consider keywords which match 90% of all variants
- Changed
\Shopware\Bundle\ESIndexingBundle\Product\ProductProviderto sethasStockbased on instock like DBAL implementation - Changed
\Shopware_Controllers_Backend_ProductStream::loadPreviewActionto return formatted prices - Changed
sw:plugin:activateexit code from 1 to 0, when it's already installed. - Changed
\Shopware\Bundle\StoreFrontBundle\Gateway\DBAL\CategoryGateway::getit accepts now only integers as id - Changed
sw:es:index:populateto accept multiple shop ids with--shopId={1,2} - Changed
\Shopware\Bundle\ESIndexingBundle\Product\ProductProviderto consider cheapest price configuration
- Removed following classes:
Enlight_Components_SessionEnlight_Components_Session_SaveHandler_DbTableZend_SessionZend_Session_NamespaceZend_Session_AbstractZend_Session_ExceptionZend_Session_SaveHandler_DbTableZend_Session_SaveHandler_ExceptionZend_Session_SaveHandler_InterfaceZend_Session_Validator_AbstractZend_Session_Validator_HttpUserAgentZend_Session_Validator_InterfaceShopware\Components\Log\Handler\ChromePhpHandlerShopware\Components\Log\Handler\FirePHPHandler\Shopware_Plugins_Core_Debug_Bootstrap\Shopware\Plugin\Debug\Components\CollectorInterface\Shopware\Plugin\Debug\Components\ControllerCollector\Shopware\Plugin\Debug\Components\DatabaseCollector\Shopware\Plugin\Debug\Components\DbalCollector\Shopware\Plugin\Debug\Components\ErrorCollector\Shopware\Plugin\Debug\Components\EventCollector\Shopware\Plugin\Debug\Components\ExceptionCollector\Shopware\Plugin\Debug\Components\TemplateCollector\Shopware\Plugin\Debug\Components\TemplateVarCollector\Shopware\Plugin\Debug\Components\Utils\Shopware\Components\Api\Resource\ApiProgressHelper\Shopware\Bundle\StoreFrontBundle\Struct\LocationContext\Shopware\Components\OpenSSLEncryption\Shopware\Bundle\SearchBundleES\DependencyInjection\Factory\ProductNumberSearchFactory
- Removed method
\Shopware\Bundle\EsBackendBundle\EsBackendIndexer::buildAliasuse\Shopware\Bundle\EsBackendBundle\IndexFactoryInterface::createIndexConfigurationinstead - Removed method
\Shopware\Bundle\SearchBundleES\DependencyInjection\Factory\ProductNumberSearchFactory::registerHandlerCollection, use DI Tagshopware_search_es.search_handlerinstead - Removed method
\Shopware\Components\Model\ModelRepository::queryAll, use\Shopware\Components\Model\ModelRepository::findAllinstead - Removed method
\Shopware\Components\Model\ModelRepository::queryAll, use\Shopware\Components\Model\ModelRepository::findAllinstead - Removed method
\Shopware\Components\Model\ModelRepository::queryBy, use\Shopware\Components\Model\ModelRepository::findByinstead - Removed following interfaces:
\Shopware\Bundle\ESIndexingBundle\Product\ProductProviderInterface\Shopware\Bundle\ESIndexingBundle\Property\PropertyProviderInterface\Shopware\Bundle\ESIndexingBundle\EsSearchInterface\Shopware\Bundle\StoreFrontBundle\Struct\LocationContextInterface
- Removed from class
\Shopware\Components\HttpCache\CacheWarmerfollowing methods:callUrlsgetSEOURLByViewPortCountgetAllSEOUrlCountgetAllSEOUrlsgetSEOUrlByViewPortprepareUrlgetShopDataById
- Removed following methods from class
\Shopware_Controllers_Backend_Search:getArticlesgetCustomersgetOrders
- Removed referenced value from magic getter in session
- Removed the assignment of all request parameters to the view in
Shopware_Controllers_Widgets_Listing::productsAction - Removed duplicate ExtJs classes and added alias to new class:
Shopware.apps.Config.view.element.BooleanShopware.apps.Config.view.element.ButtonShopware.apps.Config.view.element.ColorShopware.apps.Config.view.element.DateShopware.apps.Config.view.element.DateTimeShopware.apps.Config.view.element.HtmlShopware.apps.Config.view.element.IntervalShopware.apps.Config.view.element.NumberShopware.apps.Config.view.element.ProductBoxLayoutSelectShopware.apps.Config.view.element.SelectShopware.apps.Config.view.element.SelectTreeShopware.apps.Config.view.element.TextShopware.apps.Config.view.element.TextAreaShopware.apps.Config.view.element.Time
- Removed following unused dependencies
egulias/email-validatorsymfony/translationphp-http/curl-clientpsr/linksymfony/polyfill-ctypesymfony/polyfill-iconvsymfony/polyfill-iconvsymfony/polyfill-php56symfony/polyfill-php70symfony/polyfill-php71symfony/polyfill-php72
- Removed field
sizefromShopware\Models\Article\Download. Use media_service to get the correct file size - Removed plugin
Debug
- Deprecated the class
Shopware\Bundle\SitemapBundle\ConfigHandler\File. It will be removed in Shopware 5.8. UseShopware\Bundle\SitemapBundle\ConfigHandler\Databaseinstead. - Deprecated getting plugin config from
Shopware_Components_Configwithout plugin namespace, useSwagTestPlugin:MyConfigNameinstead - Deprecated the class
\Shopware\Components\Plugin\DBALConfigReader. It will be removed in Shopware 5.9. UseShopware\Components\Plugin\Configuration\ReaderInterfaceinstead - Deprecated the class
\Shopware\Components\Plugin\CachedConfigReader. It will be removed in Shopware 5.9. UseShopware\Components\Plugin\Configuration\ReaderInterfaceinstead