@akinon/next 1.82.0-rc.0 → 1.82.0-rc.2
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 +37 -0
- package/middlewares/default.ts +3 -3
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,42 @@
|
|
|
1
1
|
# @akinon/next
|
|
2
2
|
|
|
3
|
+
## 1.82.0-rc.2
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 757ee539: ZERO-3207: Add SMS send & verify endpoints with state management
|
|
8
|
+
- 5dfeea04: ZERO-2801: Revert ZERO-2801
|
|
9
|
+
- 2d9b2b2c: ZERO-2816: Add segment to headers
|
|
10
|
+
- 40a46853: ZERO-3182: Optimize basket update mutation with optimistic update
|
|
11
|
+
- f49bb74f: ZERO-3097: Add setCookie to logging in payment redirection middlewares
|
|
12
|
+
- 0e051352: ZERO-3244: Encode URL search parameters
|
|
13
|
+
- e9541a13: ZERO-2816: Add headers to url
|
|
14
|
+
- 4d3deb4f: ZERO-2935: sentry 8 upgrade
|
|
15
|
+
- 72fd4d67: ZERO-3084: Fix URL search parameters encoding in default middleware
|
|
16
|
+
- 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.
|
|
17
|
+
- 64699d3f: ZERO-2761: Fix invalid import for plugin module
|
|
18
|
+
- 7727ae55: ZERO-3073: Refactor basket page to use server-side data fetching and simplify component structure
|
|
19
|
+
- d552629f: ZERO-3182: Refactor basketApi to use invalidatesTags and comment out onQueryStarted logic
|
|
20
|
+
- 17f87524: ZERO-2816: Make the incoming currency lowercase
|
|
21
|
+
- 65d3b862: ZERO-3054: Update headers in appFetch
|
|
22
|
+
- bbe18b9f: ZERO-2575: Fix build error
|
|
23
|
+
- 4920742c: Disable getCachedTranslations
|
|
24
|
+
- 7e56d6b6: ZERO-2841: Update api tagTypes
|
|
25
|
+
- 43c182ee: ZERO-3054: Update Redis variable checks to conditionally include CACHE_SECRET
|
|
26
|
+
- 2d305aaf: ZERO-2935: Update Sentry configuration: remove hideSourceMaps option and add it to withPzConfig
|
|
27
|
+
- eeb20bea: Revert "ZERO-3054: Refactor cache handler to use custom Redis handler and implement key hashing"
|
|
28
|
+
- f2c92d5c: ZERO-2816: Update cookie name
|
|
29
|
+
- 7bd3d992: ZERO-2801: Refactor locale middleware to handle single locale configuration
|
|
30
|
+
- fdd255ee: ZERO-3054: Refactor cache handler to use custom Redis handler and implement key hashing
|
|
31
|
+
- 49eeebfa: ZERO-2909: Add deleteCollectionItem query to wishlistApi
|
|
32
|
+
- 3f9b8d7e: ZERO-2761: Update plugins.js for akinon-next
|
|
33
|
+
|
|
34
|
+
## 1.82.0-rc.1
|
|
35
|
+
|
|
36
|
+
### Minor Changes
|
|
37
|
+
|
|
38
|
+
- 0e051352: ZERO-3244: Encode URL search parameters
|
|
39
|
+
|
|
3
40
|
## 1.82.0-rc.0
|
|
4
41
|
|
|
5
42
|
### Minor Changes
|
package/middlewares/default.ts
CHANGED
|
@@ -285,9 +285,9 @@ const withPzDefault =
|
|
|
285
285
|
url.pathname =
|
|
286
286
|
url.pathname +
|
|
287
287
|
(/\/$/.test(url.pathname) ? '' : '/') +
|
|
288
|
-
`searchparams|${
|
|
289
|
-
.toString()
|
|
290
|
-
|
|
288
|
+
`searchparams|${encodeURIComponent(
|
|
289
|
+
url.searchParams.toString()
|
|
290
|
+
)}`;
|
|
291
291
|
}
|
|
292
292
|
|
|
293
293
|
if (
|
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.82.0-rc.
|
|
4
|
+
"version": "1.82.0-rc.2",
|
|
5
5
|
"private": false,
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"bin": {
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"set-cookie-parser": "2.6.0"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@akinon/eslint-plugin-projectzero": "1.82.0-rc.
|
|
33
|
+
"@akinon/eslint-plugin-projectzero": "1.82.0-rc.2",
|
|
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",
|