Skip to content
This repository was archived by the owner on Jan 26, 2024. It is now read-only.

Commit a57edb8

Browse files
authored
Merge pull request #6022 from vuestorefront/hotfix/v1.12.3
Proper release 1.12.3 branch
2 parents 2e78f37 + 05e506e commit a57edb8

File tree

96 files changed

+979
-3164
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

96 files changed

+979
-3164
lines changed

.eslintrc.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,9 @@ module.exports = {
2929
'@typescript-eslint/class-name-casing': 1,
3030
'@typescript-eslint/no-unused-vars': 0,
3131
'@typescript-eslint/explicit-function-return-type': 0,
32-
'@typescript-eslint/no-var-requires': 0,
3332
'handle-callback-err': 1,
3433
'prefer-promise-reject-errors': 0,
35-
'import/no-duplicates': ['warning'],
34+
'import/no-duplicates': 1,
3635
'vue/return-in-computed-property': 1,
3736
'vue/no-use-v-if-with-v-for': 0,
3837
'vue/no-unused-components': 1,

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,13 @@ closes #
2020

2121
<!-- Please get familiar with following contribution tules https://github.com/DivanteLtd/vue-storefront/blob/master/CONTRIBUTING.md -->
2222

23+
### Upgrade Notes and Changelog
24+
- [x] No upgrade steps required (100% backward compatibility and no breaking changes)
25+
- [ ] I've updated the [Upgrade notes](https://github.com/vuestorefront/vue-storefront/blob/develop/docs/guide/upgrade-notes/README.md) and [Changelog](https://github.com/vuestorefront/vue-storefront/blob/develop/CHANGELOG.md) on how to port existing Vue Storefront sites with this new feature
26+
27+
28+
### Contribution and Currently Important Rules Acceptance
29+
<!-- Please get familiar with following info -->
30+
31+
- [ ] I read and followed [contribution rules](https://github.com/vuestorefront/vue-storefront/blob/master/CONTRIBUTING.md)
2332

.github/PULL_REQUEST_TEMPLATE/PULL_REQUEST_TEMPLATE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Check your case. In case of any doubts please read about [Release Cycle](https:/
3232

3333
- [ ] No upgrade steps required (100% backward compatibility and no breaking changes)
3434
- [ ] I've updated the Upgrade notes and Changelog
35-
<!-- For VSF 1 ttps://github.com/DivanteLtd/vue-storefront/blob/develop/docs/guide/upgrade-notes/README.md) and https://github.com/DivanteLtd/vue-storefront/blob/develop/CHANGELOG.md) -->
35+
<!-- For VSF 1 ttps://github.com/vuestorefront/vue-storefront/blob/develop/docs/guide/upgrade-notes/README.md) and https://github.com/vuestorefront/vue-storefront/blob/develop/CHANGELOG.md) -->
3636
- [ ] I updated the documentation
3737
- [ ] My code is covered with unit tests
3838

@@ -41,4 +41,4 @@ Check your case. In case of any doubts please read about [Release Cycle](https:/
4141
### Contribution and currently important rules acceptance
4242
<!-- Please get familiar with following info -->
4343

44-
- [ ] I read and followed [contribution rules](https://github.com/DivanteLtd/vue-storefront/blob/master/CONTRIBUTING.md)
44+
- [ ] I read and followed [contribution rules](https://github.com/vuestorefront/vue-storefront/blob/master/CONTRIBUTING.md)

.github/PULL_REQUEST_TEMPLATE/feature-improvement.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ This is a feature or improvement PR for current test version. In case of any dou
2929
### Upgrade Notes and Changelog
3030

3131
- [x] No upgrade steps required (100% backward compatibility and no breaking changes)
32-
- [ ] I've updated the [Upgrade notes](https://github.com/DivanteLtd/vue-storefront/blob/develop/docs/guide/upgrade-notes/README.md) and [Changelog](https://github.com/DivanteLtd/vue-storefront/blob/develop/CHANGELOG.md) on how to port existing VS sites with this new feature
32+
- [ ] I've updated the [Upgrade notes](https://github.com/vuestorefront/vue-storefront/blob/develop/docs/guide/upgrade-notes/README.md) and [Changelog](https://github.com/vuestorefront/vue-storefront/blob/develop/CHANGELOG.md) on how to port existing VS sites with this new feature
3333

3434
**IMPORTANT NOTICE** - PR needs to have all checks to be merged in (except braking changes check).

.github/PULL_REQUEST_TEMPLATE/hotfix.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ This is hotfix PR, it means that it contain fix for current stable version. In c
3030
### Upgrade Notes and Changelog
3131

3232
- [x] No upgrade steps required (100% backward compatibility and no breaking changes)
33-
- [ ] I've updated the [Upgrade notes](https://github.com/DivanteLtd/vue-storefront/blob/develop/docs/guide/upgrade-notes/README.md) and [Changelog](https://github.com/DivanteLtd/vue-storefront/blob/develop/CHANGELOG.md) on how to port existing VS sites with this new feature
33+
- [ ] I've updated the [Upgrade notes](https://github.com/vuestorefront/vue-storefront/blob/develop/docs/guide/upgrade-notes/README.md) and [Changelog](https://github.com/vuestorefront/vue-storefront/blob/develop/CHANGELOG.md) on how to port existing VS sites with this new feature
3434

3535
**IMPORTANT NOTICE** - PR needs to have all checks to be merged in.

.github/PULL_REQUEST_TEMPLATE/stabilisation-fix.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ This is Release Candidate stabilisation PR, it means that it contain fix for cur
3030
### Upgrade Notes and Changelog
3131

3232
- [x] No upgrade steps required (100% backward compatibility and no breaking changes)
33-
- [ ] I've updated the [Upgrade notes](https://github.com/DivanteLtd/vue-storefront/blob/develop/docs/guide/upgrade-notes/README.md) and [Changelog](https://github.com/DivanteLtd/vue-storefront/blob/develop/CHANGELOG.md) on how to port existing VS sites with this new feature
33+
- [ ] I've updated the [Upgrade notes](https://github.com/vuestorefront/vue-storefront/blob/develop/docs/guide/upgrade-notes/README.md) and [Changelog](https://github.com/vuestorefront/vue-storefront/blob/develop/CHANGELOG.md) on how to port existing VS sites with this new feature
3434

3535
**IMPORTANT NOTICE** - PR needs to have all checks to be merged in.

.github/workflows/test_vsf1.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@ jobs:
2727
with:
2828
node-version: '10'
2929

30+
- name: Clone default theme
31+
run: git clone --quiet --single-branch --branch master https://github.com/vuestorefront/vsf-default.git ./src/themes/default
32+
3033
- name: Get cached dependencies
3134
uses: actions/cache@v2
3235
with:
3336
path: '**/node_modules'
3437
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
3538

36-
- name: Clone default theme
37-
run: git clone --quiet --single-branch --branch master https://github.com/DivanteLtd/vsf-default.git ./src/themes/default
38-
3939
- name: Install dependencies
4040
run: yarn --frozen-lockfile
4141

@@ -96,14 +96,14 @@ jobs:
9696
with:
9797
node-version: '10'
9898

99+
- name: Clone default theme
100+
run: git clone --quiet --single-branch --branch master https://github.com/vuestorefront/vsf-default.git ./src/themes/default
101+
99102
- name: Get cached dependencies
100103
uses: actions/cache@v2
101104
with:
102105
path: '**/node_modules'
103106
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
104107

105-
- name: Clone default theme
106-
run: git clone --quiet --single-branch --branch master https://github.com/DivanteLtd/vsf-default.git ./src/themes/default
107-
108108
- name: Run build
109109
run: yarn build

CHANGELOG.md

Lines changed: 61 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,63 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1414
### Fixed
1515
- Fixed some typo in docs (#5071)
1616

17+
## [1.12.3] - 2020.??.??
18+
19+
### Added
20+
21+
- Added states.json in core/i18n/resource (#4531)
22+
- Added phone validation helper (#4980)
23+
- Configurable enabling min & max price aggregations
24+
- Storing totals in localStorage to sync it between tabs ([#4733](https://github.com/vuestorefront/vue-storefront/issues/4733))
25+
- Support for trailing slashes in the route paths - @tdugue @gibkigonzo @Fifciu ([#5372](https://github.com/vuestorefront/vue-storefront/pull/5372))
26+
27+
### Fixed
28+
29+
- Remove redundant user token invalidation code - TerrorSquad (#4533)
30+
- configurableChildrenImages helper function incorrect loading images - @RakowskiPrzem (#4575)
31+
- Fix user/register call by adding storeId - @haelbichalex (#4697)
32+
- refresh categoryMappedFilters after loading attributes in PLP - @gibkigonzo (#4695)
33+
- Check module registration for wishlist and compare list - gibkigonzo (#4764)
34+
- Fix gallery image generation by checking if image exists - simonmaass (#4908)
35+
- Fix getSelectedOption based on attribute_code check - simonmaass (#4851)
36+
- add new resetUserInvalidation action to clear invalidation state before login,
37+
clear order history and refresh token after logout,
38+
add redirection when user is logged out and sees myaccount page - gibkigonzo (#4882)
39+
- Fix `config.products.filterUnavailableVariants` feature - Ogek (#4923)
40+
- added 'afterUserProfileUpdated' hook which allows us to take control over update address flow (send notification if something failed)
41+
move pick allowed modification just before sending data to task managment
42+
add 'beforeUserProfileUpdate' which allows to modify user object before update - gibkigonzo (#4427)
43+
- replace lodash with lodash-es for client files - gibkigonzo (#5019)
44+
- add default personal detail loading on shipment step in checkout when user is logged - (#5040)
45+
- Got rid of inifnity redirect or page-not-found on refresh category/product view
46+
- Got rid of memory leak related to dynamic config - tomasz-duda (#4768)
47+
- servercart-after-diff event payload - Fifciu (#5365)
48+
- Fix Original Price Calculation typo - @akucharczyk / @lukaszjedrasik (#5472)
49+
- Purge loader works properly with dynamic config reload - @Fifciu
50+
- Multi-tab cart-sync in multi-store environment - @cewald (#5711, #5732)
51+
- Incorrect load of default address in checkout - @lukaszjedrasik ([#4682](https://github.com/vuestorefront/vue-storefront/issues/4682))
52+
- Error with unknown theme/index.js alias - @Fifciuu (https://github.com/vuestorefront/vue-storefront/pull/5813)
53+
- ESLint warnings caused by the double import - @lukaszjedrasik
54+
- Fix Order History Pagination - @AishwaryShrivastav / @lukaszjedrasik ([#4599](https://github.com/vuestorefront/vue-storefront/issues/4599))
55+
- Fix: Updating URL's params/query params with proper child SKU if options changes - @lukaszjedrasik ([#5981](https://github.com/vuestorefront/vue-storefront/issues/5981))
56+
- Fix: Passing `newToken: null` as a payload inside `clearCurrentUser` action - @lukaszjedrasik ([#5565](https://github.com/vuestorefront/vue-storefront/issues/5565))
57+
58+
### Changed / Improved
59+
60+
- Moved hardcoded fields from omitSelectedVariantFields.ts to config (#4679)
61+
- Bump dependencies versions (#4715, #4696, #4951)
62+
- Using dayjs for dates in taxCalc.ts to make it work properly in Safari (#5364)
63+
- Awaiting addItem action call inside mergeServerItem action (#5165)
64+
- Moved `phoneNum` to proper branch - @lukaszjedrasik ([#5730](https://github.com/vuestorefront/vue-storefront/issues/5730))
65+
- Development hot-reload speed webpack config - ([#5559](https://github.com/vuestorefront/vue-storefront/issues/5559))
66+
- Set correct type for `productPageVisited` hook - @lukaszjedrasik ([#5997](https://github.com/vuestorefront/vue-storefront/issues/5997))
67+
1768
## [1.12.2] - 2020.07.28
1869

1970
### Added
2071

2172
- **IMPORTANT** for security reasons we added new config `users.allowModification`.
22-
This can help to dissallow modifying fields that shouldn't be changed by user.
73+
This can help to dissallow modifying fields that should not be changed by user.
2374
- Add helmet - enabled by default, you can pass configuration by adding `config.server.helmet.config`.
2475
More info about helmet configuration https://helmetjs.github.io/docs/
2576
- Add config `users.tokenInHeader` which allows to send token in header instead in query. Require to set on true same config in vsf-api.
@@ -66,7 +117,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66117
- Add unified fetch in mappingFallback for all searched entities - @gibkigonzo (#3942)
67118
- add npm-run-all for parallel build - @gibkigonzo (#3819)
68119
- Add OutputCaching support for x-vs-store-code - @benjick (#3979)
69-
- The new search adapter `api-search-query` has been added. When you switch to it, by setting the `config.server.api = "api-search-query"` the ElasticSearch query is being built in the [`vue-storefront-api`](https://github.com/DivanteLtd/vue-storefront-api/pull/390) which saves around 400kB in the bundle size as `bodybuilder` is no longer needed in the frontend - @pkarw - #2167
120+
- The new search adapter `api-search-query` has been added. When you switch to it, by setting the `config.server.api = "api-search-query"` the ElasticSearch query is being built in the [`vue-storefront-api`](https://github.com/vuestorefront/vue-storefront-api/pull/390) which saves around 400kB in the bundle size as `bodybuilder` is no longer needed in the frontend - @pkarw - #2167
70121
- This new `api-search-query` adapter supports the `response_format` query parameter which now is sent to the `/api/catalog` endpoint. Currently there is just one additional format supported: `response_format=compact`. When used, the response format got optimized by: a) remapping the results, removing the `_source` from the `hits.hits`; b) compressing the JSON fields names according to the `config.products.fieldsToCompact`; c) removing the JSON fields from the `product.configurable_children` when their values === parent product values; overall response size reduced over -70% - @pkarw
71122
- The `amp-renderer` module has been disabled by default to save the bundle size; If you'd like to enable it uncomment the module from the `src/modules` and uncomment the `product-amp` and `category-amp` links that are added to the `<head>` section in the `src/themes/default/Product.vue` and `src/themes/default/Category.vue`
72123
- Reset Password confirmation page - @Fifciu (#2576)
@@ -127,7 +178,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
127178
- Move 'graphql' search adapter from core to src (deprecated) - @gibkigonzo (#4214)
128179
- Homepage, new products query, uses now `new` attribute - @mdanilwoicz
129180
- Refactor product module, more info in upgrade notes- @gibkigonzo (#3952, #4459)
130-
- Move default theme to separate repository https://github.com/DivanteLtd/vsf-default - @gibkigonzo (#4255)
181+
- Move default theme to separate repository https://github.com/vuestorefront/vsf-default - @gibkigonzo (#4255)
131182
- add two numbers after dot to price by default, calculate default price for bundle or grouped main product, update typing, add fallback to attribute options - @gibkigonzo (#4476)
132183
- udpate yarn and filter shipping methods for instant checkout - @gibkigonzo (#4480)
133184
- add attribute metadata search query, add parentId - @gibkigonzo (#4491)
@@ -905,7 +956,7 @@ This is hot-fix release for fixing the payment methods switching issue when both
905956

906957
## [1.8.0] - 2019-02-07
907958

908-
Additional migration tips are available [here](https://github.com/DivanteLtd/vue-storefront/blob/master/docs/guide/upgrade-notes/README.md).
959+
Additional migration tips are available [here](https://github.com/vuestorefront/vue-storefront/blob/master/docs/guide/upgrade-notes/README.md).
909960

910961
### Added
911962

@@ -1085,7 +1136,7 @@ Additional migration tips are available [here](https://github.com/DivanteLtd/vue
10851136

10861137
### Changed
10871138

1088-
- There is new config option `config.orders.directBackendSync` that changes the behavior of placing an order. Please do read [more on this change](https://github.com/DivanteLtd/vue-storefront/commit/e73f2ca19a5d33a39f8b0fd6346543eced24167e) and [more on vue-storefront-api change](https://github.com/DivanteLtd/vue-storefront-api/commit/80c497f72362c72983db4fdcac14c8ba6f8729a8)
1139+
- There is new config option `config.orders.directBackendSync` that changes the behavior of placing an order. Please do read [more on this change](https://github.com/vuestorefront/vue-storefront/commit/e73f2ca19a5d33a39f8b0fd6346543eced24167e) and [more on vue-storefront-api change](https://github.com/vuestorefront/vue-storefront-api/commit/80c497f72362c72983db4fdcac14c8ba6f8729a8)
10891140
- ProductSlider, ProductLinks, ProductListing moved to theme.
10901141
- Many theme-related logic moved to theme (+ deleted empty core components just with `name`)
10911142
- Components required for backward compatibility moved to `compatibility` folder. For all this files you just need to add `compatibility` after `core` in import path to make them work like before.
@@ -1110,7 +1161,7 @@ Additional migration tips are available [here](https://github.com/DivanteLtd/vue
11101161

11111162
### Changed
11121163

1113-
- New Modules API, and base modules (cart, wishlist, newsletter ...) refactored [read more...](https://github.com/DivanteLtd/vue-storefront/blob/master/doc/api-modules/about-modules.md) - Filip Rakowski @filrak
1164+
- New Modules API, and base modules (cart, wishlist, newsletter ...) refactored [read more...](https://github.com/vuestorefront/vue-storefront/blob/master/doc/api-modules/about-modules.md) - Filip Rakowski @filrak
11141165

11151166
### Fixed
11161167

@@ -1137,7 +1188,7 @@ Additional migration tips are available [here](https://github.com/DivanteLtd/vue
11371188

11381189
### Changed
11391190

1140-
- Please check the [Upgrade notes](https://github.com/DivanteLtd/vue-storefront/blob/develop/doc/Upgrade%20notes.md) for the full list
1191+
- Please check the [Upgrade notes](https://github.com/vuestorefront/vue-storefront/blob/develop/doc/Upgrade%20notes.md) for the full list
11411192

11421193
### Fixed
11431194

@@ -1155,8 +1206,8 @@ Additional migration tips are available [here](https://github.com/DivanteLtd/vue
11551206

11561207
### Added
11571208

1158-
- TypeScript support - please check [TypeScript Action Plan](https://github.com/DivanteLtd/vue-storefront/blob/master/docs/guide/basics/typescript.md) for details
1159-
- New `core/modules` added regarding the [Refactor to modules plan](https://github.com/DivanteLtd/vue-storefront/blob/master/doc/api-modules/refactoring-to-modules.md)
1209+
- TypeScript support - please check [TypeScript Action Plan](https://github.com/vuestorefront/vue-storefront/blob/master/docs/guide/basics/typescript.md) for details
1210+
- New `core/modules` added regarding the [Refactor to modules plan](https://github.com/vuestorefront/vue-storefront/blob/master/doc/api-modules/refactoring-to-modules.md)
11601211
- Price tier's support #1625
11611212
- Qty field on product page #1617
11621213
- Offline orders confirmation dialog has been added #1430
@@ -1207,7 +1258,7 @@ Additional migration tips are available [here](https://github.com/DivanteLtd/vue
12071258

12081259
## [1.1.0] - 2018-07-02
12091260

1210-
Please keep an eye on the **[UPGRADE NOTES](https://github.com/DivanteLtd/vue-storefront/blob/master/doc/Upgrade%20notes.md)**
1261+
Please keep an eye on the **[UPGRADE NOTES](https://github.com/vuestorefront/vue-storefront/blob/master/doc/Upgrade%20notes.md)**
12111262

12121263
### Fixed
12131264

0 commit comments

Comments
 (0)