@akinon/next 1.78.0-rc.1 → 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 CHANGED
@@ -1,38 +1,10 @@
1
1
  # @akinon/next
2
2
 
3
- ## 1.78.0-rc.1
3
+ ## 1.78.0
4
4
 
5
5
  ### Minor Changes
6
6
 
7
- - fd4b74e9: ZERO-3126: add reset checkout state query
8
-
9
- ## 1.78.0-rc.0
10
-
11
- ### Minor Changes
12
-
13
- - 5dfeea04: ZERO-2801: Revert ZERO-2801
14
- - 2d9b2b2c: ZERO-2816: Add segment to headers
15
- - f49bb74f: ZERO-3097: Add setCookie to logging in payment redirection middlewares
16
- - e9541a13: ZERO-2816: Add headers to url
17
- - 4d3deb4f: ZERO-2935: sentry 8 upgrade
18
- - 72fd4d67: ZERO-3084: Fix URL search parameters encoding in default middleware
19
- - 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.
20
- - 64699d3f: ZERO-2761: Fix invalid import for plugin module
21
- - 7727ae55: ZERO-3073: Refactor basket page to use server-side data fetching and simplify component structure
22
- - 17f87524: ZERO-2816: Make the incoming currency lowercase
23
- - 65d3b862: ZERO-3054: Update headers in appFetch
24
- - bbe18b9f: ZERO-2575: Fix build error
25
- - 4920742c: Disable getCachedTranslations
26
- - 7e56d6b6: ZERO-2841: Update api tagTypes
27
- - 43c182ee: ZERO-3054: Update Redis variable checks to conditionally include CACHE_SECRET
28
- - 2d305aaf: ZERO-2935: Update Sentry configuration: remove hideSourceMaps option and add it to withPzConfig
29
- - eeb20bea: Revert "ZERO-3054: Refactor cache handler to use custom Redis handler and implement key hashing"
30
- - 6a0a0807: ZERO-3112: Update button
31
- - f2c92d5c: ZERO-2816: Update cookie name
32
- - 7bd3d992: ZERO-2801: Refactor locale middleware to handle single locale configuration
33
- - fdd255ee: ZERO-3054: Refactor cache handler to use custom Redis handler and implement key hashing
34
- - 49eeebfa: ZERO-2909: Add deleteCollectionItem query to wishlistApi
35
- - 3f9b8d7e: ZERO-2761: Update plugins.js for akinon-next
7
+ - e791eab: ZERO-3133: Add fallbackReducer for handling missing plugin reducers
36
8
 
37
9
  ## 1.77.0
38
10
 
@@ -98,52 +70,6 @@
98
70
  ### Minor Changes
99
71
 
100
72
  - f34454a: ZERO-2953: Add hepsipay payment method
101
- - 3bfa12a: ZERO-3003:Add fetchLoyaltyData and setLoyaltyData requests to RTK
102
- - 4d3deb4: ZERO-2935: sentry 8 upgrade
103
- - 3010514: ZERO-3011:add shipping_option_operator and custom filter to getOrders
104
- - 9a50730: ZERO-3015: Add currency parameter to getOrders query
105
- - ca774b3: ZERO-3002:add register with loyalty url
106
- - 56cdddc: ZERO-0000: SHOP-78125: Change unpaid_amount with total_amount_with_interest
107
- - 3344bca: ZERO-3013: Enable web vitals tracking in settings.js
108
-
109
- ## 1.71.0-rc.7
110
-
111
- ## 1.71.0-rc.6
112
-
113
- ### Minor Changes
114
-
115
- - f34454a: ZERO-2953: Add hepsipay payment method
116
-
117
- ## 1.71.0-rc.5
118
-
119
- ## 1.71.0-rc.4
120
-
121
- ## 1.71.0-rc.3
122
-
123
- ### Minor Changes
124
-
125
- - 3344bca: ZERO-3013: Enable web vitals tracking in settings.js
126
-
127
- ## 1.71.0-rc.2
128
-
129
- ### Minor Changes
130
-
131
- - 56cdddc: ZERO-0000: SHOP-78125: Change unpaid_amount with total_amount_with_interest
132
-
133
- ## 1.71.0-rc.1
134
-
135
- ### Minor Changes
136
-
137
- - 9a50730: ZERO-3015: Add currency parameter to getOrders query
138
-
139
- ## 1.71.0-rc.0
140
-
141
- ### Minor Changes
142
-
143
- - 3bfa12a: ZERO-3003:Add fetchLoyaltyData and setLoyaltyData requests to RTK
144
- - 4d3deb4: ZERO-2935: sentry 8 upgrade
145
- - 3010514: ZERO-3011:add shipping_option_operator and custom filter to getOrders
146
- - ca774b3: ZERO-3002:add register with loyalty url
147
73
 
148
74
  ## 1.70.0
149
75
 
@@ -155,72 +81,12 @@
155
81
 
156
82
  ### Minor Changes
157
83
 
158
- - 3bfa12a: ZERO-3003:Add fetchLoyaltyData and setLoyaltyData requests to RTK
159
- - 4d3deb4: ZERO-2935: sentry 8 upgrade
160
- - 3010514: ZERO-3011:add shipping_option_operator and custom filter to getOrders
161
- - ca774b3: ZERO-3002:add register with loyalty url
162
- - f046f8e: ZERO-2575: update version for react-number-format
163
-
164
- ## 1.69.0-rc.8
165
-
166
- ### Minor Changes
167
-
168
- - 3010514: ZERO-3011:add shipping_option_operator and custom filter to getOrders
169
- - ca774b3: ZERO-3002:add register with loyalty url
170
-
171
- ## 1.69.0-rc.7
172
-
173
- ### Minor Changes
174
-
175
- - 3bfa12a: ZERO-3003:Add fetchLoyaltyData and setLoyaltyData requests to RTK
176
-
177
- ## 1.69.0-rc.6
178
-
179
- ### Minor Changes
180
-
181
- - 4d3deb4: ZERO-2935: sentry 8 upgrade
182
84
  - 063da74: ZERO-3010: Remove pz-iyzico-saved-card package
183
85
  - 72da021: ZERO-3010: Remove unused code in pretty-url.tsx
184
86
  - 5632a99: ZERO-3010: Remove iyzicoSavedCardReducer from reducers
185
87
  - cbdb0c8: ZERO-3010: Move pretty url page into project
