@akinon/next 1.118.0-rc.9 → 1.119.0-rc.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 +14 -44
- package/middlewares/default.ts +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,67 +1,37 @@
|
|
|
1
1
|
# @akinon/next
|
|
2
2
|
|
|
3
|
-
## 1.
|
|
4
|
-
|
|
5
|
-
### Minor Changes
|
|
6
|
-
|
|
7
|
-
- 01ee41f1: ZERO-4102: Implement a post-checkout flow by dynamically determining checkout paths and managing a pz-post-checkout-flow cookie.
|
|
8
|
-
|
|
9
|
-
## 1.118.0-rc.8
|
|
3
|
+
## 1.119.0-rc.0
|
|
10
4
|
|
|
11
5
|
### Minor Changes
|
|
12
6
|
|
|
13
7
|
- 31b4a266: ZERO-4102: Add support for post-checkout redirect in middleware
|
|
14
|
-
|
|
15
|
-
## 1.118.0-rc.7
|
|
16
|
-
|
|
17
|
-
## 1.118.0-rc.6
|
|
18
|
-
|
|
19
|
-
## 1.118.0-rc.5
|
|
20
|
-
|
|
21
|
-
### Minor Changes
|
|
22
|
-
|
|
23
|
-
- aef81c5d: ZERO-4034: Refactor checkout API to use dynamic store imports for improved performance
|
|
24
|
-
- 49c82e1a: ZERO-4047: Remove Sentry configuration from default Next.js config
|
|
25
|
-
|
|
26
|
-
## 1.118.0-rc.4
|
|
27
|
-
|
|
28
|
-
### Minor Changes
|
|
29
|
-
|
|
30
|
-
- 0754c835: ZERO-4063: Add support for optional Redis password in cache handlers
|
|
31
|
-
|
|
32
|
-
## 1.118.0-rc.3
|
|
33
|
-
|
|
34
|
-
### Minor Changes
|
|
35
|
-
|
|
36
|
-
- 94a86fcc: ZERO-4065: Expand skipSegments array to include additional segments for route generation
|
|
37
|
-
|
|
38
|
-
## 1.118.0-rc.2
|
|
39
|
-
|
|
40
|
-
### Minor Changes
|
|
41
|
-
|
|
42
|
-
- 8a7fd0f4: ZERO-4065: Add '[segment]' to skipSegments in route generation
|
|
43
|
-
|
|
44
|
-
## 1.118.0-rc.1
|
|
45
|
-
|
|
46
|
-
## 1.118.0-rc.0
|
|
47
|
-
|
|
48
|
-
### Minor Changes
|
|
49
|
-
|
|
50
8
|
- d2c0e759: ZERO-3684: Handle cross-origin iframe access in iframeURLChange function
|
|
9
|
+
- aef81c5d: ZERO-4034: Refactor checkout API to use dynamic store imports for improved performance
|
|
51
10
|
- b55acb76: ZERO-2577: Fix pagination bug and update usePagination hook and ensure pagination controls rendering correctly
|
|
11
|
+
- 8a7fd0f4: ZERO-4065: Add '[segment]' to skipSegments in route generation
|
|
52
12
|
- 36143125: ZERO-3987: Add barcode scanner functionality with modal and button
|
|
13
|
+
- 0754c835: ZERO-4063: Add support for optional Redis password in cache handlers
|
|
53
14
|
- f7e0f646: ZERO-4032: Add bfcache-headers middleware, integrate it into the default chain, and introduce a new environment variable for control.
|
|
15
|
+
- 94a86fcc: ZERO-4065: Expand skipSegments array to include additional segments for route generation
|
|
54
16
|
- 143be2b9: ZERO-3457: Crop styles are customizable and logic improved for rendering similar products modal
|
|
55
17
|
- 9f8cd3bc: ZERO-3449: AI Search Active Filters & Crop Style changes have been implemented
|
|
56
|
-
-
|
|
18
|
+
- 49c82e1a: ZERO-4047: Remove Sentry configuration from default Next.js config
|
|
19
|
+
- a9f5cdb1: ZERO-4102: Fix post-checkout condition to additionally check for empty search parameters.
|
|
57
20
|
- d99a6a7d: ZERO-3457_1: Fixed the settings prop and made sure everything is customizable.
|
|
58
21
|
- d7e5178b: ZERO-3985: Add query string handling for orders redirection in middleware
|
|
59
22
|
- 591e345e: ZERO-3855: Enhance credit card payment handling in checkout middlewares
|
|
23
|
+
- 01ee41f1: ZERO-4102: Implement a post-checkout flow by dynamically determining checkout paths and managing a pz-post-checkout-flow cookie.
|
|
60
24
|
- 4de5303c: ZERO-2504: add cookie filter to api client request
|
|
61
25
|
- b59fdd1c: ZERO-4009: Add password reset token validation
|
|
62
26
|
- 95b139dc: ZERO-3795: Remove duplicate entry for SavedCard in PluginComponents map
|
|
63
27
|
- 3909d322: Edit the duplicate Plugin.SimilarProducts in the plugin-module.
|
|
64
28
|
|
|
29
|
+
## 1.118.0
|
|
30
|
+
|
|
31
|
+
### Minor Changes
|
|
32
|
+
|
|
33
|
+
- 729fe756: ZERO-3895: improve non-3D payment handling and error display
|
|
34
|
+
|
|
65
35
|
## 1.117.0
|
|
66
36
|
|
|
67
37
|
## 1.116.0
|
package/middlewares/default.ts
CHANGED
|
@@ -165,7 +165,7 @@ const withPzDefault =
|
|
|
165
165
|
req.cookies.get('pz-locale')?.value
|
|
166
166
|
);
|
|
167
167
|
if (
|
|
168
|
-
isPostCheckout ||
|
|
168
|
+
(isPostCheckout && req.nextUrl.searchParams.size === 0) ||
|
|
169
169
|
(req.nextUrl.pathname.match(new RegExp('^/orders/checkout/$')) &&
|
|
170
170
|
req.nextUrl.searchParams.size === 0 &&
|
|
171
171
|
checkoutLocalePath !== req.nextUrl.pathname)
|
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.
|
|
4
|
+
"version": "1.119.0-rc.0",
|
|
5
5
|
"private": false,
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"bin": {
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"set-cookie-parser": "2.6.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@akinon/eslint-plugin-projectzero": "1.
|
|
38
|
+
"@akinon/eslint-plugin-projectzero": "1.119.0-rc.0",
|
|
39
39
|
"@babel/core": "7.26.10",
|
|
40
40
|
"@babel/preset-env": "7.26.9",
|
|
41
41
|
"@babel/preset-typescript": "7.27.0",
|