@akinon/next 1.79.0-rc.3 → 1.79.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5 -779
- package/components/button.tsx +36 -51
- package/components/input.tsx +0 -2
- package/components/link.tsx +12 -16
- package/data/client/checkout.ts +1 -7
- package/hocs/server/with-segment-defaults.tsx +2 -5
- package/instrumentation/index.ts +0 -7
- package/lib/cache.ts +0 -2
- package/middlewares/complete-gpay.ts +1 -2
- package/middlewares/complete-masterpass.ts +1 -2
- package/middlewares/default.ts +1 -3
- package/middlewares/redirection-payment.ts +1 -2
- package/middlewares/saved-card-redirection.ts +1 -2
- package/middlewares/three-d-redirection.ts +1 -2
- package/package.json +3 -3
- package/types/commerce/account.ts +1 -5
- package/types/commerce/order.ts +0 -1
- package/types/index.ts +1 -4
- package/utils/app-fetch.ts +2 -2
- package/with-pz-config.js +3 -3
- package/data/server/basket.ts +0 -72
package/CHANGELOG.md
CHANGED
|
@@ -1,72 +1,10 @@
|
|
|
1
1
|
# @akinon/next
|
|
2
2
|
|
|
3
|
-
## 1.79.0
|
|
4
|
-
|
|
5
|
-
### Minor Changes
|
|
6
|
-
|
|
7
|
-
-
|
|
8
|
-
- 2d9b2b2c: ZERO-2816: Add segment to headers
|
|
9
|
-
- fd4b74e9: ZERO-3126: add reset checkout state query
|
|
10
|
-
- f49bb74f: ZERO-3097: Add setCookie to logging in payment redirection middlewares
|
|
11
|
-
- e9541a13: ZERO-2816: Add headers to url
|
|
12
|
-
- 4d3deb4f: ZERO-2935: sentry 8 upgrade
|
|
13
|
-
- 72fd4d67: ZERO-3084: Fix URL search parameters encoding in default middleware
|
|
14
|
-
- c53ef7b9: ZERO-2668: The Link component has been updated to improve the logic for handling href values. Previously, if the href was not a string or started with 'http', it would return the href as is. Now, if the href is not provided, it will default to '#' to prevent any potential errors. Additionally, if the href is a string and does not start with 'http', it will be formatted with the locale and pathname, based on the localeUrlStrategy and defaultLocaleValue. This ensures that the correct href is generated based on the localization settings.
|
|
15
|
-
- 64699d3f: ZERO-2761: Fix invalid import for plugin module
|
|
16
|
-
- 7727ae55: ZERO-3073: Refactor basket page to use server-side data fetching and simplify component structure
|
|
17
|
-
- 17f87524: ZERO-2816: Make the incoming currency lowercase
|
|
18
|
-
- 65d3b862: ZERO-3054: Update headers in appFetch
|
|
19
|
-
- bbe18b9f: ZERO-2575: Fix build error
|
|
20
|
-
- 4920742c: Disable getCachedTranslations
|
|
21
|
-
- 7e56d6b6: ZERO-2841: Update api tagTypes
|
|
22
|
-
- 43c182ee: ZERO-3054: Update Redis variable checks to conditionally include CACHE_SECRET
|
|
23
|
-
- 2d305aaf: ZERO-2935: Update Sentry configuration: remove hideSourceMaps option and add it to withPzConfig
|
|
24
|
-
- 4cc22c7c: ZERO-3125: replace X-Frame-Options with CSP frame-ancestors
|
|
25
|
-
- eeb20bea: Revert "ZERO-3054: Refactor cache handler to use custom Redis handler and implement key hashing"
|
|
26
|
-
- 6a0a0807: ZERO-3112: Update button
|
|
27
|
-
- f2c92d5c: ZERO-2816: Update cookie name
|
|
28
|
-
- 7bd3d992: ZERO-2801: Refactor locale middleware to handle single locale configuration
|
|
29
|
-
- fdd255ee: ZERO-3054: Refactor cache handler to use custom Redis handler and implement key hashing
|
|
30
|
-
- 59fa21ce: ZERO-3149: Add name-based mechanism for Redux middleware override
|
|
31
|
-
- 49eeebfa: ZERO-2909: Add deleteCollectionItem query to wishlistApi
|
|
32
|
-
- 3f9b8d7e: ZERO-2761: Update plugins.js for akinon-next
|
|
33
|
-
|
|
34
|
-
## 1.79.0-rc.2
|
|
35
|
-
|
|
36
|
-
## 1.79.0-rc.1
|
|
37
|
-
|
|
38
|
-
### Minor Changes
|
|
39
|
-
|
|
40
|
-
- 4cc22c7c: ZERO-3125: replace X-Frame-Options with CSP frame-ancestors
|
|
41
|
-
|
|
42
|
-
## 1.79.0-rc.0
|
|
43
|
-
|
|
44
|
-
### Minor Changes
|
|
45
|
-
|
|
46
|
-
- 5dfeea04: ZERO-2801: Revert ZERO-2801
|
|
47
|
-
- 2d9b2b2c: ZERO-2816: Add segment to headers
|
|
48
|
-
- fd4b74e9: ZERO-3126: add reset checkout state query
|
|
49
|
-
- f49bb74f: ZERO-3097: Add setCookie to logging in payment redirection middlewares
|
|
50
|
-
- e9541a13: ZERO-2816: Add headers to url
|
|
51
|
-
- 4d3deb4f: ZERO-2935: sentry 8 upgrade
|
|
52
|
-
- 72fd4d67: ZERO-3084: Fix URL search parameters encoding in default middleware
|
|
53
|
-
- c53ef7b9: ZERO-2668: The Link component has been updated to improve the logic for handling href values. Previously, if the href was not a string or started with 'http', it would return the href as is. Now, if the href is not provided, it will default to '#' to prevent any potential errors. Additionally, if the href is a string and does not start with 'http', it will be formatted with the locale and pathname, based on the localeUrlStrategy and defaultLocaleValue. This ensures that the correct href is generated based on the localization settings.
|
|
54
|
-
- 64699d3f: ZERO-2761: Fix invalid import for plugin module
|
|
55
|
-
- 7727ae55: ZERO-3073: Refactor basket page to use server-side data fetching and simplify component structure
|
|
56
|
-
- 17f87524: ZERO-2816: Make the incoming currency lowercase
|
|
57
|
-
- 65d3b862: ZERO-3054: Update headers in appFetch
|
|
58
|
-
- bbe18b9f: ZERO-2575: Fix build error
|
|
59
|
-
- 4920742c: Disable getCachedTranslations
|
|
60
|
-
- 7e56d6b6: ZERO-2841: Update api tagTypes
|
|
61
|
-
- 43c182ee: ZERO-3054: Update Redis variable checks to conditionally include CACHE_SECRET
|
|
62
|
-
- 2d305aaf: ZERO-2935: Update Sentry configuration: remove hideSourceMaps option and add it to withPzConfig
|
|
63
|
-
- eeb20bea: Revert "ZERO-3054: Refactor cache handler to use custom Redis handler and implement key hashing"
|
|
64
|
-
- 6a0a0807: ZERO-3112: Update button
|
|
65
|
-
- f2c92d5c: ZERO-2816: Update cookie name
|
|
66
|
-
- 7bd3d992: ZERO-2801: Refactor locale middleware to handle single locale configuration
|
|
67
|
-
- fdd255ee: ZERO-3054: Refactor cache handler to use custom Redis handler and implement key hashing
|
|
68
|
-
- 49eeebfa: ZERO-2909: Add deleteCollectionItem query to wishlistApi
|
|
69
|
-
- 3f9b8d7e: ZERO-2761: Update plugins.js for akinon-next
|
|
3
|
+
## 1.79.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 59fa21c: ZERO-3149: Add name-based mechanism for Redux middleware override
|
|
70
8
|
|
|
71
9
|
## 1.78.0
|
|
72
10
|
|
|
@@ -138,52 +76,6 @@
|
|
|
138
76
|
### Minor Changes
|
|
139
77
|
|
|
140
78
|
- f34454a: ZERO-2953: Add hepsipay payment method
|
|
141
|
-
- 3bfa12a: ZERO-3003:Add fetchLoyaltyData and setLoyaltyData requests to RTK
|
|
142
|
-
- 4d3deb4: ZERO-2935: sentry 8 upgrade
|
|
143
|
-
- 3010514: ZERO-3011:add shipping_option_operator and custom filter to getOrders
|
|
144
|
-
- 9a50730: ZERO-3015: Add currency parameter to getOrders query
|
|
145
|
-
- ca774b3: ZERO-3002:add register with loyalty url
|
|
146
|
-
- 56cdddc: ZERO-0000: SHOP-78125: Change unpaid_amount with total_amount_with_interest
|
|
147
|
-
- 3344bca: ZERO-3013: Enable web vitals tracking in settings.js
|
|
148
|
-
|
|
149
|
-
## 1.71.0-rc.7
|
|
150
|
-
|
|
151
|
-
## 1.71.0-rc.6
|
|
152
|
-
|
|
153
|
-
### Minor Changes
|
|
154
|
-
|
|
155
|
-
- f34454a: ZERO-2953: Add hepsipay payment method
|
|
156
|
-
|
|
157
|
-
## 1.71.0-rc.5
|
|
158
|
-
|
|
159
|
-
## 1.71.0-rc.4
|
|
160
|
-
|
|
161
|
-
## 1.71.0-rc.3
|
|
162
|
-
|
|
163
|
-
### Minor Changes
|
|
164
|
-
|
|
165
|
-
- 3344bca: ZERO-3013: Enable web vitals tracking in settings.js
|
|
166
|
-
|
|
167
|
-
## 1.71.0-rc.2
|
|
168
|
-
|
|
169
|
-
### Minor Changes
|
|
170
|
-
|
|
171
|
-
- 56cdddc: ZERO-0000: SHOP-78125: Change unpaid_amount with total_amount_with_interest
|
|
172
|
-
|
|
173
|
-
## 1.71.0-rc.1
|
|
174
|
-
|
|
175
|
-
### Minor Changes
|
|
176
|
-
|
|
177
|
-
- 9a50730: ZERO-3015: Add currency parameter to getOrders query
|
|
178
|
-
|
|
179
|
-
## 1.71.0-rc.0
|
|
180
|
-
|
|
181
|
-
### Minor Changes
|
|
182
|
-
|
|
183
|
-
- 3bfa12a: ZERO-3003:Add fetchLoyaltyData and setLoyaltyData requests to RTK
|
|
184
|
-
- 4d3deb4: ZERO-2935: sentry 8 upgrade
|
|
185
|
-
- 3010514: ZERO-3011:add shipping_option_operator and custom filter to getOrders
|
|
186
|
-
- ca774b3: ZERO-3002:add register with loyalty url
|
|
187
79
|
|
|
188
80
|
## 1.70.0
|
|
189
81
|
|
|
@@ -195,72 +87,12 @@
|
|
|
195
87
|
|
|
196
88
|
### Minor Changes
|
|
197
89
|
|
|
198
|
-
- 3bfa12a: ZERO-3003:Add fetchLoyaltyData and setLoyaltyData requests to RTK
|
|
199
|
-
- 4d3deb4: ZERO-2935: sentry 8 upgrade
|
|
200
|
-
- 3010514: ZERO-3011:add shipping_option_operator and custom filter to getOrders
|
|
201
|
-
- ca774b3: ZERO-3002:add register with loyalty url
|
|
202
|
-
- f046f8e: ZERO-2575: update version for react-number-format
|
|
203
|
-
|
|
204
|
-
## 1.69.0-rc.8
|
|
205
|
-
|
|
206
|
-
### Minor Changes
|
|
207
|
-
|
|
208
|
-
- 3010514: ZERO-3011:add shipping_option_operator and custom filter to getOrders
|
|
209
|
-
- ca774b3: ZERO-3002:add register with loyalty url
|
|
210
|
-
|
|
211
|
-
## 1.69.0-rc.7
|
|
212
|
-
|
|
213
|
-
### Minor Changes
|
|
214
|
-
|
|
215
|
-
- 3bfa12a: ZERO-3003:Add fetchLoyaltyData and setLoyaltyData requests to RTK
|
|
216
|
-
|
|
217
|
-
## 1.69.0-rc.6
|
|
218
|
-
|
|
219
|
-
### Minor Changes
|
|
220
|
-
|
|
221
|
-
- 4d3deb4: ZERO-2935: sentry 8 upgrade
|
|
222
90
|
- 063da74: ZERO-3010: Remove pz-iyzico-saved-card package
|
|
223
91
|
- 72da021: ZERO-3010: Remove unused code in pretty-url.tsx
|
|
224
92
|
- 5632a99: ZERO-3010: Remove iyzicoSavedCardReducer from reducers
|
|
225
93
|
- cbdb0c8: ZERO-3010: Move pretty url page into project
|
|
226
94
|
- 80c869b: ZERO-3010: Remove savedCardMiddleware from redux middlewares
|
|
227
95
|
|
|
228
|
-
## 1.69.0-rc.5
|
|
229
|
-
|
|
230
|
-
### Minor Changes
|
|
231
|
-
|
|
232
|
-
- 80c869b: ZERO-3010: Remove savedCardMiddleware from redux middlewares
|
|
233
|
-
|
|
234
|
-
## 1.69.0-rc.4
|
|
235
|
-
|
|
236
|
-
### Minor Changes
|
|
237
|
-
|
|
238
|
-
- 063da74: ZERO-3010: Remove pz-iyzico-saved-card package
|
|
239
|
-
|
|
240
|
-
## 1.69.0-rc.3
|
|
241
|
-
|
|
242
|
-
### Minor Changes
|
|
243
|
-
|
|
244
|
-
- cbdb0c8: ZERO-3010: Move pretty url page into project
|
|
245
|
-
|
|
246
|
-
## 1.69.0-rc.2
|
|
247
|
-
|
|
248
|
-
### Minor Changes
|
|
249
|
-
|
|
250
|
-
- 5632a99: ZERO-3010: Remove iyzicoSavedCardReducer from reducers
|
|
251
|
-
|
|
252
|
-
## 1.69.0-rc.1
|
|
253
|
-
|
|
254
|
-
### Minor Changes
|
|
255
|
-
|
|
256
|
-
- 72da021: ZERO-3010: Remove unused code in pretty-url.tsx
|
|
257
|
-
|
|
258
|
-
## 1.69.0-rc.0
|
|
259
|
-
|
|
260
|
-
### Minor Changes
|
|
261
|
-
|
|
262
|
-
- 4d3deb4: ZERO-2935: sentry 8 upgrade
|
|
263
|
-
|
|
264
96
|
## 1.68.0
|
|
265
97
|
|
|
266
98
|
### Minor Changes
|
|
@@ -370,183 +202,11 @@
|
|
|
370
202
|
|
|
371
203
|
### Minor Changes
|
|
372
204
|
|
|
373
|
-
- c416d18: ZERO-2915: Add delivery option null check for setAddress
|
|
374
|
-
- 572d2e84: ZERO-2667: Add iframe support for redirection payment methods
|
|
375
|
-
- 5dfeea0: ZERO-2801: Revert ZERO-2801
|
|
376
|
-
- a4c8d6a9: ZERO-2663: Fix the image url for gif and svgs and return them without options
|
|
377
|
-
- fda5b927: ZERO-2725: fix invalid import
|
|
378
|
-
- 2d9b2b2c: ZERO-2816: Add segment to headers
|
|
379
|
-
- c53ea3e6: ZERO-2609: Reset additional form fields when selectedFormType is not company
|
|
380
|
-
- 6c25f66: ZERO-2551: Check CACHE_HOST variable
|
|
381
|
-
- bc2b4117: ZERO-2825: Add attribute-based shipping options to checkout page
|
|
382
|
-
- 3bf2dd9: ZERO-2551: Fix search page
|
|
383
|
-
- e9541a13: ZERO-2816: Add headers to url
|
|
384
|
-
- c53ef7b9: ZERO-2668: The Link component has been updated to improve the logic for handling href values. Previously, if the href was not a string or started with 'http', it would return the href as is. Now, if the href is not provided, it will default to '#' to prevent any potential errors. Additionally, if the href is a string and does not start with 'http', it will be formatted with the locale and pathname, based on the localeUrlStrategy and defaultLocaleValue. This ensures that the correct href is generated based on the localization settings.
|
|
385
|
-
- 2e6104d: ZERO-2888:Edit the numbering in the pagination and the visibility of the prev and next buttons
|
|
386
|
-
- 64699d3f: ZERO-2761: Fix invalid import for plugin module
|
|
387
|
-
- 0d3a913e: ZERO-2725: Update decimal scale in Price component
|
|
388
|
-
- 7b05522: ZERO-2905: Fix resend and close button in otp package
|
|
389
|
-
- d6edb1d: ZERO-2551: Fix searchparams handling for list and other routes
|
|
390
|
-
- d3474c64: ZERO-2655: Add data source shipping option
|
|
391
|
-
- 17f87524: ZERO-2816: Make the incoming currency lowercase
|
|
392
|
-
- 29ead87: ZERO-2905: Fix resend and close button in otp package
|
|
393
|
-
- c45b62c: ZERO-2818: Add upload and download support for b2b package
|
|
394
|
-
- 91265bba: ZERO-2551: Improve pretty url and caching performance
|
|
395
|
-
- bbe18b9f: ZERO-2575: Fix build error
|
|
396
|
-
- d4099960: ZERO-2781: Refactor buildClientRequestUrl function to support caching and options
|
|
397
|
-
- 4920742: Disable getCachedTranslations
|
|
398
|
-
- 12a873e: ZERO-2846:Edit the siteKey regex in the response from GetCaptcha
|
|
399
|
-
- 7e56d6b: ZERO-2841: Update api tagTypes
|
|
400
|
-
- 94b69285: ZERO-2551: Add cache handler check in url-redirection middleware
|
|
401
|
-
- 98bb8dcd: ZERO-2706: Cache getTranlations method
|
|
402
|
-
- dcc8a150: ZERO-2694: added build step to RC branch pipeline
|
|
403
|
-
- 8f47cca: ZERO-2829: fix and add nested JSON support for useFormData in api/client route
|
|
404
|
-
- fad27689: ZERO-2739: add gpay to payment plugin map
|
|
405
|
-
- dff0d595: ZERO-2659: add formData support to proxy api requests
|
|
406
|
-
- fdd0b41: ZERO-2706: Add optimized translation support
|
|
407
|
-
- f2c325c: ZERO-2838: Move file input component into @akinon/next
|
|
408
|
-
- 9e25a64: ZERO-2835: Update category page layout with breadcrumb
|
|
409
|
-
- beb499e6: ZERO-2551: Add new tsconfig paths
|
|
410
|
-
- f2c92d5c: ZERO-2816: Update cookie name
|
|
411
|
-
- 7bd3d992: ZERO-2801: Refactor locale middleware to handle single locale configuration
|
|
412
|
-
- f3d076b: ZERO-2864: create tabby extension plugin
|
|
413
|
-
- f046f8e0: ZERO-2575: update version for react-number-format
|
|
414
|
-
- 49eeebf: ZERO-2909: Add deleteCollectionItem query to wishlistApi
|
|
415
|
-
- 86d25315: ZERO-2693: resolve dependency collision warning for eslint-config-next
|
|
416
|
-
- 3f9b8d7e: ZERO-2761: Update plugins.js for akinon-next
|
|
417
|
-
|
|
418
|
-
## 1.56.0-rc.7
|
|
419
|
-
|
|
420
|
-
## 1.56.0-rc.6
|
|
421
|
-
|
|
422
|
-
### Minor Changes
|
|
423
|
-
|
|
424
|
-
- f3d076b: ZERO-2864: create tabby extension plugin
|
|
425
|
-
|
|
426
|
-
## 1.56.0-rc.5
|
|
427
|
-
|
|
428
|
-
### Minor Changes
|
|
429
|
-
|
|
430
|
-
- c416d18: ZERO-2915: Add delivery option null check for setAddress
|
|
431
|
-
|
|
432
|
-
## 1.56.0-rc.4
|
|
433
|
-
|
|
434
|
-
### Minor Changes
|
|
435
|
-
|
|
436
|
-
- 572d2e84: ZERO-2667: Add iframe support for redirection payment methods
|
|
437
|
-
- 5dfeea0: ZERO-2801: Revert ZERO-2801
|
|
438
|
-
- a4c8d6a9: ZERO-2663: Fix the image url for gif and svgs and return them without options
|
|
439
|
-
- fda5b927: ZERO-2725: fix invalid import
|
|
440
|
-
- 2d9b2b2c: ZERO-2816: Add segment to headers
|
|
441
|
-
- c53ea3e6: ZERO-2609: Reset additional form fields when selectedFormType is not company
|
|
442
205
|
- d93a507: ZERO-2900: Fix pretty url rewrite
|
|
443
|
-
- 6c25f66: ZERO-2551: Check CACHE_HOST variable
|
|
444
|
-
- bc2b411: ZERO-2825: Add attribute-based shipping options to checkout page
|
|
445
|
-
- 3bf2dd9: ZERO-2551: Fix search page
|
|
446
|
-
- e9541a13: ZERO-2816: Add headers to url
|
|
447
|
-
- c53ef7b9: ZERO-2668: The Link component has been updated to improve the logic for handling href values. Previously, if the href was not a string or started with 'http', it would return the href as is. Now, if the href is not provided, it will default to '#' to prevent any potential errors. Additionally, if the href is a string and does not start with 'http', it will be formatted with the locale and pathname, based on the localeUrlStrategy and defaultLocaleValue. This ensures that the correct href is generated based on the localization settings.
|
|
448
|
-
- 2e6104d: ZERO-2888:Edit the numbering in the pagination and the visibility of the prev and next buttons
|
|
449
|
-
- 64699d3: ZERO-2761: Fix invalid import for plugin module
|
|
450
|
-
- 0d3a913e: ZERO-2725: Update decimal scale in Price component
|
|
451
|
-
- 7b05522: ZERO-2905: Fix resend and close button in otp package
|
|
452
|
-
- d6edb1d: ZERO-2551: Fix searchparams handling for list and other routes
|
|
453
|
-
- d3474c64: ZERO-2655: Add data source shipping option
|
|
454
|
-
- 17f8752: ZERO-2816: Make the incoming currency lowercase
|
|
455
|
-
- 29ead87: ZERO-2905: Fix resend and close button in otp package
|
|
456
|
-
- c45b62c: ZERO-2818: Add upload and download support for b2b package
|
|
457
|
-
- 91265bba: ZERO-2551: Improve pretty url and caching performance
|
|
458
|
-
- bbe18b9f: ZERO-2575: Fix build error
|
|
459
|
-
- d4099960: ZERO-2781: Refactor buildClientRequestUrl function to support caching and options
|
|
460
|
-
- 4920742: Disable getCachedTranslations
|
|
461
|
-
- 12a873e: ZERO-2846:Edit the siteKey regex in the response from GetCaptcha
|
|
462
206
|
- 674badc: ZERO-2912: Fix selected payment option view to handle null values
|
|
463
|
-
- 7e56d6b: ZERO-2841: Update api tagTypes
|
|
464
|
-
- 94b69285: ZERO-2551: Add cache handler check in url-redirection middleware
|
|
465
|
-
- 98bb8dcd: ZERO-2706: Cache getTranlations method
|
|
466
207
|
- 207ac6e: ZERO-2917: Add OrderSelectionPage endpoint
|
|
467
|
-
- dcc8a150: ZERO-2694: added build step to RC branch pipeline
|
|
468
|
-
- 8f47cca: ZERO-2829: fix and add nested JSON support for useFormData in api/client route
|
|
469
|
-
- fad27689: ZERO-2739: add gpay to payment plugin map
|
|
470
|
-
- dff0d595: ZERO-2659: add formData support to proxy api requests
|
|
471
|
-
- fdd0b41: ZERO-2706: Add optimized translation support
|
|
472
|
-
- f2c325c: ZERO-2838: Move file input component into @akinon/next
|
|
473
|
-
- 9e25a64: ZERO-2835: Update category page layout with breadcrumb
|
|
474
|
-
- beb499e6: ZERO-2551: Add new tsconfig paths
|
|
475
|
-
- f2c92d5c: ZERO-2816: Update cookie name
|
|
476
|
-
- 7bd3d99: ZERO-2801: Refactor locale middleware to handle single locale configuration
|
|
477
|
-
- f046f8e0: ZERO-2575: update version for react-number-format
|
|
478
208
|
- b9273fd: ZERO-2889: add host headers to requests
|
|
479
|
-
- 49eeebf: ZERO-2909: Add deleteCollectionItem query to wishlistApi
|
|
480
|
-
- 86d25315: ZERO-2693: resolve dependency collision warning for eslint-config-next
|
|
481
209
|
- c670bd4: ZERO-2900: Add middleware rewrite functionality
|
|
482
|
-
- 3f9b8d7: ZERO-2761: Update plugins.js for akinon-next
|
|
483
|
-
|
|
484
|
-
## 1.56.0-rc.3
|
|
485
|
-
|
|
486
|
-
### Minor Changes
|
|
487
|
-
|
|
488
|
-
- 674badc: ZERO-2912: Fix selected payment option view to handle null values
|
|
489
|
-
|
|
490
|
-
## 1.56.0-rc.2
|
|
491
|
-
|
|
492
|
-
### Minor Changes
|
|
493
|
-
|
|
494
|
-
- 7b05522: ZERO-2905: Fix resend and close button in otp package
|
|
495
|
-
- 29ead87: ZERO-2905: Fix resend and close button in otp package
|
|
496
|
-
|
|
497
|
-
## 1.56.0-rc.1
|
|
498
|
-
|
|
499
|
-
### Minor Changes
|
|
500
|
-
|
|
501
|
-
- 207ac6e: ZERO-2917: Add OrderSelectionPage endpoint
|
|
502
|
-
|
|
503
|
-
## 1.56.0-rc.0
|
|
504
|
-
|
|
505
|
-
### Minor Changes
|
|
506
|
-
|
|
507
|
-
- 572d2e84: ZERO-2667: Add iframe support for redirection payment methods
|
|
508
|
-
- 5dfeea0: ZERO-2801: Revert ZERO-2801
|
|
509
|
-
- a4c8d6a9: ZERO-2663: Fix the image url for gif and svgs and return them without options
|
|
510
|
-
- fda5b927: ZERO-2725: fix invalid import
|
|
511
|
-
- 2d9b2b2c: ZERO-2816: Add segment to headers
|
|
512
|
-
- c53ea3e6: ZERO-2609: Reset additional form fields when selectedFormType is not company
|
|
513
|
-
- d93a507: ZERO-2900: Fix pretty url rewrite
|
|
514
|
-
- 6c25f666: ZERO-2551: Check CACHE_HOST variable
|
|
515
|
-
- bc2b4117: ZERO-2825: Add attribute-based shipping options to checkout page
|
|
516
|
-
- 3bf2dd94: ZERO-2551: Fix search page
|
|
517
|
-
- e9541a13: ZERO-2816: Add headers to url
|
|
518
|
-
- c53ef7b9: ZERO-2668: The Link component has been updated to improve the logic for handling href values. Previously, if the href was not a string or started with 'http', it would return the href as is. Now, if the href is not provided, it will default to '#' to prevent any potential errors. Additionally, if the href is a string and does not start with 'http', it will be formatted with the locale and pathname, based on the localeUrlStrategy and defaultLocaleValue. This ensures that the correct href is generated based on the localization settings.
|
|
519
|
-
- 2e6104d: ZERO-2888:Edit the numbering in the pagination and the visibility of the prev and next buttons
|
|
520
|
-
- 64699d3f: ZERO-2761: Fix invalid import for plugin module
|
|
521
|
-
- 0d3a913e: ZERO-2725: Update decimal scale in Price component
|
|
522
|
-
- d6edb1d0: ZERO-2551: Fix searchparams handling for list and other routes
|
|
523
|
-
- d3474c64: ZERO-2655: Add data source shipping option
|
|
524
|
-
- 17f87524: ZERO-2816: Make the incoming currency lowercase
|
|
525
|
-
- c45b62c9: ZERO-2818: Add upload and download support for b2b package
|
|
526
|
-
- 91265bba: ZERO-2551: Improve pretty url and caching performance
|
|
527
|
-
- bbe18b9f: ZERO-2575: Fix build error
|
|
528
|
-
- d4099960: ZERO-2781: Refactor buildClientRequestUrl function to support caching and options
|
|
529
|
-
- 4920742c: Disable getCachedTranslations
|
|
530
|
-
- 12a873e: ZERO-2846:Edit the siteKey regex in the response from GetCaptcha
|
|
531
|
-
- 7e56d6b6: ZERO-2841: Update api tagTypes
|
|
532
|
-
- 94b69285: ZERO-2551: Add cache handler check in url-redirection middleware
|
|
533
|
-
- 98bb8dcd: ZERO-2706: Cache getTranlations method
|
|
534
|
-
- dcc8a150: ZERO-2694: added build step to RC branch pipeline
|
|
535
|
-
- 8f47ccae: ZERO-2829: fix and add nested JSON support for useFormData in api/client route
|
|
536
|
-
- fad27689: ZERO-2739: add gpay to payment plugin map
|
|
537
|
-
- dff0d595: ZERO-2659: add formData support to proxy api requests
|
|
538
|
-
- fdd0b41: ZERO-2706: Add optimized translation support
|
|
539
|
-
- f2c325c1: ZERO-2838: Move file input component into @akinon/next
|
|
540
|
-
- 9e25a64b: ZERO-2835: Update category page layout with breadcrumb
|
|
541
|
-
- beb499e6: ZERO-2551: Add new tsconfig paths
|
|
542
|
-
- f2c92d5c: ZERO-2816: Update cookie name
|
|
543
|
-
- 7bd3d992: ZERO-2801: Refactor locale middleware to handle single locale configuration
|
|
544
|
-
- f046f8e0: ZERO-2575: update version for react-number-format
|
|
545
|
-
- b9273fd3: ZERO-2889: add host headers to requests
|
|
546
|
-
- 49eeebf: ZERO-2909: Add deleteCollectionItem query to wishlistApi
|
|
547
|
-
- 86d25315: ZERO-2693: resolve dependency collision warning for eslint-config-next
|
|
548
|
-
- c670bd48: ZERO-2900: Add middleware rewrite functionality
|
|
549
|
-
- 3f9b8d7e: ZERO-2761: Update plugins.js for akinon-next
|
|
550
210
|
|
|
551
211
|
## 1.55.0
|
|
552
212
|
|
|
@@ -592,128 +252,7 @@
|
|
|
592
252
|
|
|
593
253
|
### Minor Changes
|
|
594
254
|
|
|
595
|
-
- 90282b53: ZERO-2729: Audit packages for yarn and npm and also update app-template
|
|
596
|
-
- 572d2e84: ZERO-2667: Add iframe support for redirection payment methods
|
|
597
|
-
- 5dfeea0: ZERO-2801: Revert ZERO-2801
|
|
598
|
-
- a4c8d6a9: ZERO-2663: Fix the image url for gif and svgs and return them without options
|
|
599
|
-
- fda5b927: ZERO-2725: fix invalid import
|
|
600
|
-
- 2d9b2b2: ZERO-2816: Add segment to headers
|
|
601
|
-
- c53ea3e6: ZERO-2609: Reset additional form fields when selectedFormType is not company
|
|
602
|
-
- d93a507: ZERO-2900: Fix pretty url rewrite
|
|
603
|
-
- 8d9ac9a: ZERO-2794: Add field to order type
|
|
604
|
-
- 70279e7: ZERO-2817: Add metrics endpoint in default middleware
|
|
605
|
-
- 6c25f66: ZERO-2551: Check CACHE_HOST variable
|
|
606
|
-
- bc2b411: ZERO-2825: Add attribute-based shipping options to checkout page
|
|
607
|
-
- 3bf2dd9: ZERO-2551: Fix search page
|
|
608
|
-
- e9541a1: ZERO-2816: Add headers to url
|
|
609
|
-
- c53ef7b9: ZERO-2668: The Link component has been updated to improve the logic for handling href values. Previously, if the href was not a string or started with 'http', it would return the href as is. Now, if the href is not provided, it will default to '#' to prevent any potential errors. Additionally, if the href is a string and does not start with 'http', it will be formatted with the locale and pathname, based on the localeUrlStrategy and defaultLocaleValue. This ensures that the correct href is generated based on the localization settings.
|
|
610
|
-
- 9d94f7e: ZERO-2820: update parent pk usage for menu generator
|
|
611
|
-
- 2e6104d: ZERO-2888:Edit the numbering in the pagination and the visibility of the prev and next buttons
|
|
612
|
-
- 64699d3: ZERO-2761: Fix invalid import for plugin module
|
|
613
|
-
- 0d3a913e: ZERO-2725: Update decimal scale in Price component
|
|
614
|
-
- 1448a96e: ZERO-2612: add errors type in CheckoutState
|
|
615
|
-
- 1ec2e9d: ZERO-2895: Update app-fetch to include cookies in headers
|
|
616
|
-
- d6edb1d: ZERO-2551: Fix searchparams handling for list and other routes
|
|
617
|
-
- d3474c64: ZERO-2655: Add data source shipping option
|
|
618
|
-
- 75080fd6: ZERO-2630: Add max limit to postcode area
|
|
619
|
-
- 17f8752: ZERO-2816: Make the incoming currency lowercase
|
|
620
|
-
- c45b62c: ZERO-2818: Add upload and download support for b2b package
|
|
621
|
-
- 91265bba: ZERO-2551: Improve pretty url and caching performance
|
|
622
|
-
- bbe18b9f: ZERO-2575: Fix build error
|
|
623
|
-
- d4099960: ZERO-2781: Refactor buildClientRequestUrl function to support caching and options
|
|
624
|
-
- 4920742: Disable getCachedTranslations
|
|
625
|
-
- 12a873e: ZERO-2846:Edit the siteKey regex in the response from GetCaptcha
|
|
626
|
-
- 7e56d6b: ZERO-2841: Update api tagTypes
|
|
627
|
-
- 94b6928: ZERO-2551: Add cache handler check in url-redirection middleware
|
|
628
|
-
- 98bb8dcd: ZERO-2706: Cache getTranlations method
|
|
629
|
-
- 46b7aad7: ZERO-2775: Add condition and logger for menuitemmodel data
|
|
630
|
-
- dcc8a150: ZERO-2694: added build step to RC branch pipeline
|
|
631
|
-
- 8f47cca: ZERO-2829: fix and add nested JSON support for useFormData in api/client route
|
|
632
|
-
- fad27689: ZERO-2739: add gpay to payment plugin map
|
|
633
|
-
- dff0d595: ZERO-2659: add formData support to proxy api requests
|
|
634
|
-
- fdd0b41: ZERO-2706: Add optimized translation support
|
|
635
|
-
- eecb282: ZERO-2607: Update address-related functions to include invalidateTag option
|
|
636
|
-
- f2c325c: ZERO-2838: Move file input component into @akinon/next
|
|
637
|
-
- 9e25a64: ZERO-2835: Update category page layout with breadcrumb
|
|
638
|
-
- beb499e6: ZERO-2551: Add new tsconfig paths
|
|
639
|
-
- 146ea391: ZERO-2774: Update imports
|
|
640
|
-
- f2c92d5: ZERO-2816: Update cookie name
|
|
641
|
-
- 7bd3d99: ZERO-2801: Refactor locale middleware to handle single locale configuration
|
|
642
|
-
- c47be30d: ZERO-2744: Update Order and OrderItem types
|
|
643
|
-
- e9a46acb: ZERO-2738: add CVC input to registered cards in Masterpass
|
|
644
|
-
- f046f8e0: ZERO-2575: update version for react-number-format
|
|
645
|
-
- b9273fd: ZERO-2889: add host headers to requests
|
|
646
|
-
- 49eeebf: ZERO-2909: Add deleteCollectionItem query to wishlistApi
|
|
647
|
-
- 86d25315: ZERO-2693: resolve dependency collision warning for eslint-config-next
|
|
648
|
-
- c670bd4: ZERO-2900: Add middleware rewrite functionality
|
|
649
|
-
- 3f9b8d7: ZERO-2761: Update plugins.js for akinon-next
|
|
650
|
-
- 3d35f70: ZERO-2908: Add cookie to redirect url
|
|
651
|
-
|
|
652
|
-
## 1.50.0-rc.1
|
|
653
|
-
|
|
654
|
-
### Minor Changes
|
|
655
|
-
|
|
656
|
-
- 49eeebf: ZERO-2909: Add deleteCollectionItem query to wishlistApi
|
|
657
|
-
|
|
658
|
-
## 1.50.0-rc.0
|
|
659
|
-
|
|
660
|
-
### Minor Changes
|
|
661
|
-
|
|
662
|
-
- 90282b53: ZERO-2729: Audit packages for yarn and npm and also update app-template
|
|
663
|
-
- 572d2e84: ZERO-2667: Add iframe support for redirection payment methods
|
|
664
|
-
- 5dfeea0: ZERO-2801: Revert ZERO-2801
|
|
665
|
-
- a4c8d6a9: ZERO-2663: Fix the image url for gif and svgs and return them without options
|
|
666
|
-
- fda5b927: ZERO-2725: fix invalid import
|
|
667
|
-
- 2d9b2b2: ZERO-2816: Add segment to headers
|
|
668
|
-
- c53ea3e6: ZERO-2609: Reset additional form fields when selectedFormType is not company
|
|
669
|
-
- d93a507: ZERO-2900: Fix pretty url rewrite
|
|
670
|
-
- 8d9ac9a: ZERO-2794: Add field to order type
|
|
671
255
|
- eaf97d6: ZERO-2909: Add deleteCollectionItem query to wishlistApi
|
|
672
|
-
- 70279e7: ZERO-2817: Add metrics endpoint in default middleware
|
|
673
|
-
- 6c25f66: ZERO-2551: Check CACHE_HOST variable
|
|
674
|
-
- bc2b411: ZERO-2825: Add attribute-based shipping options to checkout page
|
|
675
|
-
- 3bf2dd9: ZERO-2551: Fix search page
|
|
676
|
-
- e9541a1: ZERO-2816: Add headers to url
|
|
677
|
-
- c53ef7b9: ZERO-2668: The Link component has been updated to improve the logic for handling href values. Previously, if the href was not a string or started with 'http', it would return the href as is. Now, if the href is not provided, it will default to '#' to prevent any potential errors. Additionally, if the href is a string and does not start with 'http', it will be formatted with the locale and pathname, based on the localeUrlStrategy and defaultLocaleValue. This ensures that the correct href is generated based on the localization settings.
|
|
678
|
-
- 9d94f7e: ZERO-2820: update parent pk usage for menu generator
|
|
679
|
-
- 2e6104d: ZERO-2888:Edit the numbering in the pagination and the visibility of the prev and next buttons
|
|
680
|
-
- 64699d3: ZERO-2761: Fix invalid import for plugin module
|
|
681
|
-
- 0d3a913e: ZERO-2725: Update decimal scale in Price component
|
|
682
|
-
- 1448a96e: ZERO-2612: add errors type in CheckoutState
|
|
683
|
-
- 1ec2e9d: ZERO-2895: Update app-fetch to include cookies in headers
|
|
684
|
-
- d6edb1d: ZERO-2551: Fix searchparams handling for list and other routes
|
|
685
|
-
- d3474c64: ZERO-2655: Add data source shipping option
|
|
686
|
-
- 75080fd6: ZERO-2630: Add max limit to postcode area
|
|
687
|
-
- 17f8752: ZERO-2816: Make the incoming currency lowercase
|
|
688
|
-
- c45b62c: ZERO-2818: Add upload and download support for b2b package
|
|
689
|
-
- 91265bba: ZERO-2551: Improve pretty url and caching performance
|
|
690
|
-
- bbe18b9f: ZERO-2575: Fix build error
|
|
691
|
-
- d4099960: ZERO-2781: Refactor buildClientRequestUrl function to support caching and options
|
|
692
|
-
- 4920742: Disable getCachedTranslations
|
|
693
|
-
- 12a873e: ZERO-2846:Edit the siteKey regex in the response from GetCaptcha
|
|
694
|
-
- 7e56d6b: ZERO-2841: Update api tagTypes
|
|
695
|
-
- 94b6928: ZERO-2551: Add cache handler check in url-redirection middleware
|
|
696
|
-
- 98bb8dcd: ZERO-2706: Cache getTranlations method
|
|
697
|
-
- 46b7aad7: ZERO-2775: Add condition and logger for menuitemmodel data
|
|
698
|
-
- dcc8a150: ZERO-2694: added build step to RC branch pipeline
|
|
699
|
-
- 8f47cca: ZERO-2829: fix and add nested JSON support for useFormData in api/client route
|
|
700
|
-
- fad27689: ZERO-2739: add gpay to payment plugin map
|
|
701
|
-
- dff0d595: ZERO-2659: add formData support to proxy api requests
|
|
702
|
-
- fdd0b41: ZERO-2706: Add optimized translation support
|
|
703
|
-
- eecb282: ZERO-2607: Update address-related functions to include invalidateTag option
|
|
704
|
-
- f2c325c: ZERO-2838: Move file input component into @akinon/next
|
|
705
|
-
- 9e25a64: ZERO-2835: Update category page layout with breadcrumb
|
|
706
|
-
- beb499e6: ZERO-2551: Add new tsconfig paths
|
|
707
|
-
- 146ea391: ZERO-2774: Update imports
|
|
708
|
-
- f2c92d5: ZERO-2816: Update cookie name
|
|
709
|
-
- 7bd3d99: ZERO-2801: Refactor locale middleware to handle single locale configuration
|
|
710
|
-
- c47be30d: ZERO-2744: Update Order and OrderItem types
|
|
711
|
-
- e9a46acb: ZERO-2738: add CVC input to registered cards in Masterpass
|
|
712
|
-
- f046f8e0: ZERO-2575: update version for react-number-format
|
|
713
|
-
- b9273fd: ZERO-2889: add host headers to requests
|
|
714
|
-
- 86d25315: ZERO-2693: resolve dependency collision warning for eslint-config-next
|
|
715
|
-
- c670bd4: ZERO-2900: Add middleware rewrite functionality
|
|
716
|
-
- 3f9b8d7: ZERO-2761: Update plugins.js for akinon-next
|
|
717
256
|
|
|
718
257
|
## 1.49.0
|
|
719
258
|
|
|
@@ -739,126 +278,7 @@
|
|
|
739
278
|
|
|
740
279
|
### Minor Changes
|
|
741
280
|
|
|
742
|
-
- 90282b5: ZERO-2729: Audit packages for yarn and npm and also update app-template
|
|
743
|
-
- 572d2e8: ZERO-2667: Add iframe support for redirection payment methods
|
|
744
|
-
- a4c8d6a9: ZERO-2663: Fix the image url for gif and svgs and return them without options
|
|
745
|
-
- fda5b92: ZERO-2725: fix invalid import
|
|
746
|
-
- 2d9b2b2: ZERO-2816: Add segment to headers
|
|
747
|
-
- c53ea3e: ZERO-2609: Reset additional form fields when selectedFormType is not company
|
|
748
|
-
- 8d9ac9a: ZERO-2794: Add field to order type
|
|
749
|
-
- 70279e7: ZERO-2817: Add metrics endpoint in default middleware
|
|
750
|
-
- 6c25f66: ZERO-2551: Check CACHE_HOST variable
|
|
751
|
-
- bc2b411: ZERO-2825: Add attribute-based shipping options to checkout page
|
|
752
|
-
- 3bf2dd9: ZERO-2551: Fix search page
|
|
753
|
-
- e9541a1: ZERO-2816: Add headers to url
|
|
754
|
-
- c53ef7b9: ZERO-2668: The Link component has been updated to improve the logic for handling href values. Previously, if the href was not a string or started with 'http', it would return the href as is. Now, if the href is not provided, it will default to '#' to prevent any potential errors. Additionally, if the href is a string and does not start with 'http', it will be formatted with the locale and pathname, based on the localeUrlStrategy and defaultLocaleValue. This ensures that the correct href is generated based on the localization settings.
|
|
755
|
-
- 9d94f7e: ZERO-2820: update parent pk usage for menu generator
|
|
756
|
-
- 64699d3: ZERO-2761: Fix invalid import for plugin module
|
|
757
|
-
- 0d3a913: ZERO-2725: Update decimal scale in Price component
|
|
758
|
-
- 1448a96e: ZERO-2612: add errors type in CheckoutState
|
|
759
|
-
- d6edb1d: ZERO-2551: Fix searchparams handling for list and other routes
|
|
760
|
-
- d3474c6: ZERO-2655: Add data source shipping option
|
|
761
|
-
- 75080fd6: ZERO-2630: Add max limit to postcode area
|
|
762
|
-
- 17f8752: ZERO-2816: Make the incoming currency lowercase
|
|
763
|
-
- c45b62c: ZERO-2818: Add upload and download support for b2b package
|
|
764
|
-
- 91265bba: ZERO-2551: Improve pretty url and caching performance
|
|
765
|
-
- bbe18b9f: ZERO-2575: Fix build error
|
|
766
|
-
- d409996: ZERO-2781: Refactor buildClientRequestUrl function to support caching and options
|
|
767
|
-
- 4920742: Disable getCachedTranslations
|
|
768
|
-
- 7e56d6b: ZERO-2841: Update api tagTypes
|
|
769
|
-
- 94b6928: ZERO-2551: Add cache handler check in url-redirection middleware
|
|
770
|
-
- 98bb8dc: ZERO-2706: Cache getTranlations method
|
|
771
|
-
- 46b7aad: ZERO-2775: Add condition and logger for menuitemmodel data
|
|
772
|
-
- dcc8a15: ZERO-2694: added build step to RC branch pipeline
|
|
773
|
-
- 8f47cca: ZERO-2829: fix and add nested JSON support for useFormData in api/client route
|
|
774
|
-
- fad2768: ZERO-2739: add gpay to payment plugin map
|
|
775
|
-
- dff0d595: ZERO-2659: add formData support to proxy api requests
|
|
776
|
-
- eecb282: ZERO-2607: Update address-related functions to include invalidateTag option
|
|
777
|
-
- f2c325c: ZERO-2838: Move file input component into @akinon/next
|
|
778
|
-
- 9e25a64: ZERO-2835: Update category page layout with breadcrumb
|
|
779
|
-
- beb499e6: ZERO-2551: Add new tsconfig paths
|
|
780
|
-
- 948eb42: ZERO-2852: Add out of stock endpoints
|
|
781
|
-
- 146ea39: ZERO-2774: Update imports
|
|
782
|
-
- f2c92d5: ZERO-2816: Update cookie name
|
|
783
|
-
- 7bd3d99: ZERO-2801: Refactor locale middleware to handle single locale configuration
|
|
784
|
-
- c47be30: ZERO-2744: Update Order and OrderItem types
|
|
785
|
-
- e9a46ac: ZERO-2738: add CVC input to registered cards in Masterpass
|
|
786
|
-
- f046f8e0: ZERO-2575: update version for react-number-format
|
|
787
|
-
- 86d2531: ZERO-2693: resolve dependency collision warning for eslint-config-next
|
|
788
|
-
- 3f9b8d7: ZERO-2761: Update plugins.js for akinon-next
|
|
789
|
-
|
|
790
|
-
## 1.45.0-rc.4
|
|
791
|
-
|
|
792
|
-
### Minor Changes
|
|
793
|
-
|
|
794
|
-
- 8f47cca: ZERO-2829: fix and add nested JSON support for useFormData in api/client route
|
|
795
|
-
|
|
796
|
-
## 1.45.0-rc.3
|
|
797
|
-
|
|
798
|
-
### Minor Changes
|
|
799
|
-
|
|
800
|
-
- 948eb42: ZERO-2852: Add out of stock endpoints
|
|
801
|
-
|
|
802
|
-
## 1.45.0-rc.2
|
|
803
|
-
|
|
804
|
-
### Minor Changes
|
|
805
|
-
|
|
806
|
-
- c45b62c: ZERO-2818: Add upload and download support for b2b package
|
|
807
|
-
- f2c325c: ZERO-2838: Move file input component into @akinon/next
|
|
808
|
-
|
|
809
|
-
## 1.45.0-rc.1
|
|
810
|
-
|
|
811
|
-
### Minor Changes
|
|
812
|
-
|
|
813
|
-
- 7e56d6b: ZERO-2841: Update api tagTypes
|
|
814
|
-
|
|
815
|
-
## 1.45.0-rc.0
|
|
816
|
-
|
|
817
|
-
### Minor Changes
|
|
818
|
-
|
|
819
|
-
- 90282b5: ZERO-2729: Audit packages for yarn and npm and also update app-template
|
|
820
|
-
- 572d2e8: ZERO-2667: Add iframe support for redirection payment methods
|
|
821
|
-
- a4c8d6a9: ZERO-2663: Fix the image url for gif and svgs and return them without options
|
|
822
|
-
- fda5b92: ZERO-2725: fix invalid import
|
|
823
|
-
- 2d9b2b2: ZERO-2816: Add segment to headers
|
|
824
|
-
- c53ea3e: ZERO-2609: Reset additional form fields when selectedFormType is not company
|
|
825
|
-
- 8d9ac9a: ZERO-2794: Add field to order type
|
|
826
|
-
- 70279e7: ZERO-2817: Add metrics endpoint in default middleware
|
|
827
|
-
- 6c25f66: ZERO-2551: Check CACHE_HOST variable
|
|
828
|
-
- bc2b411: ZERO-2825: Add attribute-based shipping options to checkout page
|
|
829
|
-
- 3bf2dd9: ZERO-2551: Fix search page
|
|
830
|
-
- e9541a1: ZERO-2816: Add headers to url
|
|
831
|
-
- c53ef7b9: ZERO-2668: The Link component has been updated to improve the logic for handling href values. Previously, if the href was not a string or started with 'http', it would return the href as is. Now, if the href is not provided, it will default to '#' to prevent any potential errors. Additionally, if the href is a string and does not start with 'http', it will be formatted with the locale and pathname, based on the localeUrlStrategy and defaultLocaleValue. This ensures that the correct href is generated based on the localization settings.
|
|
832
|
-
- 9d94f7e: ZERO-2820: update parent pk usage for menu generator
|
|
833
|
-
- 64699d3: ZERO-2761: Fix invalid import for plugin module
|
|
834
|
-
- 0d3a913: ZERO-2725: Update decimal scale in Price component
|
|
835
|
-
- 1448a96: ZERO-2612: add errors type in CheckoutState
|
|
836
281
|
- 2ab6e08: ZERO-2841: Update getBasketDetail query
|
|
837
|
-
- d6edb1d: ZERO-2551: Fix searchparams handling for list and other routes
|
|
838
|
-
- d3474c6: ZERO-2655: Add data source shipping option
|
|
839
|
-
- 75080fd: ZERO-2630: Add max limit to postcode area
|
|
840
|
-
- 17f8752: ZERO-2816: Make the incoming currency lowercase
|
|
841
|
-
- 91265bb: ZERO-2551: Improve pretty url and caching performance
|
|
842
|
-
- bbe18b9: ZERO-2575: Fix build error
|
|
843
|
-
- d409996: ZERO-2781: Refactor buildClientRequestUrl function to support caching and options
|
|
844
|
-
- 4920742: Disable getCachedTranslations
|
|
845
|
-
- 94b6928: ZERO-2551: Add cache handler check in url-redirection middleware
|
|
846
|
-
- 98bb8dc: ZERO-2706: Cache getTranlations method
|
|
847
|
-
- 46b7aad: ZERO-2775: Add condition and logger for menuitemmodel data
|
|
848
|
-
- dcc8a15: ZERO-2694: added build step to RC branch pipeline
|
|
849
|
-
- fad2768: ZERO-2739: add gpay to payment plugin map
|
|
850
|
-
- dff0d59: ZERO-2659: add formData support to proxy api requests
|
|
851
|
-
- eecb282: ZERO-2607: Update address-related functions to include invalidateTag option
|
|
852
|
-
- 9e25a64: ZERO-2835: Update category page layout with breadcrumb
|
|
853
|
-
- beb499e: ZERO-2551: Add new tsconfig paths
|
|
854
|
-
- 146ea39: ZERO-2774: Update imports
|
|
855
|
-
- f2c92d5: ZERO-2816: Update cookie name
|
|
856
|
-
- 7bd3d99: ZERO-2801: Refactor locale middleware to handle single locale configuration
|
|
857
|
-
- c47be30: ZERO-2744: Update Order and OrderItem types
|
|
858
|
-
- e9a46ac: ZERO-2738: add CVC input to registered cards in Masterpass
|
|
859
|
-
- f046f8e0: ZERO-2575: update version for react-number-format
|
|
860
|
-
- 86d2531: ZERO-2693: resolve dependency collision warning for eslint-config-next
|
|
861
|
-
- 3f9b8d7: ZERO-2761: Update plugins.js for akinon-next
|
|
862
282
|
|
|
863
283
|
## 1.44.0
|
|
864
284
|
|
|
@@ -866,201 +286,7 @@
|
|
|
866
286
|
|
|
867
287
|
### Minor Changes
|
|
868
288
|
|
|
869
|
-
- 90282b5: ZERO-2729: Audit packages for yarn and npm and also update app-template
|
|
870
|
-
- 572d2e8: ZERO-2667: Add iframe support for redirection payment methods
|
|
871
|
-
- a4c8d6a9: ZERO-2663: Fix the image url for gif and svgs and return them without options
|
|
872
|
-
- fda5b92: ZERO-2725: fix invalid import
|
|
873
|
-
- 2d9b2b2: ZERO-2816: Add segment to headers
|
|
874
|
-
- c53ea3e: ZERO-2609: Reset additional form fields when selectedFormType is not company
|
|
875
|
-
- 8d9ac9a: ZERO-2794: Add field to order type
|
|
876
|
-
- 70279e7: ZERO-2817: Add metrics endpoint in default middleware
|
|
877
|
-
- 6c25f66: ZERO-2551: Check CACHE_HOST variable
|
|
878
|
-
- bc2b411: ZERO-2825: Add attribute-based shipping options to checkout page
|
|
879
|
-
- 3bf2dd9: ZERO-2551: Fix search page
|
|
880
|
-
- e9541a1: ZERO-2816: Add headers to url
|
|
881
|
-
- c53ef7b9: ZERO-2668: The Link component has been updated to improve the logic for handling href values. Previously, if the href was not a string or started with 'http', it would return the href as is. Now, if the href is not provided, it will default to '#' to prevent any potential errors. Additionally, if the href is a string and does not start with 'http', it will be formatted with the locale and pathname, based on the localeUrlStrategy and defaultLocaleValue. This ensures that the correct href is generated based on the localization settings.
|
|
882
|
-
- 9d94f7e: ZERO-2820: update parent pk usage for menu generator
|
|
883
|
-
- 64699d3: ZERO-2761: Fix invalid import for plugin module
|
|
884
|
-
- 0d3a913: ZERO-2725: Update decimal scale in Price component
|
|
885
|
-
- 1448a96: ZERO-2612: add errors type in CheckoutState
|
|
886
|
-
- d6edb1d: ZERO-2551: Fix searchparams handling for list and other routes
|
|
887
|
-
- d3474c6: ZERO-2655: Add data source shipping option
|
|
888
|
-
- 75080fd: ZERO-2630: Add max limit to postcode area
|
|
889
|
-
- 17f8752: ZERO-2816: Make the incoming currency lowercase
|
|
890
|
-
- 91265bb: ZERO-2551: Improve pretty url and caching performance
|
|
891
|
-
- bbe18b9: ZERO-2575: Fix build error
|
|
892
|
-
- d409996: ZERO-2781: Refactor buildClientRequestUrl function to support caching and options
|
|
893
|
-
- 4920742: Disable getCachedTranslations
|
|
894
|
-
- 94b6928: ZERO-2551: Add cache handler check in url-redirection middleware
|
|
895
|
-
- 98bb8dc: ZERO-2706: Cache getTranlations method
|
|
896
|
-
- 46b7aad: ZERO-2775: Add condition and logger for menuitemmodel data
|
|
897
|
-
- dcc8a15: ZERO-2694: added build step to RC branch pipeline
|
|
898
|
-
- fad2768: ZERO-2739: add gpay to payment plugin map
|
|
899
|
-
- dff0d59: ZERO-2659: add formData support to proxy api requests
|
|
900
|
-
- eecb282: ZERO-2607: Update address-related functions to include invalidateTag option
|
|
901
|
-
- 9e25a64: ZERO-2835: Update category page layout with breadcrumb
|
|
902
|
-
- beb499e: ZERO-2551: Add new tsconfig paths
|
|
903
|
-
- 146ea39: ZERO-2774: Update imports
|
|
904
|
-
- f2c92d5: ZERO-2816: Update cookie name
|
|
905
|
-
- 7bd3d99: ZERO-2801: Refactor locale middleware to handle single locale configuration
|
|
906
|
-
- c47be30: ZERO-2744: Update Order and OrderItem types
|
|
907
|
-
- e9a46ac: ZERO-2738: add CVC input to registered cards in Masterpass
|
|
908
|
-
- f046f8e0: ZERO-2575: update version for react-number-format
|
|
909
|
-
- 86d2531: ZERO-2693: resolve dependency collision warning for eslint-config-next
|
|
910
|
-
- 3f9b8d7: ZERO-2761: Update plugins.js for akinon-next
|
|
911
|
-
|
|
912
|
-
## 1.43.0-rc.15
|
|
913
|
-
|
|
914
|
-
## 1.43.0-rc.14
|
|
915
|
-
|
|
916
|
-
### Minor Changes
|
|
917
|
-
|
|
918
|
-
- 3bf2dd9: ZERO-2551: Fix search page
|
|
919
|
-
|
|
920
|
-
## 1.43.0-rc.13
|
|
921
|
-
|
|
922
|
-
### Minor Changes
|
|
923
|
-
|
|
924
|
-
- 9e25a64: ZERO-2835: Update category page layout with breadcrumb
|
|
925
|
-
|
|
926
|
-
## 1.43.0-rc.12
|
|
927
|
-
|
|
928
|
-
### Minor Changes
|
|
929
|
-
|
|
930
|
-
- 4920742: Disable getCachedTranslations
|
|
931
|
-
|
|
932
|
-
## 1.43.0-rc.11
|
|
933
|
-
|
|
934
|
-
### Minor Changes
|
|
935
|
-
|
|
936
|
-
- 6c25f66: ZERO-2551: Check CACHE_HOST variable
|
|
937
|
-
|
|
938
|
-
## 1.43.0-rc.10
|
|
939
|
-
|
|
940
|
-
### Minor Changes
|
|
941
|
-
|
|
942
|
-
- d6edb1d: ZERO-2551: Fix searchparams handling for list and other routes
|
|
943
|
-
|
|
944
|
-
## 1.43.0-rc.9
|
|
945
|
-
|
|
946
|
-
### Minor Changes
|
|
947
|
-
|
|
948
|
-
- bc2b411: ZERO-2825: Add attribute-based shipping options to checkout page
|
|
949
|
-
|
|
950
|
-
## 1.43.0-rc.8
|
|
951
|
-
|
|
952
|
-
### Minor Changes
|
|
953
|
-
|
|
954
|
-
- 70279e7: ZERO-2817: Add metrics endpoint in default middleware
|
|
955
|
-
- 9d94f7e: ZERO-2820: update parent pk usage for menu generator
|
|
956
|
-
|
|
957
|
-
## 1.43.0-rc.7
|
|
958
|
-
|
|
959
|
-
### Minor Changes
|
|
960
|
-
|
|
961
|
-
- 7bd3d99: ZERO-2801: Refactor locale middleware to handle single locale configuration
|
|
962
|
-
|
|
963
|
-
## 1.43.0-rc.6
|
|
964
|
-
|
|
965
|
-
### Minor Changes
|
|
966
|
-
|
|
967
|
-
- 90282b5: ZERO-2729: Audit packages for yarn and npm and also update app-template
|
|
968
|
-
- 572d2e8: ZERO-2667: Add iframe support for redirection payment methods
|
|
969
|
-
- a4c8d6a: ZERO-2663: Fix the image url for gif and svgs and return them without options
|
|
970
|
-
- fda5b92: ZERO-2725: fix invalid import
|
|
971
|
-
- 2d9b2b2: ZERO-2816: Add segment to headers
|
|
972
|
-
- c53ea3e: ZERO-2609: Reset additional form fields when selectedFormType is not company
|
|
973
|
-
- 8d9ac9a: ZERO-2794: Add field to order type
|
|
974
|
-
- e9541a1: ZERO-2816: Add headers to url
|
|
975
|
-
- c53ef7b: ZERO-2668: The Link component has been updated to improve the logic for handling href values. Previously, if the href was not a string or started with 'http', it would return the href as is. Now, if the href is not provided, it will default to '#' to prevent any potential errors. Additionally, if the href is a string and does not start with 'http', it will be formatted with the locale and pathname, based on the localeUrlStrategy and defaultLocaleValue. This ensures that the correct href is generated based on the localization settings.
|
|
976
|
-
- 64699d3: ZERO-2761: Fix invalid import for plugin module
|
|
977
|
-
- 0d3a913: ZERO-2725: Update decimal scale in Price component
|
|
978
|
-
- 1448a96: ZERO-2612: add errors type in CheckoutState
|
|
979
|
-
- d3474c6: ZERO-2655: Add data source shipping option
|
|
980
|
-
- 75080fd: ZERO-2630: Add max limit to postcode area
|
|
981
|
-
- 17f8752: ZERO-2816: Make the incoming currency lowercase
|
|
982
|
-
- 91265bb: ZERO-2551: Improve pretty url and caching performance
|
|
983
|
-
- bbe18b9: ZERO-2575: Fix build error
|
|
984
|
-
- d409996: ZERO-2781: Refactor buildClientRequestUrl function to support caching and options
|
|
985
|
-
- 94b6928: ZERO-2551: Add cache handler check in url-redirection middleware
|
|
986
|
-
- 98bb8dc: ZERO-2706: Cache getTranlations method
|
|
987
|
-
- 46b7aad: ZERO-2775: Add condition and logger for menuitemmodel data
|
|
988
|
-
- dcc8a15: ZERO-2694: added build step to RC branch pipeline
|
|
989
|
-
- fad2768: ZERO-2739: add gpay to payment plugin map
|
|
990
|
-
- dff0d59: ZERO-2659: add formData support to proxy api requests
|
|
991
|
-
- eecb282: ZERO-2607: Update address-related functions to include invalidateTag option
|
|
992
289
|
- 4a163f2: ZERO-2761: Add condition for basket summary
|
|
993
|
-
- beb499e: ZERO-2551: Add new tsconfig paths
|
|
994
|
-
- 146ea39: ZERO-2774: Update imports
|
|
995
|
-
- f2c92d5: ZERO-2816: Update cookie name
|
|
996
|
-
- c47be30: ZERO-2744: Update Order and OrderItem types
|
|
997
|
-
- e9a46ac: ZERO-2738: add CVC input to registered cards in Masterpass
|
|
998
|
-
- f046f8e: ZERO-2575: update version for react-number-format
|
|
999
|
-
- 86d2531: ZERO-2693: resolve dependency collision warning for eslint-config-next
|
|
1000
|
-
- 3f9b8d7: ZERO-2761: Update plugins.js for akinon-next
|
|
1001
|
-
|
|
1002
|
-
## 1.43.0-rc.5
|
|
1003
|
-
|
|
1004
|
-
### Minor Changes
|
|
1005
|
-
|
|
1006
|
-
- 17f8752: ZERO-2816: Make the incoming currency lowercase
|
|
1007
|
-
|
|
1008
|
-
## 1.43.0-rc.4
|
|
1009
|
-
|
|
1010
|
-
### Minor Changes
|
|
1011
|
-
|
|
1012
|
-
- 3f9b8d7: ZERO-2761: Update plugins.js for akinon-next
|
|
1013
|
-
|
|
1014
|
-
## 1.43.0-rc.3
|
|
1015
|
-
|
|
1016
|
-
### Minor Changes
|
|
1017
|
-
|
|
1018
|
-
- 64699d3: ZERO-2761: Fix invalid import for plugin module
|
|
1019
|
-
|
|
1020
|
-
## 1.43.0-rc.2
|
|
1021
|
-
|
|
1022
|
-
### Minor Changes
|
|
1023
|
-
|
|
1024
|
-
- f2c92d5: ZERO-2816: Update cookie name
|
|
1025
|
-
|
|
1026
|
-
## 1.43.0-rc.1
|
|
1027
|
-
|
|
1028
|
-
### Minor Changes
|
|
1029
|
-
|
|
1030
|
-
- eecb282: ZERO-2607: Update address-related functions to include invalidateTag option
|
|
1031
|
-
|
|
1032
|
-
## 1.43.0-rc.0
|
|
1033
|
-
|
|
1034
|
-
### Minor Changes
|
|
1035
|
-
|
|
1036
|
-
- 90282b5: ZERO-2729: Audit packages for yarn and npm and also update app-template
|
|
1037
|
-
- 572d2e8: ZERO-2667: Add iframe support for redirection payment methods
|
|
1038
|
-
- a4c8d6a: ZERO-2663: Fix the image url for gif and svgs and return them without options
|
|
1039
|
-
- fda5b92: ZERO-2725: fix invalid import
|
|
1040
|
-
- 2d9b2b2: ZERO-2816: Add segment to headers
|
|
1041
|
-
- c53ea3e: ZERO-2609: Reset additional form fields when selectedFormType is not company
|
|
1042
|
-
- 8d9ac9a: ZERO-2794: Add field to order type
|
|
1043
|
-
- e9541a1: ZERO-2816: Add headers to url
|
|
1044
|
-
- c53ef7b: ZERO-2668: The Link component has been updated to improve the logic for handling href values. Previously, if the href was not a string or started with 'http', it would return the href as is. Now, if the href is not provided, it will default to '#' to prevent any potential errors. Additionally, if the href is a string and does not start with 'http', it will be formatted with the locale and pathname, based on the localeUrlStrategy and defaultLocaleValue. This ensures that the correct href is generated based on the localization settings.
|
|
1045
|
-
- 0d3a913: ZERO-2725: Update decimal scale in Price component
|
|
1046
|
-
- 1448a96: ZERO-2612: add errors type in CheckoutState
|
|
1047
|
-
- d3474c6: ZERO-2655: Add data source shipping option
|
|
1048
|
-
- 75080fd: ZERO-2630: Add max limit to postcode area
|
|
1049
|
-
- 91265bb: ZERO-2551: Improve pretty url and caching performance
|
|
1050
|
-
- bbe18b9: ZERO-2575: Fix build error
|
|
1051
|
-
- d409996: ZERO-2781: Refactor buildClientRequestUrl function to support caching and options
|
|
1052
|
-
- 94b6928: ZERO-2551: Add cache handler check in url-redirection middleware
|
|
1053
|
-
- 98bb8dc: ZERO-2706: Cache getTranlations method
|
|
1054
|
-
- 46b7aad: ZERO-2775: Add condition and logger for menuitemmodel data
|
|
1055
|
-
- dcc8a15: ZERO-2694: added build step to RC branch pipeline
|
|
1056
|
-
- fad2768: ZERO-2739: add gpay to payment plugin map
|
|
1057
|
-
- dff0d59: ZERO-2659: add formData support to proxy api requests
|
|
1058
|
-
- beb499e: ZERO-2551: Add new tsconfig paths
|
|
1059
|
-
- 146ea39: ZERO-2774: Update imports
|
|
1060
|
-
- c47be30: ZERO-2744: Update Order and OrderItem types
|
|
1061
|
-
- e9a46ac: ZERO-2738: add CVC input to registered cards in Masterpass
|
|
1062
|
-
- f046f8e: ZERO-2575: update version for react-number-format
|
|
1063
|
-
- 86d2531: ZERO-2693: resolve dependency collision warning for eslint-config-next
|
|
1064
290
|
|
|
1065
291
|
## 1.42.0
|
|
1066
292
|
|
package/components/button.tsx
CHANGED
|
@@ -1,61 +1,46 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
import { ButtonProps } from '../types';
|
|
3
|
+
import { ButtonProps } from '../types/index';
|
|
4
4
|
import clsx from 'clsx';
|
|
5
5
|
import { twMerge } from 'tailwind-merge';
|
|
6
|
-
import { Link } from './link';
|
|
7
6
|
|
|
8
7
|
export const Button = (props: ButtonProps) => {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
),
|
|
44
|
-
className
|
|
45
|
-
);
|
|
46
|
-
|
|
47
|
-
return props.href ? (
|
|
48
|
-
<Link
|
|
49
|
-
prefetch={false}
|
|
50
|
-
target={target}
|
|
51
|
-
href={href}
|
|
52
|
-
className={buttonClasses}
|
|
8
|
+
return (
|
|
9
|
+
<button
|
|
10
|
+
{...props}
|
|
11
|
+
className={twMerge(
|
|
12
|
+
clsx(
|
|
13
|
+
[
|
|
14
|
+
'px-4',
|
|
15
|
+
'h-10',
|
|
16
|
+
'text-xs',
|
|
17
|
+
'bg-primary',
|
|
18
|
+
'text-primary-foreground',
|
|
19
|
+
'border',
|
|
20
|
+
'border-primary',
|
|
21
|
+
'transition-all',
|
|
22
|
+
'hover:bg-white',
|
|
23
|
+
'hover:border-primary',
|
|
24
|
+
'hover:text-primary'
|
|
25
|
+
],
|
|
26
|
+
props.appearance === 'outlined' && [
|
|
27
|
+
'bg-transparent ',
|
|
28
|
+
'text-primary ',
|
|
29
|
+
'hover:bg-primary ',
|
|
30
|
+
'hover:text-primary-foreground'
|
|
31
|
+
],
|
|
32
|
+
props.appearance === 'ghost' && [
|
|
33
|
+
'bg-transparent',
|
|
34
|
+
'border-transparent',
|
|
35
|
+
'text-primary',
|
|
36
|
+
'hover:bg-primary',
|
|
37
|
+
'hover:text-primary-foreground'
|
|
38
|
+
]
|
|
39
|
+
),
|
|
40
|
+
props.className
|
|
41
|
+
)}
|
|
53
42
|
>
|
|
54
|
-
{children}
|
|
55
|
-
</Link>
|
|
56
|
-
) : (
|
|
57
|
-
<button {...rest} className={buttonClasses}>
|
|
58
|
-
{children}
|
|
43
|
+
{props.children}
|
|
59
44
|
</button>
|
|
60
45
|
);
|
|
61
46
|
};
|
package/components/input.tsx
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import clsx from 'clsx';
|
|
2
2
|
import { forwardRef, FocusEvent, useState, Ref } from 'react';
|
|
3
3
|
import { Controller } from 'react-hook-form';
|
|
4
|
-
|
|
5
|
-
// @ts-ignore
|
|
6
4
|
import { PatternFormat, PatternFormatProps } from 'react-number-format';
|
|
7
5
|
import { InputProps } from '../types';
|
|
8
6
|
import { twMerge } from 'tailwind-merge';
|
package/components/link.tsx
CHANGED
|
@@ -10,9 +10,7 @@ type LinkProps = Omit<
|
|
|
10
10
|
React.AnchorHTMLAttributes<HTMLAnchorElement>,
|
|
11
11
|
keyof NextLinkProps
|
|
12
12
|
> &
|
|
13
|
-
NextLinkProps
|
|
14
|
-
href: string;
|
|
15
|
-
};
|
|
13
|
+
NextLinkProps;
|
|
16
14
|
|
|
17
15
|
export const Link = ({ children, href, ...rest }: LinkProps) => {
|
|
18
16
|
const { locale, defaultLocaleValue, localeUrlStrategy } = useLocalization();
|
|
@@ -28,21 +26,19 @@ export const Link = ({ children, href, ...rest }: LinkProps) => {
|
|
|
28
26
|
return href;
|
|
29
27
|
}
|
|
30
28
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
return hrefWithLocale;
|
|
42
|
-
}
|
|
29
|
+
const pathnameWithoutLocale = href.replace(urlLocaleMatcherRegex, '');
|
|
30
|
+
const hrefWithLocale = `/${locale}${pathnameWithoutLocale}`;
|
|
31
|
+
|
|
32
|
+
if (localeUrlStrategy === LocaleUrlStrategy.ShowAllLocales) {
|
|
33
|
+
return hrefWithLocale;
|
|
34
|
+
} else if (
|
|
35
|
+
localeUrlStrategy === LocaleUrlStrategy.HideDefaultLocale &&
|
|
36
|
+
locale !== defaultLocaleValue
|
|
37
|
+
) {
|
|
38
|
+
return hrefWithLocale;
|
|
43
39
|
}
|
|
44
40
|
|
|
45
|
-
return href;
|
|
41
|
+
return href || '#';
|
|
46
42
|
}, [href, defaultLocaleValue, locale, localeUrlStrategy]);
|
|
47
43
|
|
|
48
44
|
return (
|
package/data/client/checkout.ts
CHANGED
|
@@ -182,11 +182,6 @@ export const checkoutApi = api.injectEndpoints({
|
|
|
182
182
|
}),
|
|
183
183
|
providesTags: ['Checkout']
|
|
184
184
|
}),
|
|
185
|
-
resetCheckoutState: build.query<CheckoutResponse, void>({
|
|
186
|
-
query: () => ({
|
|
187
|
-
url: buildClientRequestUrl(checkout.guestLogin, {})
|
|
188
|
-
})
|
|
189
|
-
}),
|
|
190
185
|
fetchCheckoutResult: build.query<{ order: Order }, string>({
|
|
191
186
|
query: (token: string) =>
|
|
192
187
|
buildClientRequestUrl(checkout.fetchCheckoutResult(token))
|
|
@@ -864,6 +859,5 @@ export const {
|
|
|
864
859
|
useSetLoyaltyDataMutation,
|
|
865
860
|
useSetWalletSelectionPageMutation,
|
|
866
861
|
useSetWalletPaymentPageMutation,
|
|
867
|
-
useSetWalletCompletePageMutation
|
|
868
|
-
useResetCheckoutStateQuery
|
|
862
|
+
useSetWalletCompletePageMutation
|
|
869
863
|
} = checkoutApi;
|
|
@@ -72,13 +72,10 @@ const addRootLayoutProps = async (componentProps: RootLayoutProps) => {
|
|
|
72
72
|
const checkRedisVariables = () => {
|
|
73
73
|
const requiredVariableValues = [
|
|
74
74
|
process.env.CACHE_HOST,
|
|
75
|
-
process.env.CACHE_PORT
|
|
75
|
+
process.env.CACHE_PORT,
|
|
76
|
+
process.env.CACHE_SECRET
|
|
76
77
|
];
|
|
77
78
|
|
|
78
|
-
if (!settings.usePrettyUrlRoute) {
|
|
79
|
-
requiredVariableValues.push(process.env.CACHE_SECRET);
|
|
80
|
-
}
|
|
81
|
-
|
|
82
79
|
if (
|
|
83
80
|
!requiredVariableValues.every((v) => v) &&
|
|
84
81
|
process.env.NODE_ENV === 'production'
|
package/instrumentation/index.ts
CHANGED
|
@@ -1,12 +1,5 @@
|
|
|
1
|
-
import { initSentry } from '../sentry';
|
|
2
|
-
|
|
3
1
|
export async function register() {
|
|
4
2
|
if (process.env.NEXT_RUNTIME === 'nodejs') {
|
|
5
3
|
await import('./node');
|
|
6
|
-
initSentry('Server');
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
if (process.env.NEXT_RUNTIME === 'edge') {
|
|
10
|
-
initSentry('Edge');
|
|
11
4
|
}
|
|
12
5
|
}
|
package/lib/cache.ts
CHANGED
|
@@ -31,8 +31,6 @@ export const CacheKey = {
|
|
|
31
31
|
`category_${pk}_${encodeURIComponent(
|
|
32
32
|
JSON.stringify(searchParams)
|
|
33
33
|
)}${hashCacheKey(headers)}`,
|
|
34
|
-
Basket: (namespace?: string) => `basket${namespace ? `_${namespace}` : ''}`,
|
|
35
|
-
AllBaskets: () => 'all_baskets',
|
|
36
34
|
CategorySlug: (slug: string) => `category_${slug}`,
|
|
37
35
|
SpecialPage: (
|
|
38
36
|
pk: number,
|
|
@@ -145,8 +145,7 @@ const withCompleteGpay =
|
|
|
145
145
|
logger.info('Redirecting to order success page', {
|
|
146
146
|
middleware: 'complete-gpay',
|
|
147
147
|
redirectUrlWithLocale,
|
|
148
|
-
ip
|
|
149
|
-
setCookie: request.headers.get('set-cookie')
|
|
148
|
+
ip
|
|
150
149
|
});
|
|
151
150
|
|
|
152
151
|
// Using POST method while redirecting causes an error,
|
|
@@ -145,8 +145,7 @@ const withCompleteMasterpass =
|
|
|
145
145
|
logger.info('Redirecting to order success page', {
|
|
146
146
|
middleware: 'complete-masterpass',
|
|
147
147
|
redirectUrlWithLocale,
|
|
148
|
-
ip
|
|
149
|
-
setCookie: request.headers.get('set-cookie')
|
|
148
|
+
ip
|
|
150
149
|
});
|
|
151
150
|
|
|
152
151
|
// Using POST method while redirecting causes an error,
|
package/middlewares/default.ts
CHANGED
|
@@ -285,9 +285,7 @@ const withPzDefault =
|
|
|
285
285
|
url.pathname =
|
|
286
286
|
url.pathname +
|
|
287
287
|
(/\/$/.test(url.pathname) ? '' : '/') +
|
|
288
|
-
`searchparams|${url.searchParams
|
|
289
|
-
.toString()
|
|
290
|
-
.replace(/%26/g, '--amp--')}`;
|
|
288
|
+
`searchparams|${url.searchParams.toString()}`;
|
|
291
289
|
}
|
|
292
290
|
|
|
293
291
|
if (
|
|
@@ -146,8 +146,7 @@ const withRedirectionPayment =
|
|
|
146
146
|
logger.info('Redirecting to order success page', {
|
|
147
147
|
middleware: 'redirection-payment',
|
|
148
148
|
redirectUrlWithLocale,
|
|
149
|
-
ip
|
|
150
|
-
setCookie: request.headers.get('set-cookie')
|
|
149
|
+
ip
|
|
151
150
|
});
|
|
152
151
|
|
|
153
152
|
// Using POST method while redirecting causes an error,
|
|
@@ -145,8 +145,7 @@ const withSavedCardRedirection =
|
|
|
145
145
|
logger.info('Redirecting to order success page', {
|
|
146
146
|
middleware: 'saved-card-redirection',
|
|
147
147
|
redirectUrlWithLocale,
|
|
148
|
-
ip
|
|
149
|
-
setCookie: request.headers.get('set-cookie')
|
|
148
|
+
ip
|
|
150
149
|
});
|
|
151
150
|
|
|
152
151
|
// Using POST method while redirecting causes an error,
|
|
@@ -145,8 +145,7 @@ const withThreeDRedirection =
|
|
|
145
145
|
logger.info('Redirecting to order success page', {
|
|
146
146
|
middleware: 'three-d-redirection',
|
|
147
147
|
redirectUrlWithLocale,
|
|
148
|
-
ip
|
|
149
|
-
setCookie: request.headers.get('set-cookie')
|
|
148
|
+
ip
|
|
150
149
|
});
|
|
151
150
|
|
|
152
151
|
// Using POST method while redirecting causes an error,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@akinon/next",
|
|
3
3
|
"description": "Core package for Project Zero Next",
|
|
4
|
-
"version": "1.79.0
|
|
4
|
+
"version": "1.79.0",
|
|
5
5
|
"private": false,
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"bin": {
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"@opentelemetry/sdk-trace-node": "1.19.0",
|
|
21
21
|
"@opentelemetry/semantic-conventions": "1.19.0",
|
|
22
22
|
"@reduxjs/toolkit": "1.9.7",
|
|
23
|
-
"@neshca/cache-handler": "1.
|
|
23
|
+
"@neshca/cache-handler": "1.5.1",
|
|
24
24
|
"cross-spawn": "7.0.3",
|
|
25
25
|
"generic-pool": "3.9.0",
|
|
26
26
|
"react-redux": "8.1.3",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"set-cookie-parser": "2.6.0"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@akinon/eslint-plugin-projectzero": "1.79.0
|
|
33
|
+
"@akinon/eslint-plugin-projectzero": "1.79.0",
|
|
34
34
|
"@types/react-redux": "7.1.30",
|
|
35
35
|
"@types/set-cookie-parser": "2.4.7",
|
|
36
36
|
"@typescript-eslint/eslint-plugin": "6.7.4",
|
|
@@ -19,10 +19,6 @@ export type AccountOrderCancellation = {
|
|
|
19
19
|
description: string;
|
|
20
20
|
order_item: string;
|
|
21
21
|
reason: string;
|
|
22
|
-
cancellation_request_image_set?: Array<{
|
|
23
|
-
image: string;
|
|
24
|
-
description: string;
|
|
25
|
-
}>;
|
|
26
22
|
}>;
|
|
27
23
|
};
|
|
28
24
|
|
|
@@ -65,5 +61,5 @@ export type ContactFormType = {
|
|
|
65
61
|
order?: string;
|
|
66
62
|
country_code?: string;
|
|
67
63
|
order_needed?: boolean;
|
|
68
|
-
file?: FileList
|
|
64
|
+
file?: FileList
|
|
69
65
|
};
|
package/types/commerce/order.ts
CHANGED
package/types/index.ts
CHANGED
|
@@ -275,10 +275,7 @@ export interface IconProps extends React.ComponentPropsWithRef<'i'> {
|
|
|
275
275
|
|
|
276
276
|
export interface ButtonProps
|
|
277
277
|
extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
278
|
-
appearance?: 'filled' | 'outlined' | 'ghost'
|
|
279
|
-
size?: 'sm' | 'md' | 'lg' | 'xl';
|
|
280
|
-
href?: string;
|
|
281
|
-
target?: '_blank' | '_self' | '_parent' | '_top';
|
|
278
|
+
appearance?: 'filled' | 'outlined' | 'ghost';
|
|
282
279
|
}
|
|
283
280
|
|
|
284
281
|
export type FileInputProps = React.HTMLProps<HTMLInputElement>;
|
package/utils/app-fetch.ts
CHANGED
|
@@ -43,12 +43,12 @@ const appFetch = async <T>({
|
|
|
43
43
|
const requestURL = `${decodeURIComponent(commerceUrl)}${url}`;
|
|
44
44
|
|
|
45
45
|
init.headers = {
|
|
46
|
-
cookie: nextCookies.toString(),
|
|
47
46
|
...(init.headers ?? {}),
|
|
48
47
|
...(ServerVariables.globalHeaders ?? {}),
|
|
49
48
|
'Accept-Language': currentLocale.apiValue,
|
|
50
49
|
'x-currency': currency,
|
|
51
|
-
'x-forwarded-for': ip
|
|
50
|
+
'x-forwarded-for': ip,
|
|
51
|
+
cookie: nextCookies.toString()
|
|
52
52
|
};
|
|
53
53
|
|
|
54
54
|
init.next = {
|
package/with-pz-config.js
CHANGED
|
@@ -44,8 +44,8 @@ const defaultConfig = {
|
|
|
44
44
|
value: 'max-age=63072000; includeSubDomains; preload'
|
|
45
45
|
},
|
|
46
46
|
{
|
|
47
|
-
key: '
|
|
48
|
-
value:
|
|
47
|
+
key: 'X-Frame-Options',
|
|
48
|
+
value: 'SAMEORIGIN'
|
|
49
49
|
}
|
|
50
50
|
]
|
|
51
51
|
}
|
|
@@ -64,7 +64,7 @@ const defaultConfig = {
|
|
|
64
64
|
},
|
|
65
65
|
sentry: {
|
|
66
66
|
hideSourceMaps: true
|
|
67
|
-
}
|
|
67
|
+
}
|
|
68
68
|
};
|
|
69
69
|
|
|
70
70
|
const withPzConfig = (
|
package/data/server/basket.ts
DELETED
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import { Cache, CacheKey } from '../../lib/cache';
|
|
2
|
-
import { basket } from '../../data/urls';
|
|
3
|
-
import { Basket } from '../../types';
|
|
4
|
-
import appFetch from '../../utils/app-fetch';
|
|
5
|
-
import { ServerVariables } from '../../utils/server-variables';
|
|
6
|
-
import logger from '../../utils/log';
|
|
7
|
-
|
|
8
|
-
type GetBasketParams = {
|
|
9
|
-
locale?: string;
|
|
10
|
-
currency?: string;
|
|
11
|
-
namespace?: string;
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
const getBasketDataHandler = ({
|
|
15
|
-
locale,
|
|
16
|
-
currency,
|
|
17
|
-
namespace
|
|
18
|
-
}: GetBasketParams) => {
|
|
19
|
-
return async function () {
|
|
20
|
-
try {
|
|
21
|
-
const url = namespace
|
|
22
|
-
? basket.getBasketDetail(namespace)
|
|
23
|
-
: basket.getBasket;
|
|
24
|
-
|
|
25
|
-
const basketData = await appFetch<{ basket: Basket }>({
|
|
26
|
-
url,
|
|
27
|
-
locale,
|
|
28
|
-
currency,
|
|
29
|
-
init: {
|
|
30
|
-
headers: {
|
|
31
|
-
Accept: 'application/json',
|
|
32
|
-
'Content-Type': 'application/json'
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
});
|
|
36
|
-
|
|
37
|
-
if (!basketData?.basket) {
|
|
38
|
-
logger.warn('Basket data is undefined', {
|
|
39
|
-
handler: 'getBasketDataHandler',
|
|
40
|
-
namespace
|
|
41
|
-
});
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
return basketData;
|
|
45
|
-
} catch (error) {
|
|
46
|
-
logger.error('Error fetching basket data', {
|
|
47
|
-
handler: 'getBasketDataHandler',
|
|
48
|
-
error,
|
|
49
|
-
namespace
|
|
50
|
-
});
|
|
51
|
-
throw error;
|
|
52
|
-
}
|
|
53
|
-
};
|
|
54
|
-
};
|
|
55
|
-
|
|
56
|
-
export const getBasketData = async ({
|
|
57
|
-
locale = ServerVariables.locale,
|
|
58
|
-
currency = ServerVariables.currency,
|
|
59
|
-
namespace
|
|
60
|
-
}: GetBasketParams = {}) => {
|
|
61
|
-
return Cache.wrap(
|
|
62
|
-
CacheKey.Basket(namespace),
|
|
63
|
-
locale,
|
|
64
|
-
getBasketDataHandler({ locale, currency, namespace }),
|
|
65
|
-
{
|
|
66
|
-
expire: 0,
|
|
67
|
-
cache: false
|
|
68
|
-
}
|
|
69
|
-
);
|
|
70
|
-
};
|
|
71
|
-
|
|
72
|
-
|