@akinon/next 1.79.0-rc.4 → 1.79.0

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