186
88
  - 80c869b: ZERO-3010: Remove savedCardMiddleware from redux middlewares
187
89
 
188
- ## 1.69.0-rc.5
189
-
190
- ### Minor Changes
191
-
192
- - 80c869b: ZERO-3010: Remove savedCardMiddleware from redux middlewares
193
-
194
- ## 1.69.0-rc.4
195
-
196
- ### Minor Changes
197
-
198
- - 063da74: ZERO-3010: Remove pz-iyzico-saved-card package
199
-
200
- ## 1.69.0-rc.3
201
-
202
- ### Minor Changes
203
-
204
- - cbdb0c8: ZERO-3010: Move pretty url page into project
205
-
206
- ## 1.69.0-rc.2
207
-
208
- ### Minor Changes
209
-
210
- - 5632a99: ZERO-3010: Remove iyzicoSavedCardReducer from reducers
211
-
212
- ## 1.69.0-rc.1
213
-
214
- ### Minor Changes
215
-
216
- - 72da021: ZERO-3010: Remove unused code in pretty-url.tsx
217
-
218
- ## 1.69.0-rc.0
219
-
220
- ### Minor Changes
221
-
222
- - 4d3deb4: ZERO-2935: sentry 8 upgrade
223
-
224
90
  ## 1.68.0
225
91
 
226
92
  ### Minor Changes
@@ -330,183 +196,11 @@
330
196
 
331
197
  ### Minor Changes
332
198
 
333
- - c416d18: ZERO-2915: Add delivery option null check for setAddress
334
- - 572d2e84: ZERO-2667: Add iframe support for redirection payment methods
335
- - 5dfeea0: ZERO-2801: Revert ZERO-2801
336
- - a4c8d6a9: ZERO-2663: Fix the image url for gif and svgs and return them without options
337
- - fda5b927: ZERO-2725: fix invalid import
338
- - 2d9b2b2c: ZERO-2816: Add segment to headers
339
- - c53ea3e6: ZERO-2609: Reset additional form fields when selectedFormType is not company
340
- - 6c25f66: ZERO-2551: Check CACHE_HOST variable
341
- - bc2b4117: ZERO-2825: Add attribute-based shipping options to checkout page
342
- - 3bf2dd9: ZERO-2551: Fix search page
343
- - e9541a13: ZERO-2816: Add headers to url
344
- - 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.
345
- - 2e6104d: ZERO-2888:Edit the numbering in the pagination and the visibility of the prev and next buttons
346
- - 64699d3f: ZERO-2761: Fix invalid import for plugin module
347
- - 0d3a913e: ZERO-2725: Update decimal scale in Price component
348
- - 7b05522: ZERO-2905: Fix resend and close button in otp package
349
- - d6edb1d: ZERO-2551: Fix searchparams handling for list and other routes
350
- - d3474c64: ZERO-2655: Add data source shipping option
351
- - 17f87524: ZERO-2816: Make the incoming currency lowercase
352
- - 29ead87: ZERO-2905: Fix resend and close button in otp package
353
- - c45b62c: ZERO-2818: Add upload and download support for b2b package
354
- - 91265bba: ZERO-2551: Improve pretty url and caching performance
355
- - bbe18b9f: ZERO-2575: Fix build error
356
- - d4099960: ZERO-2781: Refactor buildClientRequestUrl function to support caching and options
357
- - 4920742: Disable getCachedTranslations
358
- - 12a873e: ZERO-2846:Edit the siteKey regex in the response from GetCaptcha
359
- - 7e56d6b: ZERO-2841: Update api tagTypes
360
- - 94b69285: ZERO-2551: Add cache handler check in url-redirection middleware
361
- - 98bb8dcd: ZERO-2706: Cache getTranlations method
362
- - dcc8a150: ZERO-2694: added build step to RC branch pipeline
363
- - 8f47cca: ZERO-2829: fix and add nested JSON support for useFormData in api/client route
364
- - fad27689: ZERO-2739: add gpay to payment plugin map
365
- - dff0d595: ZERO-2659: add formData support to proxy api requests
366
- - fdd0b41: ZERO-2706: Add optimized translation support
367
- - f2c325c: ZERO-2838: Move file input component into @akinon/next
368
- - 9e25a64: ZERO-2835: Update category page layout with breadcrumb
369
- - beb499e6: ZERO-2551: Add new tsconfig paths
370
- - f2c92d5c: ZERO-2816: Update cookie name
371
- - 7bd3d992: ZERO-2801: Refactor locale middleware to handle single locale configuration
372
- - f3d076b: ZERO-2864: create tabby extension plugin
373
- - f046f8e0: ZERO-2575: update version for react-number-format
374
- - 49eeebf: ZERO-2909: Add deleteCollectionItem query to wishlistApi
375
- - 86d25315: ZERO-2693: resolve dependency collision warning for eslint-config-next
376
- - 3f9b8d7e: ZERO-2761: Update plugins.js for akinon-next
377
-
378
- ## 1.56.0-rc.7
379
-
380
- ## 1.56.0-rc.6
381
-
382
- ### Minor Changes
383
-
384
- - f3d076b: ZERO-2864: create tabby extension plugin
385
-
386
- ## 1.56.0-rc.5
387
-
388
- ### Minor Changes
389
-
390
- - c416d18: ZERO-2915: Add delivery option null check for setAddress
391
-
392
- ## 1.56.0-rc.4
393
-
394
- ### Minor Changes
395
-
396
- - 572d2e84: ZERO-2667: Add iframe support for redirection payment methods
397
- - 5dfeea0: ZERO-2801: Revert ZERO-2801
398
- - a4c8d6a9: ZERO-2663: Fix the image url for gif and svgs and return them without options
399
- - fda5b927: ZERO-2725: fix invalid import
400
- - 2d9b2b2c: ZERO-2816: Add segment to headers
401
- - c53ea3e6: ZERO-2609: Reset additional form fields when selectedFormType is not company
402
199
  - d93a507: ZERO-2900: Fix pretty url rewrite
