expo-gl 14.0.3-canary-20240719-83ee47b → 15.0.0-canary-20240904-69100c1
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 +7 -0
- package/ExpoGL.podspec +3 -1
- package/build/GLView.d.ts +1 -1
- package/build/GLView.web.d.ts +1 -1
- package/package.json +11 -5
package/CHANGELOG.md
CHANGED
|
@@ -4,15 +4,22 @@
|
|
|
4
4
|
|
|
5
5
|
### 🛠 Breaking changes
|
|
6
6
|
|
|
7
|
+
- Bumped iOS deployment target to 15.1. ([#30840](https://github.com/expo/expo/pull/30840) by [@tsapeta](https://github.com/tsapeta))
|
|
8
|
+
|
|
7
9
|
### 🎉 New features
|
|
8
10
|
|
|
9
11
|
### 🐛 Bug fixes
|
|
10
12
|
|
|
11
13
|
- Add NULL check before releasing `textureRef` in `EXGLCameraObject`. ([#29092](https://github.com/expo/expo/pull/29092) by [@hakonk](https://github.com/hakonk))
|
|
12
14
|
- Add missing `react` and `react-native` peer dependencies for isolated modules. ([#30468](https://github.com/expo/expo/pull/30468) by [@byCedric](https://github.com/byCedric))
|
|
15
|
+
- Add missing `react-native-web` optional peer dependency for isolated modules. ([#30689](https://github.com/expo/expo/pull/30689) by [@byCedric](https://github.com/byCedric))
|
|
13
16
|
|
|
14
17
|
### 💡 Others
|
|
15
18
|
|
|
19
|
+
### ⚠️ Notices
|
|
20
|
+
|
|
21
|
+
- Added support for React Native 0.75.x. ([#30034](https://github.com/expo/expo/pull/30034), [#30828](https://github.com/expo/expo/pull/30828) by [@gabrieldonadel](https://github.com/gabrieldonadel))
|
|
22
|
+
|
|
16
23
|
## 14.0.2 — 2024-04-24
|
|
17
24
|
|
|
18
25
|
### 🐛 Bug fixes
|
package/ExpoGL.podspec
CHANGED
|
@@ -10,7 +10,9 @@ Pod::Spec.new do |s|
|
|
|
10
10
|
s.license = package['license']
|
|
11
11
|
s.author = package['author']
|
|
12
12
|
s.homepage = package['homepage']
|
|
13
|
-
s.
|
|
13
|
+
s.platforms = {
|
|
14
|
+
:ios => '15.1'
|
|
15
|
+
}
|
|
14
16
|
s.source = { git: 'https://github.com/expo/expo-gl.git' }
|
|
15
17
|
s.static_framework = true
|
|
16
18
|
|
package/build/GLView.d.ts
CHANGED
|
@@ -43,7 +43,7 @@ export declare class GLView extends React.Component<GLViewProps> {
|
|
|
43
43
|
static getWorkletContext: (contextId: number) => ExpoWebGLRenderingContext | undefined;
|
|
44
44
|
nativeRef: ComponentOrHandle;
|
|
45
45
|
exglCtxId?: number;
|
|
46
|
-
render(): JSX.Element;
|
|
46
|
+
render(): React.JSX.Element;
|
|
47
47
|
_setNativeRef: (nativeRef: ComponentOrHandle) => void;
|
|
48
48
|
_onSurfaceCreate: ({ nativeEvent: { exglCtxId } }: SurfaceCreateEvent) => void;
|
|
49
49
|
componentWillUnmount(): void;
|
package/build/GLView.web.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ export declare class GLView extends React.Component<GLViewWebProps> {
|
|
|
15
15
|
static destroyContextAsync(exgl?: WebGLRenderingContext | number): Promise<boolean>;
|
|
16
16
|
static takeSnapshotAsync(gl: WebGLRenderingContext, options?: SnapshotOptions): Promise<GLSnapshot>;
|
|
17
17
|
componentWillUnmount(): void;
|
|
18
|
-
render(): JSX.Element;
|
|
18
|
+
render(): React.JSX.Element;
|
|
19
19
|
componentDidUpdate(prevProps: any): void;
|
|
20
20
|
private getGLContextOrReject;
|
|
21
21
|
private onContextLost;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-gl",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "15.0.0-canary-20240904-69100c1",
|
|
4
4
|
"description": "Provides GLView that acts as OpenGL ES render target and gives GL context object implementing WebGL 2.0 specification.",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -43,13 +43,19 @@
|
|
|
43
43
|
"@types/invariant": "^2.2.33",
|
|
44
44
|
"@types/offscreencanvas": "2019.6.4",
|
|
45
45
|
"@types/webgl2": "^0.0.6",
|
|
46
|
-
"expo-module-scripts": "3.6.0-canary-
|
|
47
|
-
"react-test-renderer": "18.
|
|
46
|
+
"expo-module-scripts": "3.6.0-canary-20240904-69100c1",
|
|
47
|
+
"react-test-renderer": "18.3.1"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
50
|
"expo": "*",
|
|
51
51
|
"react": "*",
|
|
52
|
-
"react-native": "*"
|
|
52
|
+
"react-native": "*",
|
|
53
|
+
"react-native-web": "*"
|
|
53
54
|
},
|
|
54
|
-
"
|
|
55
|
+
"peerDependenciesMeta": {
|
|
56
|
+
"react-native-web": {
|
|
57
|
+
"optional": true
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"gitHead": "69100c1b099b707057c052ed8096e06cb208aca1"
|
|
55
61
|
}
|