expo-gl 15.0.5 → 15.1.0

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
@@ -10,17 +10,32 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
- ## 15.0.5 — 2025-04-01
13
+ ## 15.1.0 — 2025-04-04
14
+
15
+ ### 🛠 Breaking changes
16
+
17
+ - upgrade RN to 0.78 ([#35050](https://github.com/expo/expo/pull/35050) by [@vonovak](https://github.com/vonovak))
18
+
19
+ ### 🐛 Bug fixes
20
+
21
+ - stb_image PNG: Checks for invalid DEFLATE codes. ([#35184](https://github.com/expo/expo/pull/35184) by [@manoj23](https://github.com/manoj23))
22
+
23
+ ### 💡 Others
24
+
25
+ - [Android] Started using expo modules gradle plugin. ([#34176](https://github.com/expo/expo/pull/34176) by [@lukmccall](https://github.com/lukmccall))
26
+ - [apple] Migrate remaining `expo-module.config.json` to unified platform syntax. ([#34445](https://github.com/expo/expo/pull/34445) by [@reichhartd](https://github.com/reichhartd))
27
+
28
+ ## 15.0.5 - 2025-04-01
14
29
 
15
30
  ### 🐛 Bug fixes
16
31
 
17
32
  - [ios] Fixed build errors in XCode 16.3 ([#35811](https://github.com/expo/expo/pull/35811) by [@chrfalch](https://github.com/chrfalch))
18
33
 
19
- ## 15.0.4 2025-01-19
34
+ ## 15.0.4 - 2025-01-19
20
35
 
21
36
  _This version does not introduce any user-facing changes._
22
37
 
23
- ## 15.0.3 2025-01-10
38
+ ## 15.0.3 - 2025-01-10
24
39
 
25
40
  _This version does not introduce any user-facing changes._
26
41
 
@@ -1,19 +1,15 @@
1
- apply plugin: 'com.android.library'
2
-
3
- group = 'host.exp.exponent'
4
- version = '15.0.5'
1
+ plugins {
2
+ id 'com.android.library'
3
+ id 'expo-module-gradle-plugin'
4
+ }
5
5
 
6
6
  def reactNativeArchitectures() {
7
7
  def value = project.getProperties().get("reactNativeArchitectures")
8
8
  return value ? value.split(",") : ["armeabi-v7a", "x86", "x86_64", "arm64-v8a"]
9
9
  }
10
10
 
11
- def expoModulesCorePlugin = new File(project(":expo-modules-core").projectDir.absolutePath, "ExpoModulesCorePlugin.gradle")
12
- apply from: expoModulesCorePlugin
13
- applyKotlinExpoModulesCorePlugin()
14
- useCoreDependencies()
15
- useDefaultAndroidSdkVersions()
16
- useExpoPublishing()
11
+ group = 'host.exp.exponent'
12
+ version = '15.1.0'
17
13
 
18
14
  android {
19
15
  if (rootProject.hasProperty("ndkPath")) {
@@ -26,7 +22,7 @@ android {
26
22
  namespace "expo.modules.gl"
27
23
  defaultConfig {
28
24
  versionCode 31
29
- versionName "15.0.5"
25
+ versionName "15.1.0"
30
26
 
31
27
  externalNativeBuild {
32
28
  cmake {
@@ -4010,13 +4010,15 @@ static int stbi__parse_huffman_block(stbi__zbuf *a) {
4010
4010
  a->zout = zout;
4011
4011
  return 1;
4012
4012
  }
4013
+ if (z >= 286)
4014
+ return stbi__err("bad huffman code", "Corrupt PNG"); // per DEFLATE, length codes 286 and 287 must not appear in compressed data
4013
4015
  z -= 257;
4014
4016
  len = stbi__zlength_base[z];
4015
4017
  if (stbi__zlength_extra[z])
4016
4018
  len += stbi__zreceive(a, stbi__zlength_extra[z]);
4017
4019
  z = stbi__zhuffman_decode(a, &a->z_distance);
4018
- if (z < 0)
4019
- return stbi__err("bad huffman code", "Corrupt PNG");
4020
+ if (z < 0 || z >= 30)
4021
+ return stbi__err("bad huffman code", "Corrupt PNG"); // per DEFLATE, distance codes 30 and 31 must not appear in compressed data
4020
4022
  dist = stbi__zdist_base[z];
4021
4023
  if (stbi__zdist_extra[z])
4022
4024
  dist += stbi__zreceive(a, stbi__zdist_extra[z]);
@@ -1,7 +1,6 @@
1
1
  {
2
- "name": "expo-gl",
3
- "platforms": ["ios", "android"],
4
- "ios": {
2
+ "platforms": ["apple", "android"],
3
+ "apple": {
5
4
  "podspecPath": "./ExpoGL.podspec",
6
5
  "modules": ["GLViewModule"]
7
6
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-gl",
3
- "version": "15.0.5",
3
+ "version": "15.1.0",
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,8 +43,8 @@
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": "^4.0.4",
47
- "react-test-renderer": "18.3.1"
46
+ "expo-module-scripts": "^4.1.0",
47
+ "react-test-renderer": "19.0.0"
48
48
  },
49
49
  "peerDependencies": {
50
50
  "expo": "*",
@@ -57,5 +57,5 @@
57
57
  "optional": true
58
58
  }
59
59
  },
60
- "gitHead": "b08a0bd52965f85871c12c31da16a45e2cd26c4c"
60
+ "gitHead": "68b8233002dc678934ba40cbade7fbc80e71aeff"
61
61
  }