403
- - 6c25f66: ZERO-2551: Check CACHE_HOST variable
404
- - bc2b411: ZERO-2825: Add attribute-based shipping options to checkout page
405
- - 3bf2dd9: ZERO-2551: Fix search page
406
- - e9541a13: ZERO-2816: Add headers to url
407
- - 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.
408
- - 2e6104d: ZERO-2888:Edit the numbering in the pagination and the visibility of the prev and next buttons
409
- - 64699d3: ZERO-2761: Fix invalid import for plugin module
410
- - 0d3a913e: ZERO-2725: Update decimal scale in Price component
411
- - 7b05522: ZERO-2905: Fix resend and close button in otp package
412
- - d6edb1d: ZERO-2551: Fix searchparams handling for list and other routes
413
- - d3474c64: ZERO-2655: Add data source shipping option
414
- - 17f8752: ZERO-2816: Make the incoming currency lowercase
415
- - 29ead87: ZERO-2905: Fix resend and close button in otp package
416
- - c45b62c: ZERO-2818: Add upload and download support for b2b package
417
- - 91265bba: ZERO-2551: Improve pretty url and caching performance
418
- - bbe18b9f: ZERO-2575: Fix build error
419
- - d4099960: ZERO-2781: Refactor buildClientRequestUrl function to support caching and options
420
- - 4920742: Disable getCachedTranslations
421
- - 12a873e: ZERO-2846:Edit the siteKey regex in the response from GetCaptcha
422
200
  - 674badc: ZERO-2912: Fix selected payment option view to handle null values
423
- - 7e56d6b: ZERO-2841: Update api tagTypes
424
- - 94b69285: ZERO-2551: Add cache handler check in url-redirection middleware
425
- - 98bb8dcd: ZERO-2706: Cache getTranlations method
426
201
  - 207ac6e: ZERO-2917: Add OrderSelectionPage endpoint
427
- - dcc8a150: ZERO-2694: added build step to RC branch pipeline
428
- - 8f47cca: ZERO-2829: fix and add nested JSON support for useFormData in api/client route
429
- - fad27689: ZERO-2739: add gpay to payment plugin map
430
- - dff0d595: ZERO-2659: add formData support to proxy api requests
431
- - fdd0b41: ZERO-2706: Add optimized translation support
432
- - f2c325c: ZERO-2838: Move file input component into @akinon/next
433
- - 9e25a64: ZERO-2835: Update category page layout with breadcrumb
434
- - beb499e6: ZERO-2551: Add new tsconfig paths
435
- - f2c92d5c: ZERO-2816: Update cookie name
436
- - 7bd3d99: ZERO-2801: Refactor locale middleware to handle single locale configuration
437
- - f046f8e0: ZERO-2575: update version for react-number-format
438
202
  - b9273fd: ZERO-2889: add host headers to requests
439
- - 49eeebf: ZERO-2909: Add deleteCollectionItem query to wishlistApi
440
- - 86d25315: ZERO-2693: resolve dependency collision warning for eslint-config-next
441
203
  - c670bd4: ZERO-2900: Add middleware rewrite functionality
442
- - 3f9b8d7: ZERO-2761: Update plugins.js for akinon-next
443
-
444
- ## 1.56.0-rc.3
445
-
446
- ### Minor Changes
447
-
448
- - 674badc: ZERO-2912: Fix selected payment option view to handle null values
449
-
450
- ## 1.56.0-rc.2
451
-
452
- ### Minor Changes
453
-
454
- - 7b05522: ZERO-2905: Fix resend and close button in otp package
455
- - 29ead87: ZERO-2905: Fix resend and close button in otp package
456
-
457
- ## 1.56.0-rc.1
458
-
459
- ### Minor Changes
460
-
461
- - 207ac6e: ZERO-2917: Add OrderSelectionPage endpoint
462
-
463
- ## 1.56.0-rc.0
464
-
465
- ### Minor Changes
466
-
467
- - 572d2e84: ZERO-2667: Add iframe support for redirection payment methods
468
- - 5dfeea0: ZERO-2801: Revert ZERO-2801
469
- - a4c8d6a9: ZERO-2663: Fix the image url for gif and svgs and return them without options
470
- - fda5b927: ZERO-2725: fix invalid import
471
- - 2d9b2b2c: ZERO-2816: Add segment to headers
472
- - c53ea3e6: ZERO-2609: Reset additional form fields when selectedFormType is not company
473
- - d93a507: ZERO-2900: Fix pretty url rewrite
474
- - 6c25f666: ZERO-2551: Check CACHE_HOST variable
475
- - bc2b4117: ZERO-2825: Add attribute-based shipping options to checkout page
476
- - 3bf2dd94: ZERO-2551: Fix search page
477
- - e9541a13: ZERO-2816: Add headers to url
478
- - 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.
479
- - 2e6104d: ZERO-2888:Edit the numbering in the pagination and the visibility of the prev and next buttons
480
- - 64699d3f: ZERO-2761: Fix invalid import for plugin module
481
- - 0d3a913e: ZERO-2725: Update decimal scale in Price component
482
- - d6edb1d0: ZERO-2551: Fix searchparams handling for list and other routes
483
- - d3474c64: ZERO-2655: Add data source shipping option
484
- - 17f87524: ZERO-2816: Make the incoming currency lowercase
485
- - c45b62c9: ZERO-2818: Add upload and download support for b2b package
486
- - 91265bba: ZERO-2551: Improve pretty url and caching performance
487
- - bbe18b9f: ZERO-2575: Fix build error
488
- - d4099960: ZERO-2781: Refactor buildClientRequestUrl function to support caching and options
489
- - 4920742c: Disable getCachedTranslations
490
- - 12a873e: ZERO-2846:Edit the siteKey regex in the response from GetCaptcha
491
- - 7e56d6b6: ZERO-2841: Update api tagTypes
492
- - 94b69285: ZERO-2551: Add cache handler check in url-redirection middleware
493
- - 98bb8dcd: ZERO-2706: Cache getTranlations method
494
- - dcc8a150: ZERO-2694: added build step to RC branch pipeline
495
- - 8f47ccae: ZERO-2829: fix and add nested JSON support for useFormData in api/client route
496
- - fad27689: ZERO-2739: add gpay to payment plugin map
497
- - dff0d595: ZERO-2659: add formData support to proxy api requests
498
- - fdd0b41: ZERO-2706: Add optimized translation support
499
- - f2c325c1: ZERO-2838: Move file input component into @akinon/next
500
- - 9e25a64b: ZERO-2835: Update category page layout with breadcrumb
501
- - beb499e6: ZERO-2551: Add new tsconfig paths
502
- - f2c92d5c: ZERO-2816: Update cookie name
503
- - 7bd3d992: ZERO-2801: Refactor locale middleware to handle single locale configuration
504
- - f046f8e0: ZERO-2575: update version for react-number-format
505
- - b9273fd3: ZERO-2889: add host headers to requests
506
- - 49eeebf: ZERO-2909: Add deleteCollectionItem query to wishlistApi
507
- - 86d25315: ZERO-2693: resolve dependency collision warning for eslint-config-next
508
- - c670bd48: ZERO-2900: Add middleware rewrite functionality
509
- - 3f9b8d7e: ZERO-2761: Update plugins.js for akinon-next
510
204
 
