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