Skip to content

Commit 149ca3c

Browse files
chore: clearly outline breaking changes
1 parent a2f92ea commit 149ca3c

File tree

2 files changed

+11
-13
lines changed

2 files changed

+11
-13
lines changed

packages/design-system-react-native/CHANGELOG.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,23 +11,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111

1212
### Changed
1313

14+
- **BREAKING:** Update font file names from space-separated to hyphenated PostScript format for iOS Metro bundler compatibility ([#862](https://github.com/MetaMask/metamask-design-system/pull/862))
15+
- Font file names changed: "Geist Regular.otf" → "Geist-Regular.otf", "Geist Medium.otf" → "Geist-Medium.otf", "Geist Bold.otf" → "Geist-Bold.otf"
16+
- Fixes Metro bundler asset resolution issues on iOS that prevented fonts from loading correctly
17+
- If using `@metamask/design-system-react-native` components as intended, fonts automatically load correctly with no migration needed
18+
- If manually referencing font file paths in custom code, update all references to use hyphenated file names instead of space-separated names
19+
- Android is unaffected by this change
1420
- Updated `@metamask/utils` peer dependency from 11.8.0 to 11.8.1 ([#838](https://github.com/MetaMask/metamask-design-system/pull/838))
15-
- No breaking changes; safe to upgrade
1621
- Updated `@metamask/eslint-config-typescript` dev dependency from 14.1.0 to 15.0.0 ([#856](https://github.com/MetaMask/metamask-design-system/pull/856))
17-
- No consumer impact; internal tooling only
1822

1923
### Fixed
2024

2125
- Export missing `TextButtonSize` enum from package entry point for TypeScript type safety ([#848](https://github.com/MetaMask/metamask-design-system/pull/848))
2226
- The `TextButtonSize` enum is now properly exported and accessible for imports
2327
- Developers can now use typed enums instead of string literals: `import { TextButton, TextButtonSize } from '@metamask/design-system-react-native'` and `<TextButton size={TextButtonSize.Medium} />`
2428
- This is a non-breaking, additive change that improves type safety
25-
- Align font file naming with PostScript convention for iOS Metro bundler compatibility ([#862](https://github.com/MetaMask/metamask-design-system/pull/862))
26-
- Updated font file names from space-separated to hyphenated format (e.g., "Geist Regular.otf" → "Geist-Regular.otf")
27-
- Resolves Metro bundler asset resolution issues on iOS that prevented fonts from loading correctly
28-
- Critical fix for iOS React Native applications; Android is unaffected
29-
- If using components as intended, fonts automatically load correctly. If manually referencing font files, update paths to use hyphens instead of spaces
30-
- Potentially breaking if directly referencing font file paths in custom code
3129

3230
## [0.4.1]
3331

packages/design-system-twrnc-preset/CHANGELOG.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
## [0.3.0]
1111

12-
### Fixed
12+
### Changed
1313

14-
- Align font family names with PostScript convention for iOS Metro bundler and expo-font compatibility ([#862](https://github.com/MetaMask/metamask-design-system/pull/862))
15-
- Updated all font family names in TWRNC preset to use hyphenated format: `"Geist Regular"``"Geist-Regular"`, `"Geist Medium"``"Geist-Medium"`, `"Geist SemiBold"``"Geist-SemiBold"`, `"Geist Bold"``"Geist-Bold"`
16-
- Fixes critical font loading issues on iOS when using Metro bundler with expo-font; Android is unaffected
14+
- **BREAKING:** Update font family names from space-separated to hyphenated PostScript format for iOS Metro bundler and expo-font compatibility ([#862](https://github.com/MetaMask/metamask-design-system/pull/862))
15+
- Font family names changed: `"Geist Regular"``"Geist-Regular"`, `"Geist Medium"``"Geist-Medium"`, `"Geist Bold"``"Geist-Bold"`
16+
- Fixes critical font loading issues on iOS when using Metro bundler with expo-font
1717
- If using TWRNC preset via `@metamask/design-system-react-native` components, fonts automatically use correct names with no migration needed
1818
- If directly referencing font families in custom TWRNC styles (e.g., `tw\`font-['Geist_Regular']\``), update to hyphenated names (e.g., `tw\`font-['Geist-Regular']\``)
19-
- Potentially breaking if custom code directly references old font family names; update all references to use hyphens instead of spaces
19+
- Android is unaffected by this change
2020
- Aligns with MetaMask Mobile's font configuration and expo-font requirements
2121

2222
## [0.2.1]

0 commit comments

Comments
 (0)