@acromedia/gesso-commerce
6.2.1
Patch Changes
- e60450e: Skip the useProduct api call if the id and the product options haven't changed
6.2.0
Minor Changes
- da18e67: Update types related to Order and PageInfo, moving them to the Core package
Patch Changes
- Updated dependencies [da18e67]
- @acromedia/gesso-core@6.2.0
6.1.9
Patch Changes
- Updated dependencies [a98eeac]
- Updated dependencies [a98eeac]
- @acromedia/gesso-core@6.1.4
6.1.8
Patch Changes
- ff21b16: fix: allow formatCurrency currency argument to be undefined and if it is return an empty string to stop NumberFormat from crashing.
6.1.7
Patch Changes
- Updated dependencies [3bcf44c]
- @acromedia/gesso-core@6.1.3
6.1.6
Patch Changes
- ae8c363: Fix: allow checkout plugin to return the full order from its methods to allow for a full update if needed.
6.1.5
Patch Changes
-
7f61668: Update: add shippingInfo to Order type so the methods can be returned in checkout response.
-
66ed396: Add: shippingInfo.shippingMethods property on Order type as type ShippingMethodsOptions.
Deprecate: shippingInfo.methods removing V8 use shippingInfo.shippingMethods instead.
-
Updated dependencies [66ed396]
- @acromedia/gesso-core@6.1.2
6.1.4
Patch Changes
- Updated dependencies [baa721c]
- @acromedia/gesso-core@6.1.1
6.1.3
Patch Changes
- 80eddc0: Update conditional check to ditch the cart cookie to look for any status that is not currently open. This change should be a better guarantee that we are looking for a new cart instead of strictly looking for carts that have completed fulfillment.
6.1.2
Patch Changes
- eae6356: cleans up grammar/spelling errors in console output upon generation of provider files.
- 0902248: Allow an optional and configurable purchase order field on a gesso order
6.1.1
Patch Changes
- e8fa722: TS type fixes
- d0235aa: update: add a methods property to the paymentInfo property on the Order type.
- Updated dependencies [0a5c916]
- @acromedia/gesso-core@6.1.0
6.1.0
Minor Changes
- 26b270a: Adds optional data and offset to order type and order options. This will allow us to solve REST pagination.
6.0.0
Major Changes
-
609c5e9: # Checkout Provider Update
Deprecated Definitions Removed
Deprecated
ApplyCoupon
andRemoveCoupon
hook definitions have been removed.Use:
applyCoupon
andremoveCoupon
instead.Commerce Provider Update
Deprecated Types Removed
The use of deprecated
getCustomer
type has been removed. UseuseCustomer
instead. These were both types as CustomerPlugin and there was no need to export two of the same type.Customer Provider Update
Deprecated Types Removed
The use of deprecated
UseCustomerPlugin
type has been removed. UseCustomerPlugin
instead.The
update
plugin is now required and has been added to all current commerce plugins. NOTE: this will be removed in v7 in favour of individual update methods (i.e updatePassword, updateEmail etc.)Product Provider Update
Deprecated Types Removed
The use of deprecated
UseProductSearchResult
type has been removed. Responses are now of type ProductSearchResult, which matches this interface:export type ProductSearchResult = {
products: Product[];
facets: Facet[];
pageInfo?: {
products: PageInfo;
};
};
Patch Changes
- Updated dependencies [609c5e9]
- @acromedia/gesso-core@6.0.0
5.4.2
Patch Changes
- Updated dependencies [cc252ca]
- @acromedia/gesso-core@5.3.2
5.4.1
Patch Changes
- b1e515e: Adjust context so they are not immediately created and only created if needed, currently behind a feature flag for backwards compatibility