Skip to content

1.0.0-beta.14

Pre-release
Pre-release
Compare
Choose a tag to compare
@bloodf bloodf released this 07 Jun 20:04
241496e

๐Ÿš€ 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