Releases: vuestorefront/magento2
1.0.0-rc.3
🚀 Features
api-client
- added
cmsBlocks
method - added
groupedProductDetail
method - added getter for grouped products
- added bundle product detail method
composables
- added
loadBlocks
methods to theuseContent
composable - added
blocks
to theuseContent
composable - fetching information for grouped products
- added fetching bundle product details
- add the bundle product to the cart
- add the bundle product to the wishlist
- add the resetPassword method to
useForgotPassword
theme
- added
NotificationUi
toCartSidebar
when removing products - added
ContentBlock
andContentBlocks
components - added
GroupedProduct
template options - added bundle product details information
- added bundle product component
- added wishlist sidebar
💅 Refactors
api-client
- added better error handling
- updated graphql typings
- added missing
customQuery
onplaceOrder
method - adds error handling for API method on
cmsPage
- adds error handling for API method on
productDetails
- adds error handling for API method on
requestPasswordResetEmail
composable
- updated
useBilling
not setting the address correctly - added missing
customQuery
onplaceOrder
method - fixed
productGetters
getGroupedProducts
method - fixed
categoryGetters.ts
buildTree method filtering - fixed the wishlist getters
- updated the
useWishlist
methods - updated composables interface to match 2.4.1
- removed types from
orderGetters.ts
- added user wishlist loading when login (closes #165)
- adds error handling for API method on cmsPage
- closes #162
theme
- update imports pointing to /src
- fixed the
cmsPage
content loading - added the
cmsPage
routing system - fixed cleaning cart after the order is done
- fixed product page displaying wrongly add to cart
- fixed how sidebar category is filtered
- fixed the login dialog error display for create user and login
- fixed product price and variant selection on sidebar
- fixed discount display on checkout flow
- added product link to cart items on sidebar
- added redirect to product on wishlist
- added
checkout.js
middleware - closes #149
- closes #148
- closes #152
🏡 Chore
- updated dependencies and devDependencies
eslint
- updated eslint-config-airbnb-typescript to 14.0.0
eslint-config-vue
- updated eslint-plugin-vue to 7.16.0
eslint-config-import
- updated eslint-plugin-import to 2.24.1
eslint-config-base
- updated eslint-plugin-unicorn to 35.0.0
eslint-config-typescript
- updated @typescript-eslint/eslint-plugin to 4.29.3
- updated @typescript-eslint/parser to 4.29.3
api-client
- updated graphql-tools to 8.1.0
- updated @apollo/client to 3.4.8
- updated @vue-storefront/core to 2.4.1
composable
- updated @vue-storefront/core to 2.4.1
theme
- updated @nuxtjs/style-resources to 1.2.1
- updated @storefront-ui/vue to 0.10.8
- updated @vue-storefront/core to 2.4.1
- updated @vue-storefront/middleware to 2.4.1
- updated @vue-storefront/nuxt to 2.4.1
- updated @vue-storefront/nuxt-theme to 2.4.1
- updated core-js to 3.16.2
- updated cypress to 8.3.0
- updated jest-localstorage-mock to 2.4.17
- updated lint-staged to 11.1.2
- updated nuxt to 2.15.8
- updated ts-jest to 27.0.5
- updated tslib to 2.3.1
repository
- updated @babel/core to 7.15.0
- updated @graphql-codegen/cli to 2.1.1
- updated @graphql-codegen/typescript to 2.1.1
- updated @graphql-codegen/typescript-operations to 2.1.1
- updated @types/jest to 27.0.1
- updated @types/node to 16.7.1
- updated @typescript-eslint/parser to 4.29.3
- updated eslint to 7.32.0
- updated jest-localstorage-mock to 2.4.17
- updated lint-staged to 11.1.2
- updated rollup to 2.56.3
- updated ts-jest to 27.0.5
- updated ts-node to 10.2.1
- updated tslib to 2.3.1
1.0.0-rc.2
💅 Refactors
api-client
- updated the methods that use extendQuery to fix the usage
- change the queries and mutations to GraphQL strings with
gql
interpolation - fixed the queries and mutations namings
composable
- fixed the cookie not being defined correctly
- fixed the useCart.load not working properly
- fixed typings on the files
🏡 Chore
eslint-vue
api-client
- updated @apollo/client to 3.4.1
- added @rollup/plugin-commonjs
composables
- added cookie-universal
theme
- updated core-js to 3.16.0
- updated cypress to 8.1.0
repository
- updated @graphql-codegen/cli to 1.21.8
- updated @types/node to 16.4.7
- updated rollup to 2.55.1
- updated vue-eslint-parser to 7.10.0
1.0.0-rc.1
🚀 Features
api-client
- added addProductToWishlist mutation and method
- added getCustomerAddresses API method
- added removeProductsFromWishlist mutation and method
- added updateCustomerEmail mutation and method
- added the addProductsToCart method
- created wishlistDataFragment
composables
- added getPagination and getProducts methods on wishlistGetters.ts
- added getRemoteShoppingAssistance on userGetters
- added userAddresses composable and factory
- added userAddressesGetters.ts getter
- added configurable products flow
theme
- added AddressesDetails.vue Page to MyAccount
- added AddressForm.vue component to MyAccount components
- added available facets configuration on midleware.config.js
- added available facets from the middleware configuration on Category.vue
- added bundle optimization to the Nuxt build
- added configurable products flow
- added new language keys for the wishlist functionality
- added on ProfileUpdateForm.vue a checkbox to update the
allow_remote_shopping_assistance
user field - added user addresses management under MyAccount pages
- added wishlist functionality to the Category.vue page
- added wishlist functionality to the Product.vue page
- added wishlist functionality to the ProductsCarousel.vue component
- added wishlist gird and list view on useUiState.ts
- created the MyAccount/MyWishlist.vue page to manage the user wishlist
💅 Refactors
api-client
- updated productFragment adding new fields
- updated storeConfig query adding new fields
- updated wishlist query adding new fields
composables
- added missing
customQuery
parameters in the useProduct composable - fixed getTotalReviews and getAverageRating methods from productGetters.ts, by exporting from reviewGetters.ts
- fixed updateUser method on useUser to call the updateCustomerEmail method when need to update the customer emails
- fixed userGetters.ts methods
- fixed userGetters.ts methods naming
- fixed userGetters.ts typings
- fixed wishlistGetters methods naming
- fixed wishlistGetters typings
- fixed folder naming typo
- fixed the facetGetters.ts and _utils.ts files to get the products facets
- fixed wrong parameter attribution on the userAddressManipulator.ts
- removed useMenuCategory composable and factory
theme
- fixed components imports locations
- fixed the isFilterSelected method on Category.vue
- fixed the selectedFacet mounting options on Category.vue
- fixed the facets selection listeners on Category.vue
- removed billing and shipping addresses management from MyAccount
- removed the getMenuCategory composable
- updated the theme to support configurable products
🏡 Chore
composables
- removed guest.ts from useWishlist due to Magento user only wishlist
- removed vue-template-compiler from package.json
theme
- fixed
allowRemoteShoppingAssitance
and `isSubscribed fields in LoginModal.vue for user register - removed duplicated images
repository
- removed dependencies from internal packages to external
- unify the docs into the main git timeline
- updated contributors
- updated dependencies and devDependencies
- updated Issues template for the new GitHub schema
- updated publishing scripts
Dependencies updates
eslint
- updated eslint-plugin-unicorn to 34.0.1
eslint-typescript
- updated @typescript-eslint/eslint-plugin to 4.28.5
- updated @typescript-eslint-parser to 4.28.5
eslint-vue
- updated eslint-plugin-vue to 7.14.0
eslint-jest
- updated eslint-plugin-jest to 24.4.0
api-client
- updated @apollo/client to 3.3.20
- updated @apollo/client to 3.3.21
- updated @rollup/plugin-node-resolve to 13.0.4
- updated @vue-storefront/core to 2.3.4
- updated graphql to 15.5.1
- updated graphql-tag to 2.12.5
- updated rollup to 2.52.7
- updated typescript to 4.3.5
composables
- updated @types/js-cookie to 2.2.7
- updated @vue-storefront/core to 2.3.4
- updated @vue/test-utils to 1.2.2
theme
-
added omit-deep to 0.3.0
-
updated @nuxtjs/style-resources to 1.2.0
-
updated @storefront-ui/vue to 0.10.71
-
updated @vue-storefront/core to 2.3.4
-
updated @vue-storefront/middleware to 2.3.4
-
updated @vue-storefront/nuxt to 2.3.4
-
updated @vue-storefront/nuxt-theme to 2.3.4
-
updated @vue/test-utils to 1.2.1
-
updated @vue/test-utils to 1.2.2
-
updated babel-jest to 27.0.6
-
updated convict to 6.2.0
-
updated convict-format-with-validator to 6.2.0
-
updated cookie-universal-nuxt to 2.1.5
-
updated core-js to 3.15.2
-
updated cypress to 8.0.0
-
updated cypress-tags to 0.2.0
-
updated jest to 27.0.6
-
updated lint-staged to 11.1.1
-
updated majestic to 1.8.1
-
updated npm-check-updates to 11.8.3
-
updated nuxt to 2.15.7
-
updated nuxt-i18n to 6.28.0
-
updated ts-jest to 27.0.4
-
updated tslib to 2.3.0
-
updated typescript to 4.3.5
-
updated vee-validate to 3.4.11
repository
-
updated @babel/core to 7.14.8
-
updated @babel/plugin-proposal-private-methods to 7.14.5
-
updated @commitlint/cli to 13.1.0
-
updated @commitlint/config-conventional to 13.1.0
-
updated @commitlint/config-lerna-scopes to 13.1.0
-
updated @graphql-codegen/cli to 1.21.7
-
updated @graphql-codegen/typescript to 1.23.0
-
updated @graphql-codegen/typescript-operations to 1.18.4
-
updated @rollup/plugin-node-resolve to 13.0.4
-
updated @types/jest to 26.0.24
-
updated @types/jsdom to 16.2.13
-
updated @types/node to 16.4.3
-
updated @typescript-eslint/parser to 4.28.5
-
updated eslint to 7.31.0
-
updated lint-staged to 11.1.1
-
updated majestic to 1.8.1
-
updated npm-check-updates to 11.8.3
-
updated rollup to 2.54.0
-
updated ts-jest to 27.0.4
-
updated ts-node to 10.1.0
-
updated tslib to 2.3.0
-
updated typescript to 4.3.4
-
updated vue-eslint-parser to 7.9.0
1.0.0-beta.14
🚀 Features
api-client
- added the
createProductReview
API method - added the
customerProductReview
API method - updated the
productReview
API method to return the product name and uid - added
subscribeEmailToNewsletter
mutation and method
composables
- added to the
useReview
new methods for loadCustomerReviews and loadReviewMetadata - created the
useReviewFactory
from the core to add new functionalities - added
useNewsletter
composable - added
useNewsletterFactory
composable factory
theme
- added
ProductAddreviewForm.vue
component to be the product review form - added
MyReviews.vue
page to show the user created reviews, under MyAccount - added
MyNewsletter.vue
page
💅 Refactors
api-client
- updated
createCustomer
method typing - fixed
customer
method GraphQL query - updated
updateCustomer
method typing - updated
customerFragment
GraphQL fragment
composables
- updated the
productGetters
to fix some eslint rules - updated the
reviewGetters
to add new getters for getReviewMetadata and getProductName - updated the
useReview
to add the addReview logic functions - updated
cartGetters.ts
to add correct typing interface - updated
productGetters.ts
to add correct typing interface - fixed
useCategory/index.ts
functions typings - fixed
useReview/index.ts
functions typings - fixed
useReviewFactory.ts
functions typings - removed unused i18n keys
- updated
useUser
composable to match correct typing
theme
- updated pages and components to
lang="ts"
- updated pages and components to add
defineComponent
wrapper - updated
Product.vue
page to handle the product review form - updated
LoginModal.vue
component to add newsletter and assisted shopping checkbox - updated
UserAccount.vue
component to add newsletter and assisted shopping checkbox - updated config manager
🏡 Chore
api-client
- updated package typings
- applied eslint rules
- updated
rollup
to 2.51.0
composables
- updated package typings
- applied eslint rules
theme
- updated package typings
- applied eslint rules
- updated
@nuxtjs/style-resources
1.1.0 - updated
babel-jest
to 27.0.2 - updated
core-js
3.14.0 - updated
jest-localstorage-mock
to 2.4.14 - updated
jest-watch-typeahead
to 0.6.4 - updated
jest
27.0.4 - updated
npm-check-updates
to 11.6.0 - updated
ts-jest
27.0.3 - updated
vee-validate
3.4.9 - updated
vee-validate
to 3.4.8
repository
- updated
@types/node
to 15.12.1 - updated
eslint
to 7.28.0 - updated
execa
to 5.1.1 - updated
jest
to 27.0.4 - updated
rollup
to 2.51.0 - updated
ts-jest
to 27.0.3
💖 Thanks to
1.0.0-beta.10
🚀 Features
api-client
- created country API method
- created getAvailableCustomerPaymentMethod API method
- created getAvailableCustomerShippingMethod API method
- created getAvailablePaymentMethod API method
- created getAvailableShippingMethod API method
- added missing API methods to export
- added internal checkout flow with basic Magento payment system that doesn't require integrations
composables
- added MyAccount shipping and billing address manipulation
- added internal checkout flow with basic Magento payment system that doesn't require integrations
- created useCountrySearch factory and composable to load and search on Magento for country and region information
- created useExternalCheckout factory and composable to handle the external checkout process
- created useGetShippingMethods factory and composable to load on Magento for the available shipping methods
- created useGuestUser factory and composable to handle on Magento the Guest user checkout process
- created usePaymentProvider factory and composable to handle on Magento the payment provider checkout process
- added address manipulation helpers
theme
- created UserBillingAddresses.vue component
- created UserShippingAddresses.vue component
- created VsfPaymentProvider.vue component
- created VsfShippingProvider.vue component
- created BillingAddressForm.vue component
- created ShippingAddressForm.vue component
- created CartSidebar.vue component
- created LoginModal.vue component
- created UserBillingAddress.vue component
- created UserShippingAddress.vue component
- created addresses and shipping method helpers
- created Checkout Billing.vue, ExternalCheckoutThankYou.vue, Payment.vue, Shipping.vue, UserAccount.vue pages
- created MyAccount BillingDetails.vue, OrderHistory.vue, ShippingDetails.vue pages
- created Checkout.vue page
- created Shipping.vue page
- added missing static icons and images
- added basic e2e tests from (vsf core / commercetools)
- added Magento external checkout process to custom Magento external checkout plugin (Under development)
- added MyAccount shipping and billing address manipulation
- added internal checkout flow with basic Magento payment system that doesn't require integrations
- added Magento discount coupon behavior on CartPreview.vue component
💅 Refactors
api-client
- updated setPaymentMethodOnCart input typings to accept generic fields
- updated internal typings
- updated packages
composables
- updated cartGetters to add a coupon, discount, special price, and shipping method extraction
- updated categoryGetters to get the correct category tree
- updated orderGetters to fix the date extraction and id
- updated userBillingGetters to fix address extraction
- updated userShippingGetters to fix address extraction
- updated useBilling composable to match API parameters
- updated userCart composable to match API parameters and fix mergeCart API when guest user became authenticated
- updated useCategorySearch to match factory parameters
- updated useProduct composable to match factory parameters
- updated useShipping composable to match factory parameters and handle the shipping methods correctly
- updated useShippingProvider composable to match factory parameters and handle the shipping methods correctly
- updated useUrlResolver composable to match factory parameters and handle the URL Regex correctly
- updated useUser composable to match factory parameters and fixed the logout and cart management
- updated useBilling composable to match factory parameters and handle the billing address API calls correctly
- updated useUserOrder composable to match factory parameters
- updated useUserShipping composable to match factory parameters and handle the shipping methods correctly
- updated useWhishlist composable to match factory parameters
- updated useMakeOrder composable to match factory parameters
- updated useConfig composable to match factory parameters
- updated useContent composable to match factory parameters
- updated useFacet to fetch only the correct categories
- updated internal typings
theme
- updated Category.vue page to handle better category search and matching
- updated middleware.config.js file to match external checkout process
- updated .env.example file to match external checkout process
🏡 Chore
composables
- updated packages
- removed useCheckout composable
- removed core factories that were created for no reason
repository
- fixed eslint rules and packages for better repository management
💖 Thanks to
1.0.0-beta.9
🐛 Bug Fixes
api-client
- Removed non-default fields on GraphQL queries
general
- Some issues related to release CICD process
- Composeable and theme imports of new methods
theme
- Removed unused nuxt route
1.0.0-beta.8
Merge release/1.0.0-beta.8 into master
1.0.0-beta.7
chore: release version 1.0.0-beta.7
1.0.0-beta.6
Merge release/1.0.0-beta.6 into master