The dust after SyliusCon has not settled while we were pushing tags for the 1.12 release. When Sylius marketing and sales were focused on delivering the best community event in history, the development team was sweating to shape up the newest version. And here it is, both teams made it!
On Halloween, Oct 31. 2022 Sylius v1.12 was released. Letâs go with the summary of the changes introduced in this version, grab a coffee or two, itâs been over 2000 commits since the last release.
I think weâve even surprised ourselves with the number of business features we delivered this time, some in the shop, some in the administration panel, all of them visible in the UI – let me show you!
We did that a long, long time ago, right after releasing 1.11. It feels good to have a fresh, more modern look, right? As usual, when it comes to Sylius front end, kudos go to Szymon.
Until now, only Sylius customers were able to forget (and gracefully reset) their passwords. Well, weâve realized administrators are also humans (or the password-keeping software fails them), and it was cruel to make them reach out to developers to have their passwords changed. Weâre getting older as we speak, aren’t we? đ§đ»đ
In 2020, in the 1.7 version, Sylius has changed the default address required in the checkout from shipping address to billing address. That was caused by the EU VAT regulations that required EU sellers to pay VAT in the countries of their customersâ tax residency. However, Sylius is used also outside of the EU, where the regulations often differ across various countries. In order to give every vendor the freedom to choose which address is the default one for them, weâve introduced the address toggle in the channel configuration.
In a constantly changing world, taxes also change from time to time. To save Sylius administrators from manual work updating their tax rates in the middle of the night, we have added date ranges to the Tax Rates configuration in Sylius.
Weâve introduced two minor changes to the Sylius cart. First of all, we changed the item count in the cart button. Before it was showing the number of products, while now it shows the number of items. You can check the Pull Request here.
The other thing thatâs changed is the way the cart is updated when entering the checkout. So far, if you changed the itemâs quantity and did not press the âUpdate cartâ button before entering the checkout, youâd lose your changes. In Sylius 1.12, the cart is updated the moment you click the âCheckoutâ button. Also for this change, you can see the related Pull Request.
We introduced the first version of this feature back in 1.11. We planned to upgrade it gradually and here we are. The catalog promotions can now be safely deleted – the process can be run asynchronously just like for creating.
The other feature is browsing products affected by a catalog promotion. On the catalog promotion show page, you can navigate to a separate page with this list.
What is more, you will also see that relation from the other side – you will see that the price is affected by a catalog promotion on the productâs pricing as well.
Thereâs always something to be improved in the administration panel, and it ain’t much but itâs honest work.
I will do my best to choose the cherries out of all the DX updates we have in this version, but remember you can always check all of them in details in the release changelog.
As the second Symfony-based eCommerce solution (congrats Thelia on making it as first đ€) weâve managed to add support for Symfony 6 in this version.
Sylius 1.12 supports both Symfony 6 and 5.4. Adding support for Symfony 6 lets us:
You can read more about Symfony 6.1 features in this blog post.
During SyliusCon, you couldâve seen a presentation from our Docker guy – Zbigniew – summing up the long way we’ve gone through to finally have an official Docker image for Sylius. Itâs a huge milestone weâre celebrating with Sylius 1.12 đ
See our guides on using Docker for Sylius development and for Docker production deployment.
Template events in Sylius replaced Sonata template events back at the beginning of 2020. You couldâve followed our progress on this matter in this issue. Until now, theyâve been marked as experimental, mainly due to lacking documentation. Weâve added missing parts, tested them once more, and finally made them stable. DX++!
Sylius front-end stack requires using a JavaScript toolkit. Until now, weâve been using Gulp, which unfortunately became unsupported. Some time ago however, weâve already been recommending the use of Webpack instead. The time has come we completely replaced Gulp with Webpack in the Core. Webpack is a stable, supported solution well-adopted both in the Symfony and JS communities.
Itâs obvious. One of the last steps to stabilization of our API. This is essential to provide us with a way to migrate to all new features and changes introduced in 2.7. By extension, it will allow us to support 3.0 and stabilize our API.
Our most beloved features available from 2.7:
You shouldâve already noticed we aim to have well-maintained and community-proven packages in Sylius dependencies. We applied the same approach for the one we use for file storage, replacing Gaufrette with Flysystem.
Everyone working with Sylius is aware that we embrace every component of Symfony to the fullest and according to best practices. With this release, we are bringing support for two more components.
Almost a year ago Swiftmailer run out of support even though its maintenance was taken over by Symfony a few years ago. It was hard for Symfony community to keep developing it, so they decided to introduce a new library: SymfonyMailer. Itâs Swiftmailerâs natural successor, it covers all its features, and adds more. Weâve also gained the stability proven by Symfony.
Symfony Runtime is a component added to Symfony with version 5.3. As we bumped the minimal dependency of the whole Sylius project to 5.4, we can provide Symfony/Runtime by default.
What are the benefits of it?
The next Sylius minor version is estimated to appear in Q2 2023. When it comes to the next major release – yes, we will do it next year also!
đ Follow our Roadmap and social channels to never miss a beat.
This year we will be present at the SymfonyCon as a Community Sponsor with our booth and with Ćukasz ChruĆciel as a speaker. Will you spare a minute to pay us a visit and have some high-fives đ?
Do you think, thatâs all that weâve been preparing for you? Of course not! Our trick for this blog post will be to tease you with the information that soon you will be able to certify yourself as Sylius Developer and subscribe for premium support delivered by Sylius Team for every open-source project built on our framework!Â