This changelog references changes done in Shopware 5.4 patch versions.
View all changes from v5.4.2...v5.4.3
- Added new events to
Shopware_Controllers_Widgets_Listing::listingCountAction
to modify view variables before the template is fetchedShopware_Controllers_Widgets_Listing_fetchListing_preFetch
Shopware_Controllers_Widgets_Listing_fetchPagination_preFetch
- Added a new category for the basic setting containing privacy options
- Added possibility to enable/disable data protection information texts
- Added theme data to the mail context
- Changed input validation to fix possible authenticated SQLi vulnerability in the backend
- Changed .htaccess file to prohibit download of .env files
- Changed behaviour of media/temp files, which now will be deleted if they are uploaded
- Changed "Send E-Mails" checkbox in batch processing window of order to be enabled by default again
- Changed behaviour of inactive forms to act like any other missing page
- Changed API behaviour on update, when the lastStock parameter is set for a product its applied to its mainDetail aswell (like on creation)
- Changed newsletter recipient count to work correctly with customer streams
- Changed position of several privacy options to a new basic setting category "Privacy"
- Changed search indexer to make the keyword batch size configurable using the key
search.indexer.batchsize
in theconfig.php
- Removed now empty "Cookie hint" basic setting category in backend
View all changes from v5.4.1...v5.4.2
- Added possibility to enable/disable forms without having to delete them
- Added pagination to the attribute filter of the product stream configurator
- Added
json
attribute for snippets inEnlight_Components_Snippet_Resource
- You may now set the attribute
json='true'
on smarty snippets, the content of the snippet will then be encoded viajson_encode()
- Example:
{s json='true' name='foo'}é"'#-_*+`{/s}
will render as"\u00e9\"'#-_*+`"
- Safely constructing a JS object:
{ "someProp": {s json='true' name='your/snippet'}{/s} }
- Example:
- You may now set the attribute
- Changed password verification process for password protected actions in backend
- Changed behaviour of search indexer to allow product attribute search
- Changed hashing algorithm for product variant search join table aliases to prevent errors on 32bit systems
- Changed SMTP password input type in base config from plaintext to password
- Changed detail page behaviour with preselection variants which onsale-flag is active
- Changed note counting to fix an error which displays 0 notes when adding the first note
- Changed construction of ProductSearchResult-object to fix error in stream listing count
View all changes from v5.4.0...v5.4.1
- Added new optional parameter
$filterGroupIds
toPropertyGatewayInterface.php
for proper property sorting in a listing - Added variant filtering to selection product streams
- Added
queryMode
option to select- and comboboxes inengine/Shopware/Controllers/Backend/Config.php
- Added theme configuration information to newsletter templates
- Added Smarty blocks to
newsletter/index/index.tpl
:newsletter_index_start
newsletter_index_doctype
newsletter_index_html_attributes
newsletter_index_index_head
newsletter_index_body_attributes
newsletter_index_table
newsletter_index_table_inner
newsletter_index_table_inner_header
newsletter_index_table_inner_content
newsletter_index_table_inner_footer
newsletter_index_log
- Added Smarty blocks to
newsletter/index/footer.tpl
:newsletter_footer_table_upper
newsletter_footer_table_navigation
newsletter_footer_table_tax_notice
newsletter_footer_table_lower
newsletter_footer_table_lower_links
- Added Smarty blocks to
newsletter/index/header.tpl
:newsletter_header
newsletter_header_content
newsletter_header_content_logo
newsletter_header_content_title
- Added view variable
sCategoryContent
to thelistingCountAction
of the controllerShopware_Controllers_Widgets_Listing
- Changed Smarty to improve error message when a template extends a parent template and said parent does not exist
- Changed cloning of
Enlight_Template_Manager
object to preserve reference of the security policy to the instance - Changed newsletter logo from a static file to the active themes logo
- Changed condition in
sBasket::sGetAmountRestrictedArticles
, it now also checks for an empty$articles
array - Changed
ImmediateDeliveryConditionHandler
(DBAL and ES) and product indexing to improve variant filtering
- Removed deprecated blocks
frontend_detail_data_liveshopping
andfrontend_detail_data_price_info
fromfrontend/detail/data.tpl
View all changes from v5.3.7...v5.4.0
-
Added database field
s_articles_details.laststock
to be able to define per variant if said variant is available when the stock is lower or equal to 0 -
Added
lastStock
field to\Shopware\Models\Article\Detail
-
Added database field
garbage_collectable TINYINT(1) DEFAULT 1
to tables_media_album
to define if an album is to be considered by thesw:media:cleanup
command. The flag can be toggled in the album settings. -
Added product box layout selection support for manufacturer listings
-
Added destroy method to
swJumpToTab
jQuery plugin -
Added option to discard Less/Javascript files of extended themes. More information
-
Added multi-select feature when assigning variant configurations to product images
-
Added variant configuration information in the image information panel
-
Added DIC parameters:
shopware.release.version
The version of the Shopware installation (e.g. '5.4.0')shopware.release.version_text
The version_text of the Shopware installation (e.g. 'RC1')shopware.release.revision
The revision of the Shopware installation (e.g. '20180081547')
-
Added new service in the DIC containing all parameters above
shopware.release
A new struct of type\Shopware\Components\ShopwareReleaseStruct
containing all parameters above
-
Added several paths to the DIC:
shopware.plugin_directories.projectplugins
Path to project specific plugins, see Composer projectshopware.template.templatedir
Path to the themes foldershopware.app.rootdir
Path to the root of your projectshopware.app.downloadsdir
Path to the downloads foldershopware.app.documentsdir
Path to the generated documents foldershopware.web.webdir
Path to the web foldershopware.web.cachedir
Path to the web-cache folder
These paths are configurable in the
config.php
, seeengine/Shopware/Configs/Default.php
for defaults -
Added all additional article columns to product import/export
-
Added backend config option
logMailLevel
to choose the minimum log level for sending e-mail notifications -
Added snippet
frontend/detail/data/DetailDataPriceInfo
in ajax cart template -
Added snippet
frontend/detail/DetailCommentAnonymousName
for anonymous product ratings -
Added block
frontend_checkout_ajax_cart_prices_info
infrontend/checkout/ajax_cart.tpl
-
Added config
preLoadStoredEntry
toShopware.form.field.PagingComboBox
to be compatible with saving and loading entries from e.g. the second page. -
Added order attributes to return values of
OrderRepository::getDetails
-
Added option for batch updating plugins to plugin update command
-
Added defaults for
ignored_url_parameters
setting of HTTP cache inconfig.php
. See Ignore some HTTP parameters for more information. -
Added optional
id
parameter togetTemplatesAction
inengine/Shopware/Controllers/Backend/Emotion.php
to allow fetching of a single template -
Added new filter event
Shopware_Controllers_Backend_Emotion_Detail_Filter_Values
toShopware/Controllers/Backend/Emotion.php
to allow manipulation of elements
-
Changed the event selectors to make them configurable in the
swJumpToTab
jQuery plugin -
\Shopware\Bundle\SearchBundle\ProductSearchResult::__construct
requires now the used Criteria and ShopContext object -
Changed route to POST to be more HTTP compliant
-
Changed all writing actions to POST to be more HTTP compliant.
-
Checkout actions:
finish
-
Basket actions
addArticle
addAccessories
addPremium
changeQuantity
deleteArticle
setAddress
ajaxAddArticle
ajaxAddArticleCart
ajaxDeleteArticle
ajaxDeleteArticleCart
-
-
Changed JSONP requests to JSON in the following Frontend controllers:
- Controller List
- Frontend/AjaxSearch.php
- Frontend/Checkout.php
- Frontend/Compare.php
- Frontend/Note.php
- Widgets/Listing.php
- Controller List
-
Changed the paging in a listing so that using it while using the live filter reloading will now scroll to the top paging bar
-
Changed name field in product ratings to be optional
-
Changed loading of the themes/_private folder to be always executed
-
Changed the
checkOrderStatus
method inShopware_Controllers_Backend_Order
to only send e-mails when necessary -
Changed
themes/Backend/ExtJs/backend/order/controller/batch.js
to inform the user about configuration errors -
Changed
themes/Backend/ExtJs/backend/order/view/batch/form.js
to allow for more precise form validation and better feedback to the user -
Changed rounding of prices to two decimal digits in
engine/Shopware/Bundle/StoreFrontBundle/Service/Core/PriceCalculator.php
andengine/Shopware/Core/sArticles.php
-
Changed Mpdf version to 6.1.4 and added it to the autoloader, so a
require()
isn't necessary anymore -
Changed Symfony version to 2.8.34
- Removed config option for maximum number of category pages
- Removed "Force http canonical url" setting in basic settings as it is obsolete
- Removed config option
template_security['enabled']
for toggling smarty security - Removed config option
blogcategory
andbloglimit
- Removed the "Show more products" button beneath an emotion when the category itself has no products to be shown
- Removed support for separate SSL host and SSL path. Also the
Use SSL
andAlways SSL
options were merged.-
Removed database fields
s_core_shops.secure_host
s_core_shops.secure_base_path
s_core_shops.always_secure
-
Removed methods
\Shopware\Bundle\StoreFrontBundle\Struct\Shop::setSecureHost
\Shopware\Bundle\StoreFrontBundle\Struct\Shop::getSecureHost
\Shopware\Bundle\StoreFrontBundle\Struct\Shop::setSecurePath
\Shopware\Bundle\StoreFrontBundle\Struct\Shop::getSecurePath
\Shopware\Components\Routing\Context::getSecureHost
\Shopware\Components\Routing\Context::setSecureHost
\Shopware\Components\Routing\Context::getSecureBaseUrl
\Shopware\Components\Routing\Context::setSecureBaseUrl
\Shopware\Components\Routing\Context::isAlwaysSecure
\Shopware\Components\Routing\Context::setAlwaysSecure
\Shopware\Models\Shop\Shop::getSecureHost
\Shopware\Models\Shop\Shop::setSecureHost
\Shopware\Models\Shop\Shop::getSecureBasePath
\Shopware\Models\Shop\Shop::setSecureBasePath
\Shopware\Models\Shop\Shop::getSecureBaseUrl
\Shopware\Models\Shop\Shop::setSecureBaseUrl
\Shopware\Models\Shop\Shop::getAlwaysSecure
\Shopware\Models\Shop\Shop::setAlwaysSecure
-
Changed methods
\Shopware\Components\Theme\PathResolver::formatPathToUrl
The method signature no longer contains theisSecureRequest
parameter
-
- Deprecated
forceSecure
andsUseSSL
smarty flags. They are now without function. - Deprecated constants
Shopware::VERSION
,Shopware::VERSION_TEXT
andShopware::REVISION
, they will be removed in Shopware v5.6. This information can now be retrieved from the DIC.- New, alternative DIC parameters:
shopware.release.version
The version of the Shopware installation (e.g. '5.4.0')shopware.release.version_text
The version_text of the Shopware installation (e.g. 'RC1')shopware.release.revision
The revision of the Shopware installation (e.g. '20180081547')
- New, alternative DIC service:
shopware.release
A new struct of type\Shopware\Components\ShopwareReleaseStruct
containing all parameters above
- New, alternative DIC parameters:
- Deprecated
lastStock
field in\Shopware\Models\Article\Article
as the field has been moved to the variants. It will be removed in 6.0. - Deprecated
laststock
column ins_articles
since this field has been moved to the variants. It will be removed in 6.0 - Deprecated
articleId
column ins_articles_attributes
table, it will be removed in Shopware version 5.5 as it isn't used anymore since version 5.2 - Deprecated SEO support for the following AJAX routes, see
themes/Frontend/Bare/frontend/index/index.tpl
:/checkout/ajaxCart
/register/index
/checkout/addArticle
/widgets/Listing/ajaxListing
/checkout/ajaxAmount
/address/ajaxSelection
/address/ajaxEditor
- Deprecated
\Shopware\Models\Order\Document\Type
, use\Shopware\Models\Document\Document
instead. The old document type will be removed with 5.5.