@akinon/next 1.78.0-rc.1 → 1.78.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 CHANGED
@@ -1,5 +1,35 @@
1
1
  # @akinon/next
2
2
 
3
+ ## 1.78.0-rc.2
4
+
5
+ ### Minor Changes
6
+
7
+ - 5dfeea04: ZERO-2801: Revert ZERO-2801
8
+ - 2d9b2b2c: ZERO-2816: Add segment to headers
9
+ - e791eabc: ZERO-3133: Add fallbackReducer for handling missing plugin reducers
10
+ - fd4b74e9: ZERO-3126: add reset checkout state query
11
+ - f49bb74f: ZERO-3097: Add setCookie to logging in payment redirection middlewares
12
+ - e9541a13: ZERO-2816: Add headers to url
13
+ - 4d3deb4f: ZERO-2935: sentry 8 upgrade
14
+ - 72fd4d67: ZERO-3084: Fix URL search parameters encoding in default middleware
15
+ - 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.
16
+ - 64699d3f: ZERO-2761: Fix invalid import for plugin module
17
+ - 7727ae55: ZERO-3073: Refactor basket page to use server-side data fetching and simplify component structure
18
+ - 17f87524: ZERO-2816: Make the incoming currency lowercase
19
+ - 65d3b862: ZERO-3054: Update headers in appFetch
20
+ - bbe18b9f: ZERO-2575: Fix build error
21
+ - 4920742c: Disable getCachedTranslations
22
+ - 7e56d6b6: ZERO-2841: Update api tagTypes
23
+ - 43c182ee: ZERO-3054: Update Redis variable checks to conditionally include CACHE_SECRET
24
+ - 2d305aaf: ZERO-2935: Update Sentry configuration: remove hideSourceMaps option and add it to withPzConfig
25
+ - eeb20bea: Revert "ZERO-3054: Refactor cache handler to use custom Redis handler and implement key hashing"
26
+ - 6a0a0807: ZERO-3112: Update button
27
+ - f2c92d5c: ZERO-2816: Update cookie name
28
+ - 7bd3d992: ZERO-2801: Refactor locale middleware to handle single locale configuration
29
+ - fdd255ee: ZERO-3054: Refactor cache handler to use custom Redis handler and implement key hashing
30
+ - 49eeebfa: ZERO-2909: Add deleteCollectionItem query to wishlistApi
31
+ - 3f9b8d7e: ZERO-2761: Update plugins.js for akinon-next
32
+
3
33
  ## 1.78.0-rc.1
4
34
 
5
35
  ### Minor 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": "1.78.0-rc.1",
4
+ "version": "1.78.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.78.0-rc.1",
33
+ "@akinon/eslint-plugin-projectzero": "1.78.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",
@@ -9,15 +9,17 @@ import { masterpassReducer } from '@akinon/pz-masterpass';
9
9
  import { otpReducer } from '@akinon/pz-otp';
10
10
  import { savedCardReducer } from '@akinon/pz-saved-card';
11
11
 
12
+ const fallbackReducer = (state = {}) => state;
13
+
12
14
  const reducers = {
13
15
  [api.reducerPath]: api.reducer,
14
16
  root: rootReducer,
15
17
  checkout: checkoutReducer,
16
18
  config: configReducer,
17
19
  header: headerReducer,
18
- masterpass: masterpassReducer,
19
- otp: otpReducer,
20
- savedCard: savedCardReducer
20
+ masterpass: masterpassReducer || fallbackReducer,
21
+ otp: otpReducer || fallbackReducer,
22
+ savedCard: savedCardReducer || fallbackReducer
21
23
  };
22
24
 
23
25
  export default reducers;