511
205
  ## 1.55.0
512
206
 
@@ -552,128 +246,7 @@
552
246
 
553
247
  ### Minor Changes
554
248
 
555
- - 90282b53: ZERO-2729: Audit packages for yarn and npm and also update app-template
556
- - 572d2e84: ZERO-2667: Add iframe support for redirection payment methods
557
- - 5dfeea0: ZERO-2801: Revert ZERO-2801
558
- - a4c8d6a9: ZERO-2663: Fix the image url for gif and svgs and return them without options
559
- - fda5b927: ZERO-2725: fix invalid import
560
- - 2d9b2b2: ZERO-2816: Add segment to headers
561
- - c53ea3e6: ZERO-2609: Reset additional form fields when selectedFormType is not company
562
- - d93a507: ZERO-2900: Fix pretty url rewrite
563
- - 8d9ac9a: ZERO-2794: Add field to order type
564
- - 70279e7: ZERO-2817: Add metrics endpoint in default middleware
565
- - 6c25f66: ZERO-2551: Check CACHE_HOST variable
566
- - bc2b411: ZERO-2825: Add attribute-based shipping options to checkout page
567
- - 3bf2dd9: ZERO-2551: Fix search page
568
- - e9541a1: ZERO-2816: Add headers to url
569
- - 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.
570
- - 9d94f7e: ZERO-2820: update parent pk usage for menu generator
571
- - 2e6104d: ZERO-2888:Edit the numbering in the pagination and the visibility of the prev and next buttons
572
- - 64699d3: ZERO-2761: Fix invalid import for plugin module
573
- - 0d3a913e: ZERO-2725: Update decimal scale in Price component
574
- - 1448a96e: ZERO-2612: add errors type in CheckoutState
575
- - 1ec2e9d: ZERO-2895: Update app-fetch to include cookies in headers
576
- - d6edb1d: ZERO-2551: Fix searchparams handling for list and other routes
577
- - d3474c64: ZERO-2655: Add data source shipping option
578
- - 75080fd6: ZERO-2630: Add max limit to postcode area
579
- - 17f8752: ZERO-2816: Make the incoming currency lowercase
580
- - c45b62c: ZERO-2818: Add upload and download support for b2b package
581
- - 91265bba: ZERO-2551: Improve pretty url and caching performance
582
- - bbe18b9f: ZERO-2575: Fix build error
583
- - d4099960: ZERO-2781: Refactor buildClientRequestUrl function to support caching and options
584
- - 4920742: Disable getCachedTranslations
585
- - 12a873e: ZERO-2846:Edit the siteKey regex in the response from GetCaptcha
586
- - 7e56d6b: ZERO-2841: Update api tagTypes
587
- - 94b6928: ZERO-2551: Add cache handler check in url-redirection middleware
588
- - 98bb8dcd: ZERO-2706: Cache getTranlations method
589
- - 46b7aad7: ZERO-2775: Add condition and logger for menuitemmodel data
590
- - dcc8a150: ZERO-2694: added build step to RC branch pipeline
591
- - 8f47cca: ZERO-2829: fix and add nested JSON support for useFormData in api/client route
592
- - fad27689: ZERO-2739: add gpay to payment plugin map
593
- - dff0d595: ZERO-2659: add formData support to proxy api requests
594
- - fdd0b41: ZERO-2706: Add optimized translation support
595
- - eecb282: ZERO-2607: Update address-related functions to include invalidateTag option
596
- - f2c325c: ZERO-2838: Move file input component into @akinon/next
597
- - 9e25a64: ZERO-2835: Update category page layout with breadcrumb
598
- - beb499e6: ZERO-2551: Add new tsconfig paths
599
- - 146ea391: ZERO-2774: Update imports
600
- - f2c92d5: ZERO-2816: Update cookie name
601
- - 7bd3d99: ZERO-2801: Refactor locale middleware to handle single locale configuration
602
- - c47be30d: ZERO-2744: Update Order and OrderItem types
603
- - e9a46acb: ZERO-2738: add CVC input to registered cards in Masterpass
604
- - f046f8e0: ZERO-2575: update version for react-number-format
605
- - b9273fd: ZERO-2889: add host headers to requests
606
- - 49eeebf: ZERO-2909: Add deleteCollectionItem query to wishlistApi
607
- - 86d25315: ZERO-2693: resolve dependency collision warning for eslint-config-next
608
- - c670bd4: ZERO-2900: Add middleware rewrite functionality
609
- - 3f9b8d7: ZERO-2761: Update plugins.js for akinon-next
610
- - 3d35f70: ZERO-2908: Add cookie to redirect url
611
-
612
- ## 1.50.0-rc.1
613
-
614
- ### Minor Changes
615
-
616
- - 49eeebf: ZERO-2909: Add deleteCollectionItem query to wishlistApi
617
-
618
- ## 1.50.0-rc.0
619
-
620
- ### Minor Changes
621
-
622
- - 90282b53: ZERO-2729: Audit packages for yarn and npm and also update app-template
623
- - 572d2e84: ZERO-2667: Add iframe support for redirection payment methods
624
- - 5dfeea0: ZERO-2801: Revert ZERO-2801
625
- - a4c8d6a9: ZERO-2663: Fix the image url for gif and svgs and return them without options
626
- - fda5b927: ZERO-2725: fix invalid import
627
- - 2d9b2b2: ZERO-2816: Add segment to headers
628
- - c53ea3e6: ZERO-2609: Reset additional form fields when selectedFormType is not company
629
- - d93a507: ZERO-2900: Fix pretty url rewrite
630
- - 8d9ac9a: ZERO-2794: Add field to order type
631
249
  - eaf97d6: ZERO-2909: Add deleteCollectionItem query to wishlistApi
