Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 2.0.0 rc.9 #4922

Merged
merged 205 commits into from
Jan 25, 2019
Merged

Release 2.0.0 rc.9 #4922

merged 205 commits into from
Jan 25, 2019

Conversation

spencern
Copy link
Contributor

@spencern spencern commented Jan 18, 2019

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

Bugfixes

Tests

Refactors

kieckhafer and others added 30 commits December 11, 2018 09:55
for "products/updateProductField" method
Resolves reaction-feature-requests/issues/53
Ensure we can only toggle the package for the
shop for which the user has permission
Now ensures that the modified tags cannot belong to a
different shop from that which you have permission for.
impactmass and others added 20 commits January 9, 2019 18:21
…tellon-accounts-createdat-optional

Revert "fix: make Accounts.createdAt optional in schema"
…contentForLanguage-nav-item-resolver

fix: add contentForLanguage resolver for nav item content
Record plugin versions in DB and show in Shop panel
…rrencyNANissue

fix: add replace to remove comma from formatting
…outer-and-idp

feat: Add flag to enable only IDP routes
…setpass-404

Fix Password reset page not found
Signed-off-by: Spencer Norman <[email protected]>
Signed-off-by: Spencer Norman <[email protected]>
Copy link
Contributor

@jeffcorpuz jeffcorpuz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jeffcorpuz jeffcorpuz dismissed their stale review January 24, 2019 19:26

Classic UI Checkout issues do not warrant a release block due to migration.

Copy link
Contributor

@jeffcorpuz jeffcorpuz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only issue and relating issues thereof involve the Classic UI Checkout which is being deprecated soon.

@spencern spencern merged commit cb6939d into master Jan 25, 2019
@spencern spencern deleted the release-2.0.0-rc.9 branch January 25, 2019 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.