v2.0.0-alpha
Pre-release
Pre-release
First Sylius 2.x release of the plugin — alpha, for testing. APIs may still change before the stable 2.0.0.
Highlights
- Sylius 2.x support — requires
sylius/sylius ^2.0, PHP>=8.2, Symfony^6.4 || ^7.4. - Async, framework-free checkout chooser. Pickup points load asynchronously after the shipping page renders, so a slow or down carrier never blocks checkout. The chooser is a native ES module (
<script type="module">, no bundler) that builds its UI by cloning overridable Twig<template>s, and is extensible without forking — subclassPickupPointChooser, listen for the bubblingsetono:pickup-point(s):*events, or setwindow.setonoSyliusPickupPointConfig. See docs/customizing-the-chooser.md. - Providers are called live and lazily. Ships DAO, GLS, PostNord and a
fakerdev provider, each behind its optionalsetono/*-bundle. Adding your own carrier is a small class — see Creating a custom provider. - Leaner internals. The 1.x
CachedProvider/LocalProvider, the messenger-driven local DB snapshot, and theModel\PickupPoint*resources /PickupPointCodevalue object were removed; identity now lives on a plainDTO\PickupPoint.
Upgrading from 1.x
See the full migration guide in UPGRADE.md.
Full Changelog: v1.4.1...v2.0.0-alpha