Soner Sayakci GH: @shyim, TW: @shyim97, [email protected]Shopware 6.5What’s new?
View Slide
Shopware 6.5 - What’s new? @shyim97About me• Soner Sayakci, Dev at Shopware• Mostly known as Shyim inGitHub, Slack, Twitter• Working almost 8 years withShopware• Do too much OSS:FriendsOfShopware, Opensearchand NixOS
Shopware 6.5 - What’s new? @shyim97Why are Major versions so special?• Major versions should release usually every year• Upgrade of all packages and increasing requirements• Removing deprecations• Introducing breaks
@shyim97You said every yearOther topics hold us fromworking on it:• App Scripts• Performancefixes• Admin Extension SDKShopware 6.5 - What’s new?
Shopware 6.5 - What’s new? @shyim97How do we plan it?• First time on GitHub: shopware/proposal
Shopware 6.5 - What’s new? @shyim97How do we plan it?• Shopware had to create issues for their topics• Shopware made it public to all, externals had time to do the same• Anyone was able to vote on issues• Shopware created the board based on votes
Shopware 6.5 - What’s new? @shyim97
Shopware 6.5 - What’s new? @shyim97Backend Changes
Shopware 6.5 - What’s new? @shyim97PHP Dependency Upgrades• PHP 7.4 -> 8.1• Symfony 5.4 -> 6.2• DBAL: 2 -> 3• Flysystem 1 -> 3
Shopware 6.5 - What’s new? @shyim97Elasticsearch to Opensearch• More Hoster friendly duelicensing (AWS, Platform.sh)• Switch to Opensearch SDK,Opensearch DSL• Elasticsearch 7/8 does still work
Shopware 6.5 - What’s new? @shyim97Symfony Flex by default• Allows us to update configfiles directly with Composer• No more rebasing against our template• Switched to Symfony Runtime.• Decouples the HTTP to Kernel to be able to exchange it (FrankenPHP)• Recipes can be found at GitHub shopware/recipes• Abandoned development template
Shopware 6.5 - What’s new? @shyim97Refactor Symfony Messenger integrationRemoval of Enqueue• We are using it since it was marked as experimental• Custom failure handling / rescheduling• Used enqueue as transport
Shopware 6.5 - What’s new? @shyim97Refactor Symfony Messenger integrationRemoval of Enqueue
Shopware 6.5 - What’s new? @shyim97Refactor Symfony MessengerintegrationSimplified config• MESSENGER_TRANSPORT_DSN=redis://• MESSENGER_TRANSPORT_DSN=amqp://• MESSENGER_TRANSPORT_DSN=….
Shopware 6.5 - What’s new? @shyim97Refactor Symfony Messenger integrationSimplified Routing
Shopware 6.5 - What’s new? @shyim97Improved Composer support forplugins• No more vendor packing• Automatic composer install onplugin installation• No PHP Class collision anymore
Shopware 6.5 - What’s new? @shyim97Improved Composer support for pluginscomposer.json
Shopware 6.5 - What’s new? @shyim97Improved Composer support for pluginsPlugin
Shopware 6.5 - What’s new? @shyim97Change of environment variables• Unify names to Symfony• MAILER_URL -> MAILER_DSN• SHOPWARE_ES_HOSTS -> OPENSEARCH_URL
Shopware 6.5 - What’s new? @shyim97API Performance 🚀
Shopware 6.5 - What’s new? @shyim97Partial Data LoadingDefault response
Shopware 6.5 - What’s new? @shyim97Partial Data LoadingIncludes request
Shopware 6.5 - What’s new? @shyim97Partial Data LoadingIncludes response
Shopware 6.5 - What’s new? @shyim97Partial Data LoadingFields request
Shopware 6.5 - What’s new? @shyim97Partial Data LoadingFields response
Shopware 6.5 - What’s new? @shyim97Partial Data LoadingIncludes vs Fields• Includes:• Fetches all data as regular• Hydrates allfields• Serializes only requiredfields-> Outputfilter• Fields:• Fetches only requiredfields• Hydrates only requiredfields• Serializes only requiredfields-> Complete stack uses it
Shopware 6.5 - What’s new? @shyim97Partial Data LoadingDownsides• No types in PHP• New Entity class: PartialEntity• New Events: .partial_loaded
Shopware 6.5 - What’s new? @shyim97Release changes
Shopware 6.5 - What’s new? @shyim97New UpdaterOld Updater• Slim Framework 3• Similar to Shopware 5• Zip unpacking on Webspace
Shopware 6.5 - What’s new? @shyim97New Updater• Uses Composer and SymfonyFlex• One unified way to get Shopware• Thanks to Contao for inspiration• Github is now the source of truth
Shopware 6.5 - What’s new? @shyim97Releases directly on GitHub• Changelog only in English• Changelog also on GitHub• No traditional Install/Update zipsanymore
Shopware 6.5 - What’s new? @shyim97Public Release Info API
Shopware 6.5 - What’s new? @shyim97Administration
Shopware 6.5 - What’s new? @shyim97Lazy Loading• Code Splitting active by default• Only requiredfiles are loaded• Check your E2E assertions
Shopware 6.5 - What’s new? @shyim97Entity Typescript Definitions• Generated entity schema• Can be generated in your project• Available at NPM: @shopware-ag/entity-schema-types
Shopware 6.5 - What’s new? @shyim97Entity Typescript Definitions
Shopware 6.5 - What’s new? @shyim97Storefront
Shopware 6.5 - What’s new? @shyim97Bootstrap 5• No IE11 anymore• Removing jQuery• Webpack 5 Upgrade
Shopware 6.5 - What’s new? @shyim97CSRF Protection removal• Easier to develop storefront features• Easier Varnish / Fastly configuration• Rely on Browser Standard SameSite cookies
Shopware 6.5 - What’s new? @shyim97Scheduled Features
Shopware 6.5 - What’s new? @shyim97Custom Entities for AdministrationCustom Entities
Shopware 6.5 - What’s new? @shyim97Tax Provider
Shopware 6.5 - What’s new? @shyim97Scheduled Features for 6.4.x• Multiwarehouse• Opensearch in Administration• ESD• Flowbuilder Share
Shopware 6.5 - What’s new? @shyim97When can we expect first RCNext few weeks
Shopware 6.5 - What’s new? @shyim97How can I prepare my shop?• Use Symfonyflex template• Adapts the new environment variables already• Use different queue than MySQL• Remove all existing deprecations
Shopware 6.5 - What’s new? @shyim97How we can we help?
Shopware 6.5 - What’s new? @shyim97Test the RC / Webupdater• Report problems using• https://issues.shopware.com• Shopware Slack
Shopware 6.5 - What’s new? @shyim97Improve Rector rules• Rector rules for Shopware 6.5 -> FriendsOfShopware/shopware-rector• Still in work, feel free to contribute
Shopware 6.5 - What’s new? @shyim97Questions?
Shopware 6.5 - What’s new? @shyim97Thanks!