@akinon/next 2.0.135-rc.0 → 2.0.135-rc.1
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 +39 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,44 @@
|
|
|
1
1
|
# @akinon/next
|
|
2
2
|
|
|
3
|
+
## 2.0.135-rc.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 86187b1c2: ZERO-4879: Repair sync-merge corruption in default middleware and server data loaders — remove a duplicated block that left an unbalanced brace, and restore the awaited `result` binding the payload optimization reads
|
|
8
|
+
- 0cf9ea239: BRDG-16491: Prevent redirect when iframe payment is active
|
|
9
|
+
- 324f97d55: ZERO-4219: replace masterpass-rest-complete with masterpass-rest-callback
|
|
10
|
+
- 51ea06888: ZERO-4377: Fix checkout card type state being cleared after valid bin number responses.
|
|
11
|
+
- ZERO-4160: Enhance oauth-login middleware with improved request handling and logging
|
|
12
|
+
- 2fea41430: ZERO-4620: Add runtime access to `NEXT_PUBLIC_*` environment variables from Client Components
|
|
13
|
+
- b55acb768: ZERO-2577: Fix pagination bug and update usePagination hook and ensure pagination controls rendering correctly
|
|
14
|
+
- 760258c1c: ZERO-4160: Enhance oauth-login middleware to handle fetch errors and improve response handling
|
|
15
|
+
- 143be2b9d: ZERO-3457: Crop styles are customizable and logic improved for rendering similar products modal
|
|
16
|
+
- 7889b08fe: ZERO-4276: Enhance route generation by adding .env loading and custom skip segments support
|
|
17
|
+
- 9f8cd3bc5: ZERO-3449: AI Search Active Filters & Crop Style changes have been implemented
|
|
18
|
+
- bfafa3f49: ZERO-4160: Refactor oauth-login middleware to use fetchCommerce for API calls and improve cookie handling
|
|
19
|
+
- 57d7eb305: ZERO-4276: Refactor route generation logic by removing environment loading and simplifying skip segments handling
|
|
20
|
+
- d99a6a7d5: ZERO-3457_1: Fixed the settings prop and made sure everything is customizable.
|
|
21
|
+
- 9db81a714: ZERO-4365: Remove brand `@theme/*` alias imports from library packages
|
|
22
|
+
- 591e345e1: ZERO-3855: Enhance credit card payment handling in checkout middlewares
|
|
23
|
+
- 4de5303c5: ZERO-2504: add cookie filter to api client request
|
|
24
|
+
- 95b139dc1: ZERO-3795: Remove duplicate entry for SavedCard in PluginComponents map
|
|
25
|
+
- 1d00f2d06: BRDG-16664: Set secure flag for CSRF token cookies in useCaptcha and default middleware
|
|
26
|
+
- 4ac7b2a1e: ZERO-4219: fix masterpass-rest callback route format and double-encoded error cookie
|
|
27
|
+
- e9598c71d: ZERO-4622: Images remotePatterns for improved readability
|
|
28
|
+
- 4998a9631: ZERO-4168: Add server-side payload optimization
|
|
29
|
+
- 804d2bd6c: ZERO-4536: Add akinon.net domain to CSP frame-ancestors directive
|
|
30
|
+
- 3909d3224: Edit the duplicate Plugin.SimilarProducts in the plugin-module.
|
|
31
|
+
- 6a3d8a631: ZERO-4541: Fix URL query string formatting in getOrders and getOldOrders functions
|
|
32
|
+
- e18836b20: ZERO-4160: Restore scope in Sentry addon configuration in akinon.json
|
|
33
|
+
- b1111d7b1: ZERO-4841: Guard `withPrettyUrl` against calling `String.prototype.replace` with an `undefined` locale prefix on projects without a URL locale prefix (e.g. `HideDefaultLocale`) — previously this coerced to the literal string `"undefined"` and silently stripped a trailing `/undefined` segment from the path before the pretty-url lookup, causing bogus URLs like `/{product-slug}/undefined` to resolve and rewrite to the real product page (200) instead of 404
|
|
34
|
+
- 1595d458e: ZERO-4866: Fix register getting stuck with no error after successful signup
|
|
35
|
+
|
|
36
|
+
The login/register credentials provider threw an uncaught SyntaxError whenever the backend returned a non-JSON body (e.g. an HTML error page on a 500/502), surfacing NextAuth's opaque "Configuration" error instead of a usable one; it also only ever read one Set-Cookie response header, missing the osessionid/csrftoken cookie depending on header order, and dropped the session entirely after register/OTP since those flows upgrade the existing anonymous osessionid in place instead of rotating it. getCaptcha also threw when the backend had no reCAPTCHA site key configured. All four are fixed: JSON parsing failures throw a clean auth error, every Set-Cookie header is read, the pre-request session id is used as a fallback after register/OTP, and a missing site key now falls back to an empty string.
|
|
37
|
+
|
|
38
|
+
- dca128112: ZERO-4879: Repair sync-merge corruption in getWidgetData's payload optimization
|
|
39
|
+
|
|
40
|
+
The same sync-merge corruption ZERO-4879 fixed in category.ts, list.ts and special-page.ts was also present in widget.ts but was missed at the time: `getWidgetData` returned `Cache.wrap(...)` directly instead of awaiting it into `result`, and its `settings`/`optimizeWidgetResponse`/`logger` imports were gone, leaving unreachable dead code that referenced undefined names and failed TypeScript's build-time type check. Restored the awaited `result` binding, the missing imports, and the payload optimization behavior to match the other data loaders.
|
|
41
|
+
|
|
3
42
|
## 2.0.135-rc.0
|
|
4
43
|
|
|
5
44
|
### Patch Changes
|
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": "2.0.135-rc.
|
|
4
|
+
"version": "2.0.135-rc.1",
|
|
5
5
|
"private": false,
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"bin": {
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"set-cookie-parser": "2.6.0"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@akinon/eslint-plugin-projectzero": "2.0.135-rc.
|
|
39
|
+
"@akinon/eslint-plugin-projectzero": "2.0.135-rc.1",
|
|
40
40
|
"@babel/core": "7.26.10",
|
|
41
41
|
"@babel/preset-env": "7.26.9",
|
|
42
42
|
"@babel/preset-typescript": "7.27.0",
|