1.0.0-rc.8 Backward incompatible changes reference
In this document, you can see crucial breaking changes in the 1.0.0-rc.8
comparing to 1.0.0-rc.7
release. To see all changes, please take a look at the release pull request (opens new window).
Theme
In this document, we described the most crucial changes. We recommend checking each component/template to see all changes.
File | what and how it changed |
---|---|
packages/theme/components/AppHeader.vue | URL to the customer page has been changed in the handleAccountClick function |
packages/theme/components/BottomNavigation.vue | The useCategoryStore import has been changed and the URL to the customer page has been changed in the handleAccountClick function |
packages/theme/components/CartSidebar.vue | Import paths have been changed |
packages/theme/components/Checkout/CartPreview.vue | import paths have been changed |
packages/theme/components/Checkout/VsfShippingProvider.vue | import paths have been changed |
packages/theme/components/CouponCode.vue | import paths have been changed |
packages/theme/components/Header/SearchBar/SearchBar.vue | import paths have been changed |
packages/theme/components/Hero.vue | File has been renamed to HeroSection.vue |
packages/theme/components/LoginModal.vue | import paths have been changed |
packages/theme/components/tests/ProductAddReviewForm.spec.js | import paths have been changed |
packages/theme/composables/useBilling/BillingDetails.ts | File has been removed |
packages/theme/composables/useBilling/useBilling.ts | File has been moved to packages/theme/modules/checkout/composables/useBilling/useBilling.ts |
packages/theme/composables/usePaymentProvider/PaymentMethodParams.ts | File has been removed |
packages/theme/composables/useShippingProvider/ | Has been moved to packages/theme/modules/checkout/composables/useShippingProvider/ |
packages/theme/getters/checkoutGetters.ts | Checkout getters have been removed |
packages/theme/getters/index.ts | Import paths have been changed |
packages/theme/getters/orderGetters.ts | Order getters have been moved to packages/theme/modules/checkout/getters/orderGetters.ts |
packages/theme/helpers/cacheControl.js | The file has been removed |
packages/theme/layouts/default.vue | Import paths have been changed |
packages/theme/modules/catalog/category/components/cms/categoryContent.gql.ts | query name and parameters have been changed |
packages/theme/composables/useCategorySearch | Has been moved to packages/theme/modules/catalog/category/composables/useCategorySearch |
packages/theme/stores/category.ts | Has been moved topackages/theme/modules/catalog/category/stores/category.ts |
packages/theme/stores/graphql/categoryList.gql.ts | Has been moved to packages/theme/modules/catalog/category/stores/graphql/categoryList.gql.ts |
packages/theme/modules/catalog/pages/category.vue | Return values from setup function have been changed |
packages/theme/modules/catalog/pages/product.vue | Content of page have been rewritten |
packages/theme/components/ProductAddReviewForm.vue | Has been moved to packages/theme/modules/catalog/product/components/ProductAddReviewForm.vue |
packages/theme/modules/catalog/product/components/BundleProductSelector.vu | Has been moved to packages/theme/modules/catalog/product/components/product-types/bundle/BundleProductSelector.vue |
packages/theme/modules/catalog/product/components/GroupedProductSelector.vue | Has been moved to packages/theme/modules/catalog/product/components/product-types/grouped/GroupedProductSelector.vue |
packages/theme/composables/useBilling/commands/saveBillingAddressCommand.ts | Has been moved to packages/theme/modules/checkout/composables/useBilling/commands/saveBillingAddressCommand.ts |
packages/theme/composables/useBilling/index.ts | Has been moved to packages/theme/modules/checkout/composables/useBilling/index.ts |
packages/theme/composables/useBilling/index.ts | Has been moved to packages/theme/modules/checkout/composables/useBilling/index.ts |
packages/them/composables/useCart/commands/addItemCommand.ts | Has been moved to packages/theme/modules/checkout/composables/useCart/commands/addItemCommand.ts |
packages/theme/composables/useCart/commands/applyCouponCommand.ts | Has been moved to packages/theme/modules/checkout/composables/useCart/commands/applyCouponCommand.ts |
packages/theme/composables/useCart/commands/clearCartCommand.ts | Has been moved to packages/theme/modules/checkout/composables/useCart/commands/clearCartCommand.ts |
packages/theme/composables/useCart/commands/loadCartCommand.ts | Has been moved to packages/theme/modules/checkout/composables/useCart/commands/loadCartCommand.ts |
packages/theme/composables/useCart/commands/loadTotalQtyCommand.ts | Has been moved to packages/theme/modules/checkout/composables/useCart/commands/loadTotalQtyCommand.ts |
packages/theme/composables/useCart/commands/removeCouponCommand.ts | Has been moved to packages/theme/modules/checkout/composables/useCart/commands/removeCouponCommand.ts |
packages/theme/composables/useCart/commands/removeItemCommand.ts | Has been moved to packages/theme/modules/checkout/composables/useCart/commands/removeItemCommand.ts |
packages/theme/composables/useCart/commands/updateItemQtyCommand.ts | Has been moved to packages/theme/modules/checkout/composables/useCart/commands/updateItemQtyCommand.ts |
packages/theme/composables/useCart/index.ts | Has been moved to packages/theme/modules/checkout/composables/useCart/index.ts |
packages/theme/composables/useCart/useCart.ts | Has been moved to packages/theme/modules/checkout/composables/useCart/useCart.ts |
packages/theme/composables/useGetShippingMethods/commands/getCustomerShippingMethodsCommand.ts | Has been moved to packages/theme/modules/checkout/composables/useGetShippingMethods/commands/getCustomerShippingMethodsCommand.ts |
packages/theme/composables/useGetShippingMethods/commands/getGuestShippingMethodsCommand.ts | Has been moved to packages/theme/modules/checkout/composables/useGetShippingMethods/commands/getGuestShippingMethodsCommand.ts |
packages/theme/composables/useGetShippingMethods/index.ts | Has been moved to packages/theme/modules/checkout/composables/useGetShippingMethods/index.ts |
packages/theme/composables/useGetShippingMethods/index.ts | Has been moved to packages/theme/modules/checkout/composables/useGetShippingMethods/index.ts |
packages/theme/composables/useMakeOrder/commands/placeOrderCommand.ts | Has been moved to packages/theme/modules/checkout/composables/useMakeOrder/commands/placeOrderCommand.ts |
packages/theme/composables/useMakeOrder/index.ts | Has been moved to packages/theme/modules/checkout/composables/useMakeOrder/index.ts |
packages/theme/composables/useMakeOrder/useMakeOrder.ts | Has been moved to packages/theme/modules/checkout/composables/useMakeOrder/useMakeOrder.ts |
packages/theme/composables/usePaymentProvider/commands/getAvailablePaymentMethodsCommand.ts | Has been moved to packages/theme/modules/checkout/composables/usePaymentProvider/commands/getAvailablePaymentMethodsCommand.ts |
packages/theme/composables/usePaymentProvider/commands/setPaymentMethodOnCartCommand.ts | Has been moved to packages/theme/modules/checkout/composables/usePaymentProvider/commands/setPaymentMethodOnCartCommand.ts |
packages/theme/composables/usePaymentProvider/index.ts | Has been moved to packages/theme/modules/checkout/composables/usePaymentProvider/index.ts |
packages/theme/composables/usePaymentProvider/usePaymentProvider.ts | Has been moved to packages/theme/modules/checkout/composables/usePaymentProvider/usePaymentProvider.ts |
packages/theme/composables/useShipping/index.ts | Has been moved to packages/theme/modules/checkout/composables/useShipping/index.ts |
packages/theme/composables/useShipping/useShipping.ts | Has been moved to packages/theme/modules/checkout/composables/useShipping/useShipping.ts |
packages/theme/composables/useShippingProvider/commands/setShippingMethodsOnCartCommand.ts | Has been moved to packages/theme/modules/checkout/composables/useShippingProvider/commands/setShippingMethodsOnCartCommand.ts |
packages/theme/composables/useShippingProvider/index.ts | Has been moved to packages/theme/modules/checkout/composables/useShippingProvider/index.ts |
packages/theme/getters/cartGetters.ts | Has been moved to packages/theme/modules/checkout/getters/cartGetters.ts |
packages/theme/pages/Checkout.vue | Has been moved to packages/theme/modules/checkout/pages/Checkout.vue, import paths have been changed |
packages/theme/pages/Checkout/Billing.vue | Has been moved to packages/theme/modules/checkout/pages/Checkout/Billing.vue |
packages/theme/pages/Checkout/Payment.vue | Has been moved to packages/theme/modules/checkout/pages/Checkout/Payment.vue |
packages/theme/pages/Checkout/Shipping.vue | Has been moved to packages/theme/modules/checkout/pages/Checkout/Shipping.vue |
packages/theme/pages/Checkout/ThankYou.vue | Has been moved to packages/theme/modules/checkout/pages/Checkout/ThankYou.vue |
packages/theme/pages/Checkout/UserAccount.vue | Has been moved to packages/theme/modules/checkout/pages/Checkout/UserAccount.vue |
packages/theme/modules/customer/pages/MyAccount.vue | Has been moved to packages/theme/modules/customer/pages/MyAccount/MyAccount.vue |
packages/theme/modules/customer/components/AddressForm.vue | Has been moved to packages/theme/modules/customer/pages/MyAccount/AddressesDetails/AddressForm.vue |
packages/theme/modules/customer/pages/AddressesDetails.vue | Has been moved to packages/theme/modules/customer/pages/MyAccount/AddressesDetails/AddressesDetails.vue |
packages/theme/modules/customer/pages/MyNewsletter.vue | Has been moved to packages/theme/modules/customer/pages/MyAccount/MyNewsletter.vue |
packages/theme/modules/customer/pages/MyProfile.vue | Has been moved to packages/theme/modules/customer/pages/MyAccount/MyProfile/MyProfile.vue |
packages/theme/modules/customer/components/PasswordResetForm.vue | Has been moved to packages/theme/modules/customer/pages/MyAccount/MyProfile/PasswordResetForm.vue |
packages/theme/modules/customer/components/ProfileUpdateForm.vue | Has been moved to packages/theme/modules/customer/pages/MyAccount/MyProfile/ProfileUpdateForm.vue |
packages/theme/modules/customer/pages/MyReviews.vue | Has been moved to packages/theme/modules/customer/pages/MyAccount/MyReviews.vue |
packages/theme/modules/customer/pages/MyWishlist.vue | Has been moved to packages/theme/modules/customer/pages/MyAccount/MyWishlist.vue |
packages/theme/modules/customer/pages/OrderHistory.vue | Has been moved to packages/theme/modules/customer/pages/MyAccount/OrderHistory/OrderHistory.vue |
packages/theme/stores/customer.ts | Has been moved to packages/theme/modules/customer/stores/customer.ts |
packages/theme/modules/theme/components/WishlistSidebar.vue | Has been moved to packages/theme/modules/wishlist/components/WishlistSidebar.vue |
packages/theme/composables/useWishlist/ | Has been moved to packages/theme/modules/wishlist/composables/useWishlist/ |
packages/theme/getters/wishlistGetters.ts | Has been moved to packages/theme/modules/wishlist/getters/wishlistGetters.ts |
packages/theme/nuxt.config.js | module theme has been removed, module checkout has been added to modules config |
packages/theme/routes.js | Routes declarations have been moved to the checkout and customer modules |
API Client
File | what and how it changed |
---|---|
packages/api-client/src/api/customerOrders/customerOrders.ts | deprecated fields order_number and created_at have been replaced by number and order_date |