All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
3.2.1 - 2025-11-10
- Admin build issue in Shopware 6.7
3.2.0 - 2025-07-11
- Added support for PHP 8.4
- Added support for Shopware 6.7
3.1.0 - 2025-04-01
- Allow to use FQCN in fixture name filtering
- Removed psalm
3.0.0 - 2024-06-17
- Added support for PHP 8.3
- Added support for Shopware 6.6
- Added
--dryoption to all fixture load commands- This option will prevent the fixtures from being executed but still prints all fixtures it would execute
- Added new DatabaseUtils with a few helpful methods:
deleteEntitiestakes an entity name and criteria and deletes all entities which match the criteria
- Added a small cache for all utilities. It prevents loading data twice within the same request / command execution
- Added small helper function:
$fixtureHelper->ensureNotEmptywhich throws an exception if something is empty (using the PHP empty function) - Added command
fixture:uuidwhich just prints a random UUID
- Changed argument type on
SalesChannelUtils::getTax()frominttofloat - Breaking By default no fixtures in the vendor directory are loaded. Added option
--vendorto load them - Refactored
FixtureTraitto not use command anymore but direct Fixture LoaderFixtureTrait::loadFixturesnow takes in a FixtureOption parameterFixtureTrait::runSpecificFixturesis an alias to run specific fixtures with optionally dependenciesFixtureTrait::runSingleFixture(beforeFixtureTrait::runSingleFixtureWithDependencies) with dependencies can now be configured as the second parameterFixtureTrait::runFixtureGroupis a new function to execute whole fixture groups with optionally dependencies
- Each fixture now has direct access to the FixtureHelper using
$this->helper- Breaking If you have the helper (or any other helper) previously assigned to
$this->helperit will either fail or override the FixturePlugin helper
- Breaking If you have the helper (or any other helper) previously assigned to
- Breaking Moved
SalesChannelUtils::getLanguage()toLanguageAndLocaleUtils::getLanguage() - Breaking Moved
SalesChannelUtils::getLocale()toLanguageAndLocaleUtils::getLocale() - Breaking Moved
SalesChannelUtils::getCountry()toLanguageAndLocaleUtils::getCountry() - Breaking Moved
SalesChannelUtils::getSnippetSet()toLanguageAndLocaleUtils::getSnippetSet() - Breaking Moved
SalesChannelUtils::getCurrencyEuro()toCurrencyUtils::getCurrencyEuro() - Breaking Moved
SalesChannelUtils::getTax19()toTaxUtils::getTax19() - Breaking Moved
SalesChannelUtils::getTax()toTaxUtils::getTax() - Show time it took in seconds to run the fixture commands
- Dropped support for PHP 8.1
- Dropped support for Shopware 6.3 & 6.4
- Breaking Removed FixtureBag
- Breaking CategoryUtils
- Removed method
getFirston CategoryUtils - Removed method
getByNameon CategoryUtils
- Removed method
- Breaking Renamed
CategoryUtilstoSalutationUtils
2.4.0 - 2023-11-15
- Added new helper to get locale by iso code
2.3.0 - 2023-08-25
- Added new helper method to load a TaxEntity by its value.
- Added new helper methods to get headless and product comparison sales channels
2.2.1 - 2023-05-26
- Restored compatibility for Shopware 6.4 by removing typehints for EntityRepository in util classes.
2.2.0 - 2023-05-09
- Added tests for PHP 8.2
- Switched from EntityRepositoryInterface to EntityRepository in util classes to support Shopware 6.5
- Dropped support for PHP 7.4 and 8.0
2.1.0 - 2022-09-19
- Added the option
--with-dependencies/-wto thefixture:run:singlecommand- This command recursively runs all fixtures that are required by the given fixture
- Added new method to the fixture trait:
runSingleFixtureWithDependencies()
2.0.0 - 2022-08-04
Please see the UPGRADE.md guide for instructions
- Added new helper method
Category()->getByName() - Added new helper method
Media()->upload() - Added examples in the repository. See the
_examplesfolder
- The helper methods in the
FixtureHelperservice are now split into multiple smaller unitsMedianow holds all media-related helpersCategorynow holds all category-related helpersSalesChannelnow holds all sales-channel-related helpersCustomernow holds all customer-related helpersCmsnow holds all CMS-page-related helpersPaymentMethodnow holds all payment-method-related helpersShippingMethodnow holds all shipping-method-related helpers
- This is the first licensed version. See LICENSE file
1.8.0 - 2022-06-03
- Added FixtureTrait
1.7.0 - 2022-05-20
- Added more helper functions:
getCatalogueRootCategoryId
- Fixed helper
getDefaultCategoryLayoutId: It wasn't working in newer shopware versions, because shopware changed the labeling
1.6.0 - 2022-05-09
- Added more helper functions:
getMediaDefaultFolderId
1.5.0 - 2022-04-20
- Added more helper functions:
get19TaxIdgetStorefrontSalesChannel
- Update to new template version, including own dockware setup
1.4.0 - 2021-12-10
- Added more load options in FixtureLoader:
runFixtureGrouprunSingle
- Added the following private, helper function in FixtureLoader:
checkDependenciesAreInSameGroup
- Added two additional commands to load fixtures:
LoadFixtureGroupCommandLoadSingleFixtureCommand
- Added the follwoing method to abstract Fixture class:
groups()
- Refactored the following helper functions
runAll
1.3.0 - 2021-10-28
- Added more helper functions:
getLanguageIdgetCountryIdgetSnippetSetId
- Refactored following helper function:
getGermanCountryIdgetDeSnippetSetIdgetGermanLanguageId
1.2.0 - 2021-06-15
- Support for Shopware 6.4
1.1.0 - 2021-04-16
- Added more helper functions:
getFirstCategoryIdgetFirstShippingMethodIdgetDeSnippetSetIdgetGermanLanguageIdgetDefaultCategoryLayoutId
- Optimize helper queries to only fetch one result
- Initial version
- Add command to load all fixtures
- Add FixtureHelper with following methods:
getEuroCurrencyIdgetInvoicePaymentMethodIdgetNotSpecifiedSalutationIdgetGermanCountryId