Skip to content

Commit 798b929

Browse files
[MOO-2316] Upgrade RN version to v0.84.1 (#516)
2 parents 6e17d13 + 142405c commit 798b929

53 files changed

Lines changed: 3219 additions & 4139 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

configs/e2e/mendix-versions.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"latest": "11.10.0"
2+
"latest": "11.11.0"
33
}

configs/e2e/native_dependencies.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@
66
"react-native-material-menu": "1.2.0",
77
"react-native-linear-gradient": "2.8.3",
88
"@react-native-community/netinfo": "11.5.2",
9-
"react-native-svg": "15.15.3",
10-
"react-native-video": "6.19.0",
9+
"react-native-svg": "15.15.4",
10+
"react-native-video": "6.19.2",
1111
"@react-native-async-storage/async-storage": "2.2.0",
1212
"react-native-vision-camera": "4.7.3",
13-
"react-native-view-shot": "4.0.3",
13+
"react-native-view-shot": "5.1.0",
1414
"react-native-blob-util": "0.24.7",
1515
"react-native-file-viewer-turbo": "0.7.4",
1616
"react-native-localize": "3.7.0",
1717
"react-native-image-picker": "7.2.3",
1818
"react-native-permissions": "5.5.1",
1919
"react-native-webview": "13.16.1",
20-
"@sbaiahmed1/react-native-biometrics": "0.10.0"
20+
"@sbaiahmed1/react-native-biometrics": "0.15.0"
2121
}

configs/jsactions/rollup-plugin-collect-dependencies.mjs

Lines changed: 30 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -178,30 +178,41 @@ export async function copyJsModule(moduleSourcePath, to) {
178178
actualSourcePath = realpathSync(moduleSourcePath);
179179
}
180180

