Saleor v2.6.0 Release Notes

Release Date: 2019-05-13 // almost 5 years ago
  • ๐Ÿš€ Welcome to the April 2019 release of Saleor! Read on to learn about the newest changes!

    Any color you like, as long as it's Black

    ๐Ÿ’… Proper code formatting is one of the essential things that help to keep an open-source project universally maintainable and understandable. We had Google's YAPF in Saleor, but the formatting was only applied to some of the newer code, while a lot of the original core was using inconsistent styles. To address this issue, we decided to pick a modern tool that a number of open-source projects have recently adopted. Black is an opinionated code formatting tool for Python that comes with a fixed set of rules which are subject to only limited adjusts. And that's one of the greatest powers of Black. We've also added support for Pre-commit which makes sure that every commit you create contains appropriately formatted code.

    Data classes as a universal payment interface

    ๐Ÿ”Œ One of our goals for the future is to extract payment gateways to separate repositories and provide a standard interface that'll make implementing new ones easier for the community. We're also investigating ways to have a plugin architecture where integrations can be optionally turned on and off. For that, we want to benefit from Python 3.7's data classes which can be used as standardized objects to pass data between various parts of the system. As data classes are not supported in Python versions before 3.6 (in 3.6 they're available through a third-party library), we decided to drop support for Python 3.5.

    Bulk actions in Dashboard 2.0

    ๐Ÿ‘ A useful management Dashboard is one that allows users to perform everyday actions quickly. From now on, users can perform selected actions for multiple objects rather than repeating actions. It currently supports the most common operations, such as deleting items or publishing/unpublishing products and pages, but more will be added in future.

    ๐Ÿ”„ Changelog

    API

    Core

    Dashboard 2.0

    Other notable changes

    • โž• Add setting to enable Django Debug Toolbar - #3983 by @koradon
    • ๐Ÿ‘‰ Use newest GraphQL Playground - #3971 by @salwator
    • Ensure adding to quantities in the checkout is respecting the limits - #4005 by @NyanKiyoshi
    • ๐Ÿ›  Fix country area choices - #4008 by @fowczarek
    • Fix price_range_as_dict function - #3999 by @zodiacfireworks
    • ๐Ÿ›  Fix the product listing not showing in the voucher when there were products selected - #4062 by @NyanKiyoshi
    • ๐Ÿ›  Fix crash in Dashboard 1.0 when updating an order address's phone number - #4061 by @NyanKiyoshi
    • โฌ‡๏ธ Reduce the time of tests execution by using dummy password hasher - #4083 by @korycins
    • Set up explicit hash function - #3979 by @akjanik
    • โœ… Unit tests use none as media root - #3975 by @korycins
    • ๐Ÿ’… Update file field styles with materializecss template filter - #3998 by @zodiacfireworks
    • ๐Ÿ†• New translations:
      • Albanian
      • Colombian Spanish
      • Lithuanian

    ๐Ÿš€ Future releases

    There are a few areas that we're currently working on and planning to ship in the next version:

    • Navigation menus management in Dashboard 2.0 - views to create and manage menus displayed in the storefront.
    • ๐Ÿ‘Œ Improvements to the payment architecture and currently supported payment gateways.

    Thank you

    ๐Ÿฑ A big thank you ๐Ÿ™ to all contributors, stargazers, and supporters of Saleor!

    Contributing

    For those of you who are interested in contributing to the project, we prepared a bunch of issues labeled as help wanted. Don't worry if you don't fully understand the problem โ€Š- โ€Šour team will try to guide you and answer all your questions. Remember to check our channels on Gitter and Spectrum; they serve best if you have quick questions that don't require opening an issue on GitHub.

    ๐Ÿš€ Make sure to check out the article about this release on our blog!