diff --git a/CHANGELOG.md b/CHANGELOG.md index 8b98c8329d..dfbc4c3934 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.9.1] - 2019.05.27 + +### Fixed +- Remove security vulnerabilities by updating project dependencies - @patzick (#2942) +- Fix Configurable Products not accessible in CSR when children visibility is set to "not visible individually" - @revlis-x (#2933) +- ProductTile placeholders are visible on SSR - @patzick (#2939) + ## [1.9.0] - 2019.05.06 ### Added @@ -45,7 +52,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Offline orders with out of stock products don't stack anymore and get canceled after going back to online - @lukeromanowicz (#2740) - Build ServiceWorker on Docker - @patzick (#2793) - Product image load after comming back to online - @patzick (#2573) -- Insufficent validation for city field in checkout address - @lromanowicz (#2653) +- Insufficent validation for city field in checkout address - @lromanowicz (#2653) - Incorrect hover activity on the 'filter by categories' in the search view on mobile - @idodidodi (#2783) - Unit tests written in JavaScript now support async/await functions and dynamic import - @michaelKurowski, @lukeromanowicz (#2851) diff --git a/core/modules/catalog/store/product/actions.ts b/core/modules/catalog/store/product/actions.ts index 1809a99c0d..e4b6d7d2e6 100644 --- a/core/modules/catalog/store/product/actions.ts +++ b/core/modules/catalog/store/product/actions.ts @@ -208,7 +208,7 @@ const actions: ActionTree = { }, /** * Load required configurable attributes - * @param context + * @param context * @param product */ loadConfigurableAttributes(context, { product }) { @@ -306,7 +306,7 @@ const actions: ActionTree = { } if (configuration) { let selectedVariant = configureProductAsync(context, { product: product, configuration: configuration, selectDefaultVariant: false }) - Object.assign(product, selectedVariant) + Object.assign(product, omit(selectedVariant, ['visibility'])) } if (product.url_path) { rootStore.dispatch('url/registerMapping', { diff --git a/core/package.json b/core/package.json index 32c5177c85..1bc3f17904 100644 --- a/core/package.json +++ b/core/package.json @@ -66,7 +66,7 @@ "jsonfile": "^4.0.0", "memory-fs": "^0.4.1", "mkdirp": "^0.5.1", - "node-sass": "^4.9.3", + "node-sass": "^4.12.0", "phantomjs-prebuilt": "^2.1.10", "postcss-flexbugs-fixes": "^3.3.1", "postcss-loader": "^2.1.5", diff --git a/docs/guide/basics/recipes.md b/docs/guide/basics/recipes.md index 0bbcd1a676..98577dbfd6 100644 --- a/docs/guide/basics/recipes.md +++ b/docs/guide/basics/recipes.md @@ -54,6 +54,12 @@ In a case of See the discussion in [#137](https://github.com/DivanteLtd/vue-storefront/issues/137). Please also check the [Database tool](https://github.com/DivanteLtd/vue-storefront/blob/master/doc/Database%20tool.md) +## HTTP 400 / CORS errors when trying to retrieve detailed product information from API + +If all the other requests work without any issues then it's highly possible that your products have too many attributes. All of them are included in ElasticSearch query sent via GET request which might become too long. Try to limit amount of attributes that are indexed and later used for this product view. + +This answer is valid until [this issue is resolved](https://github.com/DivanteLtd/vue-storefront/issues/2167). + ## What's the recommended way to use git on custom development One of the options is to do kind of a fork, or just get the whole repo to your git service. Then, if you want to do some VS updates, you probably need to just pull the changes from our origins. Another option will be available as soon as we manage to separate the core as an npm module. diff --git a/docs/package.json b/docs/package.json index 86b89710ce..6e8498753b 100644 --- a/docs/package.json +++ b/docs/package.json @@ -7,6 +7,6 @@ "docs:build": "vuepress build" }, "dependencies": { - "vuepress": "^0.14.2" + "vuepress": "^0.14.11" } } diff --git a/lerna.json b/lerna.json index 70c21abe90..f501cde8b2 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "lerna": "2.9.0", + "lerna": "3.14.1", "version": "1.9.1", "npmClient": "yarn", "useWorkspaces": true, diff --git a/package.json b/package.json index 123115ce89..3890d5d01e 100755 --- a/package.json +++ b/package.json @@ -122,21 +122,21 @@ "html-webpack-plugin": "^3.2.0", "inquirer": "^3.3.0", "is-windows": "^1.0.1", - "jest": "^24.1.0", + "jest": "^24.8.0", "jest-serializer-vue": "^2.0.2", "jsonfile": "^4.0.0", - "lerna": "^3.13.1", + "lerna": "^3.14.1", "mkdirp": "^0.5.1", - "node-sass": "^4.9.3", + "node-sass": "^4.12.0", "phantomjs-prebuilt": "^2.1.10", - "postcss-flexbugs-fixes": "^3.3.1", - "postcss-loader": "^2.1.5", + "postcss-flexbugs-fixes": "^4.1.0", + "postcss-loader": "^3.0.0", "print-message": "^2.1.0", "rimraf": "^2.6.0", "sass-loader": "^7.1.0", "shelljs": "^0.8.1", "sw-precache-webpack-plugin": "^0.11.5", - "ts-jest": "^24.0.0", + "ts-jest": "^24.0.2", "ts-loader": "^5.3.0", "typescript": "^3.1.6", "url-loader": "^1.1.2", @@ -147,7 +147,7 @@ "vue-ssr-webpack-plugin": "^3.0.0", "vue-template-compiler": "^2.6.6", "webpack": "^4.25.1", - "webpack-bundle-analyzer": "^3.0.3", + "webpack-bundle-analyzer": "^3.3.2", "webpack-cli": "^3.1.2", "webpack-dev-middleware": "^3.4.0", "webpack-hot-middleware": "^2.24.3", diff --git a/src/themes/default/components/core/ProductTile.vue b/src/themes/default/components/core/ProductTile.vue index 0715f2087c..b51928867e 100644 --- a/src/themes/default/components/core/ProductTile.vue +++ b/src/themes/default/components/core/ProductTile.vue @@ -53,13 +53,12 @@