181-
cpSync(actualSourcePath, to, {
182-
recursive: true,
183-
dereference: true, // Follow symlinks and copy the actual files
184-
filter: (src, dest) => {
185-
const relativePath = src.replace(actualSourcePath, "").replace(/^[\\/]/, "");
186-
187-
// Skip certain directories
188-
if (relativePath.match(/[\\/](android|ios|windows|mac|jest|github|gradle|__.*__|docs|example.*)[\\/]/)) {
189-
return false;
190-
}
181+
try {
182+
cpSync(actualSourcePath, to, {
183+
recursive: true,
184+
dereference: true, // Follow symlinks and copy the actual files
185+
filter: (src, dest) => {
186+
const relativePath = src.replace(actualSourcePath, "").replace(/^[\\/]/, "");
187+
188+
// Skip certain directories
189+
if (
190+
relativePath.match(/[\\/](android|ios|windows|mac|jest|github|gradle|__.*__|docs|example.*)[\\/]/)
191+
) {
192+
return false;
193+
}
191194

192-
// Skip certain file types
193-
if (relativePath.match(/\.(config|setup)\.|\.podspec$|\.flow$/)) {
194-
return false;
195-
}
195+
// Skip certain file types
196+
if (relativePath.match(/\.(config|setup)\.|\.podspec$|\.flow$/)) {
197+
return false;
198+
}
199+
200+
// Include LICENSE files
201+
if (relativePath.match(/license/i)) {
202+
return true;
203+
}
196204

197-
// Include LICENSE files
198-
if (relativePath.match(/license/i)) {
199205
return true;
200206
}
201-
202-
return true;
207+
});
208+
} catch (error) {
209+
// Handle race condition: if another parallel build process already created this directory,
210+
// ignore EEXIST errors and verify the directory now exists
211+
if (error.code === "EEXIST" && existsSync(to)) {
212+
return;
203213
}
204-
});
214+
throw error;
215+
}
205216
}
206217

207218
function getModuleName(modulePath) {

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"@actions/core": "^1.11.1",
4444
"@commitlint/cli": "^19.8.1",
4545
"@commitlint/config-conventional": "^19.8.1",
46-
"@react-native/babel-preset": "0.83.4",
46+
"@react-native/babel-preset": "0.84.1",
4747
"@testing-library/react-native": "^13.3.3",
4848
"@types/big.js": "^6.2.2",
4949
"@types/concurrently": "^6.4.0",
@@ -66,7 +66,7 @@
6666
"pixelmatch": "^5.3.0",
6767
"pngjs": "^6.0.0",
6868
"pretty-quick": "^3.3.1",
69-
"react-dom": "19.2.4",
69+
"react-dom": "19.2.3",
7070
"recursive-copy": "^2.0.14",
7171
"ts-node": "^10.9.2"
7272
},
@@ -76,23 +76,23 @@
7676
]
7777
},
7878
"engines": {
79-
"node": ">=20"
79+
"node": ">=22.11"
8080
},
8181
"pnpm": {
8282
"overrides": {
8383
"@mendix/pluggable-widgets-tools": "11.8.0",
8484
"@rollup/plugin-typescript": "12.3.0",
8585
"mendix": "11.8.0",
86-
"react": "19.2.4",
87-
"react-dom": "19.2.4",
88-
"react-native": "0.83.3",
86+
"react": "19.2.3",
87+
"react-dom": "19.2.3",
88+
"react-native": "0.84.1",
8989
"@types/react": "~19.2.14",
9090
"@types/react-dom": "~19.2.3",
9191
"@prettier/plugin-xml": "2.2.0",
9292
"cheerio": "1.0.0-rc.12",
9393
"typescript": "~5.9.3",
9494
"rollup": "3.30.0",
95-
"react-test-renderer": "19.2.4",
95+
"react-test-renderer": "19.2.3",
9696
"@xmldom/xmldom": ">=0.8.13",
9797
"flatted": ">=3.4.2",
9898
"immutable": ">=5.1.5",
@@ -106,7 +106,7 @@
106106
"patchedDependencies": {
107107
"@mendix/pluggable-widgets-tools@11.8.0": "patches/@mendix+pluggable-widgets-tools+11.8.0.patch",
108108
"@ptomasroos/react-native-multi-slider@1.0.0": "patches/@ptomasroos+react-native-multi-slider+1.0.0.patch",
109-
"react-native-gesture-handler@2.30.0": "patches/react-native-gesture-handler+2.30.0.patch",
109+
"react-native-gesture-handler@2.31.2": "patches/react-native-gesture-handler+2.31.2.patch",
110110
"react-native-slider@0.11.0": "patches/react-native-slider+0.11.0.patch",
111111
"react-native-snap-carousel@3.9.1": "patches/react-native-snap-carousel+3.9.1.patch",
112112
"react-native-track-player@4.1.2": "patches/react-native-track-player@4.1.2.patch"

packages/jsActions/mobile-resources-native/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66

77
## [Unreleased]
88

9+
- Updated @sbaiahmed1/react-native-biometrics from version v0.10.0 to v0.15.0.
10+
911
## [12.0.0] Native Mobile Resources - 2026-5-15
1012

1113
### Changed

packages/jsActions/mobile-resources-native/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"marketplace": {
1212
"name": "Native Mobile Resources",
1313
"description": "Download this module to access a rich set of widgets and nanoflow actions created for native mobile, including authentication, network, platform, and more. A must-have for native mobile development!",
14-
"minimumMXVersion": "11.10.0",
14+
"minimumMXVersion": "11.11.0",
1515
"marketplaceId": 109513
1616
},
1717
"testProject": {
@@ -31,7 +31,7 @@
3131
"@notifee/react-native": "9.1.8",
3232
"@react-native-camera-roll/camera-roll": "7.10.2",
3333
"@react-native-firebase/messaging": "20.1.0",
34-
"@sbaiahmed1/react-native-biometrics": "0.10.0",
34+
"@sbaiahmed1/react-native-biometrics": "0.15.0",
3535
"@swan-io/react-native-browser": "1.0.1",
3636
"fbjs": "3.0.4",
3737
"mime": "3.0.0",

packages/jsActions/nanoflow-actions-native/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"marketplace": {
1212
"name": "Nanoflow Commons",
1313
"description": "The Nanoflow Commons module contains commonly used nanoflow actions that are usable across web, hybrid mobile, and native mobile apps, such as: client activities, geo location, local storage, & more.",
14-
"minimumMXVersion": "11.10.0",
14+
"minimumMXVersion": "11.11.0",
1515
"marketplaceId": 109515
1616
},
1717
"testProject": {

packages/pluggableWidgets/bar-chart-native/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66

77
## [Unreleased]
88

9+
### Fixed
10+
11+
- We have resolved an issue preventing Bar chart from rendering correctly.
12+
913
## [3.1.1] - 2025-3-18
1014

1115
### Fixed

packages/pluggableWidgets/bar-chart-native/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "bar-chart-native",
33
"widgetName": "BarChart",
4-
"version": "3.2.0",
4+
"version": "3.2.1",
55
"license": "Apache-2.0",
66
"copyright": "© Mendix Technology BV 2022. All rights reserved.",
77
"repository": {

packages/pluggableWidgets/bar-chart-native/src/components/BarChart.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { ReactElement, useCallback, useMemo, useState } from "react";
22
import { LayoutChangeEvent, Text, View } from "react-native";
3-
import { VictoryAxis, VictoryBar, VictoryChart, VictoryGroup, VictoryStack } from "victory-native";
3+
import { VictoryAxis, VictoryBar, VictoryChart, VictoryGroup, VictoryLabel, VictoryStack } from "victory-native";
44
import { BarProps } from "victory-bar";
55
import { extractStyles } from "@mendix/pluggable-widgets-tools";
66

@@ -108,6 +108,7 @@ export function BarChart({
108108
horizontal
109109
key={index}
110110
data={dataPoints}
111+
labelComponent={<VictoryLabel />}
111112
width={barStyles.width}
112113
cornerRadius={barStyles.cornerRadius}
113114
style={{
@@ -226,12 +227,14 @@ export function BarChart({
226227
<VictoryAxis
227228
orientation={"bottom"}
228229
dependentAxis
230+
tickLabelComponent={<VictoryLabel />}
229231
style={mapToAxisStyle(style.grid, style.xAxis)}
230232
{...(firstSeries?.xFormatter
231233
? { tickFormat: firstSeries.xFormatter }
232234
: undefined)}
233235
/>
234236
<VictoryAxis
237+
tickLabelComponent={<VictoryLabel />}
235238
style={mapToAxisStyle(style.grid, style.yAxis)}
236239
orientation={"left"}
237240
{...(firstSeries?.yFormatter

0 commit comments

Comments
 (0)