Skip to content

1.0.0-rc.4

Pre-release
Pre-release
Compare
Choose a tag to compare
@bloodf bloodf released this 05 Oct 01:44
· 1387 commits to main since this release
03126d1

🚀 Features

api-client

  • added customQuery method
  • added customMutation method

composeables

  • created factory for useForgotPassword
  • created the useUpsellProducts composable
  • created the useRelatedProducts composable
  • Do not create empty cart on Magento2 side if no actions are done with basket. Now no createEmptyCart mutation is executed if customer just browse the shop and does not interact with basket.
  • added useCustomMutation composable
  • added useCustomQuery composable

theme

  • added page for user resetting password
  • add new environment variables and configuration
  • added wishlist control on the bottom menu
  • created CategorySidebarMenu.vue component
  • created the RelatedProducts.vue component
  • created the UpsellProducts.vue component
  • created useRoute composable

docs

  • added useCustomMutation documentation
  • added useCustomQuery documentation

💅 Refactors

api-client

  • [BREAKING CHANGE] removed fragments and applied simple queries to APIs

This decision was made due to Magento 2 GraphQL having a problem with fragment, and was not able to fully support it.

  • [BREAKING CHANGE] applied queries and mutations with more complexity values

Don't forget to change the Magento GraphQL Query Complexity and Depth values Magento 2 by default has a lower value for the complexity of 300, and a higher value for the depth of 20. Magento 2 - Issue #32427 The changes are required, due to the size of the queries and mutations in the api-client implementation. To do these changes, you can use the Magento 2 module, which adds a configuration panel to your admin or do these changes manually. For more information on how to install the module, check our documentation.

composeables

  • fixed user not being able to update newsletter configuration (fixes #159)
  • applied rules for useForgotPasswordGetters
  • moved getters to the root src folder
  • removed multiples queries from useProduct composable
  • fixed files imports and exports from getters, types, and helpers
  • added missing Loggers
  • extracted helpers and generators from composable to external files
  • Simplify and clean up basket load process for useCart composable
  • Try to reload basket if it's expired on Magento2 side and actions for it are called (increase/decrease quantity, remove item, etc), clean basket if reload not possible
  • fixed shippingProvider loading cart information
  • fixed defining cart id for logged customer

theme

  • added Ui notification on user updating information (closes #161 #160)
  • fixed wishlist icon appearing in the search result (#173)
  • fixed not showing loader in the product page
  • removed the GroupedProduct to a separated component
  • fixed the GroupedProduct not displaying the correct price (#174)
  • fixed missing composable state
  • removed lang=ts from files
  • fixed PostCSS calc template-magento #12
  • reload details if UserAddressDetails is removed

docs

  • added base documentation for missing composables
  • added demo link

🏡 Chore

repository

  • fixed gitflow action

updated dependencies and devDependencies

eslint

  • updated eslint-plugin-unicorn to 36.0.0

eslint-jest

  • updated eslint-plugin-jest to 24.5.0

eslint-import

  • updated eslint-import-resolver-typescript to 2.5.0
  • updated eslint-plugin-import to 2.24.2

eslint-typescript

  • updated @typescript-eslint/eslint-plugin to 4.32.0
  • updated @typescript-eslint/parser to 4.32.0

eslint-vue

  • updated eslint-plugin-vue to 7.18.0

api-client

  • updated @apollo/client to 3.4.15
  • updated @rollup/plugin-commonjs to 21.0.0
  • updated @vue-storefront/core to 2.4.2
  • updated graphql to 15.6.0
  • updated graphql-tools to 8.2.0
  • updated typescript to 4.4.3

composables

  • updated @types/js-cookie to 3.0.0
  • updated @vue-storefront/core to 2.4.2
  • updated jsdom to 17.0.0
  • updated jsdom-global to 3.0.2
  • updated vue-template-compiler to 2.6.x

theme

  • updated @storefront-ui/vue to 0.11.0
  • updated @vue-storefront/core to 2.4.2
  • updated @vue-storefront/middleware to 2.4.2
  • updated @vue-storefront/nuxt to 2.4.2
  • updated @vue-storefront/nuxt-theme to 2.4.2
  • updated babel-jest to 27.2.4
  • updated core-js to 3.18.1
  • updated cypress to 8.5.0
  • updated cypress-tags to 0.3.0
  • updated jest to 27.2.4
  • updated jest-localstorage-mock to 2.4.18
  • updated jest-watch-typeahead to 1.0.0
  • updated mochawesome to 6.3.0
  • updated npm-check-updates to 11.8.5
  • updated pm2 to 5.1.2
  • updated typescript to 4.4.3
  • updated vee-validate to 3.4.13

repository

  • updated @babel/core to 7.15.5
  • updated @commitlint/cli to 13.2.0
  • updated @commitlint/config-conventional to 13.2.0
  • updated @commitlint/config-lerna-scopes to 13.2.0
  • updated @graphql-codegen/cli to 2.2.0
  • updated @graphql-codegen/typescript to 2.2.2
  • updated @graphql-codegen/typescript-operations to 2.1.5
  • updated @rollup/plugin-node-resolve to 13.0.5
  • updated @types/node to 16.10.2
  • updated @typescript-eslint/parser to 4.31.2
  • updated husky to 7.0.2
  • updated jest to 27.2.4
  • updated jest-localstorage-mock to 2.4.18
  • updated npm-check-updates to 11.8.5
  • updated rollup to 2.58.0
  • updated vue-eslint-parser to 7.11.0

Added new environment variables

NUXT_APP_ENV=development
NUXT_APP_PORT=3000

And configuration to the .json files

  "nuxtAppEnvironment": "production",
  "nuxtAppPort": 3000