Skip to content

Commit 5b80fa0

Browse files
CedricGuillemetCedricGuillemetMSbghgary
authored
Babylon.js compatibily lists (#559)
* Babylon.js compatibility list * typo * RN versions * Update README.md Co-authored-by: Gary Hsu <bghgary@users.noreply.github.com> * Update README.md Co-authored-by: Gary Hsu <bghgary@users.noreply.github.com> * Update README.md Co-authored-by: Gary Hsu <bghgary@users.noreply.github.com> * Update README.md Co-authored-by: Gary Hsu <bghgary@users.noreply.github.com> * Update README.md Co-authored-by: Gary Hsu <bghgary@users.noreply.github.com> * more docs, build with Node 16 * Node 16 for every job * Update README.md Co-authored-by: Gary Hsu <bghgary@users.noreply.github.com> * packages * 0.65->0.68 * Windows packages * nit --------- Co-authored-by: Cedric Guillemet <ceguille@microsoft.com> Co-authored-by: Gary Hsu <bghgary@users.noreply.github.com>
1 parent 86484b7 commit 5b80fa0

6 files changed

Lines changed: 75 additions & 0 deletions

File tree

.github/workflows/bn_master_commit.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ jobs:
1616
uses: actions/checkout@v2.3.3
1717
with:
1818
submodules: 'recursive'
19+
- name: Setup Node 16
20+
uses: actions/setup-node@v3
21+
with:
22+
node-version: 16
1923
- name: Setup CMake
2024
uses: jwlawson/actions-setup-cmake@v1.8
2125
with:
@@ -48,6 +52,10 @@ jobs:
4852
uses: actions/checkout@v2.3.3
4953
with:
5054
submodules: 'recursive'
55+
- name: Setup Node 16
56+
uses: actions/setup-node@v3
57+
with:
58+
node-version: 16
5159
- name: NPM Install (Playground)
5260
run: npm install
5361
working-directory: ./Apps/Playground
@@ -78,6 +86,10 @@ jobs:
7886
submodules: 'true'
7987
- name: Setup MSBuild
8088
uses: microsoft/setup-msbuild@v1.0.2
89+
- name: Setup Node 16
90+
uses: actions/setup-node@v3
91+
with:
92+
node-version: 16
8193
- name: Setup NuGet
8294
uses: nuget/setup-nuget@v1
8395
with:

.github/workflows/ios_android.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ jobs:
2121
uses: actions/checkout@v2.3.3
2222
with:
2323
submodules: 'recursive'
24+
- name: Setup Node 16
25+
uses: actions/setup-node@v3
26+
with:
27+
node-version: 16
2428
- name: Setup CMake
2529
uses: jwlawson/actions-setup-cmake@v1.8
2630
with:

.github/workflows/pr.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ jobs:
1414
uses: actions/checkout@v2.3.3
1515
with:
1616
submodules: 'recursive'
17+
- name: Setup Node 16
18+
uses: actions/setup-node@v3
19+
with:
20+
node-version: 16
1721
- name: Setup CMake
1822
uses: jwlawson/actions-setup-cmake@v1.8
1923
with:
@@ -42,6 +46,10 @@ jobs:
4246
uses: actions/checkout@v2.3.3
4347
with:
4448
submodules: 'recursive'
49+
- name: Setup Node 16
50+
uses: actions/setup-node@v3
51+
with:
52+
node-version: 16
4553
- name: NPM Install (Playground)
4654
run: npm install
4755
working-directory: ./Apps/Playground
@@ -62,6 +70,10 @@ jobs:
6270
uses: actions/checkout@v2.3.3
6371
with:
6472
submodules: 'recursive'
73+
- name: Setup Node 16
74+
uses: actions/setup-node@v3
75+
with:
76+
node-version: 16
6577
- name: Setup CMake
6678
uses: jwlawson/actions-setup-cmake@v1.8
6779
with:
@@ -96,6 +108,10 @@ jobs:
96108
submodules: 'true'
97109
- name: Setup MSBuild
98110
uses: microsoft/setup-msbuild@v1.0.2
111+
- name: Setup Node 16
112+
uses: actions/setup-node@v3
113+
with:
114+
node-version: 16
99115
- name: Setup NuGet
100116
uses: nuget/setup-nuget@v1
101117
with:

.github/workflows/typescript.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ jobs:
1414
uses: actions/checkout@v2.3.3
1515
with:
1616
submodules: 'recursive'
17+
- name: Setup Node 16
18+
uses: actions/setup-node@v3
19+
with:
20+
node-version: 16
1721
- name: NPM Install (Playground)
1822
run: npm install
1923
working-directory: ./Apps/Playground

.github/workflows/windows.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ jobs:
2020
submodules: 'true'
2121
- name: Setup MSBuild
2222
uses: microsoft/setup-msbuild@v1.0.2
23+
- name: Setup Node 16
24+
uses: actions/setup-node@v3
25+
with:
26+
node-version: 16
2327
- name: Setup NuGet
2428
uses: nuget/setup-nuget@v1
2529
with:

README.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,41 @@ This will create a symbolic link in your `node_modules` directory to the `@babyl
223223

224224
For iOS the XCode project needs to be generated with `CMake` as described [above](#ios) and added to your `xcworkspace`.
225225

226+
## Supported Versions
227+
228+
| React Native | Babylon React Native |
229+
|---|---|
230+
| 0.64 | 1.4.0, 1.4.1, 1.4.2, 1.4.3, 1.4.4, 1.5.0, 1.5.1 |
231+
| 0.65 -> 0.68 | 1.4.0, 1.4.1, 1.4.2, 1.4.3, 1.4.4, 1.5.0, 1.5.1 |
232+
| 0.69 | 1.4.0, 1.4.1, 1.4.2, 1.4.3, 1.4.4, 1.5.0, 1.5.1 |
233+
| 0.70 | 1.5.0, 1.5.1 |
234+
235+
Here are the package names for Android/iOS and Windows:
236+
237+
| React Native | Android/iOS Package | Windows Package |
238+
|---|---|---|
239+
| 0.64 | [@babylonjs/react-native-iosandroid-0-64](https://www.npmjs.com/package/@babylonjs/react-native-iosandroid-0-64) | [@babylonjs/react-native-windows-0-64](https://www.npmjs.com/package/@babylonjs/react-native-windows-0-64) |
240+
| 0.65 -> 0.68 | [@babylonjs/react-native-iosandroid-0-65](https://www.npmjs.com/package/@babylonjs/react-native-iosandroid-0-65) | [@babylonjs/react-native-windows-0-65](https://www.npmjs.com/package/@babylonjs/react-native-windows-0-65) |
241+
| 0.69 | [@babylonjs/react-native-iosandroid-0-69](https://www.npmjs.com/package/@babylonjs/react-native-iosandroid-0-69) | [@babylonjs/react-native-windows-0-69](https://www.npmjs.com/package/@babylonjs/react-native-windows-0-69) |
242+
| 0.70 | [@babylonjs/react-native-iosandroid-0-70](https://www.npmjs.com/package/@babylonjs/react-native-iosandroid-0-70) | [@babylonjs/react-native-windows-0-70](https://www.npmjs.com/package/@babylonjs/react-native-windows-0-70) |
243+
| 0.71 | **NEW PACKAGE REQUIRED. RELEASE PENDING.** | **NEW PACKAGE REQUIRED. RELEASE PENDING.** |
244+
245+
Also, [@babylonjs/react-native](https://www.npmjs.com/package/@babylonjs/react-native) is a needed dependency for all platforms.
246+
247+
## Supported Babylon.js Versions
248+
249+
Depending on the Babylon React Native NPM package version, some Babylon.js NPM dependency versions may or may not be compatible. Here is a compatibility list that has been tested:
250+
251+
| Babylon React Native | Babylon.js ([@babylonjs/core](https://www.npmjs.com/package/@babylonjs/core), [@babylonjs/loaders](https://www.npmjs.com/package/@babylonjs/loaders), ...) |
252+
|---|---|
253+
| 1.4.0 | 5.27.1 |
254+
| 1.4.1 | 5.32.2, 5.33.0, 5.33.1, 5.33.2, 5.34.0, 5.35.0 |
255+
| 1.4.2 | 5.35.1, 5.36.0, 5.37.0, 5.38.0, 5.39.0, 5.42.0, 5.42.1 |
256+
| 1.4.3 | 5.42.2, 5.43.0, 5.43.1, 5.43.2, 5.44.0, 5.45.0, 5.45.1, 5.45.2, 5.46.0, 5.47.0 |
257+
| 1.4.4 | 5.42.2, 5.43.0, 5.43.1, 5.43.2, 5.44.0, 5.45.0, 5.45.1, 5.45.2, 5.46.0, 5.47.0 |
258+
| 1.5.0 | 5.42.2, 5.43.0, 5.43.1, 5.43.2, 5.44.0, 5.45.0, 5.45.1, 5.45.2, 5.46.0, 5.47.0 |
259+
| 1.5.1 | 5.42.2, 5.43.0, 5.43.1, 5.43.2, 5.44.0, 5.45.0, 5.45.1, 5.45.2, 5.46.0, 5.47.0 |
260+
226261
## Security
227262

228263
If you believe you have found a security vulnerability in this repository, please see [SECURITY.md](SECURITY.md).

0 commit comments

Comments
 (0)