Reaction Commerce v2.0.0-rc.9 Release Notes

Release Date: 2019-01-25 // about 5 years ago
  • v2.0.0-rc.9

    ๐Ÿš€ This is our ninth release candidate for v2.0.0 of Reaction. Please check it out and let us know what works and what doesn't for you.

    ๐Ÿš€ This release is being coordinated with reaction-platform and is designed to work with the same versions of reaction-next-starterkit and reaction-hydra

    Inventory improvements

    โšก๏ธ We've made some updates to the way inventory is tracked, introducing a new inventory field: inventoryAvailableToSell. This field tracks inventory that has been ordered, but has not yet been processed and so is still counted in-stock. This number is what is displayed to customers and determines whether a product is considered "sold out" or not. The old inventory number inventoryQty has been renamed to inventoryInStock and continues to represent the inventory available in stock.

    ๐Ÿ’ฅ Breaking changes

    Inventory

    • Migration 51 has been added to attach inventoryAvailableToSell to all products / variants, to correctly calculate the numbers on parent products / variants, and to publish this data to already published Catalog items.
    • ๐Ÿšš currentQuantity has been marked with depreciated in the cart. This isn't a breaking change at the moment, but lays the path to remove this field and replace with inventoryAvailableToSell and inventoryInStock in the future.
    • โšก๏ธ Catalog.getVariantQuantity and ReactionProduct.getVariantQuantity have been removed. Custom plugins using these methods will need to be updated. The same data returned by these methods is now on the object that was being passed into these methods as the field inventoryQuantity or inventoryAvailableToSell
    • โšก๏ธ Moved isBackorder, isLowQuantity, and isSoldOut functions from the catalog plugin to the new inventory plugin. Custom plugins using these methods will need to update their import path.

    ๐Ÿ”‹ Features

    • feat: Add flag to enable only IDP routes (#4903)
    • ๐Ÿ”Œ feat: Record plugin versions in DB and show in Shop panel (#4895)
    • ๐Ÿ‘ feat: Add support for fallback tax service (#4871)
    • โšก๏ธ feat: Update to Apollo Server 2.0 (#4884)
    • feat(#4848): Return only isVisible Tags, unless admin (#4879)
    • ๐Ÿ”Œ feat: Support remote graphql schemas in plugins (#4870)
    • ๐Ÿ”Œ feat: Support plugins directly registering React components (#4875)

    ๐Ÿ›  Bugfixes

    • ๐Ÿ›  fix: Password reset page not found (#4917)
    • ๐Ÿ›  fix: add replace to remove comma from formatting (#4910)
    • ๐Ÿ›  fix: add contentForLanguage resolver for nav item content (#4913)
    • ๐Ÿ›  fix: Restore CORS for 401s (#4894)
    • ๐Ÿ›  fix: Meteor method permissions fixes (#4883)
    • ๐Ÿ›  fix: Multi-shop permission fixes (#4872)
    • ๐Ÿ›  fix: check permissions for order workflow methods (#4863)

    โœ… Tests

    • โœ… test: Fix sitemaps test timeouts (#4920)

    ๐Ÿ”จ Refactors

    • ๐Ÿ”จ refactor: updates to inventory counts and statuses (#4859)