632
- - 70279e7: ZERO-2817: Add metrics endpoint in default middleware
633
- - 6c25f66: ZERO-2551: Check CACHE_HOST variable
634
- - bc2b411: ZERO-2825: Add attribute-based shipping options to checkout page
635
- - 3bf2dd9: ZERO-2551: Fix search page
636
- - e9541a1: ZERO-2816: Add headers to url
637
- - 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.
638
- - 9d94f7e: ZERO-2820: update parent pk usage for menu generator
639
- - 2e6104d: ZERO-2888:Edit the numbering in the pagination and the visibility of the prev and next buttons
640
- - 64699d3: ZERO-2761: Fix invalid import for plugin module
641
- - 0d3a913e: ZERO-2725: Update decimal scale in Price component
642
- - 1448a96e: ZERO-2612: add errors type in CheckoutState
643
- - 1ec2e9d: ZERO-2895: Update app-fetch to include cookies in headers
644
- - d6edb1d: ZERO-2551: Fix searchparams handling for list and other routes
645
- - d3474c64: ZERO-2655: Add data source shipping option
646
- - 75080fd6: ZERO-2630: Add max limit to postcode area
647
- - 17f8752: ZERO-2816: Make the incoming currency lowercase
648
- - c45b62c: ZERO-2818: Add upload and download support for b2b package
649
- - 91265bba: ZERO-2551: Improve pretty url and caching performance
650
- - bbe18b9f: ZERO-2575: Fix build error
651
- - d4099960: ZERO-2781: Refactor buildClientRequestUrl function to support caching and options
652
- - 4920742: Disable getCachedTranslations
653
- - 12a873e: ZERO-2846:Edit the siteKey regex in the response from GetCaptcha
654
- - 7e56d6b: ZERO-2841: Update api tagTypes
655
- - 94b6928: ZERO-2551: Add cache handler check in url-redirection middleware
656
- - 98bb8dcd: ZERO-2706: Cache getTranlations method
657
- - 46b7aad7: ZERO-2775: Add condition and logger for menuitemmodel data
658
- - dcc8a150: ZERO-2694: added build step to RC branch pipeline
659
- - 8f47cca: ZERO-2829: fix and add nested JSON support for useFormData in api/client route
660
- - fad27689: ZERO-2739: add gpay to payment plugin map
661
- - dff0d595: ZERO-2659: add formData support to proxy api requests
662
- - fdd0b41: ZERO-2706: Add optimized translation support
663
- - eecb282: ZERO-2607: Update address-related functions to include invalidateTag option
664
- - f2c325c: ZERO-2838: Move file input component into @akinon/next
665
- - 9e25a64: ZERO-2835: Update category page layout with breadcrumb
666
- - beb499e6: ZERO-2551: Add new tsconfig paths
667
- - 146ea391: ZERO-2774: Update imports
668
- - f2c92d5: ZERO-2816: Update cookie name
669
- - 7bd3d99: ZERO-2801: Refactor locale middleware to handle single locale configuration
670
- - c47be30d: ZERO-2744: Update Order and OrderItem types
671
- - e9a46acb: ZERO-2738: add CVC input to registered cards in Masterpass
672
- - f046f8e0: ZERO-2575: update version for react-number-format
673
- - b9273fd: ZERO-2889: add host headers to requests
674
- - 86d25315: ZERO-2693: resolve dependency collision warning for eslint-config-next
675
- - c670bd4: ZERO-2900: Add middleware rewrite functionality
676
- - 3f9b8d7: ZERO-2761: Update plugins.js for akinon-next
677
250
 
678
251
  ## 1.49.0
679
252
 
@@ -699,126 +272,7 @@
699
272
 
700
273
  ### Minor Changes
701
274
 
