Reaction Commerce v2.1.0 Release Notes

Release Date: 2019-08-08 // over 4 years ago
  • v2.1.0

    ๐ŸŽ Reaction v2.1.0 adds minor features and performance enhancements, fixes bugs and contains no breaking changes since v2.0.0.

    ๐Ÿš€ This release is being coordinated with reaction-platform and is designed to work with v2.1.0 of example-storefront and reaction-hydra.

    Notable changes

    Introduction of Catalyst

    0๏ธโƒฃ Our new Catalyst design system has been introduced into the Reaction codebase, and is used on various components including ConfirmDialog and Button. All new default component theme modifications must come from Catalyst.

    ๐Ÿท Tag slugs are now editable independently of tag name

    ๐Ÿ‘ Allows operators to change aa tag slug independently of a tag name.

    Order related GraphQL mutations

    A createRefund GraphQL mutation has been added to allow refunds to be processed via GraphQL in addition to the existing meteor methods.

    Dataloaders introduced into the codebase

    ๐ŸŒ "DataLoader is a generic utility to be used as part of your application's data fetching layer to provide a simplified and consistent API over various remote data sources such as databases or web services via batching and caching."

    โž• Added the first couple of DataLoaders for Shops and SimpleInventory. Shops will benefit product listing pages as product and variant resolvers all query Shops collection for each product. SimpleInventory query benefits from batching.

    Bulk simple inventory mutation

    โšก๏ธ When running large inventory import via an external sync system, the lack of a bulk mutation made the import takes many hours. This update introduces a bulk import option which cuts down import time significantly.

    ๐Ÿ‘• Overhaul of eslint rules, and bulk fix of over 500 eslint warnings

    โšก๏ธ We've updated to using v2.0.0 of our Reaction ESLint Config package, and have brought our eslint warnings down from 800 to under 300.

    ๐Ÿ”‹ Feature

    • feat: catalog partial publish / rerun transformations (#5355)
    • feat(product table): show Action dropdown, even if no products are selected (#5391)
    • feat: filter products by id in products table (#5387)
    • feat: editable tag slug (#5382)
    • feat: add createRefund GraphQL mutation (#5354)
    • feat: add handle to tag autosuggest results (#5262)
    • feat: Add DataLoaders for Shops and SimpleInventory (#5294)
    • feat: Introduce DataLoaders infrastructure (#5280)
    • feat: new button component to wrap MUI button with isWaiting loading state (#5266)
    • feat: bulk simple inventory mutation (#5229)
    • ๐Ÿ“ฆ feat: integrate catalyst ConfirmDialog component from new Catalyst package (#5372)

    ๐Ÿ›  Fixes

    • ๐Ÿ›  fix: set slugified title as permalink (#5264)
    • ๐Ÿ›  fix: Add migration for index (#5358)
    • ๐Ÿ›  fix: red textfields (#5371)
    • ๐Ÿ›  fix: Make catalog indexes unique for product (#5350)
    • ๐Ÿ›  fix: fix consistent-return eslint warnings (#5334)
    • ๐Ÿ›  fix: replace simpl-schema.validate() โ€ฆ (#5306)
    • ๐Ÿ›  fix: use SimpleInventory collection to feโ€ฆ (#5314)
    • ๐Ÿ›  fix: #5300 Wrong template reference (#5301)
    • ๐Ÿ›  fix: typo breaking docs build (5286) (#5287)

    ๐ŸŽ Performance Improvements

    • โœ… perf: wrap tests in check to make sure app is ready when they run (#5317)
    • perf: up data transfer limit to allow bigger sizes (#5396)

    ๐Ÿ“„ Docs

    • ๐Ÿ“„ docs(admin): Introducing Reaction Admin (#5400)
    • ๐Ÿ“„ docs(readme): introducing the Storefront Component Library to develop (#5398)
    • ๐Ÿ“„ docs: Update README.md (#5319)

    Chores

    • โšก๏ธ chore: updated Dockerfile to change .meteor/ permissions to the node โ€ฆ (#5353)
    • ๐Ÿ‘• chore(ci): add eslint check to only check changed files and fail when warnings are thrown (#5357)
    • chore(ci): Work more robustly on forks (#5386)
    • ๐Ÿ‘• chore: fix no-undef lint issues (#5360)
    • โšก๏ธ chore: update Material-UI 4.x (#5278)
    • โšก๏ธ chore: Update README DCO - sign-off not sign (#5318)
    • โšก๏ธ chore: update snyk ignore (#5331)
    • โšก๏ธ chore: update CHANGELOG, update version (#5260)
    • chore: use npm command rather than meteor npm (#5328)
    • โšก๏ธ chore: update js-doc throughout the app, batch 1 (#5309)
    • ๐Ÿ‘• chore: fix all react/no-deprecated and react/prop-type eslint warnings (#5307)
    • โšก๏ธ chore: update reaction-eslint-config version in package.json (#5320)
    • โœ… chore: organize integration tests (#5316)
    • ๐Ÿ‘• chore: add overrides for eslint rules that stlll need fixing (#5308)
    • ๐Ÿ‘• chore: fix all id-length eslint warnings (#5298)
    • ๐Ÿš‘ chore: update lodash to fix snyk critical error (#5299)
    • ๐Ÿ‘• chore: fix all max-len eslint warnings (#5296)
    • ๐Ÿ‘• chore: fix prefer-const eslint error (#5290)

    ๐Ÿ”จ Refactors

    • ๐Ÿ”จ refactor: add title as backup in product admin breadcrumb (#5342)
    • ๐Ÿ”จ refactor: add isSoldOut prop to variants and options in Catalog (#5289)
    • ๐Ÿ”จ refactor: how to get reaction version (#5324)
    • ๐Ÿ”จ refactor: fulfillment section of Orders 2.0 (#5302)
    • ๐Ÿ”จ refactor: payments section of Orders 2.0 (#5279)

    โœ… Tests

    • โœ… test: add integration test for ping query (#5326)

    ๐Ÿ’ฅ Breaking Changes

    None

    Contributors

    ๐Ÿš€ Thanks to @janus-reith for contributing to this release! ๐ŸŽ‰