@akinon/next 1.78.0-rc.2 → 1.78.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 -775
- 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 +1 -1
- package/data/server/basket.ts +0 -72
package/CHANGELOG.md
CHANGED
|
@@ -1,68 +1,10 @@
|
|
|
1
1
|
# @akinon/next
|
|
2
2
|
|
|
3
|
-
## 1.78.0
|
|
4
|
-
|
|
5
|
-
### Minor Changes
|
|
6
|
-
|
|
7
|
-
-
|
|
8
|
-
- 2d9b2b2c: ZERO-2816: Add segment to headers
|
|
9
|
-
- e791eabc: ZERO-3133: Add fallbackReducer for handling missing plugin reducers
|
|
10
|
-
- fd4b74e9: ZERO-3126: add reset checkout state query
|
|
11
|
-
- f49bb74f: ZERO-3097: Add setCookie to logging in payment redirection middlewares
|
|
12
|
-
- e9541a13: ZERO-2816: Add headers to url
|
|
13
|
-
- 4d3deb4f: ZERO-2935: sentry 8 upgrade
|
|
14
|
-
- 72fd4d67: ZERO-3084: Fix URL search parameters encoding in default middleware
|
|
15
|
-
- 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.
|
|
16
|
-
- 64699d3f: ZERO-2761: Fix invalid import for plugin module
|
|
17
|
-
- 7727ae55: ZERO-3073: Refactor basket page to use server-side data fetching and simplify component structure
|
|
18
|
-
- 17f87524: ZERO-2816: Make the incoming currency lowercase
|
|
19
|
-
- 65d3b862: ZERO-3054: Update headers in appFetch
|
|
20
|
-
- bbe18b9f: ZERO-2575: Fix build error
|
|
21
|
-
- 4920742c: Disable getCachedTranslations
|
|
22
|
-
- 7e56d6b6: ZERO-2841: Update api tagTypes
|
|
23
|
-
- 43c182ee: ZERO-3054: Update Redis variable checks to conditionally include CACHE_SECRET
|
|
24
|
-
- 2d305aaf: ZERO-2935: Update Sentry configuration: remove hideSourceMaps option and add it to withPzConfig
|
|
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
|
-
- 49eeebfa: ZERO-2909: Add deleteCollectionItem query to wishlistApi
|
|
31
|
-
- 3f9b8d7e: ZERO-2761: Update plugins.js for akinon-next
|
|
32
|
-
|
|
33
|
-
## 1.78.0-rc.1
|
|
34
|
-
|
|
35
|
-
### Minor Changes
|
|
36
|
-
|
|
37
|
-
- fd4b74e9: ZERO-3126: add reset checkout state query
|
|
38
|
-
|
|
39
|
-
## 1.78.0-rc.0
|
|
40
|
-
|
|
41
|
-
### Minor Changes
|
|
42
|
-
|
|
43
|
-
- 5dfeea04: ZERO-2801: Revert ZERO-2801
|
|
44
|
-
- 2d9b2b2c: ZERO-2816: Add segment to headers
|
|
45
|
-
- f49bb74f: ZERO-3097: Add setCookie to logging in payment redirection middlewares
|
|
46
|
-
- e9541a13: ZERO-2816: Add headers to url
|
|
47
|
-
- 4d3deb4f: ZERO-2935: sentry 8 upgrade
|
|
48
|
-
- 72fd4d67: ZERO-3084: Fix URL search parameters encoding in default middleware
|
|
49
|
-
- 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.
|
|
50
|
-
- 64699d3f: ZERO-2761: Fix invalid import for plugin module
|
|
51
|
-
- 7727ae55: ZERO-3073: Refactor basket page to use server-side data fetching and simplify component structure
|
|
52
|
-
- 17f87524: ZERO-2816: Make the incoming currency lowercase
|
|
53
|
-
- 65d3b862: ZERO-3054: Update headers in appFetch
|
|
54
|
-
- bbe18b9f: ZERO-2575: Fix build error
|
|
55
|
-
- 4920742c: Disable getCachedTranslations
|
|
56
|
-
- 7e56d6b6: ZERO-2841: Update api tagTypes
|
|
57
|
-
- 43c182ee: ZERO-3054: Update Redis variable checks to conditionally include CACHE_SECRET
|
|
58
|
-
- 2d305aaf: ZERO-2935: Update Sentry configuration: remove hideSourceMaps option and add it to withPzConfig
|
|
59
|
-
- eeb20bea: Revert "ZERO-3054: Refactor cache handler to use custom Redis handler and implement key hashing"
|
|
60
|
-
- 6a0a0807: ZERO-3112: Update button
|
|
61
|
-
- f2c92d5c: ZERO-2816: Update cookie name
|
|
62
|
-
- 7bd3d992: ZERO-2801: Refactor locale middleware to handle single locale configuration
|
|
63
|
-
- fdd255ee: ZERO-3054: Refactor cache handler to use custom Redis handler and implement key hashing
|
|
64
|
-
- 49eeebfa: ZERO-2909: Add deleteCollectionItem query to wishlistApi
|
|
65
|
-
- 3f9b8d7e: ZERO-2761: Update plugins.js for akinon-next
|
|
3
|
+
## 1.78.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- e791eab: ZERO-3133: Add fallbackReducer for handling missing plugin reducers
|
|
66
8
|
|
|
67
9
|
## 1.77.0
|
|
68
10
|
|
|
@@ -128,52 +70,6 @@
|
|
|
128
70
|
### Minor Changes
|
|
129
71
|
|
|
130
72
|
- f34454a: ZERO-2953: Add hepsipay payment method
|
|
131
|
-
- 3bfa12a: ZERO-3003:Add fetchLoyaltyData and setLoyaltyData requests to RTK
|
|
132
|
-
- 4d3deb4: ZERO-2935: sentry 8 upgrade
|
|
133
|
-
- 3010514: ZERO-3011:add shipping_option_operator and custom filter to getOrders
|
|
134
|
-
- 9a50730: ZERO-3015: Add currency parameter to getOrders query
|
|
135
|
-
- ca774b3: ZERO-3002:add register with loyalty url
|
|
136
|
-
- 56cdddc: ZERO-0000: SHOP-78125: Change unpaid_amount with total_amount_with_interest
|
|
137
|
-
- 3344bca: ZERO-3013: Enable web vitals tracking in settings.js
|
|
138
|
-
|
|
139
|
-
## 1.71.0-rc.7
|
|
140
|
-
|
|
141
|
-
## 1.71.0-rc.6
|
|
142
|
-
|
|
143
|
-
### Minor Changes
|
|
144
|
-
|
|
145
|
-
- f34454a: ZERO-2953: Add hepsipay payment method
|
|
146
|
-
|
|
147
|
-
## 1.71.0-rc.5
|
|
148
|
-
|
|
149
|
-
## 1.71.0-rc.4
|
|
150
|
-
|
|
151
|
-
## 1.71.0-rc.3
|
|
152
|
-
|
|
153
|
-
### Minor Changes
|
|
154
|
-
|
|
155
|
-
- 3344bca: ZERO-3013: Enable web vitals tracking in settings.js
|
|
156
|
-
|
|
157
|
-
## 1.71.0-rc.2
|
|
158
|
-
|
|
159
|
-
### Minor Changes
|
|
160
|
-
|
|
161
|
-
- 56cdddc: ZERO-0000: SHOP-78125: Change unpaid_amount with total_amount_with_interest
|
|
162
|
-
|
|
163
|
-
## 1.71.0-rc.1
|
|
164
|
-
|
|
165
|
-
### Minor Changes
|
|
166
|
-
|
|
167
|
-
- 9a50730: ZERO-3015: Add currency parameter to getOrders query
|
|
168
|
-
|
|
169
|
-
## 1.71.0-rc.0
|
|
170
|
-
|
|
171
|
-
### Minor Changes
|
|
172
|
-
|
|
173
|
-
- 3bfa12a: ZERO-3003:Add fetchLoyaltyData and setLoyaltyData requests to RTK
|
|
174
|
-
- 4d3deb4: ZERO-2935: sentry 8 upgrade
|
|
175
|
-
- 3010514: ZERO-3011:add shipping_option_operator and custom filter to getOrders
|
|
176
|
-
- ca774b3: ZERO-3002:add register with loyalty url
|
|
177
73
|
|
|
178
74
|
## 1.70.0
|
|
179
75
|
|
|
@@ -185,72 +81,12 @@
|
|
|
185
81
|
|
|
186
82
|
### Minor Changes
|
|
187
83
|
|
|
188
|
-
- 3bfa12a: ZERO-3003:Add fetchLoyaltyData and setLoyaltyData requests to RTK
|
|
189
|
-
- 4d3deb4: ZERO-2935: sentry 8 upgrade
|
|
190
|
-
- 3010514: ZERO-3011:add shipping_option_operator and custom filter to getOrders
|
|
191
|
-
- ca774b3: ZERO-3002:add register with loyalty url
|
|
192
|
-
- f046f8e: ZERO-2575: update version for react-number-format
|
|
193
|
-
|
|
194
|
-
## 1.69.0-rc.8
|
|
195
|
-
|
|
196
|
-
### Minor Changes
|
|
197
|
-
|
|
198
|
-
- 3010514: ZERO-3011:add shipping_option_operator and custom filter to getOrders
|
|
199
|
-
- ca774b3: ZERO-3002:add register with loyalty url
|
|
200
|
-
|
|
201
|
-
## 1.69.0-rc.7
|
|
202
|
-
|
|
203
|
-
### Minor Changes
|
|
204
|
-
|
|
205
|
-
- 3bfa12a: ZERO-3003:Add fetchLoyaltyData and setLoyaltyData requests to RTK
|
|
206
|
-
|
|
207
|
-
## 1.69.0-rc.6
|
|
208
|
-
|
|
209
|
-
### Minor Changes
|
|
210
|
-
|
|
211
|
-
- 4d3deb4: ZERO-2935: sentry 8 upgrade
|
|
212
84
|
- 063da74: ZERO-3010: Remove pz-iyzico-saved-card package
|
|
213
85
|
- 72da021: ZERO-3010: Remove unused code in pretty-url.tsx
|
|
214
86
|
- 5632a99: ZERO-3010: Remove iyzicoSavedCardReducer from reducers
|
|
215
87
|
- cbdb0c8: ZERO-3010: Move pretty url page into project
|
|
216
88
|
- 80c869b: ZERO-3010: Remove savedCardMiddleware from redux middlewares
|
|
217
89
|
|
|
218
|
-
## 1.69.0-rc.5
|
|
219
|
-
|
|
220
|
-
### Minor Changes
|
|
221
|
-
|
|
222
|
-
- 80c869b: ZERO-3010: Remove savedCardMiddleware from redux middlewares
|
|
223
|
-
|
|
224
|
-
## 1.69.0-rc.4
|
|
225
|
-
|
|
226
|
-
### Minor Changes
|
|
227
|
-
|
|
228
|
-
- 063da74: ZERO-3010: Remove pz-iyzico-saved-card package
|
|
229
|
-
|
|
230
|
-
## 1.69.0-rc.3
|
|
231
|
-
|
|
232
|
-
### Minor Changes
|
|
233
|
-
|
|
234
|
-
- cbdb0c8: ZERO-3010: Move pretty url page into project
|
|
235
|
-
|
|
236
|
-
## 1.69.0-rc.2
|
|
237
|
-
|
|
238
|
-
### Minor Changes
|
|
239
|
-
|
|
240
|
-
- 5632a99: ZERO-3010: Remove iyzicoSavedCardReducer from reducers
|
|
241
|
-
|
|
242
|
-
## 1.69.0-rc.1
|
|
243
|
-
|
|
244
|
-
### Minor Changes
|
|
245
|
-
|
|
246
|
-
- 72da021: ZERO-3010: Remove unused code in pretty-url.tsx
|
|
247
|
-
|
|
248
|
-
## 1.69.0-rc.0
|
|
249
|
-
|
|
250
|
-
### Minor Changes
|
|
251
|
-
|
|
252
|
-
- 4d3deb4: ZERO-2935: sentry 8 upgrade
|
|
253
|
-
|
|
254
90
|
## 1.68.0
|
|
255
91
|
|
|
256
92
|
### Minor Changes
|
|
@@ -360,183 +196,11 @@
|
|
|
360
196
|
|
|
361
197
|
### Minor Changes
|
|
362
198
|
|
|
363
|
-
- c416d18: ZERO-2915: Add delivery option null check for setAddress
|
|
364
|
-
- 572d2e84: ZERO-2667: Add iframe support for redirection payment methods
|
|
365
|
-
- 5dfeea0: ZERO-2801: Revert ZERO-2801
|
|
366
|
-
- a4c8d6a9: ZERO-2663: Fix the image url for gif and svgs and return them without options
|
|
367
|
-
- fda5b927: ZERO-2725: fix invalid import
|
|
368
|
-
- 2d9b2b2c: ZERO-2816: Add segment to headers
|
|
369
|
-
- c53ea3e6: ZERO-2609: Reset additional form fields when selectedFormType is not company
|
|
370
|
-
- 6c25f66: ZERO-2551: Check CACHE_HOST variable
|
|
371
|
-
- bc2b4117: ZERO-2825: Add attribute-based shipping options to checkout page
|
|
372
|
-
- 3bf2dd9: ZERO-2551: Fix search page
|
|
373
|
-
- e9541a13: ZERO-2816: Add headers to url
|
|
374
|
-
- 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.
|
|
375
|
-
- 2e6104d: ZERO-2888:Edit the numbering in the pagination and the visibility of the prev and next buttons
|
|
376
|
-
- 64699d3f: ZERO-2761: Fix invalid import for plugin module
|
|
377
|
-
- 0d3a913e: ZERO-2725: Update decimal scale in Price component
|
|
378
|
-
- 7b05522: ZERO-2905: Fix resend and close button in otp package
|
|
379
|
-
- d6edb1d: ZERO-2551: Fix searchparams handling for list and other routes
|
|
380
|
-
- d3474c64: ZERO-2655: Add data source shipping option
|
|
381
|
-
- 17f87524: ZERO-2816: Make the incoming currency lowercase
|
|
382
|
-
- 29ead87: ZERO-2905: Fix resend and close button in otp package
|
|
383
|
-
- c45b62c: ZERO-2818: Add upload and download support for b2b package
|
|
384
|
-
- 91265bba: ZERO-2551: Improve pretty url and caching performance
|
|
385
|
-
- bbe18b9f: ZERO-2575: Fix build error
|
|
386
|
-
- d4099960: ZERO-2781: Refactor buildClientRequestUrl function to support caching and options
|
|
387
|
-
- 4920742: Disable getCachedTranslations
|
|
388
|
-
- 12a873e: ZERO-2846:Edit the siteKey regex in the response from GetCaptcha
|
|
389
|
-
- 7e56d6b: ZERO-2841: Update api tagTypes
|
|
390
|
-
- 94b69285: ZERO-2551: Add cache handler check in url-redirection middleware
|
|
391
|
-
- 98bb8dcd: ZERO-2706: Cache getTranlations method
|
|
392
|
-
- dcc8a150: ZERO-2694: added build step to RC branch pipeline
|
|
393
|
-
- 8f47cca: ZERO-2829: fix and add nested JSON support for useFormData in api/client route
|
|
394
|
-
- fad27689: ZERO-2739: add gpay to payment plugin map
|
|
395
|
-
- dff0d595: ZERO-2659: add formData support to proxy api requests
|
|
396
|
-
- fdd0b41: ZERO-2706: Add optimized translation support
|
|
397
|
-
- f2c325c: ZERO-2838: Move file input component into @akinon/next
|
|
398
|
-
- 9e25a64: ZERO-2835: Update category page layout with breadcrumb
|
|
399
|
-
- beb499e6: ZERO-2551: Add new tsconfig paths
|
|
400
|
-
- f2c92d5c: ZERO-2816: Update cookie name
|
|
401
|
-
- 7bd3d992: ZERO-2801: Refactor locale middleware to handle single locale configuration
|
|
402
|
-
- f3d076b: ZERO-2864: create tabby extension plugin
|
|
403
|
-
- f046f8e0: ZERO-2575: update version for react-number-format
|
|
404
|
-
- 49eeebf: ZERO-2909: Add deleteCollectionItem query to wishlistApi
|
|
405
|
-
- 86d25315: ZERO-2693: resolve dependency collision warning for eslint-config-next
|
|
406
|
-
- 3f9b8d7e: ZERO-2761: Update plugins.js for akinon-next
|
|
407
|
-
|
|
408
|
-
## 1.56.0-rc.7
|
|
409
|
-
|
|
410
|
-
## 1.56.0-rc.6
|
|
411
|
-
|
|
412
|
-
### Minor Changes
|
|
413
|
-
|
|
414
|
-
- f3d076b: ZERO-2864: create tabby extension plugin
|
|
415
|
-
|
|
416
|
-
## 1.56.0-rc.5
|
|
417
|
-
|
|
418
|
-
### Minor Changes
|
|
419
|
-
|
|
420
|
-
- c416d18: ZERO-2915: Add delivery option null check for setAddress
|
|
421
|
-
|
|
422
|
-
## 1.56.0-rc.4
|
|
423
|
-
|
|
424
|
-
### Minor Changes
|
|
425
|
-
|
|
426
|
-
- 572d2e84: ZERO-2667: Add iframe support for redirection payment methods
|
|
427
|
-
- 5dfeea0: ZERO-2801: Revert ZERO-2801
|
|
428
|
-
- a4c8d6a9: ZERO-2663: Fix the image url for gif and svgs and return them without options
|
|
429
|
-
- fda5b927: ZERO-2725: fix invalid import
|
|
430
|
-
- 2d9b2b2c: ZERO-2816: Add segment to headers
|
|
431
|
-
- c53ea3e6: ZERO-2609: Reset additional form fields when selectedFormType is not company
|
|
432
199
|
- d93a507: ZERO-2900: Fix pretty url rewrite
|
|
433
|
-
- 6c25f66: ZERO-2551: Check CACHE_HOST variable
|
|
434
|
-
- bc2b411: ZERO-2825: Add attribute-based shipping options to checkout page
|
|
435
|
-
- 3bf2dd9: ZERO-2551: Fix search page
|
|
436
|
-
- e9541a13: ZERO-2816: Add headers to url
|
|
437
|
-
- 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.
|
|
438
|
-
- 2e6104d: ZERO-2888:Edit the numbering in the pagination and the visibility of the prev and next buttons
|
|
439
|
-
- 64699d3: ZERO-2761: Fix invalid import for plugin module
|
|
440
|
-
- 0d3a913e: ZERO-2725: Update decimal scale in Price component
|
|
441
|
-
- 7b05522: ZERO-2905: Fix resend and close button in otp package
|
|
442
|
-
- d6edb1d: ZERO-2551: Fix searchparams handling for list and other routes
|
|
443
|
-
- d3474c64: ZERO-2655: Add data source shipping option
|
|
444
|
-
- 17f8752: ZERO-2816: Make the incoming currency lowercase
|
|
445
|
-
- 29ead87: ZERO-2905: Fix resend and close button in otp package
|
|
446
|
-
- c45b62c: ZERO-2818: Add upload and download support for b2b package
|
|
447
|
-
- 91265bba: ZERO-2551: Improve pretty url and caching performance
|
|
448
|
-
- bbe18b9f: ZERO-2575: Fix build error
|
|
449
|
-
- d4099960: ZERO-2781: Refactor buildClientRequestUrl function to support caching and options
|
|
450
|
-
- 4920742: Disable getCachedTranslations
|
|
451
|
-
- 12a873e: ZERO-2846:Edit the siteKey regex in the response from GetCaptcha
|
|
452
200
|
- 674badc: ZERO-2912: Fix selected payment option view to handle null values
|
|
453
|
-
- 7e56d6b: ZERO-2841: Update api tagTypes
|
|
454
|
-
- 94b69285: ZERO-2551: Add cache handler check in url-redirection middleware
|
|
455
|
-
- 98bb8dcd: ZERO-2706: Cache getTranlations method
|
|
456
201
|
- 207ac6e: ZERO-2917: Add OrderSelectionPage endpoint
|
|
457
|
-
- dcc8a150: ZERO-2694: added build step to RC branch pipeline
|
|
458
|
-
- 8f47cca: ZERO-2829: fix and add nested JSON support for useFormData in api/client route
|
|
459
|
-
- fad27689: ZERO-2739: add gpay to payment plugin map
|
|
460
|
-
- dff0d595: ZERO-2659: add formData support to proxy api requests
|
|
461
|
-
- fdd0b41: ZERO-2706: Add optimized translation support
|
|
462
|
-
- f2c325c: ZERO-2838: Move file input component into @akinon/next
|
|
463
|
-
- 9e25a64: ZERO-2835: Update category page layout with breadcrumb
|
|
464
|
-
- beb499e6: ZERO-2551: Add new tsconfig paths
|
|
465
|
-
- f2c92d5c: ZERO-2816: Update cookie name
|
|
466
|
-
- 7bd3d99: ZERO-2801: Refactor locale middleware to handle single locale configuration
|
|
467
|
-
- f046f8e0: ZERO-2575: update version for react-number-format
|
|
468
202
|
- b9273fd: ZERO-2889: add host headers to requests
|
|
469
|
-
- 49eeebf: ZERO-2909: Add deleteCollectionItem query to wishlistApi
|
|
470
|
-
- 86d25315: ZERO-2693: resolve dependency collision warning for eslint-config-next
|
|
471
203
|
- c670bd4: ZERO-2900: Add middleware rewrite functionality
|
|
472
|
-
- 3f9b8d7: ZERO-2761: Update plugins.js for akinon-next
|
|
473
|
-
|
|
474
|
-
## 1.56.0-rc.3
|
|
475
|
-
|
|
476
|
-
### Minor Changes
|
|
477
|
-
|
|
478
|
-
- 674badc: ZERO-2912: Fix selected payment option view to handle null values
|
|
479
|
-
|
|
480
|
-
## 1.56.0-rc.2
|
|
481
|
-
|
|
482
|
-
### Minor Changes
|
|
483
|
-
|
|
484
|
-
- 7b05522: ZERO-2905: Fix resend and close button in otp package
|
|
485
|
-
- 29ead87: ZERO-2905: Fix resend and close button in otp package
|
|
486
|
-
|
|
487
|
-
## 1.56.0-rc.1
|
|
488
|
-
|
|
489
|
-
### Minor Changes
|
|
490
|
-
|
|
491
|
-
- 207ac6e: ZERO-2917: Add OrderSelectionPage endpoint
|
|
492
|
-
|
|
493
|
-
## 1.56.0-rc.0
|
|
494
|
-
|
|
495
|
-
### Minor Changes
|
|
496
|
-
|
|
497
|
-
- 572d2e84: ZERO-2667: Add iframe support for redirection payment methods
|
|
498
|
-
- 5dfeea0: ZERO-2801: Revert ZERO-2801
|
|
499
|
-
- a4c8d6a9: ZERO-2663: Fix the image url for gif and svgs and return them without options
|
|
500
|
-
- fda5b927: ZERO-2725: fix invalid import
|
|
501
|
-
- 2d9b2b2c: ZERO-2816: Add segment to headers
|
|
502
|
-
- c53ea3e6: ZERO-2609: Reset additional form fields when selectedFormType is not company
|
|
503
|
-
- d93a507: ZERO-2900: Fix pretty url rewrite
|
|
504
|
-
- 6c25f666: ZERO-2551: Check CACHE_HOST variable
|
|
505
|
-
- bc2b4117: ZERO-2825: Add attribute-based shipping options to checkout page
|
|
506
|
-
- 3bf2dd94: ZERO-2551: Fix search page
|
|
507
|
-
- e9541a13: ZERO-2816: Add headers to url
|
|
508
|
-
- 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.
|
|
509
|
-
- 2e6104d: ZERO-2888:Edit the numbering in the pagination and the visibility of the prev and next buttons
|
|
510
|
-
- 64699d3f: ZERO-2761: Fix invalid import for plugin module
|
|
511
|
-
- 0d3a913e: ZERO-2725: Update decimal scale in Price component
|
|
512
|
-
- d6edb1d0: ZERO-2551: Fix searchparams handling for list and other routes
|
|
513
|
-
- d3474c64: ZERO-2655: Add data source shipping option
|
|
514
|
-
- 17f87524: ZERO-2816: Make the incoming currency lowercase
|
|
515
|
-
- c45b62c9: ZERO-2818: Add upload and download support for b2b package
|
|
516
|
-
- 91265bba: ZERO-2551: Improve pretty url and caching performance
|
|
517
|
-
- bbe18b9f: ZERO-2575: Fix build error
|
|
518
|
-
- d4099960: ZERO-2781: Refactor buildClientRequestUrl function to support caching and options
|
|
519
|
-
- 4920742c: Disable getCachedTranslations
|
|
520
|
-
- 12a873e: ZERO-2846:Edit the siteKey regex in the response from GetCaptcha
|
|
521
|
-
- 7e56d6b6: ZERO-2841: Update api tagTypes
|
|
522
|
-
- 94b69285: ZERO-2551: Add cache handler check in url-redirection middleware
|
|
523
|
-
- 98bb8dcd: ZERO-2706: Cache getTranlations method
|
|
524
|
-
- dcc8a150: ZERO-2694: added build step to RC branch pipeline
|
|
525
|
-
- 8f47ccae: ZERO-2829: fix and add nested JSON support for useFormData in api/client route
|
|
526
|
-
- fad27689: ZERO-2739: add gpay to payment plugin map
|
|
527
|
-
- dff0d595: ZERO-2659: add formData support to proxy api requests
|
|
528
|
-
- fdd0b41: ZERO-2706: Add optimized translation support
|
|
529
|
-
- f2c325c1: ZERO-2838: Move file input component into @akinon/next
|
|
530
|
-
- 9e25a64b: ZERO-2835: Update category page layout with breadcrumb
|
|
531
|
-
- beb499e6: ZERO-2551: Add new tsconfig paths
|
|
532
|
-
- f2c92d5c: ZERO-2816: Update cookie name
|
|
533
|
-
- 7bd3d992: ZERO-2801: Refactor locale middleware to handle single locale configuration
|
|
534
|
-
- f046f8e0: ZERO-2575: update version for react-number-format
|
|
535
|
-
- b9273fd3: ZERO-2889: add host headers to requests
|
|
536
|
-
- 49eeebf: ZERO-2909: Add deleteCollectionItem query to wishlistApi
|
|
537
|
-
- 86d25315: ZERO-2693: resolve dependency collision warning for eslint-config-next
|
|
538
|
-
- c670bd48: ZERO-2900: Add middleware rewrite functionality
|
|
539
|
-
- 3f9b8d7e: ZERO-2761: Update plugins.js for akinon-next
|
|
540
204
|
|
|
541
205
|
## 1.55.0
|
|
542
206
|
|
|
@@ -582,128 +246,7 @@
|
|
|
582
246
|
|
|
583
247
|
### Minor Changes
|
|
584
248
|
|
|
585
|
-
- 90282b53: ZERO-2729: Audit packages for yarn and npm and also update app-template
|
|
586
|
-
- 572d2e84: ZERO-2667: Add iframe support for redirection payment methods
|
|
587
|
-
- 5dfeea0: ZERO-2801: Revert ZERO-2801
|
|
588
|
-
- a4c8d6a9: ZERO-2663: Fix the image url for gif and svgs and return them without options
|
|
589
|
-
- fda5b927: ZERO-2725: fix invalid import
|
|
590
|
-
- 2d9b2b2: ZERO-2816: Add segment to headers
|
|
591
|
-
- c53ea3e6: ZERO-2609: Reset additional form fields when selectedFormType is not company
|
|
592
|
-
- d93a507: ZERO-2900: Fix pretty url rewrite
|
|
593
|
-
- 8d9ac9a: ZERO-2794: Add field to order type
|
|
594
|
-
- 70279e7: ZERO-2817: Add metrics endpoint in default middleware
|
|
595
|
-
- 6c25f66: ZERO-2551: Check CACHE_HOST variable
|
|
596
|
-
- bc2b411: ZERO-2825: Add attribute-based shipping options to checkout page
|
|
597
|
-
- 3bf2dd9: ZERO-2551: Fix search page
|
|
598
|
-
- e9541a1: ZERO-2816: Add headers to url
|
|
599
|
-
- 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.
|
|
600
|
-
- 9d94f7e: ZERO-2820: update parent pk usage for menu generator
|
|
601
|
-
- 2e6104d: ZERO-2888:Edit the numbering in the pagination and the visibility of the prev and next buttons
|
|
602
|
-
- 64699d3: ZERO-2761: Fix invalid import for plugin module
|
|
603
|
-
- 0d3a913e: ZERO-2725: Update decimal scale in Price component
|
|
604
|
-
- 1448a96e: ZERO-2612: add errors type in CheckoutState
|
|
605
|
-
- 1ec2e9d: ZERO-2895: Update app-fetch to include cookies in headers
|
|
606
|
-
- d6edb1d: ZERO-2551: Fix searchparams handling for list and other routes
|
|
607
|
-
- d3474c64: ZERO-2655: Add data source shipping option
|
|
608
|
-
- 75080fd6: ZERO-2630: Add max limit to postcode area
|
|
609
|
-
- 17f8752: ZERO-2816: Make the incoming currency lowercase
|
|
610
|
-
- c45b62c: ZERO-2818: Add upload and download support for b2b package
|
|
611
|
-
- 91265bba: ZERO-2551: Improve pretty url and caching performance
|
|
612
|
-
- bbe18b9f: ZERO-2575: Fix build error
|
|
613
|
-
- d4099960: ZERO-2781: Refactor buildClientRequestUrl function to support caching and options
|
|
614
|
-
- 4920742: Disable getCachedTranslations
|
|
615
|
-
- 12a873e: ZERO-2846:Edit the siteKey regex in the response from GetCaptcha
|
|
616
|
-
- 7e56d6b: ZERO-2841: Update api tagTypes
|
|
617
|
-
- 94b6928: ZERO-2551: Add cache handler check in url-redirection middleware
|
|
618
|
-
- 98bb8dcd: ZERO-2706: Cache getTranlations method
|
|
619
|
-
- 46b7aad7: ZERO-2775: Add condition and logger for menuitemmodel data
|
|
620
|
-
- dcc8a150: ZERO-2694: added build step to RC branch pipeline
|
|
621
|
-
- 8f47cca: ZERO-2829: fix and add nested JSON support for useFormData in api/client route
|
|
622
|
-
- fad27689: ZERO-2739: add gpay to payment plugin map
|
|
623
|
-
- dff0d595: ZERO-2659: add formData support to proxy api requests
|
|
624
|
-
- fdd0b41: ZERO-2706: Add optimized translation support
|
|
625
|
-
- eecb282: ZERO-2607: Update address-related functions to include invalidateTag option
|
|
626
|
-
- f2c325c: ZERO-2838: Move file input component into @akinon/next
|
|
627
|
-
- 9e25a64: ZERO-2835: Update category page layout with breadcrumb
|
|
628
|
-
- beb499e6: ZERO-2551: Add new tsconfig paths
|
|
629
|
-
- 146ea391: ZERO-2774: Update imports
|
|
630
|
-
- f2c92d5: ZERO-2816: Update cookie name
|
|
631
|
-
- 7bd3d99: ZERO-2801: Refactor locale middleware to handle single locale configuration
|
|
632
|
-
- c47be30d: ZERO-2744: Update Order and OrderItem types
|
|
633
|
-
- e9a46acb: ZERO-2738: add CVC input to registered cards in Masterpass
|
|
634
|
-
- f046f8e0: ZERO-2575: update version for react-number-format
|
|
635
|
-
- b9273fd: ZERO-2889: add host headers to requests
|
|
636
|
-
- 49eeebf: ZERO-2909: Add deleteCollectionItem query to wishlistApi
|
|
637
|
-
- 86d25315: ZERO-2693: resolve dependency collision warning for eslint-config-next
|
|
638
|
-
- c670bd4: ZERO-2900: Add middleware rewrite functionality
|
|
639
|
-
- 3f9b8d7: ZERO-2761: Update plugins.js for akinon-next
|
|
640
|
-
- 3d35f70: ZERO-2908: Add cookie to redirect url
|
|
641
|
-
|
|
642
|
-
## 1.50.0-rc.1
|
|
643
|
-
|
|
644
|
-
### Minor Changes
|
|
645
|
-
|
|
646
|
-
- 49eeebf: ZERO-2909: Add deleteCollectionItem query to wishlistApi
|
|
647
|
-
|
|
648
|
-
## 1.50.0-rc.0
|
|
649
|
-
|
|
650
|
-
### Minor Changes
|
|
651
|
-
|
|
652
|
-
- 90282b53: ZERO-2729: Audit packages for yarn and npm and also update app-template
|
|
653
|
-
- 572d2e84: ZERO-2667: Add iframe support for redirection payment methods
|
|
654
|
-
- 5dfeea0: ZERO-2801: Revert ZERO-2801
|
|
655
|
-
- a4c8d6a9: ZERO-2663: Fix the image url for gif and svgs and return them without options
|
|
656
|
-
- fda5b927: ZERO-2725: fix invalid import
|
|
657
|
-
- 2d9b2b2: ZERO-2816: Add segment to headers
|
|
658
|
-
- c53ea3e6: ZERO-2609: Reset additional form fields when selectedFormType is not company
|
|
659
|
-
- d93a507: ZERO-2900: Fix pretty url rewrite
|
|
660
|
-
- 8d9ac9a: ZERO-2794: Add field to order type
|
|
661
249
|
- eaf97d6: ZERO-2909: Add deleteCollectionItem query to wishlistApi
|
|
662
|
-
- 70279e7: ZERO-2817: Add metrics endpoint in default middleware
|
|
663
|
-
- 6c25f66: ZERO-2551: Check CACHE_HOST variable
|
|
664
|
-
- bc2b411: ZERO-2825: Add attribute-based shipping options to checkout page
|
|
665
|
-
- 3bf2dd9: ZERO-2551: Fix search page
|
|
666
|
-
- e9541a1: ZERO-2816: Add headers to url
|
|
667
|
-
- 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.
|
|
668
|
-
- 9d94f7e: ZERO-2820: update parent pk usage for menu generator
|
|
669
|
-
- 2e6104d: ZERO-2888:Edit the numbering in the pagination and the visibility of the prev and next buttons
|
|
670
|
-
- 64699d3: ZERO-2761: Fix invalid import for plugin module
|
|
671
|
-
- 0d3a913e: ZERO-2725: Update decimal scale in Price component
|
|
672
|
-
- 1448a96e: ZERO-2612: add errors type in CheckoutState
|
|
673
|
-
- 1ec2e9d: ZERO-2895: Update app-fetch to include cookies in headers
|
|
674
|
-
- d6edb1d: ZERO-2551: Fix searchparams handling for list and other routes
|
|
675
|
-
- d3474c64: ZERO-2655: Add data source shipping option
|
|
676
|
-
- 75080fd6: ZERO-2630: Add max limit to postcode area
|
|
677
|
-
- 17f8752: ZERO-2816: Make the incoming currency lowercase
|
|
678
|
-
- c45b62c: ZERO-2818: Add upload and download support for b2b package
|
|
679
|
-
- 91265bba: ZERO-2551: Improve pretty url and caching performance
|
|
680
|
-
- bbe18b9f: ZERO-2575: Fix build error
|
|
681
|
-
- d4099960: ZERO-2781: Refactor buildClientRequestUrl function to support caching and options
|
|
682
|
-
- 4920742: Disable getCachedTranslations
|
|
683
|
-
- 12a873e: ZERO-2846:Edit the siteKey regex in the response from GetCaptcha
|
|
684
|
-
- 7e56d6b: ZERO-2841: Update api tagTypes
|
|
685
|
-
- 94b6928: ZERO-2551: Add cache handler check in url-redirection middleware
|
|
686
|
-
- 98bb8dcd: ZERO-2706: Cache getTranlations method
|
|
687
|
-
- 46b7aad7: ZERO-2775: Add condition and logger for menuitemmodel data
|
|
688
|
-
- dcc8a150: ZERO-2694: added build step to RC branch pipeline
|
|
689
|
-
- 8f47cca: ZERO-2829: fix and add nested JSON support for useFormData in api/client route
|
|
690
|
-
- fad27689: ZERO-2739: add gpay to payment plugin map
|
|
691
|
-
- dff0d595: ZERO-2659: add formData support to proxy api requests
|
|
692
|
-
- fdd0b41: ZERO-2706: Add optimized translation support
|
|
693
|
-
- eecb282: ZERO-2607: Update address-related functions to include invalidateTag option
|
|
694
|
-
- f2c325c: ZERO-2838: Move file input component into @akinon/next
|
|
695
|
-
- 9e25a64: ZERO-2835: Update category page layout with breadcrumb
|
|
696
|
-
- beb499e6: ZERO-2551: Add new tsconfig paths
|
|
697
|
-
- 146ea391: ZERO-2774: Update imports
|
|
698
|
-
- f2c92d5: ZERO-2816: Update cookie name
|
|
699
|
-
- 7bd3d99: ZERO-2801: Refactor locale middleware to handle single locale configuration
|
|
700
|
-
- c47be30d: ZERO-2744: Update Order and OrderItem types
|
|
701
|
-
- e9a46acb: ZERO-2738: add CVC input to registered cards in Masterpass
|
|
702
|
-
- f046f8e0: ZERO-2575: update version for react-number-format
|
|
703
|
-
- b9273fd: ZERO-2889: add host headers to requests
|
|
704
|
-
- 86d25315: ZERO-2693: resolve dependency collision warning for eslint-config-next
|
|
705
|
-
- c670bd4: ZERO-2900: Add middleware rewrite functionality
|
|
706
|
-
- 3f9b8d7: ZERO-2761: Update plugins.js for akinon-next
|
|
707
250
|
|
|
708
251
|
## 1.49.0
|
|
709
252
|
|
|
@@ -729,126 +272,7 @@
|
|
|
729
272
|
|
|
730
273
|
### Minor Changes
|
|
731
274
|
|
|
732
|
-
- 90282b5: ZERO-2729: Audit packages for yarn and npm and also update app-template
|
|
733
|
-
- 572d2e8: ZERO-2667: Add iframe support for redirection payment methods
|
|
734
|
-
- a4c8d6a9: ZERO-2663: Fix the image url for gif and svgs and return them without options
|
|
735
|
-
- fda5b92: ZERO-2725: fix invalid import
|
|
736
|
-
- 2d9b2b2: ZERO-2816: Add segment to headers
|
|
737
|
-
- c53ea3e: ZERO-2609: Reset additional form fields when selectedFormType is not company
|
|
738
|
-
- 8d9ac9a: ZERO-2794: Add field to order type
|
|
739
|
-
- 70279e7: ZERO-2817: Add metrics endpoint in default middleware
|
|
740
|
-
- 6c25f66: ZERO-2551: Check CACHE_HOST variable
|
|
741
|
-
- bc2b411: ZERO-2825: Add attribute-based shipping options to checkout page
|
|
742
|
-
- 3bf2dd9: ZERO-2551: Fix search page
|
|
743
|
-
- e9541a1: ZERO-2816: Add headers to url
|
|
744
|
-
- 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.
|
|
745
|
-
- 9d94f7e: ZERO-2820: update parent pk usage for menu generator
|
|
746
|
-
- 64699d3: ZERO-2761: Fix invalid import for plugin module
|
|
747
|
-
- 0d3a913: ZERO-2725: Update decimal scale in Price component
|
|
748
|
-
- 1448a96e: ZERO-2612: add errors type in CheckoutState
|
|
749
|
-
- d6edb1d: ZERO-2551: Fix searchparams handling for list and other routes
|
|
750
|
-
- d3474c6: ZERO-2655: Add data source shipping option
|
|
751
|
-
- 75080fd6: ZERO-2630: Add max limit to postcode area
|
|
752
|
-
- 17f8752: ZERO-2816: Make the incoming currency lowercase
|
|
753
|
-
- c45b62c: ZERO-2818: Add upload and download support for b2b package
|
|
754
|
-
- 91265bba: ZERO-2551: Improve pretty url and caching performance
|
|
755
|
-
- bbe18b9f: ZERO-2575: Fix build error
|
|
756
|
-
- d409996: ZERO-2781: Refactor buildClientRequestUrl function to support caching and options
|
|
757
|
-
- 4920742: Disable getCachedTranslations
|
|
758
|
-
- 7e56d6b: ZERO-2841: Update api tagTypes
|
|
759
|
-
- 94b6928: ZERO-2551: Add cache handler check in url-redirection middleware
|
|
760
|
-
- 98bb8dc: ZERO-2706: Cache getTranlations method
|
|
761
|
-
- 46b7aad: ZERO-2775: Add condition and logger for menuitemmodel data
|
|
762
|
-
- dcc8a15: ZERO-2694: added build step to RC branch pipeline
|
|
763
|
-
- 8f47cca: ZERO-2829: fix and add nested JSON support for useFormData in api/client route
|
|
764
|
-
- fad2768: ZERO-2739: add gpay to payment plugin map
|
|
765
|
-
- dff0d595: ZERO-2659: add formData support to proxy api requests
|
|
766
|
-
- eecb282: ZERO-2607: Update address-related functions to include invalidateTag option
|
|
767
|
-
- f2c325c: ZERO-2838: Move file input component into @akinon/next
|
|
768
|
-
- 9e25a64: ZERO-2835: Update category page layout with breadcrumb
|
|
769
|
-
- beb499e6: ZERO-2551: Add new tsconfig paths
|
|
770
|
-
- 948eb42: ZERO-2852: Add out of stock endpoints
|
|
771
|
-
- 146ea39: ZERO-2774: Update imports
|
|
772
|
-
- f2c92d5: ZERO-2816: Update cookie name
|
|
773
|
-
- 7bd3d99: ZERO-2801: Refactor locale middleware to handle single locale configuration
|
|
774
|
-
- c47be30: ZERO-2744: Update Order and OrderItem types
|
|
775
|
-
- e9a46ac: ZERO-2738: add CVC input to registered cards in Masterpass
|
|
776
|
-
- f046f8e0: ZERO-2575: update version for react-number-format
|
|
777
|
-
- 86d2531: ZERO-2693: resolve dependency collision warning for eslint-config-next
|
|
778
|
-
- 3f9b8d7: ZERO-2761: Update plugins.js for akinon-next
|
|
779
|
-
|
|
780
|
-
## 1.45.0-rc.4
|
|
781
|
-
|
|
782
|
-
### Minor Changes
|
|
783
|
-
|
|
784
|
-
- 8f47cca: ZERO-2829: fix and add nested JSON support for useFormData in api/client route
|
|
785
|
-
|
|
786
|
-
## 1.45.0-rc.3
|
|
787
|
-
|
|
788
|
-
### Minor Changes
|
|
789
|
-
|
|
790
|
-
- 948eb42: ZERO-2852: Add out of stock endpoints
|
|
791
|
-
|
|
792
|
-
## 1.45.0-rc.2
|
|
793
|
-
|
|
794
|
-
### Minor Changes
|
|
795
|
-
|
|
796
|
-
- c45b62c: ZERO-2818: Add upload and download support for b2b package
|
|
797
|
-
- f2c325c: ZERO-2838: Move file input component into @akinon/next
|
|
798
|
-
|
|
799
|
-
## 1.45.0-rc.1
|
|
800
|
-
|
|
801
|
-
### Minor Changes
|
|
802
|
-
|
|
803
|
-
- 7e56d6b: ZERO-2841: Update api tagTypes
|
|
804
|
-
|
|
805
|
-
## 1.45.0-rc.0
|
|
806
|
-
|
|
807
|
-
### Minor Changes
|
|
808
|
-
|
|
809
|
-
- 90282b5: ZERO-2729: Audit packages for yarn and npm and also update app-template
|
|
810
|
-
- 572d2e8: ZERO-2667: Add iframe support for redirection payment methods
|
|
811
|
-
- a4c8d6a9: ZERO-2663: Fix the image url for gif and svgs and return them without options
|
|
812
|
-
- fda5b92: ZERO-2725: fix invalid import
|
|
813
|
-
- 2d9b2b2: ZERO-2816: Add segment to headers
|
|
814
|
-
- c53ea3e: ZERO-2609: Reset additional form fields when selectedFormType is not company
|
|
815
|
-
- 8d9ac9a: ZERO-2794: Add field to order type
|
|
816
|
-
- 70279e7: ZERO-2817: Add metrics endpoint in default middleware
|
|
817
|
-
- 6c25f66: ZERO-2551: Check CACHE_HOST variable
|
|
818
|
-
- bc2b411: ZERO-2825: Add attribute-based shipping options to checkout page
|
|
819
|
-
- 3bf2dd9: ZERO-2551: Fix search page
|
|
820
|
-
- e9541a1: ZERO-2816: Add headers to url
|
|
821
|
-
- 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.
|
|
822
|
-
- 9d94f7e: ZERO-2820: update parent pk usage for menu generator
|
|
823
|
-
- 64699d3: ZERO-2761: Fix invalid import for plugin module
|
|
824
|
-
- 0d3a913: ZERO-2725: Update decimal scale in Price component
|
|
825
|
-
- 1448a96: ZERO-2612: add errors type in CheckoutState
|
|
826
275
|
- 2ab6e08: ZERO-2841: Update getBasketDetail query
|
|
827
|
-
- d6edb1d: ZERO-2551: Fix searchparams handling for list and other routes
|
|
828
|
-
- d3474c6: ZERO-2655: Add data source shipping option
|
|
829
|
-
- 75080fd: ZERO-2630: Add max limit to postcode area
|
|
830
|
-
- 17f8752: ZERO-2816: Make the incoming currency lowercase
|
|
831
|
-
- 91265bb: ZERO-2551: Improve pretty url and caching performance
|
|
832
|
-
- bbe18b9: ZERO-2575: Fix build error
|
|
833
|
-
- d409996: ZERO-2781: Refactor buildClientRequestUrl function to support caching and options
|
|
834
|
-
- 4920742: Disable getCachedTranslations
|
|
835
|
-
- 94b6928: ZERO-2551: Add cache handler check in url-redirection middleware
|
|
836
|
-
- 98bb8dc: ZERO-2706: Cache getTranlations method
|
|
837
|
-
- 46b7aad: ZERO-2775: Add condition and logger for menuitemmodel data
|
|
838
|
-
- dcc8a15: ZERO-2694: added build step to RC branch pipeline
|
|
839
|
-
- fad2768: ZERO-2739: add gpay to payment plugin map
|
|
840
|
-
- dff0d59: ZERO-2659: add formData support to proxy api requests
|
|
841
|
-
- eecb282: ZERO-2607: Update address-related functions to include invalidateTag option
|
|
842
|
-
- 9e25a64: ZERO-2835: Update category page layout with breadcrumb
|
|
843
|
-
- beb499e: ZERO-2551: Add new tsconfig paths
|
|
844
|
-
- 146ea39: ZERO-2774: Update imports
|
|
845
|
-
- f2c92d5: ZERO-2816: Update cookie name
|
|
846
|
-
- 7bd3d99: ZERO-2801: Refactor locale middleware to handle single locale configuration
|
|
847
|
-
- c47be30: ZERO-2744: Update Order and OrderItem types
|
|
848
|
-
- e9a46ac: ZERO-2738: add CVC input to registered cards in Masterpass
|
|
849
|
-
- f046f8e0: ZERO-2575: update version for react-number-format
|
|
850
|
-
- 86d2531: ZERO-2693: resolve dependency collision warning for eslint-config-next
|
|
851
|
-
- 3f9b8d7: ZERO-2761: Update plugins.js for akinon-next
|
|
852
276
|
|
|
853
277
|
## 1.44.0
|
|
854
278
|
|
|
@@ -856,201 +280,7 @@
|
|
|
856
280
|
|
|
857
281
|
### Minor Changes
|
|
858
282
|
|
|
859
|
-
- 90282b5: ZERO-2729: Audit packages for yarn and npm and also update app-template
|
|
860
|
-
- 572d2e8: ZERO-2667: Add iframe support for redirection payment methods
|
|
861
|
-
- a4c8d6a9: ZERO-2663: Fix the image url for gif and svgs and return them without options
|
|
862
|
-
- fda5b92: ZERO-2725: fix invalid import
|
|
863
|
-
- 2d9b2b2: ZERO-2816: Add segment to headers
|
|
864
|
-
- c53ea3e: ZERO-2609: Reset additional form fields when selectedFormType is not company
|
|
865
|
-
- 8d9ac9a: ZERO-2794: Add field to order type
|
|
866
|
-
- 70279e7: ZERO-2817: Add metrics endpoint in default middleware
|
|
867
|
-
- 6c25f66: ZERO-2551: Check CACHE_HOST variable
|
|
868
|
-
- bc2b411: ZERO-2825: Add attribute-based shipping options to checkout page
|
|
869
|
-
- 3bf2dd9: ZERO-2551: Fix search page
|
|
870
|
-
- e9541a1: ZERO-2816: Add headers to url
|
|
871
|
-
- 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.
|
|
872
|
-
- 9d94f7e: ZERO-2820: update parent pk usage for menu generator
|
|
873
|
-
- 64699d3: ZERO-2761: Fix invalid import for plugin module
|
|
874
|
-
- 0d3a913: ZERO-2725: Update decimal scale in Price component
|
|
875
|
-
- 1448a96: ZERO-2612: add errors type in CheckoutState
|
|
876
|
-
- d6edb1d: ZERO-2551: Fix searchparams handling for list and other routes
|
|
877
|
-
- d3474c6: ZERO-2655: Add data source shipping option
|
|
878
|
-
- 75080fd: ZERO-2630: Add max limit to postcode area
|
|
879
|
-
- 17f8752: ZERO-2816: Make the incoming currency lowercase
|
|
880
|
-
- 91265bb: ZERO-2551: Improve pretty url and caching performance
|
|
881
|
-
- bbe18b9: ZERO-2575: Fix build error
|
|
882
|
-
- d409996: ZERO-2781: Refactor buildClientRequestUrl function to support caching and options
|
|
883
|
-
- 4920742: Disable getCachedTranslations
|
|
884
|
-
- 94b6928: ZERO-2551: Add cache handler check in url-redirection middleware
|
|
885
|
-
- 98bb8dc: ZERO-2706: Cache getTranlations method
|
|
886
|
-
- 46b7aad: ZERO-2775: Add condition and logger for menuitemmodel data
|
|
887
|
-
- dcc8a15: ZERO-2694: added build step to RC branch pipeline
|
|
888
|
-
- fad2768: ZERO-2739: add gpay to payment plugin map
|
|
889
|
-
- dff0d59: ZERO-2659: add formData support to proxy api requests
|
|
890
|
-
- eecb282: ZERO-2607: Update address-related functions to include invalidateTag option
|
|
891
|
-
- 9e25a64: ZERO-2835: Update category page layout with breadcrumb
|
|
892
|
-
- beb499e: ZERO-2551: Add new tsconfig paths
|
|
893
|
-
- 146ea39: ZERO-2774: Update imports
|
|
894
|
-
- f2c92d5: ZERO-2816: Update cookie name
|
|
895
|
-
- 7bd3d99: ZERO-2801: Refactor locale middleware to handle single locale configuration
|
|
896
|
-
- c47be30: ZERO-2744: Update Order and OrderItem types
|
|
897
|
-
- e9a46ac: ZERO-2738: add CVC input to registered cards in Masterpass
|
|
898
|
-
- f046f8e0: ZERO-2575: update version for react-number-format
|
|
899
|
-
- 86d2531: ZERO-2693: resolve dependency collision warning for eslint-config-next
|
|
900
|
-
- 3f9b8d7: ZERO-2761: Update plugins.js for akinon-next
|
|
901
|
-
|
|
902
|
-
## 1.43.0-rc.15
|
|
903
|
-
|
|
904
|
-
## 1.43.0-rc.14
|
|
905
|
-
|
|
906
|
-
### Minor Changes
|
|
907
|
-
|
|
908
|
-
- 3bf2dd9: ZERO-2551: Fix search page
|
|
909
|
-
|
|
910
|
-
## 1.43.0-rc.13
|
|
911
|
-
|
|
912
|
-
### Minor Changes
|
|
913
|
-
|
|
914
|
-
- 9e25a64: ZERO-2835: Update category page layout with breadcrumb
|
|
915
|
-
|
|
916
|
-
## 1.43.0-rc.12
|
|
917
|
-
|
|
918
|
-
### Minor Changes
|
|
919
|
-
|
|
920
|
-
- 4920742: Disable getCachedTranslations
|
|
921
|
-
|
|
922
|
-
## 1.43.0-rc.11
|
|
923
|
-
|
|
924
|
-
### Minor Changes
|
|
925
|
-
|
|
926
|
-
- 6c25f66: ZERO-2551: Check CACHE_HOST variable
|
|
927
|
-
|
|
928
|
-
## 1.43.0-rc.10
|
|
929
|
-
|
|
930
|
-
### Minor Changes
|
|
931
|
-
|
|
932
|
-
- d6edb1d: ZERO-2551: Fix searchparams handling for list and other routes
|
|
933
|
-
|
|
934
|
-
## 1.43.0-rc.9
|
|
935
|
-
|
|
936
|
-
### Minor Changes
|
|
937
|
-
|
|
938
|
-
- bc2b411: ZERO-2825: Add attribute-based shipping options to checkout page
|
|
939
|
-
|
|
940
|
-
## 1.43.0-rc.8
|
|
941
|
-
|
|
942
|
-
### Minor Changes
|
|
943
|
-
|
|
944
|
-
- 70279e7: ZERO-2817: Add metrics endpoint in default middleware
|
|
945
|
-
- 9d94f7e: ZERO-2820: update parent pk usage for menu generator
|
|
946
|
-
|
|
947
|
-
## 1.43.0-rc.7
|
|
948
|
-
|
|
949
|
-
### Minor Changes
|
|
950
|
-
|
|
951
|
-
- 7bd3d99: ZERO-2801: Refactor locale middleware to handle single locale configuration
|
|
952
|
-
|
|
953
|
-
## 1.43.0-rc.6
|
|
954
|
-
|
|
955
|
-
### Minor Changes
|
|
956
|
-
|
|
957
|
-
- 90282b5: ZERO-2729: Audit packages for yarn and npm and also update app-template
|
|
958
|
-
- 572d2e8: ZERO-2667: Add iframe support for redirection payment methods
|
|
959
|
-
- a4c8d6a: ZERO-2663: Fix the image url for gif and svgs and return them without options
|
|
960
|
-
- fda5b92: ZERO-2725: fix invalid import
|
|
961
|
-
- 2d9b2b2: ZERO-2816: Add segment to headers
|
|
962
|
-
- c53ea3e: ZERO-2609: Reset additional form fields when selectedFormType is not company
|
|
963
|
-
- 8d9ac9a: ZERO-2794: Add field to order type
|
|
964
|
-
- e9541a1: ZERO-2816: Add headers to url
|
|
965
|
-
- 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.
|
|
966
|
-
- 64699d3: ZERO-2761: Fix invalid import for plugin module
|
|
967
|
-
- 0d3a913: ZERO-2725: Update decimal scale in Price component
|
|
968
|
-
- 1448a96: ZERO-2612: add errors type in CheckoutState
|
|
969
|
-
- d3474c6: ZERO-2655: Add data source shipping option
|
|
970
|
-
- 75080fd: ZERO-2630: Add max limit to postcode area
|
|
971
|
-
- 17f8752: ZERO-2816: Make the incoming currency lowercase
|
|
972
|
-
- 91265bb: ZERO-2551: Improve pretty url and caching performance
|
|
973
|
-
- bbe18b9: ZERO-2575: Fix build error
|
|
974
|
-
- d409996: ZERO-2781: Refactor buildClientRequestUrl function to support caching and options
|
|
975
|
-
- 94b6928: ZERO-2551: Add cache handler check in url-redirection middleware
|
|
976
|
-
- 98bb8dc: ZERO-2706: Cache getTranlations method
|
|
977
|
-
- 46b7aad: ZERO-2775: Add condition and logger for menuitemmodel data
|
|
978
|
-
- dcc8a15: ZERO-2694: added build step to RC branch pipeline
|
|
979
|
-
- fad2768: ZERO-2739: add gpay to payment plugin map
|
|
980
|
-
- dff0d59: ZERO-2659: add formData support to proxy api requests
|
|
981
|
-
- eecb282: ZERO-2607: Update address-related functions to include invalidateTag option
|
|
982
283
|
- 4a163f2: ZERO-2761: Add condition for basket summary
|
|
983
|
-
- beb499e: ZERO-2551: Add new tsconfig paths
|
|
984
|
-
- 146ea39: ZERO-2774: Update imports
|
|
985
|
-
- f2c92d5: ZERO-2816: Update cookie name
|
|
986
|
-
- c47be30: ZERO-2744: Update Order and OrderItem types
|
|
987
|
-
- e9a46ac: ZERO-2738: add CVC input to registered cards in Masterpass
|
|
988
|
-
- f046f8e: ZERO-2575: update version for react-number-format
|
|
989
|
-
- 86d2531: ZERO-2693: resolve dependency collision warning for eslint-config-next
|
|
990
|
-
- 3f9b8d7: ZERO-2761: Update plugins.js for akinon-next
|
|
991
|
-
|
|
992
|
-
## 1.43.0-rc.5
|
|
993
|
-
|
|
994
|
-
### Minor Changes
|
|
995
|
-
|
|
996
|
-
- 17f8752: ZERO-2816: Make the incoming currency lowercase
|
|
997
|
-
|
|
998
|
-
## 1.43.0-rc.4
|
|
999
|
-
|
|
1000
|
-
### Minor Changes
|
|
1001
|
-
|
|
1002
|
-
- 3f9b8d7: ZERO-2761: Update plugins.js for akinon-next
|
|
1003
|
-
|
|
1004
|
-
## 1.43.0-rc.3
|
|
1005
|
-
|
|
1006
|
-
### Minor Changes
|
|
1007
|
-
|
|
1008
|
-
- 64699d3: ZERO-2761: Fix invalid import for plugin module
|
|
1009
|
-
|
|
1010
|
-
## 1.43.0-rc.2
|
|
1011
|
-
|
|
1012
|
-
### Minor Changes
|
|
1013
|
-
|
|
1014
|
-
- f2c92d5: ZERO-2816: Update cookie name
|
|
1015
|
-
|
|
1016
|
-
## 1.43.0-rc.1
|
|
1017
|
-
|
|
1018
|
-
### Minor Changes
|
|
1019
|
-
|
|
1020
|
-
- eecb282: ZERO-2607: Update address-related functions to include invalidateTag option
|
|
1021
|
-
|
|
1022
|
-
## 1.43.0-rc.0
|
|
1023
|
-
|
|
1024
|
-
### Minor Changes
|
|
1025
|
-
|
|
1026
|
-
- 90282b5: ZERO-2729: Audit packages for yarn and npm and also update app-template
|
|
1027
|
-
- 572d2e8: ZERO-2667: Add iframe support for redirection payment methods
|
|
1028
|
-
- a4c8d6a: ZERO-2663: Fix the image url for gif and svgs and return them without options
|
|
1029
|
-
- fda5b92: ZERO-2725: fix invalid import
|
|
1030
|
-
- 2d9b2b2: ZERO-2816: Add segment to headers
|
|
1031
|
-
- c53ea3e: ZERO-2609: Reset additional form fields when selectedFormType is not company
|
|
1032
|
-
- 8d9ac9a: ZERO-2794: Add field to order type
|
|
1033
|
-
- e9541a1: ZERO-2816: Add headers to url
|
|
1034
|
-
- 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.
|
|
1035
|
-
- 0d3a913: ZERO-2725: Update decimal scale in Price component
|
|
1036
|
-
- 1448a96: ZERO-2612: add errors type in CheckoutState
|
|
1037
|
-
- d3474c6: ZERO-2655: Add data source shipping option
|
|
1038
|
-
- 75080fd: ZERO-2630: Add max limit to postcode area
|
|
1039
|
-
- 91265bb: ZERO-2551: Improve pretty url and caching performance
|
|
1040
|
-
- bbe18b9: ZERO-2575: Fix build error
|
|
1041
|
-
- d409996: ZERO-2781: Refactor buildClientRequestUrl function to support caching and options
|
|
1042
|
-
- 94b6928: ZERO-2551: Add cache handler check in url-redirection middleware
|
|
1043
|
-
- 98bb8dc: ZERO-2706: Cache getTranlations method
|
|
1044
|
-
- 46b7aad: ZERO-2775: Add condition and logger for menuitemmodel data
|
|
1045
|
-
- dcc8a15: ZERO-2694: added build step to RC branch pipeline
|
|
1046
|
-
- fad2768: ZERO-2739: add gpay to payment plugin map
|
|
1047
|
-
- dff0d59: ZERO-2659: add formData support to proxy api requests
|
|
1048
|
-
- beb499e: ZERO-2551: Add new tsconfig paths
|
|
1049
|
-
- 146ea39: ZERO-2774: Update imports
|
|
1050
|
-
- c47be30: ZERO-2744: Update Order and OrderItem types
|
|
1051
|
-
- e9a46ac: ZERO-2738: add CVC input to registered cards in Masterpass
|
|
1052
|
-
- f046f8e: ZERO-2575: update version for react-number-format
|
|
1053
|
-
- 86d2531: ZERO-2693: resolve dependency collision warning for eslint-config-next
|
|
1054
284
|
|
|
1055
285
|
## 1.42.0
|
|
1056
286
|
|
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.78.0
|
|
4
|
+
"version": "1.78.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.78.0
|
|
33
|
+
"@akinon/eslint-plugin-projectzero": "1.78.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
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
|
-
|