702
- - 90282b5: ZERO-2729: Audit packages for yarn and npm and also update app-template
703
- - 572d2e8: ZERO-2667: Add iframe support for redirection payment methods
704
- - a4c8d6a9: ZERO-2663: Fix the image url for gif and svgs and return them without options
705
- - fda5b92: ZERO-2725: fix invalid import
706
- - 2d9b2b2: ZERO-2816: Add segment to headers
707
- - c53ea3e: ZERO-2609: Reset additional form fields when selectedFormType is not company
708
- - 8d9ac9a: ZERO-2794: Add field to order type
709
- - 70279e7: ZERO-2817: Add metrics endpoint in default middleware
710
- - 6c25f66: ZERO-2551: Check CACHE_HOST variable
711
- - bc2b411: ZERO-2825: Add attribute-based shipping options to checkout page
712
- - 3bf2dd9: ZERO-2551: Fix search page
713
- - e9541a1: ZERO-2816: Add headers to url
714
- - 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.
715
- - 9d94f7e: ZERO-2820: update parent pk usage for menu generator
716
- - 64699d3: ZERO-2761: Fix invalid import for plugin module
717
- - 0d3a913: ZERO-2725: Update decimal scale in Price component
718
- - 1448a96e: ZERO-2612: add errors type in CheckoutState
719
- - d6edb1d: ZERO-2551: Fix searchparams handling for list and other routes
720
- - d3474c6: ZERO-2655: Add data source shipping option
721
- - 75080fd6: ZERO-2630: Add max limit to postcode area
722
- - 17f8752: ZERO-2816: Make the incoming currency lowercase
723
- - c45b62c: ZERO-2818: Add upload and download support for b2b package
724
- - 91265bba: ZERO-2551: Improve pretty url and caching performance
725
- - bbe18b9f: ZERO-2575: Fix build error
726
- - d409996: ZERO-2781: Refactor buildClientRequestUrl function to support caching and options
727
- - 4920742: Disable getCachedTranslations
728
- - 7e56d6b: ZERO-2841: Update api tagTypes
729
- - 94b6928: ZERO-2551: Add cache handler check in url-redirection middleware
730
- - 98bb8dc: ZERO-2706: Cache getTranlations method
731
- - 46b7aad: ZERO-2775: Add condition and logger for menuitemmodel data
732
- - dcc8a15: ZERO-2694: added build step to RC branch pipeline
733
- - 8f47cca: ZERO-2829: fix and add nested JSON support for useFormData in api/client route
734
- - fad2768: ZERO-2739: add gpay to payment plugin map
735
- - dff0d595: ZERO-2659: add formData support to proxy api requests
736
- - eecb282: ZERO-2607: Update address-related functions to include invalidateTag option
737
- - f2c325c: ZERO-2838: Move file input component into @akinon/next
738
- - 9e25a64: ZERO-2835: Update category page layout with breadcrumb
739
- - beb499e6: ZERO-2551: Add new tsconfig paths
740
- - 948eb42: ZERO-2852: Add out of stock endpoints
741
- - 146ea39: ZERO-2774: Update imports
742
- - f2c92d5: ZERO-2816: Update cookie name
743
- - 7bd3d99: ZERO-2801: Refactor locale middleware to handle single locale configuration
744
- - c47be30: ZERO-2744: Update Order and OrderItem types
745
- - e9a46ac: ZERO-2738: add CVC input to registered cards in Masterpass
746
- - f046f8e0: ZERO-2575: update version for react-number-format
747
- - 86d2531: ZERO-2693: resolve dependency collision warning for eslint-config-next
748
- - 3f9b8d7: ZERO-2761: Update plugins.js for akinon-next
749
-
750
- ## 1.45.0-rc.4
751
-
752
- ### Minor Changes
753
-
754
- - 8f47cca: ZERO-2829: fix and add nested JSON support for useFormData in api/client route
755
-
756
- ## 1.45.0-rc.3
757
-
758
- ### Minor Changes
759
-
760
- - 948eb42: ZERO-2852: Add out of stock endpoints
761
-
762
- ## 1.45.0-rc.2
763
-
764
- ### Minor Changes
765
-
766
- - c45b62c: ZERO-2818: Add upload and download support for b2b package
767
- - f2c325c: ZERO-2838: Move file input component into @akinon/next
768
-
769
- ## 1.45.0-rc.1
770
-
771
- ### Minor Changes
772
-
773
- - 7e56d6b: ZERO-2841: Update api tagTypes
774
-
775
- ## 1.45.0-rc.0
776
-
777
- ### Minor Changes
778
-
779
- - 90282b5: ZERO-2729: Audit packages for yarn and npm and also update app-template
780
- - 572d2e8: ZERO-2667: Add iframe support for redirection payment methods
781
- - a4c8d6a9: ZERO-2663: Fix the image url for gif and svgs and return them without options
782
- - fda5b92: ZERO-2725: fix invalid import
783
- - 2d9b2b2: ZERO-2816: Add segment to headers
784
- - c53ea3e: ZERO-2609: Reset additional form fields when selectedFormType is not company
785
- - 8d9ac9a: ZERO-2794: Add field to order type
786
- - 70279e7: ZERO-2817: Add metrics endpoint in default middleware
787
- - 6c25f66: ZERO-2551: Check CACHE_HOST variable
788
- - bc2b411: ZERO-2825: Add attribute-based shipping options to checkout page
789
- - 3bf2dd9: ZERO-2551: Fix search page
790
- - e9541a1: ZERO-2816: Add headers to url
791
- - 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.
792
- - 9d94f7e: ZERO-2820: update parent pk usage for menu generator
793
- - 64699d3: ZERO-2761: Fix invalid import for plugin module
794
- - 0d3a913: ZERO-2725: Update decimal scale in Price component
795
- - 1448a96: ZERO-2612: add errors type in CheckoutState
796
275
  - 2ab6e08: ZERO-2841: Update getBasketDetail query
797
- - d6edb1d: ZERO-2551: Fix searchparams handling for list and other routes
798
- - d3474c6: ZERO-2655: Add data source shipping option
799
- - 75080fd: ZERO-2630: Add max limit to postcode area
800
- - 17f8752: ZERO-2816: Make the incoming currency lowercase
801
- - 91265bb: ZERO-2551: Improve pretty url and caching performance
802
- - bbe18b9: ZERO-2575: Fix build error
803
- - d409996: ZERO-2781: Refactor buildClientRequestUrl function to support caching and options
804
- - 4920742: Disable getCachedTranslations
805
- - 94b6928: ZERO-2551: Add cache handler check in url-redirection middleware
806
- - 98bb8dc: ZERO-2706: Cache getTranlations method
807
- - 46b7aad: ZERO-2775: Add condition and logger for menuitemmodel data
808
- - dcc8a15: ZERO-2694: added build step to RC branch pipeline
809
- - fad2768: ZERO-2739: add gpay to payment plugin map
810
- - dff0d59: ZERO-2659: add formData support to proxy api requests
811
- - eecb282: ZERO-2607: Update address-related functions to include invalidateTag option
812
- - 9e25a64: ZERO-2835: Update category page layout with breadcrumb
813
- - beb499e: ZERO-2551: Add new tsconfig paths
814
- - 146ea39: ZERO-2774: Update imports
815
- - f2c92d5: ZERO-2816: Update cookie name
816
- - 7bd3d99: ZERO-2801: Refactor locale middleware to handle single locale configuration
817
- - c47be30: ZERO-2744: Update Order and OrderItem types
818
- - e9a46ac: ZERO-2738: add CVC input to registered cards in Masterpass
819
- - f046f8e0: ZERO-2575: update version for react-number-format
820
- - 86d2531: ZERO-2693: resolve dependency collision warning for eslint-config-next
821
- - 3f9b8d7: ZERO-2761: Update plugins.js for akinon-next
822
276
 
823
277
  ## 1.44.0
824
278
 
@@ -826,201 +280,7 @@
826
280
 
827
281
  ### Minor Changes
828
282
 
