3 min. read
Categories: News Technical
Sylius v1.4.0 released
Sylius v1.4.0 released

The first minor Sylius release in 2019 has been published! The role-based authorization control plugin, enhanced password hashing, developer experience improvements, decluttered testing architecture, PHP 7.3 support, closer integration with Symfony ecosystem – all of those made its way into v1.4.0.

Core changes

This release focuses mostly on developer and user experience above all. We improved the autowiring and autoconfiguration for services provided by Sylius to reduce the time needed to write all the services configuration.

Security-wise, we switched the default algorithm for password hashing to argon2i and provided a seamless solution for migrating passwords using the old algorithm. This change requires no additional effort to make Sylius more secure by default. If you want to change the recommended algorithm or the migration logic, it’s a piece of cake, because we leveraged the long-known Symfony solutions for that.

Default fixtures received a lot of love from our amazing community, being more powerful now than ever. My favourite user experience improvement included in this release is the one adding the full taxon path within main taxon selection field.

Official plugins

Apart from developing the Sylius Core, we prepared thean MVP of role-based authentication control plugin – take a look at our blogpost about it for more details. We also take care of our Shop API plugin, which is currently undergoing an exceptional work to make it more extendable.

We keep on developing our other official plugins and we aim to stabilise them in the nearest future. In case you missed it, here’s the list of them:

Admin Order Creation Plugin – allows creating orders directly from the administrator panel

Customer Order Cancellation Plugin – allows a customer to cancel a placed order which has not been processed yet

Customer Reorder Plugin – allows a customer to copy items from the already placed order to the current cart

Invoicing Plugin – generates an invoice for every placed order

Refund Plugin – allows an administrator to refund items from a paid order

RBAC Plugin – adds role-based permission management for administrators

Shop API Plugin – provides a JSON API to interact with Sylius as a customer

Technical highlights

The most recent release adds official support for PHP 7.3, which was published in December 2018. We believe supporting the newest PHP versions is not only for the developers but also for the planet we live on. According to the Rasmus Lerdorf’s talk at PHP Benelux 2019, migrating 50% of servers to PHP 7 would save 2 billion US Dollars in electricity costs and produce 3,75M tonnes of CO2 less.

At Sylius we aim not to reinvent the wheel and try to be as close to Symfony as possible, so that we introduced November 2018’s changes to dotenv and we love the new experience so far!

The other technical highlights include upgrading to the new major version of Doctrine Migrations, which allows end-users to place migrations in subnamespaces, an extremely useful feature if you’re using migrations from multiple sources.

Moreover, I’ve been working on new Behat – Symfony integration and published the new version of FriendsOfBehat’s SymfonyExtension, including zero-configuration setup and support for Symfony’s autowiring and autoconfiguration, which makes acceptance testing easier and therefore faster. It is used in Sylius v1.4.0 and other projects like Akeneo or Monofony are keen to adopt it as well.

Community

While we were busy working on most of the changes mentioned above, our community haven’t stopped growing. There are over 1800 members on our Slack, which is a 20% increase in just four months. We have also surpassed 500 contributors mark – thank you! It’s great to have you with us and it’s starting to be hard to keep track of all the discussions being made there. 🙂

Give it a try!

If you would like to give Sylius a test ride, check out our demo application.

You can install Sylius by following instructions in the documentation or upgrade your existing application following our upgrade guide.

 

Share:
More from our blog
Technical 3 min read 04.12.2024
Here’s everything you had to know about the first major release since 2017! Over 7 years after the first major release, on Nov 12, 2024, we have released Sylius 2.0.0. We had a great opportunity to announce it first at SyliusCon in Lyon, but now, as we are back to… Read More
3 min read 22.11.2024
The emotions start to settle after SyliusCon, and it’s time to reflect on this incredible milestone in our journey. Why a milestone? Because SyliusCon exceeded our expectations in every possible way. We broke attendance records and brought together the key figures of our community, numerous partners, freelancers, and simply all… Read More
Cloud 3 min read 17.06.2024
We are thrilled to announce that we just signed a strategic partnership with Platform.sh, and as a result, we are extending our offer with Sylius Cloud powered by Platform.sh. Platform.sh is a modern Platform-as-a-Service (PaaS) solution that allows businesses to leverage the cloud environment without losing access to the code… Read More
Comments