You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/guide/upgrade-notes/README.md
+40-38Lines changed: 40 additions & 38 deletions
Original file line number
Diff line number
Diff line change
@@ -21,47 +21,49 @@ The `amp-renderer` module has been disabled by default to save the bundle size;
21
21
Cart optimization was earlier disabled automatically if entity optimization was disabled. Now they can be used independently from each other. If you don't want to use cart optimization, make sure that the `entities.optimizeShoppingCart` configuration entry is disabled explicitly.
22
22
23
23
**deprecated actions and helpers**
24
+
24
25
Product module has been refactored, here is list of actions that are not used anymore and you can remove them to reduce bundle.
25
-
deprecated actions:
26
-
product/reset
27
-
product/setupBreadcrumbs
28
-
product/syncPlatformPricesOver
29
-
product/setupAssociated
30
-
product/loadConfigurableAttributes
31
-
product/setupVariants
32
-
product/filterUnavailableVariants
33
-
product/list
34
-
product/preConfigureAssociated
35
-
product/preConfigureProduct
36
-
product/configureLoadedProducts
37
-
product/configureBundleAsync
38
-
product/configureGroupedAsync
39
-
product/configure
40
-
product/setCurrentOption
41
-
product/setCurrentErrors
42
-
product/setOriginal
43
-
product/loadProductAttributes
44
-
category/list (new action is category-next/fetchMenuCategories)
45
-
46
-
deprecated helpers:
47
-
configureProductAsync
48
-
populateProductConfigurationAsync
49
-
setConfigurableProductOptionsAsync
26
+
27
+
- deprecated actions:
28
+
- product/reset
29
+
- product/setupBreadcrumbs
30
+
- product/syncPlatformPricesOver
31
+
- product/setupAssociated
32
+
- product/loadConfigurableAttributes
33
+
- product/setupVariants
34
+
- product/filterUnavailableVariants
35
+
- product/list
36
+
- product/preConfigureAssociated
37
+
- product/preConfigureProduct
38
+
- product/configureLoadedProducts
39
+
- product/configureBundleAsync
40
+
- product/configureGroupedAsync
41
+
- product/configure
42
+
- product/setCurrentOption
43
+
- product/setCurrentErrors
44
+
- product/setOriginal
45
+
- product/loadProductAttributes
46
+
- category/list (new action is category-next/fetchMenuCategories)
47
+
48
+
- deprecated helpers:
49
+
- configureProductAsync
50
+
- populateProductConfigurationAsync
51
+
- setConfigurableProductOptionsAsync
50
52
51
53
Here is list of actions that are used from 1.12 in product module:
52
-
product/doPlatformPricesSync
53
-
product/single
54
-
product/checkConfigurableParent
55
-
product/findProducts
56
-
product/findConfigurableParent
57
-
product/setCustomOptions
58
-
product/setBundleOptions
59
-
product/setCurrent
60
-
product/loadProduct
61
-
product/addCustomOptionValidator
62
-
product/setProductGallery
63
-
product/loadProductBreadcrumbs
64
-
product/getProductVariant
54
+
-product/doPlatformPricesSync
55
+
-product/single
56
+
-product/checkConfigurableParent
57
+
-product/findProducts
58
+
-product/findConfigurableParent
59
+
-product/setCustomOptions
60
+
-product/setBundleOptions
61
+
-product/setCurrent
62
+
-product/loadProduct
63
+
-product/addCustomOptionValidator
64
+
-product/setProductGallery
65
+
-product/loadProductBreadcrumbs
66
+
-product/getProductVariant
65
67
66
68
All of those actions and helpers that are deprecated, can be removed so you will have smaller bundle.
0 commit comments