829
- - 90282b5: ZERO-2729: Audit packages for yarn and npm and also update app-template
830
- - 572d2e8: ZERO-2667: Add iframe support for redirection payment methods
831
- - a4c8d6a9: ZERO-2663: Fix the image url for gif and svgs and return them without options
832
- - fda5b92: ZERO-2725: fix invalid import
833
- - 2d9b2b2: ZERO-2816: Add segment to headers
834
- - c53ea3e: ZERO-2609: Reset additional form fields when selectedFormType is not company
835
- - 8d9ac9a: ZERO-2794: Add field to order type
836
- - 70279e7: ZERO-2817: Add metrics endpoint in default middleware
837
- - 6c25f66: ZERO-2551: Check CACHE_HOST variable
838
- - bc2b411: ZERO-2825: Add attribute-based shipping options to checkout page
839
- - 3bf2dd9: ZERO-2551: Fix search page
840
- - e9541a1: ZERO-2816: Add headers to url
841
- - 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.
842
- - 9d94f7e: ZERO-2820: update parent pk usage for menu generator
843
- - 64699d3: ZERO-2761: Fix invalid import for plugin module
844
- - 0d3a913: ZERO-2725: Update decimal scale in Price component
845
- - 1448a96: ZERO-2612: add errors type in CheckoutState
846
- - d6edb1d: ZERO-2551: Fix searchparams handling for list and other routes
847
- - d3474c6: ZERO-2655: Add data source shipping option
848
- - 75080fd: ZERO-2630: Add max limit to postcode area
849
- - 17f8752: ZERO-2816: Make the incoming currency lowercase
850
- - 91265bb: ZERO-2551: Improve pretty url and caching performance
851
- - bbe18b9: ZERO-2575: Fix build error
852
- - d409996: ZERO-2781: Refactor buildClientRequestUrl function to support caching and options
853
- - 4920742: Disable getCachedTranslations
854
- - 94b6928: ZERO-2551: Add cache handler check in url-redirection middleware
855
- - 98bb8dc: ZERO-2706: Cache getTranlations method
856
- - 46b7aad: ZERO-2775: Add condition and logger for menuitemmodel data
857
- - dcc8a15: ZERO-2694: added build step to RC branch pipeline
858
- - fad2768: ZERO-2739: add gpay to payment plugin map
859
- - dff0d59: ZERO-2659: add formData support to proxy api requests
860
- - eecb282: ZERO-2607: Update address-related functions to include invalidateTag option
861
- - 9e25a64: ZERO-2835: Update category page layout with breadcrumb
862
- - beb499e: ZERO-2551: Add new tsconfig paths
863
- - 146ea39: ZERO-2774: Update imports
864
- - f2c92d5: ZERO-2816: Update cookie name
865
- - 7bd3d99: ZERO-2801: Refactor locale middleware to handle single locale configuration
866
- - c47be30: ZERO-2744: Update Order and OrderItem types
867
- - e9a46ac: ZERO-2738: add CVC input to registered cards in Masterpass
868
- - f046f8e0: ZERO-2575: update version for react-number-format
869
- - 86d2531: ZERO-2693: resolve dependency collision warning for eslint-config-next
870
- - 3f9b8d7: ZERO-2761: Update plugins.js for akinon-next
871
-
872
- ## 1.43.0-rc.15
873
-
874
- ## 1.43.0-rc.14
875
-
876
- ### Minor Changes
877
-
878
- - 3bf2dd9: ZERO-2551: Fix search page
879
-
880
- ## 1.43.0-rc.13
881
-
882
- ### Minor Changes
883
-
884
- - 9e25a64: ZERO-2835: Update category page layout with breadcrumb
885
-
886
- ## 1.43.0-rc.12
887
-
888
- ### Minor Changes
889
-
890
- - 4920742: Disable getCachedTranslations
891
-
892
- ## 1.43.0-rc.11
893
-
894
- ### Minor Changes
895
-
896
- - 6c25f66: ZERO-2551: Check CACHE_HOST variable
897
-
898
- ## 1.43.0-rc.10
899
-
900
- ### Minor Changes
901
-
902
- - d6edb1d: ZERO-2551: Fix searchparams handling for list and other routes
903
-
904
- ## 1.43.0-rc.9
905
-
906
- ### Minor Changes
907
-
908
- - bc2b411: ZERO-2825: Add attribute-based shipping options to checkout page
909
-
910
- ## 1.43.0-rc.8
911
-
912
- ### Minor Changes
913
-
914
- - 70279e7: ZERO-2817: Add metrics endpoint in default middleware
915
- - 9d94f7e: ZERO-2820: update parent pk usage for menu generator
916
-
917
- ## 1.43.0-rc.7
918
-
919
- ### Minor Changes
920
-
921
- - 7bd3d99: ZERO-2801: Refactor locale middleware to handle single locale configuration
922
-
923
- ## 1.43.0-rc.6
924
-
925
- ### Minor Changes
926
-
927
- - 90282b5: ZERO-2729: Audit packages for yarn and npm and also update app-template
928
- - 572d2e8: ZERO-2667: Add iframe support for redirection payment methods
929
- - a4c8d6a: ZERO-2663: Fix the image url for gif and svgs and return them without options
930
- - fda5b92: ZERO-2725: fix invalid import
931
- - 2d9b2b2: ZERO-2816: Add segment to headers
932
- - c53ea3e: ZERO-2609: Reset additional form fields when selectedFormType is not company
933
- - 8d9ac9a: ZERO-2794: Add field to order type
934
- - e9541a1: ZERO-2816: Add headers to url
935
- - 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.
936
- - 64699d3: ZERO-2761: Fix invalid import for plugin module
937
- - 0d3a913: ZERO-2725: Update decimal scale in Price component
938
- - 1448a96: ZERO-2612: add errors type in CheckoutState
939
- - d3474c6: ZERO-2655: Add data source shipping option
940
- - 75080fd: ZERO-2630: Add max limit to postcode area
941
- - 17f8752: ZERO-2816: Make the incoming currency lowercase
942
- - 91265bb: ZERO-2551: Improve pretty url and caching performance
943
- - bbe18b9: ZERO-2575: Fix build error
944
- - d409996: ZERO-2781: Refactor buildClientRequestUrl function to support caching and options
945
- - 94b6928: ZERO-2551: Add cache handler check in url-redirection middleware
946
- - 98bb8dc: ZERO-2706: Cache getTranlations method
947
- - 46b7aad: ZERO-2775: Add condition and logger for menuitemmodel data
948
- - dcc8a15: ZERO-2694: added build step to RC branch pipeline
949
- - fad2768: ZERO-2739: add gpay to payment plugin map
950
- - dff0d59: ZERO-2659: add formData support to proxy api requests
951
- - eecb282: ZERO-2607: Update address-related functions to include invalidateTag option
952
283
  - 4a163f2: ZERO-2761: Add condition for basket summary
