Upgrade to Pro — share decks privately, control downloads, hide ads and more …

What's new in Shopware 6.5

Avatar for Shyim Shyim
January 20, 2023

What's new in Shopware 6.5

Avatar for Shyim

Shyim

January 20, 2023
Tweet

Other Decks in Programming

Transcript

  1. Shopware 6.5 - What’s new? @shyim97 About me • Soner

    Sayakci, Dev at Shopware • Mostly known as Shyim in GitHub, Slack, Twitter • Working almost 8 years with Shopware • Do too much OSS: FriendsOfShopware, Opensearch and NixOS
  2. Shopware 6.5 - What’s new? @shyim97 Why are Major versions

    so special? • Major versions should release usually every year • Upgrade of all packages and increasing requirements • Removing deprecations • Introducing breaks
  3. @shyim97 You said every year Other topics hold us from

    working on it: • App Scripts • Performance fi xes • Admin Extension SDK Shopware 6.5 - What’s new?
  4. Shopware 6.5 - What’s new? @shyim97 How do we plan

    it? • First time on GitHub: shopware/ proposal
  5. Shopware 6.5 - What’s new? @shyim97 How 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
  6. Shopware 6.5 - What’s new? @shyim97 PHP Dependency Upgrades •

    PHP 7.4 -> 8.1 • Symfony 5.4 -> 6.2 • DBAL: 2 -> 3 • Flysystem 1 -> 3
  7. Shopware 6.5 - What’s new? @shyim97 Elasticsearch to Opensearch •

    More Hoster friendly due licensing (AWS, Platform.sh) • Switch to Opensearch SDK, Opensearch DSL • Elasticsearch 7/8 does still work
  8. Shopware 6.5 - What’s new? @shyim97 Symfony Flex by default

    • Allows us to update con fi g fi les 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
  9. Shopware 6.5 - What’s new? @shyim97 Refactor Symfony Messenger integration

    Removal of Enqueue • We are using it since it was marked as experimental • Custom failure handling / rescheduling • Used enqueue as transport
  10. Shopware 6.5 - What’s new? @shyim97 Refactor Symfony Messenger integration

    Simpli fi ed con fi g • MESSENGER_TRANSPORT_DS N=redis:// • MESSENGER_TRANSPORT_DS N=amqp:// • MESSENGER_TRANSPORT_DS N=….
  11. Shopware 6.5 - What’s new? @shyim97 Improved Composer support for

    plugins • No more vendor packing • Automatic composer install on plugin installation • No PHP Class collision anymore
  12. Shopware 6.5 - What’s new? @shyim97 Change of environment variables

    • Unify names to Symfony • MAILER_URL -> MAILER_DSN • SHOPWARE_ES_HOSTS -> OPENSEARCH_URL
  13. Shopware 6.5 - What’s new? @shyim97 Partial Data Loading Includes

    vs Fields • Includes: • Fetches all data as regular • Hydrates all fi elds • Serializes only required fi elds -> Output fi lter • Fields: • Fetches only required fi elds • Hydrates only required fi elds • Serializes only required fi elds -> Complete stack uses it
  14. Shopware 6.5 - What’s new? @shyim97 Partial Data Loading Downsides

    • No types in PHP • New Entity class: PartialEntity • New Events: <entity>.partial_loaded
  15. Shopware 6.5 - What’s new? @shyim97 New Updater Old Updater

    • Slim Framework 3 • Similar to Shopware 5 • Zip unpacking on Webspace
  16. Shopware 6.5 - What’s new? @shyim97 New Updater • Uses

    Composer and Symfony Flex • One uni fi ed way to get Shopware • Thanks to Contao for inspiration • Github is now the source of truth
  17. Shopware 6.5 - What’s new? @shyim97 Releases directly on GitHub

    • Changelog only in English • Changelog also on GitHub • No traditional Install/Update zips anymore
  18. Shopware 6.5 - What’s new? @shyim97 Lazy Loading • Code

    Splitting active by default • Only required fi les are loaded • Check your E2E assertions
  19. Shopware 6.5 - What’s new? @shyim97 Entity Typescript Definitions •

    Generated entity schema • Can be generated in your project • Available at NPM: @shopware- ag/entity-schema-types
  20. Shopware 6.5 - What’s new? @shyim97 Bootstrap 5 • No

    IE11 anymore • Removing jQuery • Webpack 5 Upgrade
  21. Shopware 6.5 - What’s new? @shyim97 CSRF Protection removal •

    Easier to develop storefront features • Easier Varnish / Fastly con fi guration • Rely on Browser Standard SameSite cookies
  22. Shopware 6.5 - What’s new? @shyim97 Scheduled Features for 6.4.x

    • Multiwarehouse • Opensearch in Administration • ESD • Flowbuilder Share
  23. Shopware 6.5 - What’s new? @shyim97 How can I prepare

    my shop? • Use Symfony fl ex template • Adapts the new environment variables already • Use di ff erent queue than MySQL • Remove all existing deprecations
  24. Shopware 6.5 - What’s new? @shyim97 Test the RC /

    Webupdater • Report problems using • https://issues.shopware.com • Shopware Slack
  25. Shopware 6.5 - What’s new? @shyim97 Improve Rector rules •

    Rector rules for Shopware 6.5 -> FriendsOfShopware/shopware-rector • Still in work, feel free to contribute