@akinon/next 1.96.0-rc.63 → 1.96.0-rc.64

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,5 +1,74 @@
1
1
  # @akinon/next
2
2
 
3
+ ## 1.96.0-rc.64
4
+
5
+ ### Minor Changes
6
+
7
+ - 67308f0: ZERO-3633: Revert IndexPage parameter from fetchCheckout request
8
+ - 4ca44c7: ZERO-3634: add register_consumer_card
9
+ - 5dfeea04: ZERO-2801: Revert ZERO-2801
10
+ - 823d82f9: ZERO-3393: Enhance error handling in checkout middleware to ensure errors are checked for existence before processing
11
+ - 28c7ea79: ZERO-3427: Refactor redirect utility to handle undefined URL and improve locale handling
12
+ - e1aa030d: ZERO-3473: Refactor locale handling to prioritize cookie value for matched locale
13
+ - 63774a6a: ZERO-3351: Add commerce redirection ignore list functionality and related utility
14
+ - 2d9b2b2c9: ZERO-2816: Add segment to headers
15
+ - 5e1feca6: Revert "ZERO-3286: Add notFound handling for chunk URLs starting with \_next"
16
+ - 40a46853: ZERO-3182: Optimize basket update mutation with optimistic update
17
+ - 5f7edd6: ZERO-3571: Enhance Jest configuration by adding base directory resolution and module name mapping
18
+ - 68bbcb27: ZERO-3393: Fix error handling in checkout middleware to check for errors array length
19
+ - d8be48fb: ZERO-3422: Update fetch method to use dynamic request method in wallet complete redirection middleware
20
+ - 0014305: ZERO-3629 :edit warnings in build
21
+ - b55acb76: ZERO-2577: Fix pagination bug and update usePagination hook and ensure pagination controls rendering correctly
22
+ - f49bb74f: ZERO-3097: Add setCookie to logging in payment redirection middlewares
23
+ - 0ad91bbd: ZERO-3489: Improve error handling in data fetching across multiple pages and server functions
24
+ - 143be2b9: ZERO-3457: Crop styles are customizable and logic improved for rendering similar products modal
25
+ - e9541a13d: ZERO-2816: Add headers to url
26
+ - 9b7d0de6: ZERO-3393: Improve error handling in checkout middleware to support both object and array error formats
27
+ - 72fd4d67: ZERO-3084: Fix URL search parameters encoding in default middleware
28
+ - c53ef7b95: 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.
29
+ - a8539c8c: ZERO-3439: Enhance locale handling in middleware and redirect utility
30
+ - 16aff543: ZERO-3431: Add test script for redirect utility in package.json
31
+ - 64699d3ff: ZERO-2761: Fix invalid import for plugin module
32
+ - 9f8cd3bc: ZERO-3449: AI Search Active Filters & Crop Style changes have been implemented
33
+ - e974d8e8: ZERO-3406: Fix rc build
34
+ - 89ce46fc: ZERO-3493: return 404 status code for pz-not-found pages
35
+ - 8645d90: ZERO-3574:Refactor redirect tests: streamline mock setup, enhance locale handling, and improve URL path resolution logic
36
+ - 7eb51ca9: ZERO-3424 :Update package versions
37
+ - 7727ae55: ZERO-3073: Refactor basket page to use server-side data fetching and simplify component structure
38
+ - 8b1d24eb: ZERO-3422: Update fetch method to use dynamic request method in wallet complete redirection middleware
39
+ - d552629f: ZERO-3182: Refactor basketApi to use invalidatesTags and comment out onQueryStarted logic
40
+ - 17f87524e: ZERO-2816: Make the incoming currency lowercase
41
+ - 65d3b862: ZERO-3054: Update headers in appFetch
42
+ - c39c7000: ZERO-3420: Refactor Modal component
43
+ - bbe18b9ff: ZERO-2575: Fix build error
44
+ - 4920742c2: Disable getCachedTranslations
45
+ - b6e5b624: ZERO-3257: Enhance locale middleware to redirect using existing or default locale and support 303 status for POST requests
46
+ - 0de55738: ZERO-3418: Update remotePatterns hostname to allow all subdomains
47
+ - 7e56d6b6b: ZERO-2841: Update api tagTypes
48
+ - d99a6a7d: ZERO-3457: Fixed the settings prop and made sure everything is customizable.
49
+ - 9dc7298a: ZERO-3416: Refactor Accordion component to enhance props and improve styling flexibility
50
+ - 33377cfd: ZERO-3267: Refactor import statement for ROUTES in error-page component
51
+ - 43c182ee: ZERO-3054: Update Redis variable checks to conditionally include CACHE_SECRET
52
+ - c480272c: ZERO-3531: Refactor checkoutApi: Remove unnecessary invalidatesTags property from POST request from sample products
53
+ - b00a90b1: ZERO-3436: Preserve query params on redirect
54
+ - facf1ada: ZERO-3445: Add SameSite and Secure attributes
55
+ - 26b2d0b: ZERO-3571: Remove test script execution from prebuild and simplify Jest module name mapping
56
+ - eeb20bea: Revert "ZERO-3054: Refactor cache handler to use custom Redis handler and implement key hashing"
57
+ - 5b50079: ZERO-3634: iyzico saved card
58
+ - 3bf63c8a: ZERO-3286: Add notFound handling for chunk URLs starting with \_next
59
+ - 9be2c081: ZERO-3243: Improve basket update query handling with optimistic updates
60
+ - f7fd459b: ZERO-3445: Refactor setCookie function to include domain handling and improve cookie string construction
61
+ - 4de5303c: ZERO-2504: add cookie filter to api client request
62
+ - dc678c31: ZERO-3523: Enhance redirect tests with dynamic locale handling and settings integration
63
+ - f2c92d5c7: ZERO-2816: Update cookie name
64
+ - 7bd3d9928: ZERO-2801: Refactor locale middleware to handle single locale configuration
65
+ - acd2afdf: ZERO-3431: Fix import statement for findBaseDir in next-config test
66
+ - 2d3f1788: ZERO-3417: Enhance FileInput component with additional props for customization
67
+ - fdd255ee: ZERO-3054: Refactor cache handler to use custom Redis handler and implement key hashing
68
+ - 49eeebfa: ZERO-2909: Add deleteCollectionItem query to wishlistApi
69
+ - 3f9b8d7e7: ZERO-2761: Update plugins.js for akinon-next
70
+ - 0e823010: ZERO-3531: Add saveSampleProducts endpoint
71
+
3
72
  ## 1.96.0-rc.63
4
73
 
5
74
  ### Minor Changes
@@ -4,7 +4,6 @@ import { Buffer } from 'buffer';
4
4
  import logger from '../utils/log';
5
5
  import { getUrlPathWithLocale } from '../utils/localization';
6
6
  import { PzNextRequest } from '.';
7
- import { ServerVariables } from '../utils/server-variables';
8
7
 
9
8
  const streamToString = async (stream: ReadableStream<Uint8Array> | null) => {
10
9
  if (stream) {
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.96.0-rc.63",
4
+ "version": "1.96.0-rc.64",
5
5
  "private": false,
6
6
  "license": "MIT",
7
7
  "bin": {
@@ -34,7 +34,7 @@
34
34
  "set-cookie-parser": "2.6.0"
35
35
  },
36
36
  "devDependencies": {
37
- "@akinon/eslint-plugin-projectzero": "1.96.0-rc.63",
37
+ "@akinon/eslint-plugin-projectzero": "1.96.0-rc.64",
38
38
  "@babel/core": "7.26.10",
39
39
  "@babel/preset-env": "7.26.9",
40
40
  "@babel/preset-typescript": "7.27.0",