953
- - beb499e: ZERO-2551: Add new tsconfig paths
954
- - 146ea39: ZERO-2774: Update imports
955
- - f2c92d5: ZERO-2816: Update cookie name
956
- - c47be30: ZERO-2744: Update Order and OrderItem types
957
- - e9a46ac: ZERO-2738: add CVC input to registered cards in Masterpass
958
- - f046f8e: ZERO-2575: update version for react-number-format
959
- - 86d2531: ZERO-2693: resolve dependency collision warning for eslint-config-next
960
- - 3f9b8d7: ZERO-2761: Update plugins.js for akinon-next
961
-
962
- ## 1.43.0-rc.5
963
-
964
- ### Minor Changes
965
-
966
- - 17f8752: ZERO-2816: Make the incoming currency lowercase
967
-
968
- ## 1.43.0-rc.4
969
-
970
- ### Minor Changes
971
-
972
- - 3f9b8d7: ZERO-2761: Update plugins.js for akinon-next
973
-
974
- ## 1.43.0-rc.3
975
-
976
- ### Minor Changes
977
-
978
- - 64699d3: ZERO-2761: Fix invalid import for plugin module
979
-
980
- ## 1.43.0-rc.2
981
-
982
- ### Minor Changes
983
-
984
- - f2c92d5: ZERO-2816: Update cookie name
985
-
986
- ## 1.43.0-rc.1
987
-
988
- ### Minor Changes
989
-
990
- - eecb282: ZERO-2607: Update address-related functions to include invalidateTag option
991
-
992
- ## 1.43.0-rc.0
993
-
994
- ### Minor Changes
995
-
996
- - 90282b5: ZERO-2729: Audit packages for yarn and npm and also update app-template
997
- - 572d2e8: ZERO-2667: Add iframe support for redirection payment methods
998
- - a4c8d6a: ZERO-2663: Fix the image url for gif and svgs and return them without options
999
- - fda5b92: ZERO-2725: fix invalid import
1000
- - 2d9b2b2: ZERO-2816: Add segment to headers
1001
- - c53ea3e: ZERO-2609: Reset additional form fields when selectedFormType is not company
1002
- - 8d9ac9a: ZERO-2794: Add field to order type
1003
- - e9541a1: ZERO-2816: Add headers to url
1004
- - 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.
1005
- - 0d3a913: ZERO-2725: Update decimal scale in Price component
1006
- - 1448a96: ZERO-2612: add errors type in CheckoutState
1007
- - d3474c6: ZERO-2655: Add data source shipping option
1008
- - 75080fd: ZERO-2630: Add max limit to postcode area
1009
- - 91265bb: ZERO-2551: Improve pretty url and caching performance
1010
- - bbe18b9: ZERO-2575: Fix build error
1011
- - d409996: ZERO-2781: Refactor buildClientRequestUrl function to support caching and options
1012
- - 94b6928: ZERO-2551: Add cache handler check in url-redirection middleware
1013
- - 98bb8dc: ZERO-2706: Cache getTranlations method
1014
- - 46b7aad: ZERO-2775: Add condition and logger for menuitemmodel data
1015
- - dcc8a15: ZERO-2694: added build step to RC branch pipeline
1016
- - fad2768: ZERO-2739: add gpay to payment plugin map
1017
- - dff0d59: ZERO-2659: add formData support to proxy api requests
1018
- - beb499e: ZERO-2551: Add new tsconfig paths
1019
- - 146ea39: ZERO-2774: Update imports
1020
- - c47be30: ZERO-2744: Update Order and OrderItem types
1021
- - e9a46ac: ZERO-2738: add CVC input to registered cards in Masterpass
1022
- - f046f8e: ZERO-2575: update version for react-number-format
1023
- - 86d2531: ZERO-2693: resolve dependency collision warning for eslint-config-next
1024
284
 
1025
285
  ## 1.42.0
1026
286
 
@@ -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
- const {
10
- appearance = 'filled',
11
- size = 'md',
12
- href,
13
- target,
14
- children,
15
- className,
16
- ...rest
17
- } = props;
18
-
19
- const variants = {
20
- filled:
21
- 'bg-primary text-primary-foreground border border-primary hover:bg-white hover:border-primary hover:text-primary',
22
- outlined:
23
- 'bg-transparent text-primary hover:bg-primary hover:text-primary-foreground',
24
- ghost:
25
- 'bg-transparent border-transparent text-primary hover:bg-primary hover:text-primary-foreground',
26
- link: 'px-0 h-auto underline underline-offset-2'
27
- };
28
-
29
- const sizes = {
30
- sm: 'h-8',
31
- md: 'h-10',
32
- lg: 'h-12',
33
- xl: 'h-14'
34
- };
35
-
36
- const buttonClasses = twMerge(
37
- clsx(
38
- 'px-4 text-xs transition-all duration-200',
39
- 'inline-flex gap-2 justify-center items-center',
40
- variants[appearance],
41
- sizes[size],
42
- className
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
  };
@@ -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';
@@ -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
- if (typeof href === 'string' && !href.startsWith('http')) {
32
- const pathnameWithoutLocale = href.replace(urlLocaleMatcherRegex, '');
33
- const hrefWithLocale = `/${locale}${pathnameWithoutLocale}`;
34
-
35
- if (localeUrlStrategy === LocaleUrlStrategy.ShowAllLocales) {
36
- return hrefWithLocale;
37
- } else if (
38
- localeUrlStrategy === LocaleUrlStrategy.HideDefaultLocale &&
39
- locale !== defaultLocaleValue
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 (
@@ -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'
@@ -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,
@@ -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-rc.1",
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.9.0",
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-rc.1",
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",
@@ -9,15 +9,17 @@ import { masterpassReducer } from '@akinon/pz-masterpass';
9
9
  import { otpReducer } from '@akinon/pz-otp';
10
10
  import { savedCardReducer } from '@akinon/pz-saved-card';
11
11
 
12
+ const fallbackReducer = (state = {}) => state;
13
+
12
14
  const reducers = {
13
15
  [api.reducerPath]: api.reducer,
14
16
  root: rootReducer,
15
17
  checkout: checkoutReducer,
16
18
  config: configReducer,
17
19
  header: headerReducer,
18
- masterpass: masterpassReducer,
19
- otp: otpReducer,
20
- savedCard: savedCardReducer
20
+ masterpass: masterpassReducer || fallbackReducer,
21
+ otp: otpReducer || fallbackReducer,
22
+ savedCard: savedCardReducer || fallbackReducer
21
23
  };
22
24
 
23
25
  export default reducers;
@@ -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
  };
@@ -114,7 +114,6 @@ export interface Order {
114
114
  pk: number;
115
115
  name: string;
116
116
  slug: string;
117
- logo: string;
118
117
  [key: string]: any;
119
118
  };
120
119
  }
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' | 'link' | string;
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>;
@@ -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
@@ -64,7 +64,7 @@ const defaultConfig = {
64
64
  },
65
65
  sentry: {
66
66
  hideSourceMaps: true
67
- } // TODO: This section will be reviewed again in the Sentry 8 update.
67
+ }
68
68
  };
69
69
 
70
70
  const withPzConfig = (
@@ -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
-