Reaction Commerce v2.2.0 Release Notes

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

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

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

    Notable changes

    ๐Ÿ‘• Elimination of all eslint warnings

    ๐Ÿ‘• The Reaction code base is now clean of all eslint warnings. Going forward, all eslint rules have been changed to error, and CI will fail if any are present.

    Product filtering by CSV

    Admins can filter products by uploading a CSV in the product admin.

    Introduce Apollo hooks

    โšก๏ธ Apollo has been updated to v3.0.0, which introduces GraphQL hooks into Reaction.

    โšก๏ธ Updated Orders Admin UI

    โšก๏ธ The new Orders UI allows is completely GraphQL based and allows for updates to multiple fulfillment groups on each order.

    image

    โœ‚ Remove Snyk as a CI step

    โšก๏ธ Snyk was unable to work with PR's from forked repositories, which in turn caused every contribution to fail the CI check. We have removed Snyk as a blocking CI check because of this, and will run it locally on a schedule to still see which packages are in need of an update.

    ๐Ÿ”‹ Feature

    • โœ… feat: add offset for pagination with tests (#5228)
    • โšก๏ธ feat: bulk actions UI updates (#5461)
    • feat: add refunds GraphQL query (#5352)
    • feat: #5366 show filter count (#5395)
    • feat: #5379 integrate catalyst button (#5406)
    • feat: add bulk mutations to manage products and tags (#5404)
    • ๐Ÿšš feat: remove startup template import (#5430)
    • feat: add new setting to allow / disallow custom user locale lookup (#5444)
    • feat: add isvisible/hidden icons (#5407)
    • feat: Part I: An admin user can filter products by uploaded CSV (#5451)

    ๐Ÿ›  Fixes

    • ๐Ÿ›  fix: style the product table as close as possible (#5468)
    • ๐Ÿ›  fix: console warnings (#5463)
    • ๐Ÿ›  fix: update comp-lib to fix broken components (#5475)
    • ๐Ÿ›  fix: add check against missing riskLevel field, and missing string in capitalization function (#5452)
    • ๐Ÿ›  fix: partial product publish error (#5433)
    • ๐Ÿ›  fix: popover z-index (#5437)
    • ๐Ÿ›  fix: issues with refund queries (#5422)
    • ๐Ÿ›  fix: load account into context during surcharges (#5466)
    • ๐Ÿ›  fix: Correct index migration (#5408)

    Chores

    • chore: add redirect for blank route (#5439)
    • โšก๏ธ chore: update vulnerable packages (#5470)
    • โšก๏ธ chore: update reaction to use reaction-eslint-rules v2.1.0 (#5445)
    • ๐Ÿšš chore: remove unused shop.appVersion (#5429)
    • โšก๏ธ chore: update bodyParser to use individual method (#5435)
    • chore: use file extensions for node 12 compatibility (#5415)
    • ๐Ÿ‘ท chore: remove snyk as a CI task (#5403)
    • โšก๏ธ chore: Update Apollo packages to support hooks (#5427)
    • ๐Ÿ’… chore: update catalyst sidebar font and color styles (#5494)

    ๐Ÿ”จ Refactors

    • ๐Ÿ”จ refactor: use SplitButton from Catalyst instead of ConrifmButton (#5469)
    • ๐Ÿ”จ refactor: Rewrite addAccountToGroup to not call through to Meteor method (#5431)
    • ๐Ÿ”จ refactor: after-publish cart updates for speed (#5477)
    • ๐Ÿ”จ refactor: order invoice print layout (#5476)
    • ๐Ÿ”จ refactor: update Reaction Admin Orders panel (#5158)
    • ๐Ÿ”จ refactor: payments-stripe to only use getStripeInstanceForShop (#4951)
    • ๐Ÿ”จ refactor: add tag permissions to allow non-owner to edit (#5436)
    • ๐Ÿ”จ refactor: refunds section of Orders 2.0 (#5405)
    • ๐Ÿ”จ refactor: move filter outside of admin check (#5434)
    • ๐Ÿ”จ refactor: use Accounts collection instead of Meteor.users to get admin accounts (#5432)
    • ๐Ÿ”จ refactor: Remove legacy social plugin, PDP, product grid and WYSIWYG code (#5394)
    • ๐Ÿ”จ refactor: expanded product admin permissions (#5428)

    ๐Ÿ’… Style

    • ๐Ÿ’… style: update jsdoc to always use returns instead of return (#5447)
    • ๐Ÿ’… style: ESLint errors and warnings === 0 (#5450)

    โœ… Tests

    • โœ… test: add integration test for primaryShop query (#5459)

    ๐Ÿ’ฅ Breaking Changes

    None

    Contributors

    ๐Ÿš€ Thanks to @cmbirk, @loan-laux and @rattrayalex-stripe for contributing to this release! ๐ŸŽ‰