@akinon/next 1.96.0-rc.60 → 1.96.0-rc.62

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