expo-font 11.8.0 → 11.9.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,6 +10,17 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
+ ## 11.9.0 — 2023-11-14
14
+
15
+ ### 🛠 Breaking changes
16
+
17
+ - Bumped iOS deployment target to 13.4. ([#25063](https://github.com/expo/expo/pull/25063) by [@gabrieldonadel](https://github.com/gabrieldonadel))
18
+ - On `Android` bump `compileSdkVersion` and `targetSdkVersion` to `34`. ([#24708](https://github.com/expo/expo/pull/24708) by [@alanjhughes](https://github.com/alanjhughes))
19
+
20
+ ### 🐛 Bug fixes
21
+
22
+ - Handle the case where no argument is passed to the plugin. ([#25138](https://github.com/expo/expo/pull/25138) by [@alanjhughes](https://github.com/alanjhughes))
23
+
13
24
  ## 11.8.0 — 2023-10-17
14
25
 
15
26
  ### 🛠 Breaking changes
@@ -19,6 +30,7 @@
19
30
  ### 🎉 New features
20
31
 
21
32
  - Added config plugin to allow fonts to be linked at build time. ([#24772](https://github.com/expo/expo/pull/24772) by [@alanjhughes](https://github.com/alanjhughes))
33
+ - Remove `unimodule.json` in favour of `expo-module.config.json`. ([#25099](https://github.com/expo/expo/pull/25099) by [@reichhartd](https://github.com/reichhartd))
22
34
 
23
35
  ## 11.7.0 — 2023-09-15
24
36
 
@@ -3,7 +3,7 @@ apply plugin: 'kotlin-android'
3
3
  apply plugin: 'maven-publish'
4
4
 
5
5
  group = 'host.exp.exponent'
6
- version = '11.8.0'
6
+ version = '11.9.0'
7
7
 
8
8
  def expoModulesCorePlugin = new File(project(":expo-modules-core").projectDir.absolutePath, "ExpoModulesCorePlugin.gradle")
9
9
  if (expoModulesCorePlugin.exists()) {
@@ -61,11 +61,11 @@ if (!safeExtGet("expoProvidesDefaultConfig", false)) {
61
61
  android {
62
62
  // Remove this if and it's contents, when support for SDK49 is dropped
63
63
  if (!safeExtGet("expoProvidesDefaultConfig", false)) {
64
- compileSdkVersion safeExtGet("compileSdkVersion", 33)
64
+ compileSdkVersion safeExtGet("compileSdkVersion", 34)
65
65
 
66
66
  defaultConfig {
67
67
  minSdkVersion safeExtGet("minSdkVersion", 23)
68
- targetSdkVersion safeExtGet("targetSdkVersion", 33)
68
+ targetSdkVersion safeExtGet("targetSdkVersion", 34)
69
69
  }
70
70
 
71
71
  publishing {
@@ -94,7 +94,7 @@ android {
94
94
  namespace "expo.modules.font"
95
95
  defaultConfig {
96
96
  versionCode 29
97
- versionName "11.8.0"
97
+ versionName "11.9.0"
98
98
  }
99
99
  }
100
100
 
@@ -10,7 +10,7 @@ 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.platforms = { :ios => '13.0', :tvos => '13.0'}
13
+ s.platforms = { :ios => '13.4', :tvos => '13.4'}
14
14
  s.source = { git: 'https://github.com/expo/expo.git' }
15
15
  s.static_framework = true
16
16
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-font",
3
- "version": "11.8.0",
3
+ "version": "11.9.0",
4
4
  "description": "Load fonts at runtime and use them in React Native components.",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -42,5 +42,5 @@
42
42
  "peerDependencies": {
43
43
  "expo": "*"
44
44
  },
45
- "gitHead": "da25937e2a99661cbe5eb60ca1d8d6245fc96a50"
45
+ "gitHead": "3142a086578deffd8704a8f1b6f0f661527d836c"
46
46
  }
@@ -5,6 +5,9 @@ const withFontsAndroid_1 = require("./withFontsAndroid");
5
5
  const withFontsIos_1 = require("./withFontsIos");
6
6
  const pkg = require('expo-font/package.json');
7
7
  const withFonts = (config, props) => {
8
+ if (!props) {
9
+ return config;
10
+ }
8
11
  if (props.fonts && props.fonts.length === 0) {
9
12
  return config;
10
13
  }
@@ -10,6 +10,10 @@ export type FontProps = {
10
10
  };
11
11
 
12
12
  const withFonts: ConfigPlugin<FontProps> = (config, props) => {
13
+ if (!props) {
14
+ return config;
15
+ }
16
+
13
17
  if (props.fonts && props.fonts.length === 0) {
14
18
  return config;
15
19
  }
package/unimodule.json DELETED
@@ -1,4 +0,0 @@
1
- {
2
- "name": "expo-font",
3
- "platforms": ["ios", "android"]
4
- }